BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Xenixa on January 09, 2007, 02:01:06 am

Title: Revised Roster_GUILD.php for v0.2.10
Post by: Xenixa on January 09, 2007, 02:01:06 am
This version(see attached file, rename to .php to use) uses my revised Cron job for updating the Member Roster. Handles the Bot characters Buddy list in a more logical manner. Current SVN version will destory the bot characters buddy list if you used Relay_GUILD.php to add Guests to the Bot.

The code is in essence a back-port from my (no-longer)Experimental Roster_GUILD.php but keeps the Guild & Updated columns added in Revision 221 and adds AI Title(defender_rank) and AI Level(defender_rank_id).
It also fills in the Guild and Updated information were applicable for future use.

Note: This is for the vanilla install(no modifications) of v0.2.10+ of Bebot.
I did not add code to auto update the members table for AI Rank and Level.
If you use this version it will require you to drop your exisisting members table.
Or if you feel comfortable with mySQL you can hand edit your table to add the following AFTER the profession column and BEFORE the gender column:

defender_rank VARCHAR(15)
defender_rank_id INT


However I recommend just dropping the table and let the bot do it's thing on it's next restart.
SimplePortal 2.3.7 © 2008-2024, SimplePortal