BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: craized on April 28, 2005, 09:21:51 am

Title: Faction mod - Limit bot invites
Post by: craized on April 28, 2005, 09:21:51 am
PRIVGROUP MOD (http://www.craized.net/junk/bebot/highlight.php?PrivGroup)

Description:
Allows bot admins to decide which faction(s) can join the privgroup

Instructions:
Quote from: "Privgroup"
!faction <clan/omni/neutral/all>
Sets which faction(s) can /tell <yourbot> !invite

!faction exclude <clan/omni/neutral>
Sets which faction is banned from the bot.
Title: Faction mod - Limit bot invites
Post by: Lal on April 28, 2005, 10:26:30 am
You might want to allow it multiple factions like Omni AND Neutral

BTW: what happens when the AO site times out and it wont load the page? (www.ao was too slow to respond error)
Title: Faction mod - Limit bot invites
Post by: craized on April 28, 2005, 10:42:47 am
There are two options, either I can allow those that fail authentication to be granted access, or not. At the moment, I'm refusing access, and the user can request that someone in the bot invite them. It's not fool proof, but if you can think of a better solution, please let me know.

As for multiple factions, I'm working on it right now. It will be
!faction excluse <Clan/Omni/Neutral>
This will allow anyone who isn't that faction two join. I'll post when I get that working correctly.
Title: Faction mod - Limit bot invites
Post by: craized on April 28, 2005, 11:27:55 am
All fixed up,
!faction exclude <Clan/Omni/Neutral> will now ban that faction from the bot.
Title: Faction mod - Limit bot invites
Post by: Lal on April 28, 2005, 03:48:05 pm
Well I don't really know.. I don't even get why it doesn't want to load the page sometimes
Title: Faction mod - Limit bot invites
Post by: Palux on April 29, 2005, 06:20:29 am
Thanks. It's just working.

Palux
Title: Faction mod - Limit bot invites
Post by: craized on April 30, 2005, 07:53:11 am
Quote from: "Lal"
Well I don't really know.. I don't even get why it doesn't want to load the page sometimes


If the AO servers are having trouble, or are overloaded, or if the connect from the bot computer is being bogged down sometimes it will time out. Bebot gives is a good chunk of time before it times out, unfortunitely this causes incredible lag sometimes as I'm sure you already know.
Title: Faction mod - Limit bot invites
Post by: Lal on April 30, 2005, 10:48:29 am
Lol yeah, but is there no way to do multiple actions like, Search on the web AND send data to AO - it should also have a time-out value or soemthing and max-tries
Title: Faction mod - Limit bot invites
Post by: craized on April 30, 2005, 10:51:30 pm
No, that's the problem with PHP bots. It's a single thread language, so once one action starts, everything else has to wati for the action to finish.
Title: Faction mod - Limit bot invites
Post by: Lal on April 30, 2005, 11:45:22 pm
so theres no way to make it act like

requesting page

new command requested --> cancel the page request

send the new command that was requested

re-request page
Title: Faction mod - Limit bot invites
Post by: craized on May 01, 2005, 12:16:55 am
Not that I'm aware of, no.
SimplePortal 2.3.7 © 2008-2024, SimplePortal