|
craized
|
 |
« on: April 28, 2005, 02:21:51 AM » |
|
PRIVGROUP MODDescription: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.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|
Lal
|
 |
« Reply #1 on: April 28, 2005, 03: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)
|
|
|
|
|
Logged
|
[205/12][Lalsoldier][RK2] [190/5][Laldoc][RK2] [195/10][Lalnt][RK2]
|
|
|
|
craized
|
 |
« Reply #2 on: April 28, 2005, 03: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.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|
craized
|
 |
« Reply #3 on: April 28, 2005, 04:27:55 AM » |
|
All fixed up, !faction exclude <Clan/Omni/Neutral> will now ban that faction from the bot.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|
Lal
|
 |
« Reply #4 on: April 28, 2005, 08:48:05 AM » |
|
Well I don't really know.. I don't even get why it doesn't want to load the page sometimes
|
|
|
|
|
Logged
|
[205/12][Lalsoldier][RK2] [190/5][Laldoc][RK2] [195/10][Lalnt][RK2]
|
|
|
Palux
Freshman
Offline
Posts: 3
|
 |
« Reply #5 on: April 28, 2005, 11:20:29 PM » |
|
Thanks. It's just working.
Palux
|
|
|
|
|
Logged
|
|
|
|
|
craized
|
 |
« Reply #6 on: April 30, 2005, 12:53:11 AM » |
|
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.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|
Lal
|
 |
« Reply #7 on: April 30, 2005, 03: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
|
|
|
|
|
Logged
|
[205/12][Lalsoldier][RK2] [190/5][Laldoc][RK2] [195/10][Lalnt][RK2]
|
|
|
|
craized
|
 |
« Reply #8 on: April 30, 2005, 03: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.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|
Lal
|
 |
« Reply #9 on: April 30, 2005, 04: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
|
|
|
|
|
Logged
|
[205/12][Lalsoldier][RK2] [190/5][Laldoc][RK2] [195/10][Lalnt][RK2]
|
|
|
|
craized
|
 |
« Reply #10 on: April 30, 2005, 05:16:55 PM » |
|
Not that I'm aware of, no.
|
|
|
|
|
Logged
|
Trailin [213/14][ADVENTURER][RK2] Bigburtha [216/17][NT][RK2][FROZEN] Abeham [199/7][TRADER][RK2][FROZEN]
|
|
|
|