BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Chaoz on March 19, 2010, 11:47:32 am

Title: Testlive patch and authentication
Post by: Chaoz on March 19, 2010, 11:47:32 am
Heya :)

Seems that the new patch on testlive (1.07.0) has done major changes to the authentication again.. just as a heads up.
So I guess you should plan for a new version of the bot just before that hits live.

I haven't decyphered the changes yet, but I'll let you know if/when I get conan chat up and running against testlive.

Chaoz/Rayek
Title: Re: Testlive patch and authentication
Post by: Getrix on March 19, 2010, 05:31:41 pm
Nice to know and good that you take the task again ;)
Title: Re: Testlive patch and authentication
Post by: Khalem on March 20, 2010, 10:37:59 pm
Thanks for the heads up and hard work Chaoz
Title: Re: Testlive patch and authentication
Post by: xlDanek on March 30, 2010, 09:48:12 am
Server are down for patching 1.07, are there any news about the changes in the authentication?
Title: Re: Testlive patch and authentication
Post by: Chaoz on March 30, 2010, 11:08:49 am
Yes..I got it sorted in the chat client this weekend.
Will supply a changelist for the bot here in a few.
Title: Re: Testlive patch and authentication
Post by: xlDanek on March 30, 2010, 01:22:50 pm
Thx a lot for your work!
Title: Re: Testlive patch and authentication
Post by: Gathor on March 30, 2010, 03:08:31 pm
Yes thanks from me too, I really would have had problem fixing this on my own.
Title: Re: Testlive patch and authentication
Post by: Miron on March 30, 2010, 03:22:45 pm
Any news about the bot changes?
Title: Re: Testlive patch and authentication
Post by: Runemy on March 30, 2010, 03:35:37 pm
Chaoz got it covered. He'll post it here when he has the time.
re. four posts up
Title: Re: Testlive patch and authentication
Post by: Chaoz on March 30, 2010, 08:08:14 pm
ok I finally got it sorted.
I had made the changes needed for Conan Chat, but they ninjaed in yet another change just before patching it live today :)

I will test the bot for a few minutes and then give you the patch update
Title: Re: Testlive patch and authentication
Post by: RaZeR on March 30, 2010, 08:25:16 pm
we appreciate the hard work and testing you're doing! I look forward to the update, thanks again!
Title: Re: Testlive patch and authentication
Post by: Kyr on March 30, 2010, 08:36:27 pm
Yes, thanks for the awesome work!
~Kyr
Title: Re: Testlive patch and authentication
Post by: Astaso on March 30, 2010, 08:43:50 pm
ok I finally got it sorted.
I had made the changes needed for Conan Chat, but they ninjaed in yet another change just before patching it live today :)

I will test the bot for a few minutes and then give you the patch update
(I wrote that in a pm to you, but as usual, i dont know why, the message wasnt sent i think)
Hiya, dont know if u remember me.
I have got to change my java lib aswell.
i sniffed the packets and saw there is a 20byte long string in the territory packet right before the charlist, which is new.. looks like a key.

I really couldnt figured it out how solve this key..

my question is: how you do that?
maybe you have some time to give me some feedback in figuring out how to solve things like that..?
I am really interested.

thanks for your hardwork, without you my time in developing that java chat lib would have been wasted.

Title: Re: Testlive patch and authentication
Post by: DJKRose on March 30, 2010, 08:54:45 pm
Hi folks!

I can't stress enough, how valuable your participation to BeBot is, Chaoz! Thanks so much for your effort.

Once Chaoz' changes are out, I will patch, test and recommend for release as soon as possible. Please be patient...

Bye,
dj.krose

ps: When you're updating Conan Chat anyway, could you have a look in that annoying issue, where the password field loses focus after *every typed character*? I have to click in the field after every char, every time... :)
Title: Re: Testlive patch and authentication
Post by: Miron on March 30, 2010, 08:59:52 pm
Yup thanks for the great work Chaoz! Keep it up!
Title: Re: Testlive patch and authentication
Post by: Chaoz on March 31, 2010, 12:41:55 am
http://www.conanchat.com/hg/Php/BeBot.107/rev/e828840cddae
Hehe, I learned from the last time..to not give pieces of of the file I changed :p So here is the diff.
Tested this one my 2 bots and seems to work fine. Also the same changes as I did for Conan Chat.

Rayek/Chaoz.

[edit] Fixed the new path for the link
Title: Re: Testlive patch and authentication
Post by: Chaoz on March 31, 2010, 12:44:48 am
And the Raw file if you just want to try out the changes :)

http://www.conanchat.com/hg/Php/BeBot.107/raw-file/e828840cddae/AOChat.php

- Chaoz

[edit] Fixed the new path for the link
Title: Re: Testlive patch and authentication
Post by: Runemy on March 31, 2010, 12:48:13 am
Woohoo :)

This last one can be used instead of the current one in the bot?

