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

Title: !member function gone?
Post 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?
Title: !member function gone?
Post by: Xenixa on October 21, 2005, 01:51:41 am
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.
Title: !member function gone?
Post by: Plac3bo on October 21, 2005, 09:12:22 am
dude, you always had that, how elese do you add members to the bot :)
Title: !member function gone?
Post by: Zacix on October 21, 2005, 09:45:14 am
Are you using Rooster_RAID.php? That's where the !member function is.
Title: !member function gone?
Post by: Plac3bo on October 21, 2005, 10:13:25 am
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.
Title: !member function gone?
Post by: Xenixa on October 21, 2005, 02:00:40 pm
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.
Title: !member function gone?
Post by: Plac3bo on October 21, 2005, 02:36:41 pm
oh, ok, that explains it, thanks :)
Title: !member function gone?
Post by: Xenixa on October 21, 2005, 08:13:56 pm
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!
Title: !member function gone?
Post by: Khalem on October 22, 2005, 05:50:15 pm
Thanx Xenixa.

Had this on my ToDo list for 3.0 as its driving me nutters aswell ;) Saved me some work.
Title: !member function gone?
Post by: Xenixa on October 23, 2005, 09:10:12 am
Hey no prob. glad I could help.  :wink:
Title: Re: !member function gone?
Post by: mookie on February 04, 2006, 11:09:39 pm
Where can i get this update to Rooster_GUILD for adding members?

Title: Re: !member function gone?
Post by: Xenixa on February 05, 2006, 03:58:22 pm
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
Title: Re: !member function gone?
Post by: Zakus on March 14, 2006, 06:58:12 pm
Sorry to bump an old thread, but Is this updated rooster_guild working currently?
(It's giving me trouble)
Title: Re: !member function gone?
Post by: Naturalistic on March 14, 2006, 07:12:09 pm
We're not psychic :)

If it's giving you troubles, then post here what's going wrong, then we can help.
Title: Re: !member function gone?
Post by: Zakus on March 14, 2006, 07:24:10 pm
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
Title: Re: !member function gone?
Post by: jjones666 on March 14, 2006, 09:51:57 pm
Did you copy the new online.php into modules directory - if so, it should be in the core directory.

Cheers,

-jj-
Title: Re: !member function gone?
Post by: Zakus on March 14, 2006, 09:57:10 pm
Aha. That was my problem.  Thank you, I was wondering why I didn't have an 'old' module to rename for online. Thanks.

SimplePortal 2.3.7 © 2008-2024, SimplePortal