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: Roster and user IDs  (Read 4887 times)

0 Members and 1 Guest are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Roster and user IDs
« Reply #15 on: May 07, 2008, 10:30:58 pm »
"aotf_online" is theoretical a bug, there should be only one global online table. Of course, all queries using the online table should still use #___online as the name.

prefix_online was an old bug in... 0.4.x or perhaps even 0.3.x.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Roster and user IDs
« Reply #16 on: May 07, 2008, 10:53:36 pm »
If the table has first been created you need to drop both *_tablename and the table for it to be recreated properly. It's not enough to change the code to true and then drop the original table as that won't update the *_tablename table.

Also this is not something that's meant to be done as the bot should share the online table.


this is what I did both times, sorry for the miss understanding.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Roster and user IDs
« Reply #17 on: May 07, 2008, 10:56:52 pm »
"aotf_online" is theoretical a bug, there should be only one global online table. Of course, all queries using the online table should still use #___online as the name.

prefix_online was an old bug in... 0.4.x or perhaps even 0.3.x.

well since this one is just a relay bot I keep it separate.  I do have it in its on db though and not in with the rest of the org bots so it really doesn't matter which way it is to me.  but if I were to put it in with the rest of the bots I would like to still keep it separate, but I don't see any reason right now why I would want it that way. 
I would not want to do an online on the aotf bot and see everyone on in all the orgs, I would only want to see the bots connected to it.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Roster and user IDs
« Reply #18 on: May 07, 2008, 11:01:13 pm »
The entries of the online table are seperated by the botname setting. Only by explicitely adding other bots in the settings will the online modules use the online information of other bots. No, security wise it's not perfect, but it should be ok enough.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Roster and user IDs
« Reply #19 on: May 07, 2008, 11:23:25 pm »
yea that is true, I totally forgot about that part also.  either way it would be ok.  just another bug to find down the road sometime.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Roster and user IDs
« Reply #20 on: May 08, 2008, 12:03:11 am »
Yeah, found the line, the SQL query on the online table in the cron job of Relay.php was missing the #___ prefix. Fixed in SVN.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Roster and user IDs
« Reply #21 on: May 08, 2008, 12:53:42 am »
good job, thank you everyone for all the troubleshooting. sorry it was all in one topic..
* Nytridr runs and hides now before someone shoots me..:)

Nyt
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

 

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