• 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!

Lua Otserver.tiles Problem!

manninho

New Member
Joined
Aug 11, 2010
Messages
15
Reaction score
1
when i try open my server, i get this

mysql_real_query():SELECT´id'FROM'tiles'WHERE`x` =1007 AND `Y`956 AND 7 world_id otserver.tiles doesnt not exist!

i get that loads of times, spamming my consol!

Help please! I will rep!
 
I have test . But when I make a new tiles It stands that it allreaddy exist . and when I try to drop It stands that it dont exist :S
 
Now I use maxat . But I posted here Cuz he had the same problem. But Idk :s I cant se the tiles On my database :S And cant add Cuz it stands its allreaddy there .
 
  1. CREATE TABLE `tiles`
  2. (
  3. `id` INT UNSIGNED NOT NULL,
  4. `world_id` TINYINT(2) UNSIGNED NOT NULL DEFAULT 0,
  5. `house_id` INT UNSIGNED NOT NULL,
  6. `x` INT(5) UNSIGNED NOT NULL,
  7. `y` INT(5) UNSIGNED NOT NULL,
  8. `z` TINYINT(2) UNSIGNED NOT NULL,
  9. UNIQUE (`id`, `world_id`),
  10. KEY (`x`, `y`, `z`),
  11. FOREIGN KEY (`house_id`, `world_id`) REFERENCES `houses`(`id`, `world_id`) ON DELETE CASCADE
  12. ) ENGINE = InnoDB;

  13. CREATE TABLE `tile_items`
  14. (
  15. `tile_id` INT UNSIGNED NOT NULL,
  16. `world_id` TINYINT(2) UNSIGNED NOT NULL DEFAULT 0,
  17. `sid` INT NOT NULL,
  18. `pid` INT NOT NULL DEFAULT 0,
  19. `itemtype` INT NOT NULL,
  20. `count` INT NOT NULL DEFAULT 0,
  21. `attributes` BLOB NOT NULL,
  22. UNIQUE (`tile_id`, `world_id`, `sid`), KEY (`sid`),
  23. FOREIGN KEY (`tile_id`) REFERENCES `tiles`(`id`) ON DELETE CASCADE
  24. ) ENGINE = InnoDB;
 
Back
Top