L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 10:45:00 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.5 support > Topic: Roster and user IDs
Pages: 1 [2]   Go Down
« previous next »
Print
Author Topic: Roster and user IDs  (Read 495 times)
0 Members and 1 Guest are viewing this topic.
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Roster and user IDs
« Reply #15 on: May 07, 2008, 03: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.
Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


WWW
Re: Roster and user IDs
« Reply #16 on: May 07, 2008, 03:53:36 PM »

Quote from: Blueeagle on May 07, 2008, 03:30:23 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.
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


WWW
Re: Roster and user IDs
« Reply #17 on: May 07, 2008, 03:56:52 PM »

Quote from: Alreadythere on May 07, 2008, 03: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.

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.
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Roster and user IDs
« Reply #18 on: May 07, 2008, 04: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.
Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


WWW
Re: Roster and user IDs
« Reply #19 on: May 07, 2008, 04: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.
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Roster and user IDs
« Reply #20 on: May 07, 2008, 05:03:11 PM »

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.
Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 261


WWW
Re: Roster and user IDs
« Reply #21 on: May 07, 2008, 05:53:42 PM »

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..Smiley

Nyt
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Pages: 1 [2]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.5 support > Topic: Roster and user IDs
« previous next »
 
Jump to:  

Recent
!items database
by Zeephonz
[Today at 08:05:21 PM]

Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11146
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 12
Total: 13
Vain

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.647 seconds with 28 queries. (Pretty URLs adds 0.032s, 4q)
Loading...