• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Help] Double servers.

Midxas

New Member
Joined
Apr 21, 2014
Messages
43
Reaction score
0
Hello Otland!

I've been asking about multiworld in here http://otland.net/threads/help-multiworld.217192/#post-2086809

And I still have problem with this.. In the previous topic guys explained me that there are 2 ways of starting 2 diffrent servers. On 1 database or on 2 databses. People told me that on 2 databases is easier so i've chosen that way.

What do I have? I have 2 different servers on 2 different database's. And here is my huge problem! I have no idea how to configurate my acc maker for 2 servers on 2 different database's.



C:\xampp\htdocs\config

At

config.php

There is (for single world)
Code:
<?PHP
# Account Maker Config
$config['site']['serverPath'] = "E:/Users/xx/Desktop/xxx/xx/";
$config['site']['useServerConfigCache'] = false;
$config['site']['worlds'] = array(0 => 'xx');

For multiworld
Code:
# Account Maker Config
$config['site']['serverPath'] = "C:/ots/";
$config['site']['useServerConfigCache'] = false;
$config['site']['worlds'] = array(0 => 'Acc. Maker Test World 1', 1 => 'Acc. Maker Test World 2');
$towns_list[0] = array(1 => 'Thais', 2 => 'Venore', 5 => 'Carlin');
$towns_list[1] = array(1 => 'Thais', 2 => 'Venore', 5 => 'Carlin');

But in both code's there is only one way to describe where my server is! And when i have 2 diffrent servers they are in 2 different folders and i have totally no idea how to configurate this
Code:
$config['site']['serverPath'] = "C:/ots/";

For 2 servers.

And here is my second question. If there will be no option to change acc maker for 2 servers on 2 diffrent database's anyone could tell me a command for chaning world id for all players in sql base. And than what to do, import all players for one of my baseses and try to make it good? :D

Please help!

bumpcksz
anyone?
refresh
 
Last edited by a moderator:
Back
Top