In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)How can I get b3 to record IP's and ban IP's
Pages: [1] 2   Go Down
  Print  
Author Topic: How can I get b3 to record IP's and ban IP's  (Read 2251 times) Bookmark and Share
Jr. Member
**
Posts: 24
Offline Offline
« on: May 26, 2009, 05:35:53 PM »

How can I get b3 to record IP's and ban IP's

Ok so I am starting to setup b3 for my clan and how can I get b3 to record IP's and ban IP's


also if sum 1 can tell me if there is a plugin 2 kick someone for bad names
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: May 26, 2009, 11:40:49 PM »

Hello

B3 recognizes players by their guid, and for each guid B3 already records to database the last IP used.
Banning by IP depends of the game you are using and if you are using punkbuster or not.

kicking for bad names works in the poweradminurt plugin (for Urban Terror only). I don't know if it is implemented in other plugins for other games. However, punkbuster can do such things.

please use plain english in your questions.
regards
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #2 on: June 01, 2009, 05:17:33 PM »

I am using CoD4 and you can ban IP's without punkbuster

because what i am really trying to do is when you !permban someone then it logs the IP to a .txt file so that then i can use the banlist.txt to track it
« Last Edit: June 01, 2009, 08:30:21 PM by fusi0n556 » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: June 01, 2009, 09:20:28 PM »

When using !permban, the COD4 parser will issue the rcon banclient command which will make your cod4 server add that player's GUID to ban.txt

But if your goal is just to easily keep track of ban, then you should give a try to Echelon
« Last Edit: June 01, 2009, 11:42:12 PM by Courgette » Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #4 on: June 01, 2009, 10:01:00 PM »

yea we got echelon and that helps alot

but the problem we have is some banned people like to join under a different account meaning a different GUID and the only way we can fix them people is by logging and kick by their IP's
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: June 02, 2009, 12:15:55 AM »

Maybe Courgette's banlist plugin (in combination with echelon) works for you?

http://www.bigbrotherbot.com/forums/index.php?topic=389
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #6 on: June 02, 2009, 12:46:23 AM »

With that case, I might think about adding a command to the banlist plugin, lets say '!ipban' or something similar.
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #7 on: June 02, 2009, 01:37:49 AM »

hey xlr and Courgette yea ive got both the banlist plugin and echelon

i was gonna use the banlist plugin to read the strings from bannedIP.txt

what I was looking for was to modify !permban command to log IP's to  a .txt file (in this case bannedIP.txt dir:home/banlists/bannedIP.txt)  so then i can use banlist plugin to read it
anyone willing to help me on this???

also a bit off topic how do u make it call IP's off the server more frequently (or when they join) because sometimes when we perm ban players, in the /echelon/banlist.php it just comes up with:
:-1
(and no IP)

any help would be greatly appreciated



« Last Edit: June 02, 2009, 01:40:47 AM by fusi0n556 » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #8 on: June 02, 2009, 02:59:46 AM »

isn't that last issue related to COD4 server ?
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #9 on: June 02, 2009, 03:30:34 AM »

I'm not quite sure, I don't think it is but here is our current banlist from echelon/banlist.php anyway and you can notice the missing IP's


//------------------------------------------------------
//            Echelon BAN LIST
//------------------------------------------------------
// IP count :  33 permanent ban
// Generated :   2009-06-02T04:29:59-07:00
//------------------------------------------------------
//
// Cut & paste into your banlist.txt or save it to use it directly.
// The -1 places the ban forever.
// The 0 in IPs prevents IP changing : the ban is made for all the IP mask ( from 0 to 255 ).
// You need to set g_filterban to 1 on your server ( add g_filterban 1 to your cfg )
//
//------------------------------------------------------


