collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Faction mod - Limit bot invites  (Read 4453 times)

0 Members and 1 Guest are viewing this topic.

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« on: April 28, 2005, 09:21:51 am »
PRIVGROUP MOD

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.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Lal

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Faction mod - Limit bot invites
« Reply #1 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)
[205/12][Lalsoldier][RK2]

[190/5][Laldoc][RK2]

[195/10][Lalnt][RK2]

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« Reply #2 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.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« Reply #3 on: April 28, 2005, 11:27:55 am »
All fixed up,
!faction exclude <Clan/Omni/Neutral> will now ban that faction from the bot.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Lal

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Faction mod - Limit bot invites
« Reply #4 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
[205/12][Lalsoldier][RK2]

[190/5][Laldoc][RK2]

[195/10][Lalnt][RK2]

Offline Palux

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
    • http://www.the-exodus.de
Faction mod - Limit bot invites
« Reply #5 on: April 29, 2005, 06:20:29 am »
Thanks. It's just working.

Palux

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« Reply #6 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.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Lal

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Faction mod - Limit bot invites
« Reply #7 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
[205/12][Lalsoldier][RK2]

[190/5][Laldoc][RK2]

[195/10][Lalnt][RK2]

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« Reply #8 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.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Lal

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Faction mod - Limit bot invites
« Reply #9 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
[205/12][Lalsoldier][RK2]

[190/5][Laldoc][RK2]

[195/10][Lalnt][RK2]

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Faction mod - Limit bot invites
« Reply #10 on: May 01, 2005, 12:16:55 am »
Not that I'm aware of, no.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 682
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal