collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Error While reading rpc header.  (Read 3918 times)

0 Members and 1 Guest are viewing this topic.

Offline Keltezaa

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
  • -=Blood Arcanum=-
Error While reading rpc header.
« 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.

Offline Keltezaa

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
  • -=Blood Arcanum=-
Re: Error While reading rpc header.
« Reply #1 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

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Error While reading rpc header.
« Reply #2 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

Offline pragna

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Error While reading rpc header.
« Reply #3 on: July 22, 2012, 08:17:38 pm »
i have the same problem i used linux

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Error While reading rpc header.
« Reply #4 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
BeBot Founder and Fixer Kingpin

Offline Keltezaa

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
  • -=Blood Arcanum=-
Re: Error While reading rpc header.
« Reply #5 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

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 437
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal