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: online not working after upgrading to current stable release  (Read 20137 times)

0 Members and 1 Guest are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
online not working after upgrading to current stable release
« 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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: online not working after upgrading to current stable release
« Reply #1 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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: online not working after upgrading to current stable release
« Reply #2 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

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: online not working after upgrading to current stable release
« Reply #3 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: online not working after upgrading to current stable release
« Reply #4 on: December 05, 2008, 12:21:35 am »
thats 0.7 (trunk) bot.php
the files u want are in /branches/0.6/

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: online not working after upgrading to current stable release
« Reply #5 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: online not working after upgrading to current stable release
« Reply #6 on: December 05, 2008, 01:25:27 am »
do you get any error in console when doing !online

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: online not working after upgrading to current stable release
« Reply #7 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.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: online not working after upgrading to current stable release
« Reply #8 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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Uragon

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: online not working after upgrading to current stable release
« Reply #9 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?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: online not working after upgrading to current stable release
« Reply #10 on: December 06, 2008, 07:28:13 pm »
to fix that error get latest for 0.6
/modules/OnlineDisplay.php

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: online not working after upgrading to current stable release
« Reply #11 on: December 06, 2008, 08:29:53 pm »
0.6.1 should fix the online display.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: online not working after upgrading to current stable release
« Reply #12 on: December 07, 2008, 06:46:13 am »
yes the 6.1 fixed it...thanks

 

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