Archive > AoC 0.6 support

Authentication Error

(1/2) > >>

Spreadicus:
Im getting an authentication error and I have tried a multitude of things.

My server is running windows server 2008 rc2 64 bit
I am using php 5.3.0 NTS x64 (have tried NTS 32 bit as well as threadsafe versions both 32 and 64 bit. all the way back to 4.3 up to the most recent version which doesn't work at all so it can't be a bad version)

It all loads up fine and then gives me this  error


--- Code: ---[28-May-2015 23:02:34] PHP Warning:  Error while reading rpc header. () in E:\Bebot\Sources\AOChat.php on line 503
[28-May-2015 23:02:34] PHP Warning:  handleRPCPackets: Packet is not an object (no RPCPacket?) in E:\Bebot\Sources\AOChat.php on line 725

--- End code ---
What's really great is there IS no line 503 or 725, Or any other various lines that it's given me the past few days.

Now I have scoured this website and the internet at large for a solution to no avail. It seems this problem has been encountered before and I have found a few threads about it but I see no solutions posted.  >:(

For reference I am using this serverlist.php file. It would seem to be the latest list. But if not can someone clarify for me?


--- Code: ---<?php
// AO
$server_list['ao']['Testlive']      = array('server'=>'chat.dt.funcom.com', 'port'=>7109);
$server_list['ao']['Atlantean']     = array('server'=>'chat.d1.funcom.com', 'port'=>7101);
$server_list['ao']['Rimor']         = array('server'=>'chat.d2.funcom.com', 'port'=>7102);
$server_list['ao']['Die neue welt'] = array('server'=>'chat.d3.funcom.com', 'port'=>7103);

// AOC
  $server_list['aoc']['EU']           = array('server'=>'dm10-nj4.ageofconan.com', 'port'=>7000);
$server_list['aoc']['US']           = array('server'=>'dm09-nj4.ageofconan.com', 'port'=>7010);
$server_list['aoc']['Aoctestlive']  = array('server'=>'testlive.ageofconan.com', 'port'=>7010);

// all EU servers use the same login server
$server_list['aoc']['Bloodbrand']  = $server_list['aoc']['EU'];
$server_list['aoc']['Ahriman']  = $server_list['aoc']['EU'];
$server_list['aoc']['Bori']  = $server_list['aoc']['EU'];
$server_list['aoc']['Dagon']  = $server_list['aoc']['EU'];
$server_list['aoc']['Ymir']  = $server_list['aoc']['EU'];
$server_list['aoc']['Hyrkania']  = $server_list['aoc']['EU'];
$server_list['aoc']['Aquilonia']  = $server_list['aoc']['EU'];
$server_list['aoc']['Twilight']  = $server_list['aoc']['EU'];
$server_list['aoc']['Corinthia']  = $server_list['aoc']['EU'];

// Merged Servers
$server_list['aoc']['Crom']             = $server_list['aoc']['US'];
$server_list['aoc']['Fury']             = $server_list['aoc']['US'];


// Spanish Servers
$server_list['aoc']['Zingara']      = $server_list['aoc']['EU'];
$server_list['aoc']['Indomitus']    = $server_list['aoc']['EU'];

// French Servers
$server_list['aoc']['Ishtar']       = $server_list['aoc']['EU'];
$server_list['aoc']['Ferox']        = $server_list['aoc']['EU'];
$server_list['aoc']['Stygia']       = $server_list['aoc']['EU'];
$server_list['aoc']['Strix']        = $server_list['aoc']['EU'];

// German Servers
$server_list['aoc']['Asura']        = $server_list['aoc']['EU'];
$server_list['aoc']['Ibis']         = $server_list['aoc']['EU'];
$server_list['aoc']['Aries']        = $server_list['aoc']['EU'];
$server_list['aoc']['Titus']        = $server_list['aoc']['EU'];
$server_list['aoc']['Asgard']       = $server_list['aoc']['EU'];

// all US servers use the same login server
$server_list['aoc']['Gwahlur']      = $server_list['aoc']['US'];
$server_list['aoc']['Wiccana']      = $server_list['aoc']['US'];
$server_list['aoc']['Bloodspire']   = $server_list['aoc']['US'];
$server_list['aoc']['Ironspine']    = $server_list['aoc']['US'];
$server_list['aoc']['Tyranny']      = $server_list['aoc']['US'];
$server_list['aoc']['Cimmeria']     = $server_list['aoc']['US'];
$server_list['aoc']['Agony']        = $server_list['aoc']['US'];

?>
--- End code ---

The bot toon resides on Fury on the US side, The login/password info is exact. The bot name is exact. I have even checked the bots functionality on my main account with one of my main toons and it gives the same error.

 I have port scanned the hostname "dm09-nj4.ageofconan.com" and checked every available port between 7000 and 7050 verifying that none of the open ports allows my bot through. Have even cross checked the old hostname "aoc-us-um.live.ageofconan.com" Same thing. (both hostnames resolve to the same IP btw)

MYsql works fine and i have even tried various versions of that to be sure it isn't related but it gives the same error.

I have also disabled my firewall completely, No go. I have enabled DMZ hosting on the server and still the same error so it isn't firewall related.   

I strongly suspect it has to do with the server list but i haven't used bebot in so long. I've been at this for a few days now debugging it all and I have hit this wall.  I can't help but think Funcom has broken something or changed something in their server cluster but Scaevacas says his bot still works fine on the aoc forums so I am at a loss and have tried everything I can think of resorting at last to asking here ..Any help would be appreciated.

Spreadicus:
does anyone have the latest serverlist.php?

WeZoN:
The serverlist seems ok. That is the exact same as i'm running my users bots on.

Try changing the aochat file.

(temp location)
http://hvikt.utavdrift.no/AOChat.phps

Spreadicus:
I replaced my AOchat.php with the one you linked it gives me this response


--- Code: ---[03-Jun-2015 01:14:17] PHP Warning:  include(AocLogin/LoginServerConnection.php): failed to open stream: No such file or directory in C:\Bebot\Sources\AOChat.phps on line 58
[03-Jun-2015 01:14:17] PHP Warning:  include(): Failed opening 'AocLogin/LoginServerConnection.php' for inclusion (include_path='.;C:\php5\pear') in C:\Bebot\Sources\AOChat.phps on line 58
[03-Jun-2015 01:14:17] PHP Warning:  include(AocLogin/CharacterServerConnection.php): failed to open stream: No such file or directory in C:\Bebot\Sources\AOChat.phps on line 59
[03-Jun-2015 01:14:17] PHP Warning:  include(): Failed opening 'AocLogin/CharacterServerConnection.php' for inclusion (include_path='.;C:\php5\pear') in C:\Bebot\Sources\AOChat.phps on line 59
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\modules\IRC.php on line 682
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1158
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1184
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1219
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1321
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1595
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 49
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 60
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 318
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 366
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 4 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 5 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 6 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Fatal error:  Class 'LoginServerConnection' not found in C:\Bebot\Sources\AOChat.phps on line 491

--- End code ---


i noticed the call for pear in C:\php5\pear  so i installed that in the appropriate directory just in case but still the same message. Any thoughts? i cant find the php files it is asking for in my bebot directory or the zip archive i got from the site.

AocLogin/LoginServerConnection.php
AocLogin/CharacterServerConnection.php

seems like progress though

WeZoN:
are you running on windows or linux ?

If i'm guessing correctly, you are running it on windows. If so, try to copy the php install into the bebot folder itself and see if it manages to run it then.

Navigation

[0] Message Index

[#] Next page

Go to full version