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

[GESIORACC] Bug-ISH, urgent help needed..

_Arthur

Joined
Oct 22, 2009
Messages
2,190
Reaction score
143
Okay, so when I make a new char on the site, my PhPMyAdmin automatically sets their town ID:0, x:0, y:0, z:0. and I get "Temple position is wrong, please contact Admin" error msg on login.

DO NOT tell me to set in my voc samples to the starting temple pos, because i ALREADY DID, and it doesnt change a thing.

DO NOT tell me to set it in my config.lua on my server, because it ALSO DOESNT WORK.

(I have already done these..)

There MUST be some file in htdocs that sets newplayerspawn position, or something like that.. I can't find it.. Any GOOD ideas?
 
Last edited:
same thing again?
u must go in htdoc/config
and set new player town id.

OR

set all your samples to the position where new players must spawn and give them town id aswll
so when ppl die, they can resp.
Otherwise it will bring up Temple position wrong msg at login.
 
same thing again?
u must go in htdoc/config
and set new player town id.

OR

set all your samples to the position where new players must spawn and give them town id aswll
so when ppl die, they can resp.
Otherwise it will bring up Temple position wrong msg at login.

WHAT DID I JUST TELL YOU NOT TO TELL ME. READ MY POST AGAIN PLEASE.. AND TELL ME WHERE "htdoc/config" IS BE SPECIFIC PLEASE. THAT DOESN'T HELP 1 BIT..............
 
Despite his ignorance, he was trying to help you - so please, if you expect that one bit of help, show some respect and gratitude towards him and his attempt.

Any how, open up your accountmanagement.php file - locate the line containing this piece of information "$player->setTownId(5);" and change the 5 to whatever town id you'd like. That should do it.
 
Despite his ignorance, he was trying to help you - so please, if you expect that one bit of help, show some respect and gratitude towards him and his attempt.

Any how, open up your accountmanagement.php file - locate the line containing this piece of information "$player->setTownId(5);" and change the 5 to whatever town id you'd like. That should do it.

When searching for
Code:
"$player->setTownId(5);"
, I noticed a few lines down..

Code:
$player->setPosX(0);
$player->setPosY(0);
$player->setPosZ(0);

Thanks SO much. ;) ++REP
 
You're most welcome!

I did notice those lines as well, but in my version of Gesior AAC they look like this:
PHP:
$player->setPosX($char_to_copy->getPosX());
$player->setPosY($char_to_copy->getPosY());
$player->setPosZ($char_to_copy->getPosZ());
Which basically means that the character copies the X, Y and Z position from a sample character. That's the reason I excluded them but seeing you managed to find them yourself - that's even better!
 
Yeah, I was really getting tired of people telling me to change my config.lua, or set the x/y/z of the sample chars. <,<

Thanks again.
 
Back
Top