And; THANKS A MILLION! :)
Title: Re: Testlive patch and authentication
Post by: Justine on March 31, 2010, 12:52:49 am
indeed thank you!
Title: Re: Testlive patch and authentication
Post by: BoA-Gert on March 31, 2010, 12:57:01 am
Thanks for this - good job getting an update so soon :D
Title: Re: Testlive patch and authentication
Post by: MysterF on March 31, 2010, 12:58:06 am
And the Raw file if you just want to try out the changes :)

http://www.conanchat.com/hg/BeBot.107/raw-file/e828840cddae/AOChat.php

- Chaoz

works without problems.

PS
Now you can log bot and the char' in same time, there is no need for the waiting time.
Title: Re: Testlive patch and authentication
Post by: Chaoz on March 31, 2010, 12:59:27 am
Nice nice :)

And yeah..copy into the file and you should be good to go :)

Chaoz
Title: Re: Testlive patch and authentication
Post by: Yite on March 31, 2010, 01:00:20 am
BIG THANKS  :D

All 4 bots are up again :)
Title: Re: Testlive patch and authentication
Post by: Mixima on March 31, 2010, 01:07:17 am
Thank u so much for this....
Title: Re: Testlive patch and authentication
Post by: knutarn on March 31, 2010, 01:41:13 am
Code: [Select]
******* [LOGIN]        [STATUS]        Connecting to aoc server aoc-eu-um.live.
ageofconan.com:7000
******* [LOGIN]        [STATUS]        Authenticating
Sending RPCPacket:0
Received RPC Packet:0
Sending RPCPacket:1
Received RPC Packet:5
Received RPC Packet:1
Sending RPCPacket:2628963075
Received RPC Packet:1572964753
Sending RPCPacket:1783917889
Read error: EOF

Warning: Error while reading rpc header. () in C:\Documents and Settings\*****\S
krivebord\********\Sources\AOChat.php on line 496

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in C:\Documen
ts and Settings\****\Skrivebord\********\Sources\AOChat.php on line 718
***** [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.

Help
Title: Re: Testlive patch and authentication
Post by: Xene on March 31, 2010, 01:44:24 am
I copied this file into my AOChat.php, and got:

Unsupported rpcpacket (in, 368553762)
and
Unsupported rpcpacket (in, 543911653)

This gives a authenication error: unable to log in xxxxxx\AOChat.php in line 816

DISREGARD THIS POST, i reinstalled all the basic bot-files, and it works now.

Title: Re: Testlive patch and authentication
Post by: Huesos on March 31, 2010, 01:51:18 am
I had prob like this too, make sure you put(replace aochat.php) one directly in bot folder, then one in conf folder , then replace one in soruces folder!  restart bot
Title: Re: Testlive patch and authentication
Post by: TBK on March 31, 2010, 02:16:40 am
I had prob like this too, make sure you put(replace aochat.php) one directly in bot folder, then one in conf folder , then replace one in soruces folder!  restart bot

Don't know which version you are running, but the file should replace the one in the "Sources" folder.
Title: Re: Testlive patch and authentication
Post by: thaed on March 31, 2010, 02:18:50 am
Code: [Select]
******* [LOGIN]        [STATUS]        Connecting to aoc server aoc-eu-um.live.
ageofconan.com:7000
******* [LOGIN]        [STATUS]        Authenticating
Sending RPCPacket:0
Received RPC Packet:0
Sending RPCPacket:1
Received RPC Packet:5
Received RPC Packet:1
Sending RPCPacket:2628963075
Received RPC Packet:1572964753
Sending RPCPacket:1783917889
Read error: EOF

Warning: Error while reading rpc header. () in C:\Documents and Settings\*****\S
krivebord\********\Sources\AOChat.php on line 496

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in C:\Documen
ts and Settings\****\Skrivebord\********\Sources\AOChat.php on line 718
***** [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.

Help

Having the same problem. Copied the New stuff to AOChat.php in sources folder. I got that when i loaded the bot.

* NOTE i fixed it never mind. disregard this post. you can't have aoc running and trying to put bot up, or you get that error.
Title: Re: Testlive patch and authentication
Post by: knutarn on March 31, 2010, 02:29:14 am
Jee thx
Title: Re: Testlive patch and authentication
Post by: Justine on March 31, 2010, 03:22:23 am
I am getting errors also, lines 489 and 691 I assume this is because I need to update my version also? running 1.6.6.  Please remind me, over tired and too fed up with this, I have to unzip and replace all files from the download of 1.6.7? or were there key files I could use out of it? Appreciate anyone who cares to help.
Title: Re: Testlive patch and authentication
Post by: Xene on March 31, 2010, 03:27:36 am
That was what i did, reinstalled all 0.6.7 files another time ... and then replaced AOChat.php with the one in this thread, and it worked like a charm.
 :D
Title: Re: Testlive patch and authentication
Post by: Justine on March 31, 2010, 03:30:40 am
well i seem to have got it to work with 1.6.6.   I just replaced the aochat file one more time after banging my head on the wall... something must not have copied over just right, so now it up, will mess with 1.6.7 later.
Title: Re: Testlive patch and authentication
Post by: Kentarii on March 31, 2010, 03:45:20 am
Thanks for the update, worked fine with 0.6.7 here.
Title: Re: Testlive patch and authentication
Post by: GBH on March 31, 2010, 08:37:32 am
Works fine here on 0.6.5

Thanks for the great effort once again. You're very much appreciated by the AoC community

Thanks

G
Title: Re: Testlive patch and authentication
Post by: dillinger on March 31, 2010, 09:27:30 am
Works fine, thanx!
Title: Re: Testlive patch and authentication
Post by: Drizzurdeen on March 31, 2010, 11:21:03 am
uuuuuuuuuuuuuuuhhhhhhhhhhhhhhh ure all such babies ;) ... works so fine and smooth ;) ... thx alot

