collapse collapse

Menu


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search



* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • Shaidar: haha, sorry about the spam. Was trying to search :D
    August 21, 2010, 10:20:00 AM
  • Drizzurdeen: on holiday
    August 06, 2010, 04:04:41 AM
  • dillinger: Where is Getrixxxxx?? :/
    August 01, 2010, 04:17:36 PM
  • Yite: oh noes
    July 27, 2010, 09:07:27 AM
  • Khalem: Vacation time, expect things to be more quiet than usual for a week or two
    July 26, 2010, 04:26:32 PM
  • WeZoN: neve too late to make you even more nuts ^^
    July 22, 2010, 02:19:47 PM
  • Khalem: I've been nute for years. Too late :)
    July 21, 2010, 01:10:19 PM
  • Glarawyn: Driving you nuts with suggestions yet Khalem?
    July 13, 2010, 11:05:18 PM
  • Tyrence: I can't seem to reply to a thread either.  Says "Database Error"
    July 08, 2010, 11:51:29 AM
  • risenlore: shouty shout
    June 27, 2010, 06:34:06 PM
  • risenlore: yo
    June 27, 2010, 06:33:58 PM
  • ubermensch: i need halp! :P
    June 15, 2010, 06:48:01 AM
  • Getrix: PM bugging again :S waiting tomorrow to reply some ItemDB requests
    June 13, 2010, 04:29:50 PM
  • Yite: for what it's worth I got a PM from someone :)
    June 07, 2010, 04:08:59 AM
  • Khalem: PM's appear to be sent as intended, but for some reason things are timing out. Will investigate tomorrow.
    June 03, 2010, 03:16:59 PM
  • Getrix: Looks like the PM on forum have some problem.. Getting white page when trying to send
    June 02, 2010, 04:11:06 PM
  • Patromonus: not sure of my PM's are working :S
    June 02, 2010, 12:18:55 PM
  • Bhaltair: Yite, you are the best!
    May 19, 2010, 10:53:03 PM
  • Yite: Ah that's not the items (db) module but the gitems (items craftable by guild) you're looking for [url]http://bebot.shadow-realm.org/aoc-0-6-x-customunofficial-modules/items-crafted-by-guild/msg12293/#msg12293[/url]
    May 18, 2010, 03:19:48 AM
  • Bhaltair: I was pretty sure that was doable before. I think that was for gemcutting only.
    May 17, 2010, 09:23:46 PM

* Board Stats

  • stats Total Members: 1633
  • stats Total Posts: 15863
  • stats Total Topics: 2158
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

Author Topic: AutoMember  (Read 7422 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
AutoMember
« on: September 26, 2007, 10:43:28 PM »
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, 01:50:01 PM by Temar »
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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)
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 294
    • Ascension's Home
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 »

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 294
    • Ascension's Home
Re: AutoMember.php
« Reply #4 on: February 01, 2008, 03:37:27 PM »
lol...ok...how stable is 5 now?

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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  ;D
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 294
    • Ascension's Home
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"

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 294
    • Ascension's Home
Re: AutoMember.php
« Reply #8 on: February 01, 2008, 11:26:20 PM »
nvm again, saw the support module...having a blonde night

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
Re: AutoMember.php
« Reply #9 on: February 02, 2008, 06:21:36 AM »
lol...ok...how stable is 5 now?

0.5 is pretty stable at the moment.

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
Re: AutoMember.php
« Reply #11 on: March 25, 2008, 08:26:40 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


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 »

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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.
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 294
    • Ascension's Home
Re: AutoMember.php
« Reply #13 on: May 23, 2008, 12:55:20 AM »
is this working with the 5.1 branch?

Offline Temar

  • Developer
  • ********
  • Posts: 1133
    • AoFiles
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
MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Bot or Forum Hosting: http://hosting.aofiles.com

 


* Recent Posts

Autogratz Modul for Verison 0.6.5 by Yite
[Today at 02:42:16 AM]


Online Active Users by Argothep
[September 02, 2010, 05:47:40 PM]


New Central itemDB (!item[s|reg]) by Tsamoonia
[September 02, 2010, 01:10:32 PM]


Changing time by Tsamoonia
[September 02, 2010, 11:25:04 AM]


Autoinvite not working? by lulifuz
[September 02, 2010, 07:18:51 AM]


* Who's Online

  • Dot Guests: 9
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Forum Staff

Khalem admin Khalem
Administrator
Temar gmod Temar
Developer