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?
December 01, 2008, 10:30:25 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: BanManager
Pages: [1]   Go Down
« previous next »
Print
Author Topic: BanManager  (Read 434 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
BanManager
« on: January 22, 2008, 09:35:47 PM »

i have Improved Slightly and Added !blacklist as command alias of ban
blacklist module should be removed (buggy and not needed)

Changes
  • whois now Check if Banned not just blacklist
  • when banning it does a Check if user is in pgroup, if so kick
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: BanManager
« Reply #1 on: March 10, 2008, 04:46:09 PM »

Fatal error: Call to a member function register() on a non-object in P:\pobot3\m
odules\BanManager.php on line 74


Code:
$this -> bot -> commandalias -> register("ban", "banlist");
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: BanManager
« Reply #2 on: March 10, 2008, 05:00:21 PM »

Are you using the trunk version? The command alias requires that core module.

Here is a 0.4.3 version of the command alias module.
Logged
Threeze
Freshman
*
Offline Offline

Posts: 9



Re: BanManager
« Reply #3 on: March 10, 2008, 06:24:57 PM »

Tried doing it myself [no luck], but any chance on a modified whois module that would get the blacklist info and directly dump the reason the person is on the blacklist into the blob showing the character information?

I.e.:
xxxbot: A "Bbbb" C is a level 220 (AT 7 - Common) Female Opifex Agent, Clan, Member of Somecrappyorg:: Blacklisted! Reason: reasongoeshere :: Details

as opposed to:
xxxbot: A "Bbbb" C is a level 220 (AT 7 - Common) Female Opifex Agent, Clan, Member of Somecrappyorg:: Warning: Blacklisted! :: Details


I realize it would lengthen the whois spam, but it would also be more informative... if this isn't desirable, then a link to the reason the person was blacklisted would also be nice.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: BanManager
« Reply #4 on: March 10, 2008, 06:43:04 PM »

well on the current SVN playernotes will show up on !whois if any, playnotes will include ban reasons
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: BanManager
« Reply #5 on: March 10, 2008, 09:50:05 PM »

using 4.3, copied proper files in and now

!ban add name reason results in

Fatal error: Call to a member function get_uid() on a non-object in P:\pobot3\mo
dules\BanManager.php on line 175

Code:
$id = $this -> bot -> chat -> get_uid($user);
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: BanManager
« Reply #6 on: March 10, 2008, 09:52:27 PM »

Quote from: Dracutza on March 10, 2008, 09:50:05 PM
Code:
$id = $this -> bot -> chat -> get_uid($user);
$this->bot->chat->get_uid($user) was called $this->bot->aoc->get_uid($user); prior to trunk iirc.

It's not advised to mix modules between versions but to use back ports where availible.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: BanManager
« Reply #7 on: March 10, 2008, 10:11:51 PM »

maybe i'll just looking to moving us towards 5 then.
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: BanManager
« Reply #8 on: March 10, 2008, 10:55:33 PM »

http://bebot.shadow-realm.org/0-4-x-customunofficial-modules/0-5-0_support-php-(so-0-5-0-modules-work)/
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: BanManager
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[Today at 04:41:09 PM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 15
Total: 16
clashbot

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