da drizz
Title: Re: Testlive patch and authentication
Post by: Baldrick on March 31, 2010, 01:35:25 pm
Thanks for taking the time to do this for the community, much appreciated!

B.
Title: Re: Testlive patch and authentication
Post by: Raquar on March 31, 2010, 02:31:21 pm
And the Raw file if you just want to try out the changes :)

http://www.conanchat.com/hg/BeBot.107/raw-file/e828840cddae/AOChat.php

- Chaoz

Working fine with 0.67 here. Thanks a lot for your work.  :)
Title: Re: Testlive patch and authentication
Post by: Justine on March 31, 2010, 06:43:10 pm
uuuuuuuuuuuuuuuhhhhhhhhhhhhhhh ure all such babies ;) ... works so fine and smooth ;) ... thx alot

da drizz

Lol yes when I don't see the bot working I panic... must.. have... *twitch*

As stated before and by everyone on this thread thank you for your work on this and for putting up with noobs like me :)
Title: Re: Testlive patch and authentication
Post by: fowlskins on March 31, 2010, 09:08:22 pm
ive been playing around replacing the aochat.php for ages and running the bot only to get connection errors

ive finnaly realised the server is down for maintenance lol im such a pleb !
Title: Re: Testlive patch and authentication
Post by: DJKRose on March 31, 2010, 11:51:16 pm
lol.. same happened me, fowlskins ;)

I have merged Chaoz' changes to version control, but since servers are down I couldn't test it yet. Also I'm expecting even more code changes, since Funcom is obviously working on their login procedures...  :'(


EDIT: I just got the chance to test it: BeBot can connect again! Ready for releasing a hotfix update.
Title: Re: Testlive patch and authentication
Post by: Iheaca on April 01, 2010, 11:39:29 am
Works fine, thaks Chaoz !
Title: Re: Testlive patch and authentication
Post by: fowlskins on April 01, 2010, 07:34:10 pm
yep nice work all much appreciated
works alot better with the server up  :P
Title: Re: Testlive patch and authentication
Post by: Gathor on May 02, 2010, 09:59:24 am
lol.. same happened me, fowlskins ;)

I have merged Chaoz' changes to version control, but since servers are down I couldn't test it yet. Also I'm expecting even more code changes, since Funcom is obviously working on their login procedures...  :'(


EDIT: I just got the chance to test it: BeBot can connect again! Ready for releasing a hotfix update.

I did download the latest version (0.6.7) last night and that don't seem to contain the AoC 1.07.x fix.

I did look for a hotfix to download, but could not find that. Chaos seem to have removed the fix from his site.

So there don't seem to be a 100% working download available at the moment  :(

btw I did have the file on my other bot-servers, so did enclose it to this post if other should need it until download get update.

 

Title: Re: Testlive patch and authentication
Post by: Baldrick on May 11, 2010, 11:58:36 am
Does anyone know whether the chat protocol is changing with the about-to-go-live expansion "Rise of the Godslayer"?
It's on Testlive now from what I understand, anyone tried to run a bot against it?  8)

Title: Re: Testlive patch and authentication
Post by: MysterF on May 12, 2010, 03:06:09 am
they failed at so many levels, that it will  surprise me if the chat protocols aren't changed again...I mean they changed it   from a  cycle patch to another, this is heavy stuff...EXPANSION. :)
Title: Re: Testlive patch and authentication
Post by: TBK on May 12, 2010, 04:17:33 am
It has changed.
Title: Re: Testlive patch and authentication
Post by: WeZoN on May 12, 2010, 08:58:13 am
Warning: Error while reading rpc header. () in C:\Guildbot\Sources\AOChat.php on
 line 503

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in C:\Guildbo
t\Sources\AOChat.php on line 725
Title: Re: Testlive patch and authentication
Post by: Chaoz on May 12, 2010, 02:21:36 pm
See other thread :) Fix inbound as we speak.

Fix already here : http://bebot.link/aoc-0-6-support/aoc-rise-of-the-godslayer-authentication-fix/
SimplePortal 2.3.7 © 2008-2024, SimplePortal