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: AoC and Patch 1.05  (Read 37674 times)

0 Members and 1 Guest are viewing this topic.

Offline Apollyon

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #45 on: July 06, 2009, 12:22:44 am »
I put in some debug points and appear to get a value of "4294967295" for the login status.  I think I saw somewhere in the code that negative values get 4294967296 added to them, so I am guessing the status was a -1.  The other values come back as 0 or empty.  Are there any ports other than the 7000-7013 range I might need to open up?

Offline Nysom

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #46 on: July 06, 2009, 02:05:55 am »
Ok, hopefully final error message... "Error while reading RPC header"

Anyone know which file this would be in to edit? The serverlist file is correct of course and I can telnet to the server without issues...

Offline Nysom

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #47 on: July 06, 2009, 02:08:47 am »
I get Connecting
Authenticating
Read Error: EOF
Error while reading rpc header. ()

Anyone have a clue, i backed up the old filed and replaced with his new ones from his link on the Euro forums.

bump for issue fix??

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AoC and Patch 1.05
« Reply #48 on: July 06, 2009, 02:46:13 am »
Please file a bugreport at https://bugs.launchpad.net/bebot/+filebug

Djkrose is working on the AoC issues based on the patches from Chaoz. Hopefully he will be able to help figure out what is going on.
BeBot Founder and Fixer Kingpin

Offline Nysom

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #49 on: July 06, 2009, 09:58:39 pm »
Please file a bugreport at https://bugs.launchpad.net/bebot/+filebug

Djkrose is working on the AoC issues based on the patches from Chaoz. Hopefully he will be able to help figure out what is going on.

Ok, bug report #396248 filed... *throws wishing dust into the air*

Thank you  :)

Offline Nysom

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #50 on: July 07, 2009, 02:21:04 am »
Please file a bugreport at https://bugs.launchpad.net/bebot/+filebug

Djkrose is working on the AoC issues based on the patches from Chaoz. Hopefully he will be able to help figure out what is going on.

Ok, bug report #396248 filed... *throws wishing dust into the air*

Thank you  :)

PORT 7000 worked!!!

Offline Apollyon

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #51 on: July 07, 2009, 05:39:24 pm »
Please file a bugreport at https://bugs.launchpad.net/bebot/+filebug

Djkrose is working on the AoC issues based on the patches from Chaoz. Hopefully he will be able to help figure out what is going on.

Should I report a bug also, or does this sound more like a server setting issue in my case with not getting back info about the territory manager?  I tried setting up ragebot and had the same result.  I think it is based on the same chat library, so I don't think that can rule anything out really.

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #52 on: July 08, 2009, 08:47:30 am »
Heya :-)

I've done a rewrite of the patch I made originally so it should handle stuff much better now.
I'll put it out here - and please give me feedback on it. http://www.conanchat.com/download/BeBot_0.6.2_NewLogin.zip

I have not fixed the 64 bit issue, but I saw that someone had another patch on that :)

When it comes to the autodisconnecting bots - I made a seperate fix for that for myself by basicly muting the private channel messages (since they seem to disconnect the bot when they are used).

If any of the devs here are interested I can supply a diff file instead + some info on the changes I've made.

Chaoz
AoC Junkie.
Check out conanchat http://www.conanchat.com/index.php?id=3 a windows chat client for Age Of Conan

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AoC and Patch 1.05
« Reply #53 on: July 08, 2009, 11:22:24 am »
Hi Chaoz.

First of all i would like to extend a big thank you from the development team and the BeBot community.

Up until recently we have had no active team members with AOC accounts, making support of the major change in 1.05 next to impossible.
Without your work, i have no idea how long it would have taken to get working support for php based bots.

The 64bit issue is indeed fixed in the upcoming 0.6.4 release which is planned for as soon as your final changes have been integrated and some more testing is carried out.

A diff is not really needed as it can be created easily, but i would be interested in seeing your separate fix and have that included as well. If memory serves, private channels are not used in AoC.

