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: AOChat: Authentication failed: Challenge failed  (Read 5330 times)

0 Members and 1 Guest are viewing this topic.

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
AOChat: Authentication failed: Challenge failed
« 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  :(

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AOChat: Authentication failed: Challenge failed
« Reply #1 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.
BeBot Founder and Fixer Kingpin

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #2 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!

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AOChat: Authentication failed: Challenge failed
« Reply #3 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.
BeBot Founder and Fixer Kingpin

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #4 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.

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #5 on: April 25, 2009, 02:10:26 pm »
Please send it me! That would be awesome.

Thanks

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #6 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.

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #7 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.

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #8 on: April 25, 2009, 02:53:46 pm »
you didnt installed aokex?

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #9 on: April 25, 2009, 02:56:11 pm »
I guess not, how do i do it?

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #10 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

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
AOChat: Authentication failed: Illegal alias or password
« Reply #11 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 :(

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #12 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

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #13 on: April 26, 2009, 11:02:30 am »
That worked.  Thanks! :)

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: AOChat: Authentication failed: Challenge failed
« Reply #14 on: April 27, 2009, 12:02:56 pm »
will test it too, hope it solves it!

 

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