• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Error while saving player --- every relog tp to temple

tuduras

Well-Known Member
Joined
Jun 4, 2017
Messages
340
Solutions
2
Reaction score
58
1.Hello, I have problem with saving player status. When I relog after few move in game , and log in then teleport me to temple with 8level and reset level. I used otx 2.16 based on 0.3.7. Can anyone helP :?
saving.webp

SOlv3d
 

Attachments

Last edited:
hmm?
SQL:
CREATE TABLE `player_autoloot` (
  `player_id` INT(11) NOT NULL,
  `autoloot_list` TEXT DEFAULT NULL,
  PRIMARY KEY (`player_id`),
  CONSTRAINT `fk_player_autoloot_player`
    FOREIGN KEY (`player_id`) REFERENCES `players`(`id`)
    ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
hmm?
SQL:
CREATE TABLE `player_autoloot` (
  `player_id` INT(11) NOT NULL,
  `autoloot_list` TEXT DEFAULT NULL,
  PRIMARY KEY (`player_id`),
  CONSTRAINT `fk_player_autoloot_player`
    FOREIGN KEY (`player_id`) REFERENCES `players`(`id`)
    ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
@tuduras Your database does not have all required tables.
Run @Stanos SQL code in MySQL (phpmyadmin etc.). If it does not fix your 'autoloot' error, post src/iologindata.cpp from your OTS, so we can adjust structure of that table for your server.
 
okay. I update my databasea . I added sql query autoloot and works. Now characater after relog are saved. Thanks mates
 
Back
Top