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, 04:56:53 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: OnlineOrg
Pages: 1 2 [3] 4 5 6   Go Down
« previous next »
Print
Author Topic: OnlineOrg  (Read 5575 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #30 on: April 23, 2008, 10:37:00 PM »

Added "shortcut" change to support module,
redownload support mode and it will fix error.

as for mysql stuff i duno, wat u post was how it does a case sensitive search, as org names are case sensitive
eg RK1 has 2 orgs name armarda just dif case.
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Slacklin
Rookie
**
Offline Offline

Posts: 30


Re: OnlineOrg
« Reply #31 on: April 24, 2008, 12:04:54 PM »

With the module now that it works, there seems to be a problem with it being accurate. For example if I do a !onlineorg Cosmic Forklift It returns that there are only 4 members in the org. When I go to check the database, it informs me that there are 431 members in the org.

I think that it is going through the check too quickly on how many individuals are online as it is very very fast compared to the previous version of the plugin.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #32 on: April 24, 2008, 12:29:21 PM »

some times i know it returns that if it does database search for members instead of XML,
and maybe only 4 of the org are in your DB
after XML all member should be in DB altho i have seen this pop up now and then and plan on doing tests to try to remove the problem
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Slacklin
Rookie
**
Offline Offline

Posts: 30


Re: OnlineOrg
« Reply #33 on: April 24, 2008, 01:37:07 PM »

I tested against the Database and it is correct with 431 members in it using just a simple select statement. The XML also displays the proper info which is why it is strange to see that there are only 4 members that it thinks are in the org. Another example is Good Spirits which has 1219 members yet the bot only states that it has 7 when I did an onlineorg.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #34 on: April 24, 2008, 05:58:23 PM »

Org name :: Good Spirits
Faction :: Clan
Members :: 1416
Time :: 173 Seconds

::: 16 Members Online in Good Spirits :::
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Slacklin
Rookie
**
Offline Offline

Posts: 30


Re: OnlineOrg
« Reply #35 on: April 24, 2008, 08:11:26 PM »

Very strange, got a totally different number after doing a getorgs. Maybe there is more going on to cause this than I previously thought.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #36 on: April 24, 2008, 08:48:55 PM »

Fixed.
was useing wrong column in table
when i added stuff were getorgs got member list etc, i started useing last_update for it. and added whois_update for when whois gets all member update, which is wat onlineorg does on XML mode.

Changed Onlineorg to use whois_update fields Instead an Should work now.
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Slacklin
Rookie
**
Offline Offline

Posts: 30


Re: OnlineOrg
« Reply #37 on: April 28, 2008, 12:26:55 AM »

Wewt Getting another error this one more towards MySql

MySQL error (# 0) on query: SELECT org_id, org FROM orgs WHERE org COLLATE latin1_general_cs = 'storm' AND org_id !=0 LIMIT 1
COLLATION 'latin1_general_cs' is not valid for CHARACTER SET 'utf8'

Once that returns the error org is spammed with "Error : Broken plugin, recieved unhandled command: nlineorgbot" every 15 seconds or so in red till the bot is restarted.
Logged
Haized
Freshman
*
Offline Offline

Posts: 1


Re: OnlineOrg
« Reply #38 on: April 28, 2008, 09:38:11 AM »

Redbawt [2008-04-28 14:32:20]   [GROUP] [MSG]   [Redemption] Craized: ;onlineorg
 Dalgonia
Redbawt [2008-04-28 14:32:21]   [TELL]  [OUT]   -> Onlineorgbot: get Craized
Redbawt [2008-04-28 14:32:22]   [GROUP] [MSG]   [Redemption] Redbawt: Request Se
nt, Waiting for Reply ::: Please Wait
Redbawt [2008-04-28 14:32:36]   [GROUP] [MSG]   [Redemption] Redbawt: Error : Br
oken plugin, recieved unhandled command: nlineorgbot


 Huh Huh Huh
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #39 on: April 28, 2008, 10:05:41 AM »

Fixed the Timeout bug with 0.4

Also updated Orgs.php to 0.5 to u need to use support module for it now if you use 0.4 bot
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Parfet
Rookie
**
Offline Offline

Posts: 33


Re: OnlineOrg
« Reply #40 on: May 12, 2008, 05:31:32 AM »

sounds like a great raid/social plugin, but it's completely borked with the current SVN... and i'm not sure how the plugin is *supposed* to work so bump for update? Smiley ty
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #41 on: May 12, 2008, 08:26:01 AM »

did you download the right 1?

Version 5.3 from 1st post
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Parfet
Rookie
**
Offline Offline

Posts: 33


Re: OnlineOrg
« Reply #42 on: May 14, 2008, 07:18:23 AM »

redownloaded to make sure, the copy i got is still using the old command array, and isn't set up for the base module format...
Code:
$orgs = new Orgs($bot);

$commands["tell"]["getorgs"] = &$orgs;
$commands["pgmsg"]["getorgs"] = &$orgs;
$commands["gc"]["getorgs"] = &$orgs;

$cron["1hour"][] = &$orgs;

class Orgs
{
var $bot;

function Orgs (&$bot)
{
$this -> bot = &$bot;
and so on
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #43 on: May 14, 2008, 08:32:51 AM »

oh that module hehe i was thinking on the main 1
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: OnlineOrg
« Reply #44 on: May 14, 2008, 08:56:55 AM »

Done , Updated Orgs.php to latest 0.5
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pages: 1 2 [3] 4 5 6   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: OnlineOrg
« previous next »
 
Jump to:  

Recent
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]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11145
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 6
Guests: 14
Total: 20
Agnot
Glarawyn
xlDanek
clashbot
gerborg

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.569 seconds with 29 queries. (Pretty URLs adds 0.032s, 4q)
Loading...