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?
September 06, 2008, 09:53:21 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   Go Down
« previous next »
Print
Author Topic: OnlineOrg  (Read 3639 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



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
Slacklin
Rookie
**
Offline Offline

Posts: 28


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: 700



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
Slacklin
Rookie
**
Offline Offline

Posts: 28


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: 700



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
Slacklin
Rookie
**
Offline Offline

Posts: 28


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: 700



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
Slacklin
Rookie
**
Offline Offline

Posts: 28


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: 700



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
Parfet
Rookie
**
Offline Offline

Posts: 31


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: 700



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
Parfet
Rookie
**
Offline Offline

Posts: 31


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: 700



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
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



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

Done , Updated Orgs.php to latest 0.5
Logged
Pages: 1 2 [3] 4 5   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
Security
by Alreadythere
[Today at 10:02:42 AM]

Probs with relay from gue...
by Temar
[Today at 09:03:06 AM]

Raid spam in guild chat
by Temar
[Today at 09:01:18 AM]

Org Relaying
by Nytridr
[Today at 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]

Deactivate Autoadding mem...
by Temar
[September 03, 2008, 02:49:01 PM]

0.4 Modules in 0.5 -- fou...
by Temar
[September 03, 2008, 11:06:42 AM]
Stats
Members
Total Members: 961
Latest: daltarak
Stats
Total Posts: 10408
Total Topics: 1412
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 22
Total: 24
GBH
Jlee

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