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

CHANGE TOWNID NEW PLAYERS

Igor Milagres

Member
Joined
May 12, 2018
Messages
76
Reaction score
20
Which server or website do you use as a base?

SABERHAVEN & ZNOTE WEBSITE

What is the reason for this topic?

Hello dear, I am unable to change the location where new players are born on my server,

currently they are spawning in Thais (TownID= 1 , Position: 32369, 32241, 7),

I would like them to be born in Rookgaard (TownID = 11, Position: 32097, 32219, 7).

Could anyone tell me where I should make this change? I've made several attempts, all without success.



SORTED OUT !!
 
Last edited:
Which server or website do you use as a base?

SABERHAVEN & ZNOTE WEBSITE

What is the reason for this topic?

Hello dear, I am unable to change the location where new players are born on my server,

currently they are spawning in Thais (TownID= 1 , Position: 32369, 32241, 7),

I would like them to be born in Rookgaard (TownID = 11, Position: 32097, 32219, 7).

Could anyone tell me where I should make this change? I've made several attempts, all without success.
If you create characters on the website, then it will likely be in config.php in the znote root folder.
 
I'm not entirely familiar with ZNOTE but you could try config.php

Set up your towns:
PHP:
// Town ids and names: (In RME map editor, open map, click CTRL + T to view towns, their names and their IDs.
    // townID => 'townName' ex: [1 => 'Rookgaard']
    $config['towns'] = array(
        1 => 'Rookgaard',
        2 => 'Rookgaard Tutorial Island',
        3 => 'Island Of Destiny',
        4 => 'Dawnport',
        5 => "Ab'Dendriel",
        6 => 'Carlin',
        7 => 'Kazordoon',
        8 => 'Thais',
        9 => 'Venore',
        10 => 'Ankrahmun',
        11 => 'Edron',
        12 => 'Farmine',
        13 => 'Darashia',
        14 => 'Liberty Bay',
        15 => 'Port Hope',
        16 => 'Svargrond',
        17 => 'Yalahar',
        18 => 'Gray Beach',
        19 => 'Krailos',
        20 => 'Rathleton',
        21 => 'Roshamuul',
        22 => 'Issavi'
    );


pick towns you want to make available to players:

PHP:
// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
    // Town IDs are the ones from $config['towns'] array
    $config['available_towns'] = array(6, 7, 8, 9)


Put the correct townID for the player's sample:

PHP:
// Health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
        'create' => array(
            'level' => 8,
            'novocation' => array( // Vocation id 0 (No vocation) special settings
                'level' => 1,
                'forceTown' => true,
                'townId' => 1
            ),
 
I'm not entirely familiar with ZNOTE but you could try config.php

Set up your towns:
PHP:
// Town ids and names: (In RME map editor, open map, click CTRL + T to view towns, their names and their IDs.
    // townID => 'townName' ex: [1 => 'Rookgaard']
    $config['towns'] = array(
        1 => 'Rookgaard',
        2 => 'Rookgaard Tutorial Island',
        3 => 'Island Of Destiny',
        4 => 'Dawnport',
        5 => "Ab'Dendriel",
        6 => 'Carlin',
        7 => 'Kazordoon',
        8 => 'Thais',
        9 => 'Venore',
        10 => 'Ankrahmun',
        11 => 'Edron',
        12 => 'Farmine',
        13 => 'Darashia',
        14 => 'Liberty Bay',
        15 => 'Port Hope',
        16 => 'Svargrond',
        17 => 'Yalahar',
        18 => 'Gray Beach',
        19 => 'Krailos',
        20 => 'Rathleton',
        21 => 'Roshamuul',
        22 => 'Issavi'
    );


pick towns you want to make available to players:

PHP:
// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
    // Town IDs are the ones from $config['towns'] array
    $config['available_towns'] = array(6, 7, 8, 9)


Put the correct townID for the player's sample:

PHP:
// Health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
        'create' => array(
            'level' => 8,
            'novocation' => array( // Vocation id 0 (No vocation) special settings
                'level' => 1,
                'forceTown' => true,
                'townId' => 1
            ),

// Town ids and names: (In RME map editor, open map, click CTRL + T to view towns, their names and their IDs.
// townID => 'townName' ex: [11 => 'Rookgaard']
$config['towns'] = array(
11 => 'Rookgaard',
4 => "Ab'Dendriel",
2 => 'Carlin',
3 => 'Kazordoon',
1 => 'Thais',
7 => 'Venore',
8 => 'Ankrahmun',
5 => 'Edron',
6 => 'Darashia',
12 => 'Liberty Bay',
9 => 'Port Hope',
13 => 'Svargrond',
14 => 'Yalahar',
10 => 'Isle of Solitude',
);


// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
// Town IDs are the ones from $config['towns'] array
$config['available_towns'] = array(11);


// Health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
'create' => array(
'level' => 8,
'novocation' => array( // Vocation id 0 (No vocation) special settings
'level' => 1,
'forceTown' => true,
'townId' => 11
),


This is how my config.php is, apparently correct, and yet the players continue to spawn at lvl 1 in Thais and without you =/
 
Add available town id for towns and vocation id for vocations

vocations:
array(1,2,3,4)

towns:
array(11,12,9)

So, for town 11 and vocation 0:
PHP:
$config['available_vocations'] = array(0);
PHP:
$config['available_towns'] = array(11);

make sure you follow the correct config:
PHP:
// Available character vocation users can choose (specify vocation ID).
	$config['available_vocations'] = array(0);

	// Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
	// Town IDs are the ones from $config['towns'] array
	$config['available_towns'] = array(11);

	$config['player'] = array(
		'base' => array(
			'level' => 1,
			'health' => 150,
			'mana' => 0,
			'cap' => 400,
			'soul' => 100
		),
		// Health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
		'create' => array(
			'level' => 1,
			'novocation' => array( // Vocation id 0 (No vocation) special settings
				'level' => 1,
				'forceTown' => true,
				'townId' => 11
			),
 
Last edited:
Add available town id for towns and vocation id for vocations

vocations:
array(1,2,3,4)

towns:
array(11,12,9)

So, for town 11 and vocation 0:
PHP:
$config['available_vocations'] = array(0);
PHP:
$config['available_towns'] = array(11);

make sure you follow the correct config:
PHP:
// Available character vocation users can choose (specify vocation ID).
    $config['available_vocations'] = array(0);

    // Available towns (specify town ids, etc: (1, 2, 3); to display 3 town options (town id 1, 2 and 3).
    // Town IDs are the ones from $config['towns'] array
    $config['available_towns'] = array(11);

    $config['player'] = array(
        'base' => array(
            'level' => 1,
            'health' => 150,
            'mana' => 0,
            'cap' => 400,
            'soul' => 100
        ),
        // Health, mana cap etc are calculated with $config['vocations_gain'] and 'base' values of $config['player']
        'create' => array(
            'level' => 1,
            'novocation' => array( // Vocation id 0 (No vocation) special settings
                'level' => 1,
                'forceTown' => true,
                'townId' => 11
            ),
I left config.php exactly this way, and even so the new characters are still in Thais, looking through the database it is listed as townid 11, but in the POS of Thais (townid 1)



SORTED OUT !
 
Last edited:
I left config.php exactly this way, and even so the new characters are still in Thais, looking through the database it is listed as townid 11, but in the POS of Thais (townid 1)



SORTED OUT !
Send us a picture of yours towns in map editor
 
Back
Top