If you feel there are any areas of your changes that needs commenting, feel free to do so as all information is most welcome.

I do have one question. From the AoC forum posts i've been monitoring it seems like the bot now connects pretty much like the gameclient, and actually connects to the gameworld only to be timed out. Is there any way to forcibly close the connection to the gameworld allowing players to immediately log on their play characters?

Again, thank you for your time and effort :)
BeBot Founder and Fixer Kingpin

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #54 on: July 09, 2009, 10:07:30 am »
I put in some debug points and appear to get a value of "4294967295" for the login status.  I think I saw somewhere in the code that negative values get 4294967296 added to them, so I am guessing the status was a -1.  The other values come back as 0 or empty.  Are there any ports other than the 7000-7013 range I might need to open up?

The reason why I added the number is that the default int type in php is signed int, and the numbers used are unsigned (above the 2 billion mark), so it is basicly to flip to back to unsigned. php will make it into a long when I do that I guess.
AoC Junkie.
Check out conanchat http://www.conanchat.com/index.php?id=3 a windows chat client for Age Of Conan

Offline Apollyon

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #55 on: July 09, 2009, 03:30:58 pm »
I put in some debug points and appear to get a value of "4294967295" for the login status.  I think I saw somewhere in the code that negative values get 4294967296 added to them, so I am guessing the status was a -1.  The other values come back as 0 or empty.  Are there any ports other than the 7000-7013 range I might need to open up?

The reason why I added the number is that the default int type in php is signed int, and the numbers used are unsigned (above the 2 billion mark), so it is basicly to flip to back to unsigned. php will make it into a long when I do that I guess.
Yeah that makes sense.  Was just trying to figure out what the status code was to see if it would help determine an error.

The new result I get is still indicating that I do not get IP or port info.
Code: [Select]
Botname [LOGIN]        [STATUS]        Connecting
Botname [LOGIN]        [STATUS]        Authenticating

Warning: RPC_UNIVERSE_AUTHENTICATED: Error in serveraddress, [Ip::0] in /botpath/Sources/AOChat.php on line 1456
disconnect
Botname [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.

Also, I have to specify the password in the config file or I get other errors instead of being prompted.
Code: [Select]
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/botpath/Sources/Conf.php</b> on line <b>60</b><br />
<br />
<b>Warning</b>:  fgets(): supplied argument is not a valid stream resource in <b>/botpath/Sources/Conf.php</b> on line <b>62</b><br />
X-Powered-By: PHP/5.2.9
Content-type: text/html


===================================================

    _/_/_/              _/_/_/                _/   

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/     

 _/    _/  _/        _/    _/  _/    _/    _/     

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/   

         An Anarchy Online Chat Automaton         

                     And                           

          An Age of Conan Chat Automaton           

             v.0.6.3 - PHP 5.2.9     

===================================================

<br />
<b>Warning</b>:  fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0 in <b>/botpath/Main.php</b> on line <b>170</b><br />

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AoC and Patch 1.05
« Reply #56 on: July 09, 2009, 03:35:11 pm »
How exactly are you running this bot? Are you launching it from a webserver?
BeBot Founder and Fixer Kingpin

Offline Apollyon

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #57 on: July 09, 2009, 05:05:04 pm »
It is being run on a server, but I am launching it from the command line using the php5 StartBot.php command.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #58 on: July 10, 2009, 12:32:54 am »
Are you all getting the bot to connect/run now after Chaoz's recent update?

I'm still getting the RPC header error.  :'(

Offline Poonjab

  • BeBot User
  • **
  • Posts: 59
  • Karma: +0/-0
Re: AoC and Patch 1.05
« Reply #59 on: July 10, 2009, 02:09:49 am »
Are you all getting the bot to connect/run now after Chaoz's recent update?

I'm still getting the RPC header error.  :'(


I'm having the same problem still.

 

* 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: 261
  • 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