BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Plac3bo on October 20, 2005, 10:30:35 pm
-
:shock:
wtf!
/tell bot !member somemember
[bot]: /tell Haal9000 !bot
Commands usable in Tells:
!about !admin !alts !announce !autoinv !battle !bid !bio !calc !chat !city !flip !gcr !guest !help !history !invite !irc !is !items !join !leave !level !logon !lvl !massinv !news !oe !online !pb !points !raffle !raid !rally !relay !restart !roll !server !shutdown !symb !target !time !verify !victory !whois
what happend? anyone have an idea?
-
afaik Bebot never had a !member command. or at least I have never seen one
IGNbot has a !members command though. maybe thats what you were thinking of.
-
dude, you always had that, how elese do you add members to the bot :)
-
Are you using Rooster_RAID.php? That's where the !member function is.
-
This is the Guild bot, its not only a raid bot.
We have a new applicant now, and we cant add him as member
on the bot, and hes not in the member database.
Would think he automatically adds him while he joins the guild,
but he is nowhere to be found. Even did a !restart on the bot.
-
Rooster_GUILD doesn't have that function. RAID does though. Since your bot is in Guild mode it ignores Rooster_RAID.php
He will be added automatically when the roster update runs (when you start the bot and every 12hrs after that if you have $cron["12hour"][] = &$rooster;) and only if his data is updated on FC's player info pages. Which means the bot only knows as much as the FC player info database.
Try looking up a new applicant right after you add them to org and you'll see they are not listed as a member on the FC player info pages.
http://www.anarchy-online.com/org/stats/d/<dimnumber>/name/<orgnumber>/basicstats.xml is only updated by FC once every 24 hrs.
I suppose someone could add a !member function to the GUILD module however for adding members manually. Otherwise it just rely's on the data FC gives when the update code runs.
-
oh, ok, that explains it, thanks :)
-
OK Plac3bo.. now you did it. oooh I could just strangl....
heheh naw I kid, you did how ever spark some creativeness on my part. Your wish has come true.
See: http://bebot.fieses.net/viewtopic.php?t=135 for the good news. :D
Enjoy.. Peace out!
-
Thanx Xenixa.
Had this on my ToDo list for 3.0 as its driving me nutters aswell ;) Saved me some work.
-
Hey no prob. glad I could help. :wink:
-
Where can i get this update to Rooster_GUILD for adding members?
-
Ooooh, that's right, the boards moved and that link no worky.
You'll find that thread Here:> http://bebot.link/index.php/topic,135.0.html
-
Sorry to bump an old thread, but Is this updated rooster_guild working currently?
(It's giving me trouble)
-
We're not psychic :)
If it's giving you troubles, then post here what's going wrong, then we can help.
-
Heh.. the root of the issue was when I replaced the following modules per suggestion above (afk.php, Logon_GUILD.php, Whois.php, Online.php, Rooster_GUILD.php) And restarted the bot (After dropping the members table) the bot wouldn't start and was complainging about Online.php and the fact that you couldn't redeclare the 'Online' class on line 35.
Before I dove into troubleshooting it, I wanted to confirm that it wasn't a case of: Are you crazy? Don't use that old stuff.. it doesn't work with the current version!
Thanks in advance, even bone stock, I'm happy to have moved to BeBot from IGN. (stupid fast items lookups off of the database was reason enough to switch!)
-Zakus
-
Did you copy the new online.php into modules directory - if so, it should be in the core directory.
Cheers,
-jj-
-
Aha. That was my problem. Thank you, I was wondering why I didn't have an 'old' module to rename for online. Thanks.