BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Coding and development discussion => Topic started by: Chaoz on October 04, 2009, 11:09:02 am
-
Seems that FC have changed the login authentication interface (again) in their latest patch on TestLive.
RPC_TERRITORY_LOGINCHARACTER has now changed from 3 to 6 arguments.
UInt32,String,String, UInt32,UInt32,UInt32.
In the Conan Chat client I write 0 in the 3 last uints and I haven't seen any issues with it so far.
I've poked a bit into the 0.6.5 release and these are the changes in Sources/AOChat.php
line 766:
$outPacket = new RPCPacket("out", RPC_TERRITORY_LOGINCHARACTER, array($this->char["id"], "", $lang, 0, 0, 0) );
line 2167:
(string)RPC_TERRITORY_LOGINCHARACTER => array("name"=>"Login Character", "args"=>"ISSIII"))
It also seems that when I connect to Live with the extra arguments the chatserver does not care about them, since it will try to read the 3 first anyway and skip the rest.
Chaoz.
Rayek - Level 80 Priest of Mitra @ Hyrkania
-
Confirmed working as fix for 1.05.6
Suggest to add this to svn and maybe release a stable version with it.
-
Thats the solution for AoC Live, the Bot is now able to log in!
Thanx guys!
Dill
-
thank you :D
-
Still getting warning message error while reading RPC header and packet is not an object, could anybody upload their new AOChat.php for bebot 0.6.5
thanks
-
Seems to have fixed it for me too. Now I only have to wait for the authentication server to come online to verify it ... grrr
-
could anybody upload their new AOChat.php for bebot 0.6.5
thanks
Yes please.
-
Fixed file for BeBot 0.6.5
http://dump.sjef.biz/aoc/bebot/AOChat.phps
-
made the changes listed -- still gettings errors
replaced the php with the new one
same errors
-
that link php file doesn't work for me , totally not
-
got it paste in sources folder lol ... dont skim read lol
-
got issues with replacing that file, but after i discovered that FF saved the file incorrectly. it added lots of [span] and [/span] in the file and that made the bot go crazy. fixed it by opening the file in FF and copy and paste all the info to an empty .txt file on my computer.
but i now i have these new things popping up in the console, "Total Count:" and "Total: 1"
-
@getrix ... thanks for the patched AOChat.php file but it dont work on my bot -.- .... i changed the existing aochat file in the /soruce folder ... but the bot wouldn't log in ... where is my mistake ???
here ist the log:
Warning: dir(./core/AOCHAT_GAME/): failed to open dir: No such file or directory in /home/obsibot/Skynet1/Main.php on line 231
Fatal error: Call to a member function read() on a non-object in /home/obsibot/Skynet1/Main.php on line 232
-
You cant download or save the file i linked because:
The PHPS file type is primarily associated with 'PHP Source' by The PHP Group. Generally, PHP files will get interpreted by the Web server and PHP executable, and you will never see the code behind the PHP file. If you make the file extension .PHPS, a properly-configured server will output a color-formated version of the source instead of the HTML that would normally be generated. Not all servers are so configured.
Copy the text and past it into your file.
This fix works for 0.6.6-dev. Not running any 0.6.5 so cant confirm if it works for it but i changed same lines for 0.6.5 and thats what i have linked in this topic.
@Drizzurdeen:
Looks like you have done something else.. You are missing a file, so dunno what you have been up to..
-
Not running any 0.6.5 so cant confirm if it works for it but i changed same lines for 0.6.5 and thats what i have linked in this topic.
Confirming that the fixed file is working for 0.6.5
-
Good good :)
-
Thank you for your fix, Chaoz!
I tested it (working!) and added it to the repository (trunk + 0.6). Lets hope, a hotfix release can come out soon.
Thanks again,
DJKRose
-
line 766:
$outPacket = new RPCPacket("out", RPC_TERRITORY_LOGINCHARACTER, array($this->char["id"], "", $lang, 0, 0, 0) );
line 2167:
(string)RPC_TERRITORY_LOGINCHARACTER => array("name"=>"Login Character", "args"=>"ISSIII"))
kk ... done a look on my aochat.php and found the lines ... but do i have to add the postet code or do i have to change the posted code ???
i attached my aktual AOChat.php ... maybe one of the bebot gurus *G* could give a look on it ...
don't know how i use the workaround ... sory for that
-
put on those lines that code (replace existing), simple. works for me
-
got all 5 bots up and running again.
getrix can you confirm that they are sending item links still?
-
I got a couple of worldwide new responses yesterday (halloween items) after changing my aochat (using Getrix' db) so I would assume everything is still working fine :)
-
kk maybe i'm to stupid ... could someone change my aochat.php file PLEASE ... cause i don't find the codes in my fille -.-
or someone could post a working file ... for bebot 6.3 would be very nice ;)
thx Drizzurdeen
-
@Drizzurdeen:
It would be easier if you upgraded your BeBot to latest... Your version (0.6.3) is as i remember the one that was not working with 1.05 and needed to be hacked before 0.6.5 with working version was released...
@keirou
I can see Set and Cimmerian global bots have been submitting items. So looks good
@Yite
Congratz=)
-
kk done the update to 6.5 ... works fine now ...
-
It seems to be working fine. Thanks.
-
MP works fine, thanks.
-
Will release 0.6.6 as soon as i am able.
@school atm. Studies have been crazy the past few weeks.