• 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 Town_id problem

Glidarn

Member
Joined
May 9, 2009
Messages
970
Reaction score
16
Location
Åkersberga, Sweden
You prolly heard this before but... when ppl die they can't log in cause "temple position is wrong"

But in the config.lua it sayd "town_id 1" wich is correct but all the players get town_id 5 for some reason :(


anyone know why?

/Glidarn
 
You're probably using gesior, which on some versions always defaults to 5. The easiest way I can tell you to fix this is just hardcode the townid you want in accountmanagement.php

Find
$player->setTownId
replace the entire line with
$player->setTownId(1);
 
Back
Top