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

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

Author Topic: 1.06: Chat dimension changes  (Read 62631 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #30 on: February 04, 2010, 12:56:18 pm »
Did you also apply my last change?
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 #31 on: February 04, 2010, 12:58:06 pm »
now it works, i applied all the fixes again
« Last Edit: February 04, 2010, 01:28:46 pm by Margon »

Offline MysterF

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #32 on: February 04, 2010, 01:04:28 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

WORKED LIKE A CHARM HERE MATE, CHEERS.

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #33 on: February 04, 2010, 01:06:14 pm »
Ok good - sorry for the mishap about the missing change though.
Next time I will try to apply the changes I write to a fresh install myself :)

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

Offline Socaoc

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #34 on: February 04, 2010, 01:10:38 pm »
Yes it works now  :D !

Thanx very much  !!!

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #35 on: February 04, 2010, 01:13:14 pm »
am getting errors with it on TL

US servers just came down so have atleast 3hrs before i can test that again

Offline dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #36 on: February 04, 2010, 01:20:40 pm »
I made all of your changes, but I get this error again!

Code: [Select]
gbot [LOGIN]  [STATUS]        Connecting to aoc server aoc-eu-um.live.ageofconan.com:7000
gbot [LOGIN]  [STATUS]        Authenticating
Warning: RPC_UNIVERSE_ERROR: Error while authenticating to territory [Err:Unable to log in] in C:\xampp\php\Sources\AOChat.php on line 780
gbot [CONN]   [ERROR] Failed authenticating to server. Retrying in 60 seconds.

Please help! Thanx

Offline Baldrick

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #37 on: February 04, 2010, 01:21:34 pm »
Would someone mind posting a working file? I keep getting the same errors.

Offline Akiiras

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #38 on: February 04, 2010, 01:24:31 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

Thank you both. Bot's up and running perfectly.

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #39 on: February 04, 2010, 01:34:12 pm »

Offline Xene

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #40 on: February 04, 2010, 01:35:47 pm »
I made all the changes listed here, but still cant get the bot to log in:

Error while authenicating  to territory ( Err: Unable to log in AOChat.php line 1522
Failed to authenicating to server

Whats wrong???

Offline dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #41 on: February 04, 2010, 01:40:12 pm »
Allrighty, now I got it!

Thanx 4 your great work!

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #42 on: February 04, 2010, 01:40:36 pm »
just download the AOChat.phps i posted above

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #43 on: February 04, 2010, 01:43:02 pm »
It looks like there is a connection problem.
If you get "Warning: RPC_UNIVERSE_ERROR: Error while authenticating to territory [Err:Unable to log in]" give it some min and try again.
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 Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Re: 1.06: Chat dimension changes
« Reply #44 on: February 04, 2010, 02:04:58 pm »
Yeah, the last error is usually when the character is (halfway) logged in. So you have to wait for that character to time out I guess.

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

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 134
  • 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