BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Haruspex on April 24, 2009, 12:12:49 am

Title: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 24, 2009, 12:12:49 am
Just installed latest PHP with BCMath on a new server for my bot.

When starting the bot I get the following error:

AOChat: Authentication failed: Challenge failed  :(
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Khalem on April 24, 2009, 11:54:06 am
Some more information about the operating enviroment would be nice. Most notably the arcitecture and output from uname -a if Linux.
Which operating system would also be helpful.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 24, 2009, 07:41:31 pm
Sorry, forgot to mention its a Linux system running CentOS.

Latest PHP and MySQL.

Output from uname -a:

Linux localhost 2.6.9-023stab048.6-smp #1 SMP Mon Nov 17 18:41:14 MSK 2008 x86_64 x86_64 x86_64 GNU/Linux

Thanks!
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Khalem on April 25, 2009, 11:35:28 am
I'll see about doing some 64bit testing when I'm able. I think a possible solution was posted by Alreadythere not long ago, but i don't have time to search for it atm.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on April 25, 2009, 02:02:56 pm
i had this problem on same box as you, i've found on hackerquest i think some ways to hack this aochat problem. I really dont remember exactly what, but i can give you my aochat that works. I'd love to find a better fix for it though.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 25, 2009, 02:10:26 pm
Please send it me! That would be awesome.

Thanks
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on April 25, 2009, 02:34:37 pm
http://devils-inside.org/AOChat1.phps
http://devils-inside.org/AOChat.phps

Not sure exactly wich one is, try first i took it directly from my server.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 25, 2009, 02:50:12 pm
I get the following errors:

Fatal error: Call to undefined function aokex_login_key() in /Sources/AOChat.php on line 428

Warning: dl(): Unable to load dynamic library '/usr/lib64/php/modules/aokex.so' - /usr/lib64/php/modules/aokex.so: cannot open shared object file: No such file or directory

Do I need to add /usr/lib64/php/modules/aokex.so manually or something?

http://devils-inside.org/AOChat1.phps
http://devils-inside.org/AOChat.phps

Not sure exactly wich one is, try first i took it directly from my server.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on April 25, 2009, 02:53:46 pm
you didnt installed aokex?
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 25, 2009, 02:56:11 pm
I guess not, how do i do it?
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on April 25, 2009, 02:59:36 pm
heres a link to it : http://bebot.link/helpful-posts/aochat-not-expecting-login/

Those are the commands to install. If you dont have phpize i think it comes with php-devel package.
  % phpize
  % ./configure --with-aokex=shared
  % make
  % make install
Title: AOChat: Authentication failed: Illegal alias or password
Post by: Haruspex on April 25, 2009, 06:57:49 pm
Now I get the following error:

AOChat: Authentication failed: Illegal alias or password

Any ideas anyone??

Really need help with this :(
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Alreadythere on April 26, 2009, 01:32:53 am
AOKex is outdated I believe.

For some reason 64bit php versions scramble the auth keys, you need to modify some code.

Read the info posted here: http://bebot.link/bebot-0-6-support/running-bot-on-freebsd-64/msg12500/#msg12500
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Haruspex on April 26, 2009, 11:02:30 am
That worked.  Thanks! :)
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on April 27, 2009, 12:02:56 pm
will test it too, hope it solves it!
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Pharexys on May 04, 2009, 01:19:51 pm
Im still getting the error, i did it with a fresh 6.2, only modified that function.
Gonna try more i guess.
Title: Re: AOChat: Authentication failed: Challenge failed
Post by: Crazy on June 23, 2009, 01:58:34 am
Hi, I have the bot installed and I compiled fine, i´m play in server Fury, and every time I try to run it throws me this crush:

[LOGIN]   [STATUS]   Connecting
[LOGIN]   [STATUS]   Authenticating
[LOGIN]   [RESULT]   Error
[LOGIN]   [STATUS]   Logging in
AOChat: not expecting login.
   
The problem is don´t know what will be changing as the data to the server Crom works perfectly, someone knows why? someone can tell me what is the ip of the server "fury"?
SimplePortal 2.3.7 © 2008-2025, SimplePortal