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

Help Gesior !!

conde2

Active Member
Joined
Jun 22, 2008
Messages
348
Reaction score
44
I tryed to change the town id but i can't always appear in DataBase the town id 5

In Sorcer Sample, Knight Sample the town id is 1

and I changed in config look:
// CHARACTER config, format: ID_of_vocation => 'Name of Character to copy', load vocation name from $vocation_name[0] (below)
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_vocations'][1] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
// sample, if rook only: $config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample');
$config['site']['newchar_towns'][0] = array(1);
$config['site']['newchar_towns'][1] = array(1);
// sample, if all players should spawn in one city (city with ID 4):
$config['site']['newchar_towns'] = array(1);




How can i edit the starting town id for 1?
 
I want when i create an character in Gesior Acc Maker for TFS 0.3.6
The town id of this new character need to be 1 !!
 
BUMP, I also need this. Any time I make a character it seems to be town ID 5, with the correct temple POS though, I've tried changing a bunch of stuff like the arrays but I cant get it. ><
 
So try to go to accountmangament.php
find
Code:
				    $player->setTownId(5);
then change to
Code:
				    $player->setTownId(1);

next find
Code:
                    $player->setPosX($char_to_copy->getPosX
                    $player->setPosY($char_to_copy->getPosY
                    $player->setPosZ($char_to_copy->getPosZ

and put Yours town id 1 coords.
If you are using other acc than 8.5 then let me know.
 
So try to go to accountmangament.php
find
Code:
				    $player->setTownId(5);
then change to
Code:
				    $player->setTownId(1);

next find
Code:
                    $player->setPosX($char_to_copy->getPosX
                    $player->setPosY($char_to_copy->getPosY
                    $player->setPosZ($char_to_copy->getPosZ

and put Yours town id 1 coords.
If you are using other acc than 8.5 then let me know.
Well, well. I feel dumb now, but thanks so much. This fixed it. :)

+rep ^_^
 
Back
Top