Raised This Month: $ Target: $400
 0% 

Addons AMXbans IRC bot.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical       
SaintK
Veteran Member
Join Date: Mar 2004
Old 01-07-2005 , 21:33   Addons AMXbans IRC bot.
#1

[Linux only]
Today we've released the source on our so called "BanBot".

This bot is an irc bot connected to the AMXbans MySQL database.

You have the following options availible:
Code:
/* 
 *----------------+------------+----------- 
 * Command         Access/Flags  Status 
 *----------------+------------+----------- 
 * !findban         - PUBLIC     -- DONE 
 * !baninfo         - PUBLIC     -- DONE 
 * !btver           - PUBLIC     -- DONE 
 * !botsnack        - PUBLIC     -- DONE 
 * 
 * !listadmins      - NOFLAGS    -- DONE 
 * !admininfo       - NOFLAGS    -- DONE 
 * !myaccess        - NOFLAGS    -- DONE 
 * 
 * !dumpbaninfo     - b          -- DONE 
 * !dumpbaninfo-cd  - b          -- DONE 
 * !fbaninfo        - b          -- DONE 
 * !banstats        - b          -- DONE 
 * !bancount        - b          -- DONE 
 * !top6            - b          -- DONE 
 * !afindban        - b          -- DONE 
 * !war3stats       - b          -- DONE 
 * !war3info        - b          -- DONE 
 * !adminserverinfo - b          -- PENDING 
 * 
 * !ignore          - i          -- DONE 
 * !unignore        - i          -- DONE 
 * 
 * !addadmin        - A          -- DONE 
 * !deladmin        - A          -- DONE 
 * !setflags        - A          -- DONE 
 * !adminhostadd    - A          -- DONE 
 * 
 * !exit            - O          -- DONE 
 * !sr              - O          -- DONE 
 * !backupbans      - O          -- DONE 
 * !rawsql          - O          -- PENDING 
 * !rehashadmins    - O          -- PENDING 
 * 
 *----------------+------------+----------- 
*/
For a demo join #dumber @ quakenet and type:
!findban id STEAM_0:0:2800467
or
!findban nick gagge

You can download the bot here:

http://www.dumbclan.co.uk/forum/viewtopic.php?t=3208

[Example!admininfo SaintK]
Quote:
<[DumB]SaintK> !serveradmininfo SaintK
<[DumB]-BT> **********************************
<[DumB]-BT> Admin Details of: SaintK
<[DumB]-BT> **********************************
<[DumB]-BT> Admin ID : 1
<[DumB]-BT> Steam ID : STEAM_0:0:2328
<[DumB]-BT> Acccess Flags: abcdefghijklmnopqrstu
<[DumB]-BT> Member Flags : ce
<[DumB]-BT> Has access on the following (12) servers:
<[DumB]-BT> -> b33f.co.uk - #69ER 7 32 player CS [UK]
<[DumB]-BT> -> #Dumber [07] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [06] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [05] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [04] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [03] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [02] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [01] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #69ER 3 CS 32 Player Deathmatch [UK]
<[DumB]-BT> -> #69ER 2 DizzyBitch WC3FT + saved xp
<[DumB]-BT> -> #69ER 10 CS 20 Player [UK]
<[DumB]-BT> -> #69ER 1 DizzyFeck WC3FT + saved xp
<[DumB]-BT> **********************************
SaintK is offline
gissberg
Junior Member
Join Date: Mar 2004
Location: Gδvle, Sweden
Old 01-09-2005 , 09:25  
#2

Can't find the dl-link anywhere in that post.
__________________
If u see *edit* Then my fat fingers and small keys on the keyboard have had some issues again.
gissberg is offline
Send a message via ICQ to gissberg Send a message via MSN to gissberg
Striker
Senior Member
Join Date: Mar 2004
Location: Germany
Old 01-09-2005 , 09:34  
#3

Why don't you attach the file(s) ?

...
Attached Files
File Type: gz bantool_1_.tar.gz (28.8 KB, 522 views)
__________________
Striker is offline
Send a message via ICQ to Striker Send a message via MSN to Striker
SaintK
Veteran Member
Join Date: Mar 2004
Old 01-10-2005 , 06:33  
#4

bleeh sorry i ment to atach it and link to the origional post, kinda stoned and i forgot
SaintK is offline
Emigrante
New Member
Join Date: Dec 2004
Old 01-10-2005 , 12:08  
#5

Compiling the plugin fine. But getting a error message when trying to start it with debug enabled:

IN : :port80a.se.quakenet.org 468 UNBanBot :Your username is invalid.
IN : :port80a.se.quakenet.org 468 UNBanBot :Connect with your real username, in lowercase.
IN : :port80a.se.quakenet.org 468 UNBanBot :If your mail address were [email protected], your username would be foo.
IN : ERROR :Closing Link: UNBanBot by port80a.se.quakenet.org (USER: Bad username)

Any ide how to fix this? Cant find anything in the config.

Emigrante
Main admin unitednerds.no
Emigrante is offline
SaintK
Veteran Member
Join Date: Mar 2004
Old 01-11-2005 , 01:14  
#6

try using another server -- not all Quakenet servers enforce a check of Username matching Ident
SaintK is offline
Damocles
Member
Join Date: Jan 2005
Old 01-12-2005 , 05:32  
#7

nice work SaintK ;)

can you also ban or unban people according to steam id from IRC ??
Damocles is offline
SaintK
Veteran Member
Join Date: Mar 2004
Old 01-12-2005 , 07:24  
#8

Not yet, but requests always can be made and we'll look into the add/remove ban function
SaintK is offline
Puntje
Member
Join Date: May 2004
Old 01-12-2005 , 09:20  
#9

for some strange reason i keep on getting the following error:
Quote:
[15:18:49] [Rawh] !sr join #goldenstrike
[15:18:49] •›› Join: [GS-BT] [[email protected]] [#GoldenStrike]
[15:19:06] [Rawh] !findban nick twins
[15:19:06] •›› Quit: [GS-BT] [[email protected]] [Read error: EOF from client]
[15:19:08] [Rawh] ffs
after enabling debug im getting the following:
Quote:
NICK: Rawh HOST: [email protected]
CMD: !findban ## ARG1: nick twins
^[Segmentation fault
Puntje is offline
Send a message via ICQ to Puntje
SaintK
Veteran Member
Join Date: Mar 2004
Old 01-13-2005 , 06:15  
#10

Emigrante, puntje, are your problems solved?
SaintK is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode