Archive > AO 0.6 support

2019 AO Server

(1/1)

bitnykk:
To connect to new RK6 AO server, you first need a toon from a paid account ; remember to guild it if you want it to be a guildbot.

First, go edit your ServerList.php file into conf/ folder of the bot. This can be of 2 shapes :

1- older versions have template like :

--- Code: ---$server_list['ao']['Rubi-Ka']     = array('server'=>'chat.d1.funcom.com', 'port'=>[b]7105[/b]);
--- End code ---
Duplicate this line to obtain something like :

--- Code: ---$server_list['ao']['RK2019']     = array('server'=>'chat.d1.funcom.com', 'port'=>7106);
--- End code ---
Most important is the port to land into the correct chat (7106) ; also you must avoid to have twice the same server name in the file, hence we changed it to 'RK2019'.

2- newer versions have template like :

--- Code: ---$server_list['ao']['[b]Rubi-Ka[/b]'] = array(
    'server' => 'chat.d1.funcom.com',
    'port' => [b]7105[/b],
    'dim' => [b]5[/b]
);
--- End code ---
In this case, make a copy of the template, changing name/port/dim values like this :

--- Code: ---$server_list['ao']['[b]RK2019[/b]'] = array(
    'server' => 'chat.d1.funcom.com',
    'port' => [b]7106[/b],
    'dim' => [b]6[/b]
);
--- End code ---

Second step, go into the Bot.php file of the /Sources folder and find the connect() function ; in its switch, duplicate this part right under itself :

--- Code: --- case "5";
$dimension = "Rubi-Ka";
break;
--- End code ---
As we did earlier, change the values of the copy for the same than upper :

--- Code: --- case "6";
$dimension = "RK2019";
break;
--- End code ---

Final step, edit your bot.conf file accordingly in /conf folder : login, password, etc, plus 2 critical elements that need a change for RK2019 :

--- Code: ---$dimension = "6";
--- End code ---

--- Code: ---$guild_id = 1234;
--- End code ---
This number depends of your guild RK6 ID on http://people.anarchy-online.com and is surely not the same number you had on old Rubi-Ka (RK5), so beware !

Then start the bot like usually, it should get in RK6's orbit. Congrats !

bitnykk:
Bump & update of upper guide as RK6/2019 XML is now available on PORK, so bots can see new server toons, do !whois and org roster updates !

Navigation

[0] Message Index

Go to full version