Raised This Month: $32 Target: $400
 8% 

banid is not working for me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mr_cock
Member
Join Date: Sep 2018
Old 10-30-2018 , 14:11   banid is not working for me
Reply With Quote #1

This comes up when I type listid:

ID filter list: 2 entries
1 STEAM_0:0:453006109 : permanent
2 STEAM_0:0:452337952 : permanent

but the cheater was able to join the server anyways.

Last edited by mr_cock; 10-30-2018 at 14:32.
mr_cock is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 10-30-2018 , 14:34   Re: banid is not working for me
Reply With Quote #2

Is this csgo? The first 0 of the steam ID should be a 1 in csgo.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
TheHap
Member
Join Date: Feb 2018
Old 10-30-2018 , 14:44   Re: banid is not working for me
Reply With Quote #3

how you ban ?


-1 ?

pls check

!ban nick 0

it working.
TheHap is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 10-30-2018 , 15:33   Re: banid is not working for me
Reply With Quote #4

I assume he banned with "banid", as stated in the title.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-30-2018 , 15:37   Re: banid is not working for me
Reply With Quote #5

Yes CSGO.

I will try

STEAM_1:0:453006109

then, thanks!

This is what mư banned_user.cfg looks like now

banid 0 STEAM_1:0:453006109
banid 0 STEAM_1:0:452337952

Last edited by mr_cock; 10-30-2018 at 15:39.
mr_cock is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 10-30-2018 , 17:46   Re: banid is not working for me
Reply With Quote #6

Quote:
Originally Posted by mr_cock View Post
Yes CSGO.

I will try

STEAM_1:0:453006109

then, thanks!

This is what mư banned_user.cfg looks like now

banid 0 STEAM_1:0:453006109
banid 0 STEAM_1:0:452337952
Then that should work. Post back here if it doesn't and we can look into it further.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
mr_cock
Member
Join Date: Sep 2018
Old 11-01-2018 , 13:15   Re: banid is not working for me
Reply With Quote #7

A cheater just was on my server and I type this in console:

rcon banid 0 STEAM_1:0:146691762

and it even appears in listid

ID filter list: 3 entries
1 STEAM_1:0:146691762 : permanent

but he is still on the server!

Do I need to restart the serevr for it to work?

Last edited by mr_cock; 11-01-2018 at 13:20.
mr_cock is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 11-01-2018 , 13:23   Re: banid is not working for me
Reply With Quote #8

using banid only adds the players steamid to the list which is checked against on player connect. You have to kick the person from the server after using it. KickID
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
mr_cock
Member
Join Date: Sep 2018
Old 11-01-2018 , 13:43   Re: banid is not working for me
Reply With Quote #9

Okay thanks.

Another problem I have is that listid and banned_user.cfg resets itself. I think after every map restart or server restart, not sure.
mr_cock is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-01-2018 , 15:43   Re: banid is not working for me
Reply With Quote #10

Quote:
Originally Posted by mr_cock View Post
Okay thanks.

Another problem I have is that listid and banned_user.cfg resets itself. I think after every map restart or server restart, not sure.
You also need to use writeids to write the bans to a file. Actually, to save some hassle, these 4 lines should appear in your server.cfg in this order:

Code:
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
If you accidentally put the writeid/writeip lines before the exec lines, it will erase the bans when you restart the server.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply



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 00:00.


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