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

temple position is wrong

Your character is trying to respawn in the temple position of his residence. Most likely, you didn't set up any temple position for that town ID in map editor.
Go to remere's map editor -> Map -> Edit Towns -> Find the city with the lowest ID (if there are no cities listed, Add one) and set its temple coordinates to where you want people to respawn.

This should fix your problem.
You can also check which town your character is in with: getPlayerTown(cid), and you can change it with doPlayerSetTown(cid).
 
[15:33:02.953] mysql_real_query(): SELECT `id`, `guild_id`, `enemy_id` FROM `gui
ld_wars` WHERE `status` IN (1,4) AND `end` > 0 AND `end` < 1401975182 - MYSQL ER
ROR: Table 'thais.guild_wars' doesn't exist (1146)
[15:33:27.500] Owner has logged out.
[15:33:34.203] Gaina has logged in.
> Broadcasted message: "Information: Please report bugs and missing creatures/np
cs/quests to http://AZURA.sytes.net/?subtopic=bugtracker with images and descrip
tion.".
[15:35:16.359] mysql_real_query(): INSERT INTO `killers` (`death_id`, `final_hit
`, `unjustified`, `war`) VALUES (4, 1, 0, 0) - MYSQL ERROR: Unknown column 'war'
in 'field list' (1054)
 
Try this query, its since your town ids aren't setup correctly when the player is created.
Code:
UPDATE players SET town_id = 5;

Edit: And make sure your sample characters has the correct townid.
 
Are you using gesior? In that case do as I said.. Change the sample characters in your database to the townid you wish for them to have.
Have no ide what you should do if you are using znote.
 
Do you have any onDeath scripts? Is it when the character is created(sample characters)?
The thing is that is your town id in your mapeditor is 100% correct(double check this) it has to be something else that changes the position of the player once it dies.
So check creaturescripts for onDeath scripts and see if you got something there.

Also another thing do you accept players to be created from some ingame account manger? In that case make sure the positions in your config.lua is correct.
If there still is no onDeath scripts and YOU ARE SURE that the others things ARE CORRECT then try another exe if there is some onDeath thing implanted in your source code.
 
You need edit in your Map
Enter RME ,Put in Towns - Here:
Look picture:
2n0lqf6.jpg

Look ID <- town and say with your god /town 5 , or name city
use /town
to go your city principal
and use /pos
to see what position have.
Enter MYSQL and use this query in SQL
Code:
UPDATE players SET posx = 32369, posy = 32241, posz = 7;

Edit positions x y z
now all players send to temple thais

Now i see On create players have same error? I think you use Gesior..
I suggest go your web and search in your Accountmanagament.php
In line 792 , u see this:
Code:
$player->setTownId(2);
so made by have 2 ,3 ,etc you need edit
Code:
$player->setTownId(5);

and try create player and enter
 
¿Error? ,use /town ,or enter talkactions.xml and see have group correct or.. use command good. ;p
you can use /town 1 , etc
or /town thais ,/town is same /t
 
why not doing this;

Code:
                    $player->setTownId($char_to_copy->getTownId());

and then he doesn't have to bother himself fixing the town_id everytime
 
Back
Top