L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 11:06:27 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: AutoMember
Pages: [1] 2 3   Go Down
« previous next »
Print
Author Topic: AutoMember  (Read 1993 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
AutoMember
« on: September 26, 2007, 10:43:28 PM »

AutoMember.php

AutoMember

This Module will Automaticly 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
Dont turn Restrict on if you are not useing 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 dont want to be deleted
i didnt 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 (exept 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, altho it should do every 24hr and on bot boot "

Any more changed Etc Please reply to topic Cheesy

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 Spaming 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 Useing 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

If your Not Running 0.5 Then you need This Module Here

Bug Fix (unable to change attachments):
    Line 314: unset($this -> invites[$name])
    should be: unset($this -> invites[$name]);

« Last Edit: September 12, 2008, 07:32:22 AM by Temar » Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #1 on: January 23, 2008, 02: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)
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 192



Re: AutoMember.php
« Reply #2 on: February 01, 2008, 03: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, 03:36:42 PM by clashbot » Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #3 on: February 01, 2008, 03:35:43 PM »

oops thats code for 0.5.0 ill fix when i get in from work in about 2 hours and 30mins
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 192



Re: AutoMember.php
« Reply #4 on: February 01, 2008, 03:37:27 PM »

lol...ok...how stable is 5 now?
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #5 on: February 01, 2008, 03: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
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #6 on: February 01, 2008, 06:59:53 PM »

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  Grin
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 192



Re: AutoMember.php
« Reply #7 on: February 01, 2008, 11:18:16 PM »

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"
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 192



Re: AutoMember.php
« Reply #8 on: February 01, 2008, 11:26:20 PM »

nvm again, saw the support module...having a blonde night
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1061


Re: AutoMember.php
« Reply #9 on: February 02, 2008, 06:21:36 AM »

Quote from: clashbot on February 01, 2008, 03:37:27 PM
lol...ok...how stable is 5 now?
0.5 is pretty stable at the moment.
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #10 on: February 13, 2008, 08:49:44 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
Logged
DocJones
Freshman
*
Offline Offline

Posts: 10


Re: AutoMember.php
« Reply #11 on: March 25, 2008, 08:26:40 AM »

Quote from: Temar on February 13, 2008, 08:49:44 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, 08:28:21 AM by DocJones » Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #12 on: March 25, 2008, 11:27:17 AM »

you need to set join to guest. Then use flexible security to give the users you want on bot guest access.
Logged
clashbot
Experienced
****
Offline Offline

Gender: Male
Posts: 192



Re: AutoMember.php
« Reply #13 on: May 23, 2008, 12:55:20 AM »

is this working with the 5.1 branch?
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 783



WWW
Re: AutoMember.php
« Reply #14 on: May 23, 2008, 02:16:28 AM »

prob not, its 3month old since updated, ill to is tomorrow, going bed now
Logged
Pages: [1] 2 3   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: AutoMember
« previous next »
 
Jump to:  

Recent
Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

!security Levels
by Nytridr
[Today at 02:00:16 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10808
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 16
Total: 18
Zeephonz
Temar

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.357 seconds with 27 queries. (Pretty URLs adds 0.049s, 4q)
Loading...