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: Bot always shows 0 online players  (Read 2343 times)

0 Members and 1 Guest are viewing this topic.

Offline magnusll

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Bot always shows 0 online players
« on: May 14, 2010, 02:50:30 pm »
Subject says it all more or less. Apparently the bot is unable, for some reason, to find out the online/offline status of its members.

No idea if it can be related, but I always get the message:
[ERROR] [AOChatWrapper_Core]    I was unable to get the user id for user: <bot username>

at bot restart. Tried to create a new user and start a new bot using it, and still got the exact same problem though.

Any clue?

Offline Runemy

  • BeBot Apprentice
  • ***
  • Posts: 97
  • Karma: +0/-0
    • Exalted [Age of Conan guild - Aquilonia EU]
Re: Bot always shows 0 online players
« Reply #1 on: May 14, 2010, 04:17:56 pm »
My bot says the same when loading, but else it's working fine so thats not where your problem is. Are you sure you've logged your bot character in and spoken in guild chat before starting it?
Wood of Exalted
Age of Conan
Aquilonia - EU

Offline magnusll

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Bot always shows 0 online players
« Reply #2 on: May 14, 2010, 04:36:47 pm »
Yes, the bot has normal access to the guild channel. For example, it will listen to commands given in guild chat and reply normally. But the "online" function seems permanently disabled; the table will always stay empty.
It almost looks like it's not receiving the login notifications from the chat server.

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: Bot always shows 0 online players
« Reply #3 on: May 14, 2010, 05:20:44 pm »
Does it announce players when they come online? Did you set the bot to automatically add new players?

The bot maintains a buddy list as well, what you could do is log in as the bot (stop the bot, start aoc client etc) and check if there are people in it's buddy list.
-Yite [Crom]

Offline magnusll

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Bot always shows 0 online players
« Reply #4 on: May 15, 2010, 09:42:26 am »
Ok... I have no idea how, but I got the one on the new character to work. It is now normally marking people as online.

Only obvious difference I can see is the lack of "not on notify" messages on characters' status changes in the log, which I take it indicates the fact the old bot was not sending notifications to whichever module is tasked with tracking online status. Is there any specific setting handling this? It's weird since I didn't touch any of the defaults.

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: Bot always shows 0 online players
« Reply #5 on: May 17, 2010, 12:56:42 pm »
not on notify means it's not announcing them, it's a setting you can change (somewhere, don't have access to my bot at the moment)

anyway it all works now so good :)
-Yite [Crom]

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Bot always shows 0 online players
« Reply #6 on: May 18, 2010, 03:47:11 am »
The setting can be changed via "/tell yourbot notify on playername"

Offline Bhaltair

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Bot always shows 0 online players
« Reply #7 on: May 18, 2010, 04:37:18 am »
This thing had happened to Immortalbot yesterday. I thought my dedicated server upgrade corrupted MySQL database until I ran into this thread. Luckily, I back up my database two days ago.

I troubleshooted for few minutes and it has been fixed with my last solution:

I experimented by creating a new database, restore it using the file I backed up, change MySQL.php to the new database name and it had been fixed. I lost some members that was added automatically but I should get everybody back by the end of this week.

Other than that, it's flawless!
« Last Edit: May 18, 2010, 04:38:52 am by Bhaltair »

 

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