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

Temple Position!

zayat

New Member
Joined
May 12, 2009
Messages
347
Reaction score
2
when a player dies in my server his position becomes 0 0 0 , can anyone tell me why im using Gesior ACC 0.3.6 and i made all samples and fixed in config and still not working!
 
ur server need to be ofline and then do this.
set ur town and then the position of ur town all player most be loged off,
if you do this then login and all players will have the town 1.

UPDATE players SET town = 1;
UPDATE players SET Y = 1000;
UPDATE players SET X = 1000;
UPDATE players SET Z = 7

and btw open REM map editor and there add a town position else ur town wont work.
and in gesior acc there u need to change in config/config.ini the town id's
 
mate i only have 1 town which is enigma city and where should i make these
UPDATE players SET town = 1;
UPDATE players SET Y = 1000;
UPDATE players SET X = 1000;
UPDATE players SET Z = 7 and

where should i edit in config.ini
 
1. In Database (Phpmyadmin)
2. In website folder called: htdocs

where here? in both.! Look im going to training so if u can send my ur email with PM its ok
 
do this:
SQL:
UPDATE players SET posx = 1000, posy = 1000, posz = 7, town_id = 1

In Database (phpmyadmin)

and

this:
and in gesior acc there u need to change in config/config.ini the town id's

In Htdocs (website)
 
go to your phpmyadmin.
then click on your database and then click on SQLLook picture:
2qu29fq.jpg


and add it there this:
SQL:
UPDATE players SET posx = 1000, posy = 1000, posz = 7, town_id = 1
 
the death spawn is the temple position, its the town u add in REM map editor and if players have the same town ID then if players die they will spawn at that town temple.
 
no caus the players still have the old town you need to update the players in database and the sample charachters to caus if new chars are made then the same old probleem.
and in config.ini on website where change the town id to.
 
In xampp/htdocs, search for accountmanagement.php and search for this..

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

And replace it with this..

Code:
$player->setPosX($char_to_copy->getPosX(x));  
$player->setPosY($char_to_copy->getPosY(x));  
$player->setPosZ($char_to_copy->getPosZ(x));

* x: being the player spawn ID you would like it to copy. (any sample character)


I hope I helped..
 
Back
Top