BeBot - An Anarchy Online and Age Of Conan chat automaton
General => Feedback and Suggestions => Topic started by: yueee on February 01, 2006, 03:44:03 pm
-
just a tiny fix since rk3 uses a different port than the other servers, no idea if i missed a post about this issue. if thats the case ignore the post.
-
I haven't looked at yueee's fix, but the needed edits are quick.
Find line 127 in bot.php, and update the switch statement as below:
Old:
// Get dimension server
switch($this -> dimension)
{
case 0:
$server = "chat1.d1.funcom.com";
break;
case 2:
$server = "chat3.d1.funcom.com";
break;
case 3:
$server = "chat.dt.funcom.com";
break;
default:
$server = "chat2.d1.funcom.com";
}
New:
// Get dimension server
switch($this -> dimension)
{
case 0:
$server = "chat1.d1.funcom.com";
$port = 7012;
break;
case 2:
$server = "chat3.d1.funcom.com";
$port = 7012;
break;
case 3:
$server = "chat.dt.funcom.com";
$port = 7013;
break;
default:
$server = "chat2.d1.funcom.com";
$port = 7012;
}
Under the switch, make the following change.
Old: $this -> aoc -> connect($server);
New: $this -> aoc -> connect($server, $port);
-
I could have sworn i fixed this already, but bleh.
Added to SVN.
-
I could have sworn i fixed this already, but bleh
I ran into it with v0.2.5 so maybe changes got overwritten somewhere along the line. I've managed to do stuff like that a few times...