BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Keltezaa on July 01, 2012, 04:21:44 pm

Title: Error While reading rpc header.
Post by: Keltezaa on July 01, 2012, 04:21:44 pm
can anyone please help.

Thank you

[login] [status] authenticating
Sending RPCPackets:0
Read error: EOF

Warning: Error while reading rpc header.() in C:\Bebot-0.6.8\Sources\AOChat.php on line 503

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in C:\Bebot-0.6.8\Sources\AOChat.php on line 725

[conn]    [error] failed authenticating to server.
Title: Re: Error While reading rpc header.
Post by: Keltezaa on July 03, 2012, 11:28:30 pm
I have the following error when running the bot. I have searched multiple topic's but dont see anything that I have not checked yet, or updated,




[login] [status] authenticating
Sending RPCPackets:0
Read error: EOF

Warning: Error while reading rpc header.() in C:\Bebot-0.6.8\Sources\AOChat.php on line 503

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in C:\Bebot-0.6.8\Sources\AOChat.php on line 725

[conn]    [error] failed authenticating to server.

I have tried :

Quote
Here is the patch for 2.7.

Changes are in Sources/AOChat.php

Change
AOCP_LOGIN_CHARID       => array("name"=>"Login CharacterID",                   "args"=>"III"),
to
AOCP_LOGIN_CHARID       => array("name"=>"Login CharacterID",                   "args"=>"IIIS"),

Change ( line 468 ish AND 935 ish )
 $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(1,$this->char["id"],$this->serverseed ) );
to
 $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(1,$this->char["id"],$this->serverseed, "en") );

and followed the wiki, step by step, and installed the aochat.php file that Chaos shared,
but not even that helped.

somwhere i may have missed something please help
Title: Re: Error While reading rpc header.
Post by: Shelly on July 04, 2012, 04:45:15 am
Hey Keltezaa

1. Ok I can surmise you are running in Windows... What version? :)
2. Did you setup MySQL or using the builtin SQL Light?

You might be having a windows security issue if you are running this on any of the newer windows versions.

I don't know the AoC process all that well... but provide some of these kinds of details and I am sure there will be someone step in and help.

Shelly
Title: Re: Error While reading rpc header.
Post by: pragna on July 22, 2012, 08:17:38 pm
i have the same problem i used linux
Title: Re: Error While reading rpc header.
Post by: Khalem on July 25, 2012, 02:42:22 am
Please try the latest git snapshot and see if that fixes your problem:
https://github.com/J-Soft/BeBot-legacy/zipball/master
Title: Re: Error While reading rpc header.
Post by: Keltezaa on August 09, 2012, 12:34:05 pm
yes thank you very much... ;D
I did have to change the server address for the EU server to  ::)

Code: [Select]
$server_list['aoc']['EU']           = array('server'=>'dm01-sto.ageofconan.com', 'port'=>7000);
but all seems to be working fine.
based on the origional error
SimplePortal 2.3.7 © 2008-2024, SimplePortal