Hi, guys!
With the new server your good old org, raid and other Budabots will probably have died because they can't connect to the server. Well - ofcourse they can't, it's a new server!
Basically, you will need to do the following. Patch the file /core/BotRunner.php from line 208.
For Budabot 3.0, replace:
Code:
protected function getServerAndPort() {
global $vars;
// Choose server
if ($vars['use_proxy'] === 1) {
// For use with the AO chat proxy ONLY!
$server = $vars['proxy_server'];
$port = $vars['proxy_port'];
} else if ($vars["dimension"] == 1) {
$server = "chat.d1.funcom.com";
$port = 7101;
} else if ($vars["dimension"] == 2) {
$server = "chat.d2.funcom.com";
$port = 7102;
} else if ($vars["dimension"] == 4) {
$server = "chat.dt.funcom.com";
$port = 7109;
} else {
LegacyLogger::log('ERROR', 'StartUp', "No valid server to connect with! Available dimensions are 1, 2, 4 and 5.");
sleep(10);
die();
}
return array($server, $port);
}
With:
Code:
protected function getServerAndPort() {
global $vars;
// Choose server
if ($vars['use_proxy'] === 1) {
// For use with the AO chat proxy ONLY!
$server = $vars['proxy_server'];
$port = $vars['proxy_port'];
} else if ($vars["dimension"] == 1) {
$server = "chat.d1.funcom.com";
$port = 7101;
} else if ($vars["dimension"] == 2) {
$server = "chat.d2.funcom.com";
$port = 7102;
} else if ($vars["dimension"] == 4) {
$server = "chat.dt.funcom.com";
$port = 7109;
} else if ($vars["dimension"] == 5) {
$server = "chat.d1.funcom.com";
$port = 7105;
} else {
LegacyLogger::log('ERROR', 'StartUp', "No valid server to connect with! Available dimensions are 1, 2, 4 and 5.");
sleep(10);
die();
}
return array($server, $port);
}
Then update your config.php file to use server "5":
Code:
$vars['dimension'] = 5;
For Budabot 2.3 you will make the same change except in a different file. Make the change in /main.php starting on line 130.
We'll put out a proper 3.0_RC6 or 3.0 GA as fast as possible with these changes.
And as always, if you need help with Budabot (with this or otherwise) you can
1. Reply here
2. Go to http://budabot.com/forum
3. Drop by in irc://irc.funcom.com:6667/#budabot
4. '/tell Budanet !join' - there's usually someone around to help (note: give us a few to get Budanet running on the new server. This is basically dependent on when Tyrence's boss lets him get off work. :P )