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

0 Members and 3 Guests are viewing this topic.

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Authentication failed Challenge failed
« on: June 14, 2009, 09:12:56 pm »
botname [2009-06-14 16:47:14]   [LOGIN] [STATUS]        Connecting
botname [2009-06-14 16:47:14]   [LOGIN] [STATUS]        Authenticating
botname [2009-06-14 16:47:17]   [LOGIN] [RESULT]        Error
AOChat: Authentication failed: Challenge failed

Anyone knows why this is happening? username and passwd are correct in the config.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Authentication failed Challenge failed
« Reply #1 on: June 15, 2009, 05:58:56 am »
what Game?
if AO have u updated as the chat server details have changed

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Authentication failed Challenge failed
« Reply #2 on: June 15, 2009, 06:21:56 am »
AoC

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Authentication failed Challenge failed
« Reply #3 on: June 15, 2009, 07:33:47 am »
64 bit server?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Authentication failed Challenge failed
« Reply #4 on: June 15, 2009, 08:14:06 am »
anyway if so this is prob the solution

if not it still might be the solution

http://bebot.link/bebot-0-6-support/running-bot-on-freebsd-64/msg12500/#msg12500

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Authentication failed Challenge failed
« Reply #5 on: June 15, 2009, 12:35:58 pm »
Yeah its a Gentoo 64Bit server :)

Thanks will try it out tonight when I am home.

Offline screwy

  • BeBot Rookie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: Authentication failed Challenge failed
« Reply #6 on: June 16, 2009, 06:39:14 pm »
Hey all!

Exactly the same problem.
But the diff listed here is for some older (maybe ancient) version.
Could someone point me to the correct version of aocchat for this diff or post a patched one somewhere?

Pretty please.
With nano on top.

-Screwy.

Offline screwy

  • BeBot Rookie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: Authentication failed Challenge failed
« Reply #7 on: June 16, 2009, 07:30:28 pm »
Ah.

The beaut of self-replying.
For the archive: This works:

Code: [Select]
  // On linux systems, unpack("H*", pack("L*", <value>)) returns differently than on Windows.
  // This can be used instead of unpack/pack to get the value we need.
  function SafeDecHexReverseEndian($value)
  {
    $result = "";
    $hex   = dechex($this -> ReduceTo32Bit($value));
    $len   = strlen($hex);

    while($len < 8)
    {
      $hex = "0$hex";
      $len++;
    }

    $bytes = str_split($hex, 2);
    $bytes = unpack("H*", pack("L*", $value));

    for($i = 3; $i >= 0; $i--)
    $result .= $bytes[$i];

    return $result;
  }

 

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