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
-
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:
!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.
-
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)
-
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.
-
All fixed up,
!faction exclude <Clan/Omni/Neutral> will now ban that faction from the bot.
-
Well I don't really know.. I don't even get why it doesn't want to load the page sometimes
-
Thanks. It's just working.
Palux
-
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.
-
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
-
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.
-
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
-
Not that I'm aware of, no.