//  permanent bans from UO
201.121.5.0:-1   // jaime    banned on  01/06/2009 (16:54), reason :
201.121.5.0:-1   // jaime    banned on  01/06/2009 (16:50), reason : Disrespecting
201.143.245.0:-1   // -=S|K=-32Bits    banned on  01/06/2009 (15:45), reason :
:-1   // Mussgo    banned on  01/06/2009 (15:44), reason : hacking
195.34.253.0:-1   // volf    banned on  01/06/2009 (13:39), reason : wallhack
78.0.250.0:-1   // [TSB]_Moderator    banned on  01/06/2009 (13:22), reason : Wallhack
:-1   // Player    banned on  01/06/2009 (10:49), reason : hacks
84.81.64.0:-1   // DamkSkill    banned on  01/06/2009 (09:55), reason : multihack
:-1   // .-X_x-.Dzsozi    banned on  01/06/2009 (01:48), reason : Wallhack
190.139.4.0:-1   // X-Men    banned on  31/05/2009 (22:36), reason : Wallhack
74.15.5.0:-1   // inkslasher    banned on  31/05/2009 (18:49), reason : aimbot
:-1   // zavik    banned on  31/05/2009 (12:32), reason : hacks
:-1   // NRNS<3    banned on  31/05/2009 (12:02), reason : hacks
75.72.97.0:-1   // Hawk0404-NRNS    banned on  31/05/2009 (02:07), reason : prev ban
:-1   // asdorix    banned on  31/05/2009 (01:56), reason : ^3Rule #5: No Spamming
189.153.188.0:-1   // Mussgo    banned on  30/05/2009 (19:39), reason : name changer
190.19.23.0:-1   // l3Su    banned on  30/05/2009 (19:22), reason : norecoil
89.181.0.0:-1   // Infinity    banned on  30/05/2009 (16:53), reason : Disrespecting
89.181.0.0:-1   // Aflyingsock    banned on  30/05/2009 (16:52), reason : Disrespecting
76.26.16.0:-1   // tipsycoma    banned on  30/05/2009 (14:01), reason :
76.26.16.0:-1   // tipsycoma    banned on  30/05/2009 (13:56), reason :
:-1   // tipsycoma    banned on  30/05/2009 (13:48), reason : ^3Rule #4: No Abusive Language
:-1   // Masterkill    banned on  30/05/2009 (13:07), reason : hacks
90.157.172.0:-1   // JD    banned on  30/05/2009 (11:47), reason :
84.81.64.0:-1   // [T.L.M]-Blinky-    banned on  30/05/2009 (10:42), reason : hackingnoob
:-1   // XXX_X    banned on  30/05/2009 (08:16), reason : ^3Rule #10: No Martyrdom, it is NOT allowed
:-1   // Masterkill    banned on  30/05/2009 (01:13), reason : hacks
:-1   // OhHO    banned on  29/05/2009 (22:53), reason :
:-1   // lilmo    banned on  29/05/2009 (22:00), reason : wallhacking
:-1   // Zom6ie    banned on  29/05/2009 (16:29), reason : hacks
:-1   // crazycutter    banned on  29/05/2009 (16:28), reason : ^3Rule #10: No Martyrdom, it is NOT allowed
72.213.211.0:-1   // HALLO    banned on  28/05/2009 (21:00), reason : aimbot
68.84.80.0:-1   // Zom6ie    banned on  28/05/2009 (12:28), reason : wall

Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #10 on: June 02, 2009, 03:56:46 AM »

I wasn't questioning your statement Smiley What I meant is : B3 does not have the IP because COD4 does not provide it early enough.

Better investigate de COD4 log to see if that information is logged at connect time, or if B3 is missing it.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #11 on: June 02, 2009, 09:30:24 AM »

What version of the bot are you using fusion? Especially the version of the cod4.py parser is of interest...
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #12 on: June 02, 2009, 05:10:59 PM »

version:    b3-1.1.4b

parser:     __version__ = '1.1.4'
« Last Edit: June 02, 2009, 05:12:40 PM by fusi0n556 » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #13 on: June 03, 2009, 07:49:21 AM »

Since I have no CoD4 server, you're my guinea pig for testing the cod4 parser version 1.1.5.
I've modified the parser without testing it, so expect errors. If they occur, paste them here.

It's attached, let me know what happens.

[attachment deleted by maintenance - older than 60 days]
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #14 on: June 04, 2009, 02:08:43 PM »

xlr8or

If having a server for testing COD4 parser would help. Send me a pm.

I can set you one up for a week or so for you to work on =]
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal