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

Permanent bans not working.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Crystalline
Member
Join Date: Jul 2016
Old 08-30-2016 , 00:44   Permanent bans not working.
Reply With Quote #1

It seems that every time we ban a player permanently through the sm_admin (the admin menu that pops up), the user is able to come back, so the bans are probably 24 hours at most, or something.

I also think this may be related to database issues. I posted another thread recently in here about that, too.

Cheers.
Crystalline is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 08-30-2016 , 00:49   Re: Permanent bans not working.
Reply With Quote #2

Do you use some banning system (sourcebans) or just a pure sm? If the latter, the bans are being stored in cfg/banned_user.cfg file - and it's getting overwritten every time the server starts.
__________________
Wilczek is offline
Crystalline
Member
Join Date: Jul 2016
Old 08-30-2016 , 02:07   Re: Permanent bans not working.
Reply With Quote #3

Quote:
Originally Posted by Wilczek View Post
Do you use some banning system (sourcebans) or just a pure sm? If the latter, the bans are being stored in cfg/banned_user.cfg file - and it's getting overwritten every time the server starts.
What's the difference between sourcebans and pure sm? Could you clarify?

Last edited by Crystalline; 08-30-2016 at 02:08.
Crystalline is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-30-2016 , 02:09   Re: Permanent bans not working.
Reply With Quote #4

Put in first line inside ...cfg/autoexec.cfg file

exec banned_user.cfg
exec banned_ip.cfg


https://forums.alliedmods.net/showpo...08&postcount=4

Last edited by Bacardi; 08-31-2016 at 00:43. Reason: not banned_users, banned_user
Bacardi is offline
Crystalline
Member
Join Date: Jul 2016
Old 08-30-2016 , 20:16   Re: Permanent bans not working.
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
Put in first line inside ...cfg/autoexec.cfg file

exec banned_users.cfg
exec banned_ip.cfg


https://forums.alliedmods.net/showpo...08&postcount=4
Those lines are already in there, but bans still aren't permanent. Furthermore, if we add someone's ID to the banned_users.cfg, it won't stay in there.

I've added my autoexec.cfg file in here. Take a look at it.
Attached Files
File Type: cfg autoexec.cfg (224 Bytes, 146 views)
Crystalline is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 08-30-2016 , 23:16   Re: Permanent bans not working.
Reply With Quote #6

This is what I use for my MvM server. I have no idea what game this is for but give this a try and see if it works. (You can test it using sm_ban on yourself and see if it does permanently ban you.) Some admin accidentally banned himself permanently and it persisted even across a server restart (had to manually unban him) so I think it should work.

PHP Code:
// Execute Banned Users
exec banned_user.cfg
exec banned_ip
.cfg
writeid
writeip 

Last edited by Potato Uno; 08-30-2016 at 23:17.
Potato Uno is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-30-2016 , 23:37   Re: Permanent bans not working.
Reply With Quote #7

...of course, if running multiple servers from one srcds.exe, can cause those missing bans, not get syncronized :/

Show your plugins list
__________________
Do not Private Message @me
Bacardi is offline
Crystalline
Member
Join Date: Jul 2016
Old 08-31-2016 , 00:13   Re: Permanent bans not working.
Reply With Quote #8

Is this ok? (check the autoexec.cfg file attached)

Also, should I add the "writeid" and "writeip" somewhere in the server.cfg file too? (I also attached that).
Attached Files
File Type: cfg autoexec.cfg (242 Bytes, 136 views)
File Type: cfg server.cfg (2.1 KB, 153 views)
Crystalline is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-31-2016 , 00:47   Re: Permanent bans not working.
Reply With Quote #9

yes.

But I start think problem is elsewhere...

could you post outputs of these server commands/convars
Code:
rcon sv_lan
rcon status
rcon plugin_print
rcon meta list
rcon sm exts list
rcon sm plugins list
__________________
Do not Private Message @me
Bacardi is offline
Crystalline
Member
Join Date: Jul 2016
Old 08-31-2016 , 02:31   Re: Permanent bans not working.
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
yes.

But I start think problem is elsewhere...

could you post outputs of these server commands/convars
Code:
rcon sv_lan
rcon status
rcon plugin_print
rcon meta list
rcon sm exts list
rcon sm plugins list
Sure.

Below are the commands, followed by what was shown in the console upon entering said commands:

rcon sv_lan


"sv_lan" = "0"
- Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )



rcon status


hostname: CRYSTAL CORE
version : 1.0.1.0/7 4044 secure
udp/ip : 216.52.148.79:27015
map : hdn_stalkyard at: 0 x, 0 y, 0 z
players : 2 (9 max)

# userid name uniqueid connected ping loss state adr
# 2 "Bot01" BOT active
# 4 "Crystalline" STEAM_0:0:181309257 011 151 0 active 85.241.99.133:61134



rcon plugin_print


Loaded plugins:
---------------------
0: "Mattie's EventScripts, http://mattie.info/cs, Version:1.5.0.171"
1: "Metamod:Source Interface 1.9.0"
---------------------



rcon meta list


Listing 3 plugins:
[01] SourceMod (1.4.6) by AlliedModders LLC
[02] SDK Tools (1.4.6) by AlliedModders LLC
[03] <ERROR>



rcon sm exts list


[SM] Displaying 13 extensions:
[01] Automatic Updater (1.4.6): Updates SourceMod gamedata files
[02] Webternet (1.4.6): Extension for interacting with URLs
[03] Top Menus (1.4.6): Creates sorted nested menus
[04] SDK Tools (1.4.6): Source SDK Tools
[05] BinTools (1.4.6): Low-level C/C++ Calling API
[06] Client Preferences (1.4.6): Saves client preference settings
[07] SQLite (1.4.6): SQLite Driver
[08] <FAILED> file "steamtools.ext.dll": The specified module could not be found.

