BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: WeZoN on March 28, 2011, 02:35:23 pm
-
Hey
So now the bot's cannot log on it seems
Warning: Error while reading rpc header. () in \Sources\AOChat.php on line 503
Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in \Sources\AOChat.php on line 725
Informerbot [CONN] [ERROR] Failed authenticating to server. Retrying in 60
seconds.
-
This just happen suddenly out of the blue?
* Did you change anything latly? Even small changes can cause something..
* Did you wait 15min and try again? You could have been locked out of the account.
* What dimension are you trying to connect?
* Check firewall, dns and other ISP related stuff
Fury connection is and have been working without interrupt since patch sometime last week..
-
haha,, look at that:P
Seems to work now. Just had to wait like you mentioned.
Weird problem :S
-
I will add the errorhandling for the unsuccessful login ( the error you actually get here is "Player is already logged in".
-
Hello,
unfortunalety i have following error:
Gsys [LOGIN] [STATUS] Connecting to aoc server aoc-eu-um.live.ageofconan.com:7000
Gsys [LOGIN] [STATUS] Authenticating
Sending RPCPacket:0
Received RPC Packet:0
Sending RPCPacket:1
Read error: EOF
Warning: Error while reading rpc header. () in /chat_tools/Sources/AOChat.php on line 505
Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in /chat_tools/Sources/AOChat.php on line 727
Gsys [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.
While the Bot is working on Windows 7 and Vista on Wamp installations, it won`t work with on my readynas
Linux 2.6.17.14 ReadyNAS (sparc)
I tested it with:
PHP 5.2.0-8
PHP5_5.2.13
PHP5_5.3.6-11
But on all versions i get the same error.
I copied the Bebot files from Windows to my NAS (including Database and the last AOC_CHAT.php patch you provided in this forum)
I changed Network settings and cables, as well i attached my NAS directly on the Router and at a Switch (unmanaged).
The NAS is behind a NAT Router, same subnet as my Windows Machines, so i think it could not be a routing problem.
I edited the AOC_CHAT.PHP file to get some outputs and tested it on Windows and my NAS.
The output seems to be different, (Windows has 8 spaces between the "Universe" string and the rest of the text, while this spaces are not in the string from the NAS) but i think the output depends on the shell, respectively the windows batch.
Any help, input and/or suggestions would be great.
regards,
sin
-
common guys, no idea`s ?
currently it seems not to be a Bebot problem at all (maybe the socket handling in different machines??)
I tested it since my last post and it seems that the response after the second "send packet" is empty.
For sure, the "debug" info`s inside the script doesn`t messed up anything, the exactly same script works best on a windows machine.
This might be a topic for the "running bebot on a linux box" cracks out there, any help and suggestion is appreciated!
Once again, i`d like to run the Bot on my shiny Netgear Readynas with a Sparc Processor:
Linux 2.6.17.14 ReadyNAS padre (sparc-linux-gnu )
PHP Version 5.3.6-11.1
cURL support enabled
cURL Information 7.19.7
Sockets Support enabled
----
Below the output from my debug try`s:
theBot[LOGIN] [STATUS] Connecting to aoc server aoc-eu-um.live.ageofconan.com:7000
connect: Socket created
theBot[LOGIN] [STATUS] Authenticating
function: authenticateConan
authenticateConan creating new aochatPackage(rpc_universe_init)
authenticateConan calling: send_rpcPacket(initPacket)
function: send_rpcpacket
Data written to socket: 82of 82
Sending RPCPacket:0
authenticateConan calling: get_rpcPacket
function get_rpcpacket calling read_data(8)
INBOUND DATA:>>>>>>>>>>>
\¥á£2
INBOUND DATA:>>>>>>>>>>>
get_rpcpacket head contains: \¥á£2
get_rpcpacket calling read_data(88)
INBOUND DATA:>>>>>>>>>>>
UniverseAgentUniverseInterface}P 204089e6bfa380505e9be633e24d3c9a
INBOUND DATA:>>>>>>>>>>>
get_rpcPackage Received RPC Packet:0
get_rpcPackage create new RPCPacket
get_rpcPacket return packet
authenticateConan calling: handleRPCPackets
function: handleRPCPackets Packet:
handleRPCPackets create new aochatPackage
handleRPCPackets calling send_rpcPacket(outPacket) type:0
function: send_rpcpacket
Data written to socket: 465of 465
Sending RPCPacket:1
authenticateConan calling: get_rpcPacket
function get_rpcpacket calling read_data(8)
INBOUND DATA:>>>>>>>>>>>
INBOUND DATA:>>>>>>>>>>>
get_rpcpacket head contains:
Warning: Error while reading rpc header. () in /chat_tools/Sources/AOChat.php on line 629
authenticateConan calling: handleRPCPackets
function: handleRPCPackets Packet:
Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in /chat_tools/Sources/AOChat.php on line 867
authenticateConan received -1 from handleRPCPackets
theBot [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.
-
Same problem here .. trying to run bebot from NSLU2 with unslung ... noticed different packets being sent from linux than from windows.
Also stuck after "Sending RPCPacket:1" with Read error: EOF etc etc