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: OnlineOrg  (Read 180707 times)

0 Members and 3 Guests are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #30 on: April 24, 2008, 05:37:00 am »
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.

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: OnlineOrg
« Reply #31 on: April 24, 2008, 07: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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #32 on: April 24, 2008, 07: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

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: OnlineOrg
« Reply #33 on: April 24, 2008, 08: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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #34 on: April 25, 2008, 12:58:23 am »
Org name :: Good Spirits
Faction :: Clan
Members :: 1416
Time :: 173 Seconds

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

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: OnlineOrg
« Reply #35 on: April 25, 2008, 03:11:26 am »
Very strange, got a totally different number after doing a getorgs. Maybe there is more going on to cause this than I previously thought.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #36 on: April 25, 2008, 03:48:55 am »
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.

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: OnlineOrg
« Reply #37 on: April 28, 2008, 07: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.

Offline Haized

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: OnlineOrg
« Reply #38 on: April 28, 2008, 04:38:11 pm »
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


 ??? ??? ???

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #39 on: April 28, 2008, 05:05:41 pm »
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

Offline Parfet

  • BeBot User
  • **
  • Posts: 33
  • Karma: +0/-0
Re: OnlineOrg
« Reply #40 on: May 12, 2008, 12:31:32 pm »
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? :) ty

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #41 on: May 12, 2008, 03:26:01 pm »
did you download the right 1?

Version 5.3 from 1st post

Offline Parfet

  • BeBot User
  • **
  • Posts: 33
  • Karma: +0/-0
Re: OnlineOrg
« Reply #42 on: May 14, 2008, 02:18:23 pm »
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: [Select]
$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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #43 on: May 14, 2008, 03:32:51 pm »
oh that module hehe i was thinking on the main 1

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: OnlineOrg
« Reply #44 on: May 14, 2008, 03:56:55 pm »
Done , Updated Orgs.php to latest 0.5

 

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