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: Login changes in AOC 1.5.6 patch  (Read 7024 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoz

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Login changes in AOC 1.5.6 patch
« 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
« Last Edit: October 04, 2009, 11:15:10 am 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: Login changes in AOC 1.5.6 patch
« Reply #1 on: October 27, 2009, 03:49:43 pm »
Confirmed working as fix for 1.05.6
Suggest to add this to svn and maybe release a stable version with 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 dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #2 on: October 27, 2009, 04:09:51 pm »
Thats the solution for AoC Live, the Bot is now able to log in!

Thanx guys!

Dill

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #3 on: October 27, 2009, 04:11:42 pm »
thank you :D

Offline winx49

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #4 on: October 27, 2009, 04:47:23 pm »
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

Offline Xilly

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #5 on: October 27, 2009, 05:06:11 pm »
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

Offline Jep

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #6 on: October 27, 2009, 05:47:56 pm »
could anybody upload their new AOChat.php for bebot 0.6.5
thanks

Yes please.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #7 on: October 27, 2009, 05:54:37 pm »
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 keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #8 on: October 27, 2009, 07:09:09 pm »
made the changes listed -- still gettings errors

replaced the php with the new one

same errors

Offline Huesos

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #9 on: October 27, 2009, 07:10:13 pm »
that link php file doesn't work for me , totally not

Offline Huesos

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #10 on: October 27, 2009, 07:35:39 pm »
got it paste in sources folder lol ...  dont skim read lol

Offline sandman

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #11 on: October 27, 2009, 07:59:05 pm »
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"

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Login changes in AOC 1.5.6 patch
« Reply #12 on: October 27, 2009, 08:53:14 pm »
@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:

Quote
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

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Login changes in AOC 1.5.6 patch
« Reply #13 on: October 27, 2009, 10:08:55 pm »
You cant download or save the file i linked because:

Quote
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..
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 Runemy

  • BeBot Apprentice
  • ***
  • Posts: 97
  • Karma: +0/-0
    • Exalted [Age of Conan guild - Aquilonia EU]
Re: Login changes in AOC 1.5.6 patch
« Reply #14 on: October 27, 2009, 11:50:20 pm »
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
Wood of Exalted
Age of Conan
Aquilonia - EU

 

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