View Full Version : Bans still not working
OEW Batman
11-15-2007, 05:09 PM
When we choose to ban a player they are kicked but are able to rejoin the server. Their GUID and ID are being written into ban.txt in the COD4\Main directory with clearly no effect.
I've seen other posts advising to place ban.txt outside the main folder, or to place in a new Players folder (COD4\Players). Bans will not write to ban.txt in either of these locations it will simply create a new ban.txt in Main.
Anyone with the real scoop on this? It is affecting alot of server admins.
OEW Batman
11-15-2007, 06:24 PM
Also, have tried as an alternative using PB to ban . . .
PB_SV_Ban [client #]
Have tried twice and it does ban, however it has banned a client other than the one targeted - lol - I'm entering the correct client number revealed per the status command, but that's not the one kicked. Typing the client name is a bit laborious, but I may have no choice for now. Ugh.
Scrapie
11-15-2007, 07:28 PM
look... if u see "rcon status" it will give you a client number, if u use pb_power it will give other client number(usually +1)
so if u do /rcon status and use pb to kick number 3, u will be kicking number 2 of pb system
fkrdiscostu
11-15-2007, 08:31 PM
The best thing to do in that case, is just copy/paste the info in the ban.txt file that gets created in the main folder into the ban.txt file inside the "Players" folder that I described here: http://www.fpsadmin.com/forum/showpost.php?p=55835&postcount=6
It's a pain to have to work around this stuff, but I haven't heard any other way.
OEW Batman
11-15-2007, 10:49 PM
I'll try that, copy from the txt file in Main into the txt file in Players. I assume these additions to the txt file take effect immediately? Hope so. If we have some problematic guys that want to keep reconnecting to wreck havoc I suppose we'll have to update the file in the middle of the game. Repeated kicking is a pain.
Hope to hear something official that this is to be fixed in a patch.
fkrdiscostu
11-16-2007, 01:36 AM
I'll try that, copy from the txt file in Main into the txt file in Players. I assume these additions to the txt file take effect immediately? Hope so. If we have some problematic guys that want to keep reconnecting to wreck havoc I suppose we'll have to update the file in the middle of the game. Repeated kicking is a pain.
Hope to hear something official that this is to be fixed in a patch.
Have you tried a tempban? That should get rid of the putz for awhile until you can update the .txt file.
DirtyRat
11-16-2007, 07:41 AM
i use /rcon status
then /rcon banclient # (# client number) with no probs
OEW Batman
11-16-2007, 09:05 AM
I'll try that, copy from the txt file in Main into the txt file in Players. I assume these additions to the txt file take effect immediately? Hope so. If we have some problematic guys that want to keep reconnecting to wreck havoc I suppose we'll have to update the file in the middle of the game. Repeated kicking is a pain.
Hope to hear something official that this is to be fixed in a patch.
That worked. As soon as I copied from ban.txt in Main to ban.txt in Players, bans were effective. Thanks!
(I don't understand how bans seem to be working for some using only bans.txt in Main. Strange.)
OEW Batman
11-16-2007, 09:06 AM
Have you tried a tempban? That should get rid of the putz for awhile until you can update the .txt file.
I'll try that!
Daboys
11-16-2007, 09:54 AM
What not just kick/ban from the PB Webtool?
OEW Batman
11-17-2007, 01:19 AM
What not just kick/ban from the PB Webtool?
The only PB ban I'm familiar with (PB_SV_Ban [player #]) is inaccurate, the player num shown in status has to be incremented by 1 when using PB to ban. That won't fly, too easy to make a mistake. If you have a better way I'm interested.
rfp2566
11-18-2007, 09:31 AM
The only PB ban I'm familiar with (PB_SV_Ban [player #]) is inaccurate, the player num shown in status has to be incremented by 1 when using PB to ban. That won't fly, too easy to make a mistake. If you have a better way I'm interested.
It's not inaccurate it based off the index from the pb_sv_plist command.
OEW Batman
11-18-2007, 12:42 PM
It's not inaccurate it based off the index from the pb_sv_plist command.
I understand that. It is inaccurate when compared to "status" which is in more typical use. We prefer to avoid PB commands as much as possible.
Daboys
11-19-2007, 11:26 AM
I am talking about the PB "Webpage" that PB has for each server.
Example: 1.2.3.4:8000
i use /rcon status
then /rcon banclient # (# client number) with no probs
Have you tested that to see if the person that you banned can't come back on your server. Because when we do that, it kicks them out but they can come right back in. If that works, please share how you have that setup. That is how I would prefer to do it.
thanks
OEW Batman
11-24-2007, 12:33 PM
Have you tested that to see if the person that you banned can't come back on your server. Because when we do that, it kicks them out but they can come right back in. If that works, please share how you have that setup. That is how I would prefer to do it.
thanks
TRTL, the problem here is that ban.txt in the Main folder IS written to when you ban, but it has no effect. It's not being looked at when the banned player rejoins. Here's how we resolved.
1. Created a new folder named Players in the COD4 directory (same level as Main).
2. Copied existing ban.txt from the Main directory into Players.
3. As new players are banned the gane only writes them into ban.txt in Main, so you have to cut/paste new bans from Main into ban.txt in Players. (Use "cut" as opposed to "copy" to keep ban.txt in Main only showing the bans that have yet to be moved to Players.)
Hopefully a patch will resolve this and we won't have to kep doing the cut/paste shuffle.
Ya, I hope next patch fixes this. Thanks Batman.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.