• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.4 Save player data not work

Szafi

www.rookwar.pl
Joined
Mar 2, 2009
Messages
165
Reaction score
10
Location
Poland
Hello i have problem...

MySQL:
save_pma.png
config.lua
Code:
savePlayerData = true

and player dont save.

/save and more not working.

began to happen after installation Gęsior acc maker 2012

Video:

How to fix?
 
why u still using 0.4

My friend add a lot function's and more functions to my engine.

@topic
I look in console

Code:
[20:44:53.481] mysql_real_query(): DELETE FROM `guild_invites` WHERE player_id = 22 - MYSQL ERROR: Table 'ots.guild_invites' doesn't exist (1146)
[20:44:53.483] mysql_real_query(): DELETE FROM `guild_invites` WHERE player_id = 22 - MYSQL ERROR: Table 'ots.guild_invites' doesn't exist (1146)
[20:44:53.487] mysql_real_query(): DELETE FROM `guild_invites` WHERE player_id = 22 - MYSQL ERROR: Table 'ots.guild_invites' doesn't exist (1146)
[20:44:53.488] Error while saving player: God Szafi.
 
Last edited:
Code:
CREATE TABLE `guild_invites`
(
    `player_id` INT NOT NULL DEFAULT 0,
    `guild_id` INT NOT NULL DEFAULT 0,
    UNIQUE (`player_id`, `guild_id`),
    FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE,
    FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;
with search buttom
 
Code:
CREATE TABLE `guild_invites`
(
    `player_id` INT NOT NULL DEFAULT 0,
    `guild_id` INT NOT NULL DEFAULT 0,
    UNIQUE (`player_id`, `guild_id`),
    FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE,
    FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;
with search buttom

Cant create
Code:
2013 - Lost connection to MySQL server during query

@edit
for again run sql question

Code:
#1146 - Table 'ots.guild_invites' doesn't exist

@edit2
Code:
#1005 - Can't create table 'ots.guild_invites' (errno: 150)

@edit3
i go sleep, i try tomorrow and say. 14h to make OT, my head do not thoughts
 
Last edited:
Sloved:

shutdown tfs

Code:
service mysql restart

or
Code:
shutdown -r now

run MySQL

Code:
DROP TABLE IF EXISTS `guild_invites`

and
Code:
CREATE TABLE `guild_invites`
(
`player_id` INT NOT NULL DEFAULT 0,
`guild_id` INT NOT NULL DEFAULT 0,
UNIQUE (`player_id`, `guild_id`),
FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE,
FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;

Thanks :)
 
Back
Top