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: Authentication Error  (Read 18025 times)

0 Members and 1 Guest are viewing this topic.

Offline Spreadicus

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Authentication Error
« on: May 29, 2015, 01:30:36 am »
Im getting an authentication error and I have tried a multitude of things.

My server is running windows server 2008 rc2 64 bit
I am using php 5.3.0 NTS x64 (have tried NTS 32 bit as well as threadsafe versions both 32 and 64 bit. all the way back to 4.3 up to the most recent version which doesn't work at all so it can't be a bad version)

It all loads up fine and then gives me this  error

Code: [Select]
[28-May-2015 23:02:34] PHP Warning:  Error while reading rpc header. () in E:\Bebot\Sources\AOChat.php on line 503
[28-May-2015 23:02:34] PHP Warning:  handleRPCPackets: Packet is not an object (no RPCPacket?) in E:\Bebot\Sources\AOChat.php on line 725
What's really great is there IS no line 503 or 725, Or any other various lines that it's given me the past few days.

Now I have scoured this website and the internet at large for a solution to no avail. It seems this problem has been encountered before and I have found a few threads about it but I see no solutions posted.  >:(

For reference I am using this serverlist.php file. It would seem to be the latest list. But if not can someone clarify for me?

Code: [Select]
<?php
// AO
$server_list['ao']['Testlive']      = array('server'=>'chat.dt.funcom.com''port'=>7109);
$server_list['ao']['Atlantean']     = array('server'=>'chat.d1.funcom.com''port'=>7101);
$server_list['ao']['Rimor']         = array('server'=>'chat.d2.funcom.com''port'=>7102);
$server_list['ao']['Die neue welt'] = array('server'=>'chat.d3.funcom.com''port'=>7103);

// AOC
 
$server_list['aoc']['EU']           = array('server'=>'dm10-nj4.ageofconan.com''port'=>7000);
$server_list['aoc']['US']           = array('server'=>'dm09-nj4.ageofconan.com''port'=>7010);
$server_list['aoc']['Aoctestlive']  = array('server'=>'testlive.ageofconan.com''port'=>7010);

// all EU servers use the same login server
$server_list['aoc']['Bloodbrand' $server_list['aoc']['EU'];
$server_list['aoc']['Ahriman' $server_list['aoc']['EU'];
$server_list['aoc']['Bori' $server_list['aoc']['EU'];
$server_list['aoc']['Dagon' $server_list['aoc']['EU'];
$server_list['aoc']['Ymir' $server_list['aoc']['EU'];
$server_list['aoc']['Hyrkania' $server_list['aoc']['EU'];
$server_list['aoc']['Aquilonia' $server_list['aoc']['EU'];
$server_list['aoc']['Twilight' $server_list['aoc']['EU'];
$server_list['aoc']['Corinthia' $server_list['aoc']['EU'];

// Merged Servers
$server_list['aoc']['Crom']             = $server_list['aoc']['US'];
$server_list['aoc']['Fury']             = $server_list['aoc']['US'];


// Spanish Servers
$server_list['aoc']['Zingara']      = $server_list['aoc']['EU'];
$server_list['aoc']['Indomitus']    = $server_list['aoc']['EU'];

// French Servers
$server_list['aoc']['Ishtar']       = $server_list['aoc']['EU'];
$server_list['aoc']['Ferox']        = $server_list['aoc']['EU'];
$server_list['aoc']['Stygia']       = $server_list['aoc']['EU'];
$server_list['aoc']['Strix']        = $server_list['aoc']['EU'];

// German Servers
$server_list['aoc']['Asura']        = $server_list['aoc']['EU'];
$server_list['aoc']['Ibis']         = $server_list['aoc']['EU'];
$server_list['aoc']['Aries']        = $server_list['aoc']['EU'];
$server_list['aoc']['Titus']        = $server_list['aoc']['EU'];
$server_list['aoc']['Asgard']       = $server_list['aoc']['EU'];

// all US servers use the same login server
$server_list['aoc']['Gwahlur']      = $server_list['aoc']['US'];
$server_list['aoc']['Wiccana']      = $server_list['aoc']['US'];
$server_list['aoc']['Bloodspire']   = $server_list['aoc']['US'];
$server_list['aoc']['Ironspine']    = $server_list['aoc']['US'];
$server_list['aoc']['Tyranny']      = $server_list['aoc']['US'];
$server_list['aoc']['Cimmeria']     = $server_list['aoc']['US'];
$server_list['aoc']['Agony']        = $server_list['aoc']['US'];

?>

The bot toon resides on Fury on the US side, The login/password info is exact. The bot name is exact. I have even checked the bots functionality on my main account with one of my main toons and it gives the same error.

 I have port scanned the hostname "dm09-nj4.ageofconan.com" and checked every available port between 7000 and 7050 verifying that none of the open ports allows my bot through. Have even cross checked the old hostname "aoc-us-um.live.ageofconan.com" Same thing. (both hostnames resolve to the same IP btw)

MYsql works fine and i have even tried various versions of that to be sure it isn't related but it gives the same error.

I have also disabled my firewall completely, No go. I have enabled DMZ hosting on the server and still the same error so it isn't firewall related.   

I strongly suspect it has to do with the server list but i haven't used bebot in so long. I've been at this for a few days now debugging it all and I have hit this wall.  I can't help but think Funcom has broken something or changed something in their server cluster but Scaevacas says his bot still works fine on the aoc forums so I am at a loss and have tried everything I can think of resorting at last to asking here ..Any help would be appreciated.

Offline Spreadicus

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Authentication Error
« Reply #1 on: May 30, 2015, 01:23:34 am »
does anyone have the latest serverlist.php?

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: Authentication Error
« Reply #2 on: June 02, 2015, 07:52:15 am »
The serverlist seems ok. That is the exact same as i'm running my users bots on.

Try changing the aochat file.

(temp location)
http://hvikt.utavdrift.no/AOChat.phps
« Last Edit: June 02, 2015, 07:55:36 am by WeZoN »

Offline Spreadicus

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Authentication Error
« Reply #3 on: June 03, 2015, 03:25:46 am »
I replaced my AOchat.php with the one you linked it gives me this response

Code: [Select]
[03-Jun-2015 01:14:17] PHP Warning:  include(AocLogin/LoginServerConnection.php): failed to open stream: No such file or directory in C:\Bebot\Sources\AOChat.phps on line 58
[03-Jun-2015 01:14:17] PHP Warning:  include(): Failed opening 'AocLogin/LoginServerConnection.php' for inclusion (include_path='.;C:\php5\pear') in C:\Bebot\Sources\AOChat.phps on line 58
[03-Jun-2015 01:14:17] PHP Warning:  include(AocLogin/CharacterServerConnection.php): failed to open stream: No such file or directory in C:\Bebot\Sources\AOChat.phps on line 59
[03-Jun-2015 01:14:17] PHP Warning:  include(): Failed opening 'AocLogin/CharacterServerConnection.php' for inclusion (include_path='.;C:\php5\pear') in C:\Bebot\Sources\AOChat.phps on line 59
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\modules\IRC.php on line 682
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1158
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1184
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1219
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1321
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\SmartIRC.php on line 1595
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 49
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 60
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 318
[03-Jun-2015 01:14:17] PHP Deprecated:  Assigning the return value of new by reference is deprecated in C:\Bebot\Sources\IRC\messagehandler.php on line 366
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 4 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 5 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Warning:  Missing argument 6 for AOChat::authenticateConan(), called in C:\Bebot\Sources\Bot.php on line 253 and defined in C:\Bebot\Sources\AOChat.phps on line 477
[03-Jun-2015 01:14:18] PHP Fatal error:  Class 'LoginServerConnection' not found in C:\Bebot\Sources\AOChat.phps on line 491


i noticed the call for pear in C:\php5\pear  so i installed that in the appropriate directory just in case but still the same message. Any thoughts? i cant find the php files it is asking for in my bebot directory or the zip archive i got from the site.

AocLogin/LoginServerConnection.php
AocLogin/CharacterServerConnection.php

seems like progress though

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: Authentication Error
« Reply #4 on: June 03, 2015, 09:04:56 pm »
are you running on windows or linux ?

If i'm guessing correctly, you are running it on windows. If so, try to copy the php install into the bebot folder itself and see if it manages to run it then.
« Last Edit: June 03, 2015, 09:07:41 pm by WeZoN »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Authentication Error
« Reply #5 on: June 04, 2015, 09:50:10 am »
Could you try running the latest version from git and paste any error messages you get then?
https://github.com/J-Soft/BeBot-legacy/archive/master.zip
BeBot Founder and Fixer Kingpin

Offline Spreadicus

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Authentication Error
« Reply #6 on: June 04, 2015, 10:59:00 pm »
Could you try running the latest version from git and paste any error messages you get then?
https://github.com/J-Soft/BeBot-legacy/archive/master.zip

Ok so I used this install in a new directory, updated the configs, and installed the full php archive , (not just the required files on bebot documentation) directly to the bebot directory, Fired it up and it worked with no problems! thanks a ton !
« Last Edit: June 05, 2015, 01:11:05 am by Spreadicus »

 

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