[09] Regex (1.4.6): Provides regex natives for plugins
[10] <FAILED> file "sdkhooks.ext.dll": The specified module could not be found.

[11] <FAILED> file "entcontrol.ext.dll": Plugin API 15 is newer than internal version (11)
[12] <FAILED> file "connect.ext.dll": The specified module could not be found.

[13] MySQL-DBI (1.4.6): MySQL driver implementation for DBI



rcon sm plugins list


[SM] Listing 65 plugins:
01 "Admin File Reader" (1.4.6) by AlliedModders LLC
02 "Admin Help" (1.4.6) by AlliedModders LLC
03 "Admin Menu" (1.4.6) by AlliedModders LLC
04 "Admin Sounds" (1.0.1) by dalto
05 "Advertisements" (0.5.5) by Tsunami
06 "AFK Manager" (2. by Liam
07 "Anti-Flood" (1.4.6) by AlliedModders LLC
08 "Basic Ban Commands" (1.4.6) by AlliedModders LLC
09 "Basic Chat" (1.4.6) by AlliedModders LLC
10 "Basic Comm Control" (1.4.6) by AlliedModders LLC
11 "Basic Commands" (1.4.6) by AlliedModders LLC
12 "Basic Info Triggers" (1.4.6) by AlliedModders LLC
13 "Basic Votes" (1.4.6) by AlliedModders LLC
14 "Client Preferences" (1.4.6) by AlliedModders LLC
15 "Crazy Drug" (0.1) by Fredd
16 "Damage Sound" (1.4.50) by Chanz
17 <Failed> "Ent-Control" (0.0.1. by LeGone
18 "Fun Commands" (1.2.1) by AlliedModders LLC
19 "Fun Commands X" (2.1) by Spazman0 and Arg!
20 "Fun Votes" (1.4.6) by AlliedModders LLC
21 "hiddenranks" (1.0.0) by Ice
22 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
23 "H:SM - Ammo" (1.0.1) by Paegus
24 "H:SM - Autobot" (1.0.3) by Paegus
25 "H:SM - Black Hidden Check" (1.0.0) by Paegus
26 "H:SM - BSOD-Fix" (1.0.0) by Paegus
27 "H:SM - DownloadFilter Fix" (1.0.1) by Paegus
28 "H:SM - Dynamic Round Time" (1.0.0) by Phaedrus, Paegus
29 "H:SM - Friendly Radio" (1.0.2) by Paegus
30 "H:SM - Hidden Weight Fix" (1.0.2) by Paegus
31 "Hidden:Source - Log Fix" (1.0.0) by Phaedrus
32 "H:SM - Mirror" (1.0.2) by Paegus
33 "H:SM - B5 Pigshove" (1.1.5) by Paegus
34 "H:SM - Radio Alarm" (1.1.1) by Paegus
35 "H:SM - Radio Proximity Taunts" (1.0.2) by Paegus
36 "H:SM - Radio to Voice" (1.0.2) by Paegus
37 "H:SM - Roar" (1.0.1) by Paegus
38 "H:SM - Say_team Fix" (1.1.0) by Paegus
39 "H:SM - Visibility" (1.2.3) by Paegus
40 "H:SM - WeighteR" (1.0.3) by Paegus
41 "Welcome Sound" (0.0.1) by R-Hehl
42 "LastX" (1.2) by HomicidalApe
43 "MapChooser" (1.3.8-dev) by AlliedModders LLC
44 "Nextmap" (1.4.6) by AlliedModders LLC
45 "Map Nominations" (1.3.8-dev) by AlliedModders LLC
46 "PhysKill Ranks" (1.5.0) by Ice
47 "Player Commands" (1.2.1) by AlliedModders LLC
48 "Players Votes" (1.5.0) by The Resident, pZv!
49 "Pure Log" (1.0.0) by Paegus
50 "Reserved Slots" (1.4.6) by AlliedModders LLC
51 "Rock The Vote" (1.3.8-dev) by AlliedModders LLC
52 "Save Scores" (1.3.4) by exvel
53 <Error> "Sourcebans Checker" (1.0.0) by psychonic & Ca$h Munny
54 "ScuzTools Hidden Color Trail v1.0" (1.0.2) by [o-t] Scuzzy
55 "[Any] Sight Jacker (Spectate)" (1.5) by DarthNinja
56 "Simple TK Manager" (1.0d) by Lebson506th
57 "SourceMod Anti-Cheat" (0.8.0.4) by GoD-Tony, psychonic
58 "SMAC Client Protection" (0.8.0.4) by GoD-Tony, psychonic, Kigen
59 "SMAC Command Monitor" (0.8.0.4) by GoD-Tony, psychonic, Kigen
60 "SMAC ConVar Checker" (0.8.0.4) by GoD-Tony, psychonic, Kigen
61 "Evil Admin - Beam" (1.0.100) by <eVa>Dog
62 "Sound Commands" (1.4.6) by AlliedModders LLC
63 <Failed> "SourceBans" (1.4.11) by SourceBans Development Team
64 "Wallwalk" (1.1) by Pinkfairie
65 "WatchList" (2.0.1) by Dmustanger
Load Errors:
Sourcebans Checker: Failed to connect to SB db, [2003]: Can't connect to MySQL server on 'localhost' (10061)
Crystalline is offline
Reply


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 23:43.


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