BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: clashbot on December 04, 2008, 09:06:06 pm

Title: online not working after upgrading to current stable release
Post by: clashbot on December 04, 2008, 09:06:06 pm
online consistantly shows no one on. Is this a FC issue, I know they had some trouble with the ao servers
Title: Re: online not working after upgrading to current stable release
Post by: Alreadythere on December 04, 2008, 09:53:28 pm
It's a known bug, should be fixed in the stable branch. Try downloading the fixed Online_DB file in the news post.

Or wait for the weekend, we'll release 0.6.1 to fix the online bug and the AoC bug.
Title: Re: online not working after upgrading to current stable release
Post by: Temar on December 04, 2008, 11:09:48 pm
the cause of no 1 being online is probably incompatible table vs module
i got this when i updated 1 of my Bots which updated the online table
all other bots useing old code due to not being restart were showing online due to an error in the mysql script
make sure all bots are 0.6 that share the same DB

the issue with onlineDB was crashing
Title: Re: online not working after upgrading to current stable release
Post by: clashbot on December 05, 2008, 12:08:30 am
that gives me an error message of fatal error: call to undefined method aochat::get_instance() in bot.php on line 233
Title: Re: online not working after upgrading to current stable release
Post by: Temar on December 05, 2008, 12:21:35 am
thats 0.7 (trunk) bot.php
the files u want are in /branches/0.6/
Title: Re: online not working after upgrading to current stable release
Post by: clashbot on December 05, 2008, 12:55:10 am
ok, replaced all files with the .6 branch, replaced the aochat and the online_db from the news, and still don't have an online list. I guess I'll have to wait until next revision is out
Title: Re: online not working after upgrading to current stable release
Post by: Temar on December 05, 2008, 01:25:27 am
do you get any error in console when doing !online
Title: Re: online not working after upgrading to current stable release
Post by: clashbot on December 05, 2008, 06:59:23 am
no, there are no errors in console at all. Just displays 0 members online..logon, whois, is, all work, it's just online. This is happening with all nine bots. They all share the same db. 5 are attached to a relay, and the other 4 are stand-alones...online is configured properly in settings as well. I've tried rosterupdate but that did not fix the problem either.
Title: Re: online not working after upgrading to current stable release
Post by: Blueeagle on December 05, 2008, 11:23:26 am
that gives me an error message of fatal error: call to undefined method aochat::get_instance() in bot.php on line 233
No files using get_instance() should have been put in 0.6. That is a function implimented in 0.7. If you get that error you've either been grabbing the SVN (it was changed minutes after the 0.6 was released) or the wrong file has been put into the 0.6 distribution pack.
Title: Re: online not working after upgrading to current stable release
Post by: Uragon on December 06, 2008, 05:51:35 pm
I seem to be having the same issue, !online isn't working after upgrading from the latest 0.4 release to 0.6 including the two fixed files from the front page. This is the SQL error displayed in the bot log:

MySQL error (# 0) on query: SELECT t1.nickname, level, org_rank, org_name, profession, defender_rank_id FROM online AS t1 LEFT JOIN whois AS t2 ON t1.nickname = t2.nickname JOIN polbot_users t3 ON t3.nickname = t1.nickname WHERE status_gc=1 AND user_level = 2 AND botname = 'Polbot' ORDER BY profession ASC, t1.nickname ASC
Column 'level' in field list is ambiguous

I've tried dropping the tables online and whois to have them recreated on restart, but I still seem to be getting the same error message. Any hints?
Title: Re: online not working after upgrading to current stable release
Post by: Temar on December 06, 2008, 07:28:13 pm
to fix that error get latest for 0.6
/modules/OnlineDisplay.php (http://svn.shadow-realm.org/index.py/BeBot/branches/0.6/modules/OnlineDisplay.php?view=co)
Title: Re: online not working after upgrading to current stable release
Post by: Alreadythere on December 06, 2008, 08:29:53 pm
0.6.1 should fix the online display.
Title: Re: online not working after upgrading to current stable release
Post by: clashbot on December 07, 2008, 06:46:13 am
yes the 6.1 fixed it...thanks
SimplePortal 2.3.7 © 2008-2024, SimplePortal