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 September 02, 2005, 01:52:22 am
-
Updated to Include Alien Rank and Level since I couldn't find one that had already been Modified.
For use in showing AI Level and Rank in Online and Logon modules.
Will require you to Drop the current members table to populate new data.
ftp://xen.afraid.org/bebot_files/Rooster_GUILD.php
EDIT: New update. Added the commands member (Allows Manual Editing of Roster) and members (For viewing total members). Use what ever pre-command syntax you set for your bot (aka the ever popular '!')
It's basically modified code from Rooster_RAID.php insterted to work in Rooster_GUILD.php ... The cron job is untouched.
NOTE: If you are using my previous update to this module there is no need to Drop member table. Just replace with new copy(link above) and restart bot.
Uses same help files from the bot core install.
-
I exchanged my rooster_guild with this code, but the login still doesnt show the alien level when someone logs on, but the database has the alien level in it..
-
Ya, you'll need to modify your Logon_GUILD.php file to show that info.
Fortunatly, I've already done that. :) Also updated Online.php to show AI level.
My updated versions that work with this Rooster_GUILD.php are here:
ftp://xen.afraid.org/bebot_files/Logon_GUILD.php
ftp://xen.afraid.org/bebot_files/Online.php
BTW, back up your existing files before replacing with the ones above... just incase.
-
Updated Online.php again.
* Removed the commands for serperate professions since it wasn't working anyway.
* Added Announcements for Parts and Joins to Guest/Privatechannel in the Guild Channel.
I.E "Joeblow has Joined the Guest Channel."
Link in post above
Edit: Now If I could just figure out why it's not placing AFK after a members name in the online list when they mark themselves AFK.
-
Wow, very nice job :P
Its exactly what i was looking for :)
-
Fixed the AFK issue in Online.php I have listed above. Should show AFK status if you are using AFK.php from Crazied.
AFK.php is here if you need it. (http://ftp://xen.afraid.org/bebot_files/afk.php)
-
See edit in first post. :D
-
I just discovered I completely missed something when I updated this last.
When I added the ability to add/remove members manually, I remembered to make sure the code for removing members from Buddy List was there but forgot to check if when adding Members to the Members table it also added them to the Buddy list so they show up on the Online list right away. Previously our Org recruiters were doing !is after !member
So anywho I've updated it(again) to add Members to Bots Buddy list if they are added Manually. Otherwise the Cron job still takes care of it if not added manually.
Linked copy in first Post contains this update now.
EDIT: Re-edited it, realized I updated a copy that was using slightly different column names for AI Level and AI Title. Matches whats in the SVN now.
-
i still feel really strange running a module named after a male chicken :p
-
The names i used for the official version might not have been the best unfortunately, but consistency is good :)
And i'll be fixing up the module name later. Strange things often comes from not having English as a first language :P
-
And i'll be fixing up the module name later. Strange things often comes from not having English as a first language :P
yes definitely.. imagine if i was trying to code for a primarily norwegian audience, for example.. the only words i know are "jeg har" and i probably couldn't use them right anyway ;)
i am pretty consistently amazed at all the people able to speak english as well as they do, considering how tricky english can be sometimes (look at all the americans who can't even speak it properly ;) )
-
But we just remember where Americans are, and just let it slide :P
-
i'm lost :-\
i get a
Fatal error: Cannot redeclare class online in C:\bebot\moduels\Online.php on line 35
and
Warning: include_once(_Colors.php): failed to open stream: no such file or directory in C:\bebot\modules\afk.php on line 10
Warning: include_once(): failed opening '_colors.php' for inclusion (include_path='.;C:\php5\pear') in C:\bebot\modules\afk.php on line 10
how do i fix this ???
Just fund out that i don\t have _colors.php can someone pleass post it for me ???
-
http://nne-clan.clanintern.de/bebot/_Colors.phps
-
(removed old issues that are no longer problems :p )
another EDIT: i think AI level is working now. i tried removing the members table again just to be sure, and that did seem to make a difference for some reason.
problem i am facing now is that Rooster_GUILD is not executing when i start the bot... so we 'don't have any members'... ???
have reverted to old Rooster_GUILD for the time being. hoping to learn what is wrong here though as my setup is almost complete for my org's needs due to the great work being done here on BeBot :) (thanks to all coders)
-
just read all the posts in Experimental Roost_GUILD.php. looks excellent :)
trying it out now, and so far so good.
very nice work.
-
so... I downloaded the new version and dropped members table just to be sure.. and we had 0 members online and rooster update never started... something is bugged I think :-\
-
so... I downloaded the new version and dropped members table just to be sure.. and we had 0 members online and rooster update never started... something is bugged I think :-\
The one included in this thread or the one I have marked as experimental? Both should kick off the cron job shortly after the bot is started even with no members online.
----
Just performed a test on my test version of the 0.3.4 version of bebot(belongs to my test guild with a whole 10 members, yay for froob accounts) using my experimental version. BTW, I consider it done and no longer experimental for my purposes. Also its not tested on 0.2.x versions of the bot core.
-
I am using 2.x bot, nor quite sure wich version. I havent upgraded it in a while since I have som many modules and modifications made to it, scared it will get broken again.
-
I run this with latest 2.x release, cause I cant get the 3.x releases to work, its just on a test guild with 12ish members.. but I cant get it to do rooster update.. Ive had it on for 2 hours, and still no rooster update, anyway to force the rooster update to run? and it wont listen to any characters, not even the hardcoded superadmins in conf file.. I really want to use this updated file for the !member reason. And the Online.php does not work either, get a error that says
Fatal error: Cannot redeclare class online in /home/bothead/hunters2/modules/Online.php on line 35
Connected to MySQL
I just rename Online.php to _Online.php
any input on this would be appreciated..
edit: Online.php goes in core folder, and not in modules folder.. I figured it out :) but still doesnt run rooster update.
-
all links from Xenixa somehow down. anybody else who can pass me the files?
edit: just noticed it's a dynamic host, hope Xenixa will be back online soon :-/
-
Here's an even further updated one included builtin lastseen and notifications on org leave/join/kick. You will need to drop your current member table and let it recreate.
-
ah, that's cool. thanks!
-
It doesnt want to update the members table for me. No error messae just:
[2006-12-21 16:37:25] [ROSTER] [UPDATE] Starting roster update
[2006-12-21 16:37:35] [ROSTER] [UPDATE] Roster update complete. Added members, removed .
This is right after I installed the module, stopped the bot, dropped the old members table and started the bot again. :( Members Table stays empty. Trying this with a 0.2.10 bot, btw. After I reinstalled the old module and dropped the new, but empty members table, the roster update worked, and took considerably longer than with the new module. I have the feeling the new one isn't even trying. :)
-
OK, found my problem, very simple: ran the roster update at the wrong time. Seems like FC server was updating itself/down. :)
-
i still need an modified online.php, anyone got one laying around? my members table now includes AI levels, but dosnt show up on !online list :)
-
That's in another thread... http://bebot.link/index.php/topic,235.0.html (http://bebot.link/index.php/topic,235.0.html)
But it sounds like you are getting somewhere as well now. :) Good to hear.
-
Please see http://bebot.link/index.php/topic,288.45.html (http://bebot.link/index.php/topic,288.45.html) for latest discussion on this module...
-jj-