Archive > 0.5.x Custom/Unofficial Modules

OnlineOrg

(1/19) > >>

Temar:
OnlineOrg is a Module that Checks who is Online in any Org

Features

* Uses Cache for Very Fast Repeats, With Limit to how many stored
* Uses Whois database instead of XML if XML was done x amount of days ago
* you can use orgname or a character from a org
* you can type part of org name in and it will search and display matches
* Stores Org names, ids , and last XML in a table for easy searching
* you can update org name table with a command ingame and it searches Funcom site
* Altho the process is slow(takes my bot aprox 1min on large org) it doesnt seem to stop bot doing the usualy stuff
* Central Online Function to get the Online from the Org in question!
** This Module will Give out your Online list as Simple Nickname ONLY , does not give out your alts or guests or users in your pgroup , This is Mandatory if your wish to use the Central online List Feature (will add option to turn off in future)**

Commands

* onlineorg <org/char> - Gets Org online from useing org name or a character in that org
* getorgs - Get Org List from Funcoms site
Need to Do

* Add some more Colour
Known Bugs

* the Output of Stats of Orgs when Got useing Central is Bugged
Onlineorg Changes

* 18/08/07 - Fixed bug with Org name and side when useing database
* 18/08/07 - Added Check for Buddies Already on list
* 18/08/07 - Added Limit for bots with buddie lists so member dont get missed
* 20/08/07 - Added Central Online Functions
* 21/08/07 - Improved getorgs(now makes sure orgname is latest entry)
* 21/08/07 - Added Message Function for Important Personal and Mass announcments
* 21/08/07 - Fixed bug with cron(waiting) running twice
* 21/08/07 - Added orgname,faction,membercount for onlineorgcentral
* 22/08/07 - Fixed bug with buddies already on que
* 22/08/07 - Minors Bug Fixes
* 22/08/07 - Now resets the 15sec timeout for buddys on buddyfunction
* 22/08/07 - Fixed bug with update of org table after XML
* 22/08/07 - Fixed problem were some characters have 0 as org id
* 24/08/07 - Fixed Loop Problem
* 24/08/07 - Updated XML address
* 24/08/07 - Fixed problems with useing several cache for info
* 24/08/07 - Added check so doesnt try to get id from blank org name
* 24/08/07 - Fixed whois table update
* 26/08/07 - Fixed None response after getting list from central
* 27/08/07 - Renamed from onlineorg to orgs
* 27/08/07 - Added blob on getorgs to show what is added/updated
* 28/08/07 - Fixed bugs in info cache
* 04/09/07 - Fixed error on blank return of Faction
* 04/09/07 - Fixed Errror Caused by unexpected replies from Central bot
* 06/09/07 - Orgs names are now Case Sensitive
* 06/09/07 - Updated get Orgs so it gets all from funcom site
* 06/09/07 - Fixed bug with $this -> waiting
* 06/09/07 - Orgs names no longer have to be entered as case sensitive, but if 2 or more of same are found it will show search
* 07/09/07 - Fixed bug with Centralbot timeout
* 09/09/07 - Added que system
* 13/09/07 - Improved que system(now checks if there is same ID in Que and if so output)
* 17/09/07 - Lots of Minor Changes/Bug fixes
* 17/09/07 - !getorgs is Now Auto (default is every 7 days)
* 17/09/07 - Now Skipping BuddyQue altogether
* 17/09/07 - Search System Improved, if not Exact and search returns 1 do that else show same name results.
* 18/09/07 - getorgs cron fixed
* 18/09/07 - Limit of 500 added to Output of Added orgs
* 17/04/08 [5.0] - Version 5.0 Release (decided to remove the 0. ) Lots of Changes Bugs Expected.
* 17/04/08 [5.1] - Fixed Output Bug, now goes to channel used.
* 17/04/08 [5.1] - Fixed Extra Spam saying Getting from DB aswell as Cache
* 17/04/08 [5.1] - Fixed Que
* 18/04/08 [5.1] - Fixed Blank Output Msg
* 18/04/08 [5.1] - Added some Color & a Timer for how long it takes
* 18/04/08 [5.1] - Central Checking Can now be Disabled
* 25/04/08 [5.2] - Fixed Problem with useing DB when XML isnt done
* 28/04/08 [5.3] - Fixed prob with timeout when useing 0.4 bot
* 20/05/08 [5.4] - Updated $command to new Command Reg System
* 20/05/09 [5.5] - Fixed Cron
* 20/05/09 [5.5] - Fixed sending of org ID to Central
* 20/05/09 [5.5] - Fixed name of Org on Output from Central
Orgs Changes

* 28/04/08 [0.3] - Updated to latest 0.5, Fixed a few Bugs
* 14/05/08 [0.4] - Updated to latest 0.5
* 18/05/08 [0.5] - Fixed Problem with Renamed orgs trying to insert instead of update if not beginning with same letter as before.
* 18/05/08 [0.5] - Added a check to make sure Only 1 Getorgs function runs at a time.

This module does not use Buddy_Queue
If you Have Problems with Large Buddy Actions, this module may not Work Right

Bots
RK1 -
RK2 -
RK3 -

IF Images Wont Load it Prob Mean the Entire Server is Dead.

Current Module Version = 5.5

This module works for bebot 0.4 and 0.5, But Requires 0.5.0_Support.php to run on 0.4

Please Note due to lack of org info provided for AoC by funcom this is a AO Only module!

Metaphblade:
I get these errors when trying to use this.  the bot iteself works fine, until i try to use this command



--- Code: ---[18-Aug-2007 11:51:17] PHP Warning:  Invalid argument supplied for foreach() in C:\php\custom\modules\OnlineOrg.php on line 280
[18-Aug-2007 11:54:35] PHP Fatal error:  Call to undefined method Bot::buddy_add() in C:\php\custom\modules\OnlineOrg.php on line 257
--- End code ---

Alreadythere:
It's based on the current SVN version, not 0.4.x.

The buddy_* functions were added there.

Temar:
Will Made extra 1 for 0.4.1 also when ive made some mroe improvments which ill do once server is up :D

Temar:
Lots of changed and the module for 0.4.1 added here too

Navigation

[0] Message Index

[#] Next page

Go to full version