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: 1.06: Chat dimension changes  (Read 20879 times)

0 Members and 2 Guests are viewing this topic.

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #15 on: February 03, 2010, 06:04:59 pm »
sure enough, all servers will be 1.06 this time tomorrow.
updates just got re-announced today

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #16 on: February 03, 2010, 11:29:54 pm »
Only minor updates to the protocol this time around:

AOChat.php : line 855
-----------------------------------------
From : $territoryInitPacket = new RPCPacket("out", RPC_TERRITORY_INIT, array($this->accountid, $this->serverseed ) );

To : $territoryInitPacket = new RPCPacket("out", RPC_TERRITORY_INIT, array($this->accountid, $this->serverseed, 1 ) );



AOChat.php : line 454
-----------------------------------------
from : $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array( 0,$this->char["id"],$this->serverseed) );

to   : $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array( 1,$this->char["id"],$this->serverseed) );

AOChat.php : line 2165
-----------------------------------------
from: (string)RPC_TERRITORY_INIT   => array("name"=>"Player Init", "args"=>"II"),
to    : (string)RPC_TERRITORY_INIT   => array("name"=>"Player Init", "args"=>"III"),


I would also suggest to rename aoc's testlive in the ServerList.php file since you will connect to AO's testlive if you just specify testlive.

ServerList.php : line 11
from: $server_list['aoc']['Testlive']     = array('server'=>'testlive.ageofconan.com', 'port'=>7000);

to : $server_list['aoc']['Aoctestlive']     = array('server'=>'testlive.ageofconan.com', 'port'=>7000);

- Chaoz.

PS! The bot runs  in both 1.05.7.4 and 1.06 with this patch so update it sooner than later ;)

[edit] made the changes in red
[edit] Added the 3rd missing change to the arguments on RPC_TERRITORY_INIT
« Last Edit: February 04, 2010, 12:36:16 pm by Chaoz »
AoC Junkie.
Check out conanchat http://www.conanchat.com/index.php?id=3 a windows chat client for Age Of Conan

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #17 on: February 04, 2010, 07:04:54 am »
Awsome share Chaoz!

Good to know that i was searching for something like that my self, but missing the last skills to realy find it ;)
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline BoA-Gert

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #18 on: February 04, 2010, 08:02:45 am »
Cheers for that - I'll do it now whilst the servers are down for 1.06 :)

Offline Runemy

  • BeBot Apprentice
  • ***
  • Posts: 97
  • Karma: +0/-0
    • Exalted [Age of Conan guild - Aquilonia EU]
Re: 1.06: Chat dimension changes
« Reply #19 on: February 04, 2010, 08:20:28 am »
Yep, already changed :)

Thanks Chaoz. Do not ever quit! ^^
Wood of Exalted
Age of Conan
Aquilonia - EU

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #20 on: February 04, 2010, 11:18:24 am »
warning: error while reading rpc header. () in <bot location>\Sources\AOChat.php on line 489
warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in <bot location>\Sources\AOChat.php on line 691


489 = trigger_error("Error while reading rpc header. ($head)", E_USER_WARNING);

691 = trigger_error("handleRPCPackets: Packet is not an object (no RPCPacket?)",E_USER_WARNING);

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #21 on: February 04, 2010, 11:23:16 am »
Getting same against "Fury" and "Crom"

Keirou told me on IRC that he got it working against Wiccana but not TL.
So do they have different setups? :S
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline BoA-Gert

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #22 on: February 04, 2010, 11:28:32 am »
Get that for Crom as well

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #23 on: February 04, 2010, 11:31:25 am »
Read error: EOF

Warning: Error while reading rpc header. () in /home/bebot/bebot/Sources/AOChat.php on line 489

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in /home/bebot/bebot/Sources/AOChat.php on line 691


on Asgard too

Offline Runemy

  • BeBot Apprentice
  • ***
  • Posts: 97
  • Karma: +0/-0
    • Exalted [Age of Conan guild - Aquilonia EU]
Re: 1.06: Chat dimension changes
« Reply #24 on: February 04, 2010, 11:42:50 am »
And Aquilonia
Wood of Exalted
Age of Conan
Aquilonia - EU

Offline idr_ingvard

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #25 on: February 04, 2010, 11:58:44 am »
On Two Eagles also. It fails, when trying to read answer from server, when performing RPC_TERRITORY_INIT

Offline Socaoc

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #26 on: February 04, 2010, 12:27:17 pm »
Same from Hyrkania.

It fails with the same error message like Margon's above.

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #27 on: February 04, 2010, 12:31:58 pm »
oh crap..forgot to add the last change:

AOChat.php - line 2165

from:
(string)RPC_TERRITORY_INIT            => array("name"=>"Player Init",               "args"=>"II"),

to
(string)RPC_TERRITORY_INIT            => array("name"=>"Player Init",               "args"=>"III"),

Sorry about that :)
« Last Edit: February 04, 2010, 12:34:16 pm by Chaoz »
AoC Junkie.
Check out conanchat http://www.conanchat.com/index.php?id=3 a windows chat client for Age Of Conan

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #28 on: February 04, 2010, 12:37:25 pm »
Warning: RPC_UNIVERSE_ERROR: Error while authenticating to territory [Err:Unable to log in] in /home/bebot/bebot/Sources/AOChat.php on line 780

doesn't work with your fixes

Offline Mahvo

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #29 on: February 04, 2010, 12:55:19 pm »
Do all the changes that Chaoz posted in this thread, and then fix:

From:
$loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(0,$this->char["id"],$this->serverseed) );
To:
$loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(1,$this->char["id"],$this->serverseed) );

In function:
function authenticateConan($username, $password, $character)

Cannot give you accurate line numbers, added so much debug info in my file :D

 

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