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

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

Author Topic: AutoMember  (Read 41922 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
AutoMember
« on: September 27, 2007, 05:43:28 am »
AutoMember.php

AutoMember

This Module will Automatically add Users who Join the Private Group to Member List
After you Get this and restart your bot you need to turn it on
/tell botname !set
and click AutoMember
also You can Use the Faction and Minlevel setting from flexible security if you want
Don't turn Restrict on if you are not using Flexible Security as it will Prob Add nobody

Your can Now Set it to Remove member when they leave Guest Channel
You can Have Temp Member on if you want it to ONLY delete temp member and will not delete your normal members

AutoMemberClean

Part of the Module will Clean your Member List For you
The setting for who to remove are Level and Faction
there is a safe list to add people you don't want to be deleted
i didn't see a point with having the lower than level so its only higher than XX level
default set to 220 so thats 221+ so no 1 (except maybe a GM)

also Does a Check for faction (Default is None)
you set faction in setting and you chose the faction you WANT to be deleted
example i have a clan bot set to Not Clan, and that will remove Neutral and Omni

How to Use
cleansafe add <name> " add to Safe list "
cleansafe del <name> " Delete from safe list "
cleansafe rem <name> " Delete from safe list "
cleannow " Make it do a Clean now, although it should do every 24hr and on bot boot "

Any more changed Etc Please reply to topic :D

oh and dont forget to turn on and set my module with !set AutoMember and !set AutoMemberClean

Change Log

  • 15/07/07 [1.5] - Changed AutoMemberClean so it Only Checks Level of Members and not those already Deleted
  • 15/07/07 [1.6] - Add Option to Send Extra Msg to People That get Removed by AutoMemberClean
  • 16/07/07 [1.7] - Some bugs Fixed inc a delay because of Spamming blocking tells
  • 17/07/07 [1.8] - Few more Minor Bug Fixes
  • 27/09/07 [1.9] - Sorted Format of Code out with slight improvements
  • 27/09/07 [1.10] - Added Faction Checking
  • 27/09/07 [1.11] - Fixed Manual Clean not Working when Cron is OFF
  • 27/09/07 [1.12] - Added Count+Blob with All info
  • 23/01/08 [1.13] - Added Buddy List Limit (sets some as inactive)
  • 01/02/08 [1.14] - Now Using 0.5.0 Version (Requires 0.5.0Support.php if your Lower)
  • 23/05/08 [2.0] - Updated to 0.5
  • 28/05/08 [2.1] - Moved Safe list to Own Table and Added expire time (Default 48hours)
  • 28/05/08 [2.2] - Changed AutoBan to only ban if not invited, other wise output warning
  • 11/08/08 [2.3] - Fixed Issues with user not getting added/removed to safelist cache when added/removed
  • 11/08/08 [2.4] - Fixed AutoBan Prevention if Invited
  • 14/08/08 [2.5] - Added Timeout for !invite ban prevention
  • 09/03/10 [2.6] - Not idea but prob fixes i did awhile ago
« Last Edit: March 09, 2010, 07:50:01 pm by Temar »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #1 on: January 23, 2008, 08:43:37 am »
Well my Raid bot was getting to 1k (983)
so i added some code to this module
it now removes some users from buddy list only
they are still members
it choses the members with oldest last_seen

they are readded iver by bot simple because of space (requires 20+ space before this is triggered)
or if they join the privgroup they will be readded also

they also get notified of the status change with bot (altho chances are most will never be read, inactive accounts)

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AutoMember.php
« Reply #2 on: February 01, 2008, 09:27:49 pm »
Error message Fatal error: call to undefined method AOChat::buddy_rem() in automember.php on line 338
« Last Edit: February 01, 2008, 09:36:42 pm by clashbot »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #3 on: February 01, 2008, 09:35:43 pm »
oops thats code for 0.5.0 ill fix when i get in from work in about 2 hours and 30mins

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AutoMember.php
« Reply #4 on: February 01, 2008, 09:37:27 pm »
lol...ok...how stable is 5 now?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #5 on: February 01, 2008, 09:45:34 pm »
its good i always use it
There is a post i have done under unofficial module 0.5.0 to easily down load it

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #6 on: February 02, 2008, 12:59:53 am »
ok Now i Have Posted the 0.5.0
If you are still running 0.4.3 get the Module i just posted and it should work, along with other 0.5.0 modules  ;D

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AutoMember.php
« Reply #7 on: February 02, 2008, 05:18:16 am »
I hate being the harbinger of bad news, but got another error on the same line, "call to a member function buddy_remove() on a non-object in automember.php on line 338"

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AutoMember.php
« Reply #8 on: February 02, 2008, 05:26:20 am »
nvm again, saw the support module...having a blonde night

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: AutoMember.php
« Reply #9 on: February 02, 2008, 12:21:36 pm »
lol...ok...how stable is 5 now?
0.5 is pretty stable at the moment.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #10 on: February 14, 2008, 02:49:44 am »
Today there was an Omni on my Clan bot
This user had Changed Sides and would of been removed on next memberclean
but till then he can have access?

so i added a Check when members join Pgroup
if not on the safelist
and meets the req to Ban (see !set automember and setting autoban)
He will be Kicked and Banned from Bot

The only Problem i can see at the moment would be if u Invite an Omni
you can add them to safelist but i wana try find a better solution to determin if they were invited or not

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: AutoMember.php
« Reply #11 on: March 25, 2008, 02:26:40 pm »
Today there was an Omni on my Clan bot
This user had Changed Sides and would of been removed on next memberclean
but till then he can have access?

so i added a Check when members join Pgroup
if not on the safelist
and meets the req to Ban (see !set automember and setting autoban)
He will be Kicked and Banned from Bot

The only Problem i can see at the moment would be if u Invite an Omni
you can add them to safelist but i wana try find a better solution to determin if they were invited or not

I have set up a TL5+ froob raid force and added the mixlevel (150) and ai_level (0) restriction to the pgjoin/clean function. However, i have the problem that a lower levelled toon can join, get's added and will be deleted only when a !cleannow / reboot occurs.
What do i have to do to enforce the TL5+/Froob requirements upon joining?

thanks
/d
« Last Edit: March 25, 2008, 02:28:21 pm by DocJones »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #12 on: March 25, 2008, 05:27:17 pm »
you need to set join to guest. Then use flexible security to give the users you want on bot guest access.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AutoMember.php
« Reply #13 on: May 23, 2008, 07:55:20 am »
is this working with the 5.1 branch?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AutoMember.php
« Reply #14 on: May 23, 2008, 09:16:28 am »
prob not, its 3month old since updated, ill to is tomorrow, going bed now

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 204
  • 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