PDA

View Full Version : Feeback SMAC r107/r115


CenT
05-21-2011, 20:03
smac.log :

L 05/22/2011 - 00:09:28: Bad CVar response: vp. fKL // (ID: STEAM_0:1:37536381 | IP: 84.91.110.99) has convar "r_drawothermodels" set to value "2" (should be "1.0") when it should equal.
Sourcebans :

Ban reason : SMAC: ConVar SMAC: ConVar %s violation violationCvar does not appear in the result of the ban sourcebans.

Personally, I activated the smac.cfg all the cvars.

For module aimbot could someone explain exactly how it works?

FR3AK
05-21-2011, 20:44
is the smac.cfg auto generated?

CenT
05-21-2011, 21:33
Yes, but I modified it by activating all cvars to 1 except the last

GoD-Tony
05-22-2011, 03:24
Cvar does not appear in the result of the ban sourcebans.Thanks, this will be fixed.

Personally, I activated the smac.cfg all the cvars.I should put a warning somewhere in there that the anti-wallhack can be very resource intensive.

For module aimbot could someone explain exactly how it works?From aimbot.sp:
The idea is to catch obvious aimbots that quickly snap and kill a player.
Keep a small record of players' [view] angles, and analyze it for snaps when they get a kill.
If a "snap" is over 45 degrees then it will log and warn admins. From my quick testing, the maximum a regular scenario could produce is ~20 degrees. It's still experimental which is why it doesn't ban anyone.

CenT
05-22-2011, 10:33
ok thank you, Anti Wallack uses what resources ? RAM ? CPU ?

GoD-Tony
05-22-2011, 10:45
CPU. It has to loop through every client and calculate what they should be able to see.

CenT
05-22-2011, 11:00
ok I will test on a production server of 40 players and see the difference in consumption

Ynot
05-22-2011, 15:16
So how does SpinHack works?
Couldn't a user who just set a setting in there console and when they move their mouse and it will spin like crazy without using Hacks.... So would that detect them as a "Spin Hacker" too?

GoD-Tony
05-22-2011, 15:38
So how does SpinHack works?
Couldn't a user who just set a setting in there console and when they move their mouse and it will spin like crazy without using Hacks.... So would that detect them as a "Spin Hacker" too?Any player that is spinning like crazy non-stop for 15+ seconds will be detected as a spinhack. It can be increased if legitmate players are known for doing this, but 15 seconds is a long time to be spinning for fun.

It's just a simple way to catch blatant hackers. I don't even know why they enable this "feature" but it's detectable and I've gotten an auto-ban from it already.

CenT
05-23-2011, 13:27
Feeback r115 :

My server encountered a crash, I attached the console log file.

When there was the crash my server was full 40/40.

Previously I never had a crash like this, it he makes me once since I SMAC test.

smac.cfg :


// This file was auto-generated by SourceMod (v1.3.7)
// ConVars for plugin "smac.smx"


// Aimbot detection module
// -
// Default: "0"
smac_aimbot "0"

// This will prevent people from leaving the game then rejoining to respawn.
// -
// Default: "0"
smac_client_antirejoin "0"

// Seconds to prevent someone from restablishing a connection. 0 to disable.
// -
// Default: "0"
smac_client_antispamconnect "1"

// Enable the Client Protection module.
// -
// Default: "1"
smac_client_enable "1"

// This will protect the server from name crashes and hacks.
// -
// Default: "1"
smac_client_nameprotect "1"

// If the Commands Module of SMAC is enabled.
// -
// Default: "1"
smac_cmds_enable "1"

// Log command usage. Use only for debugging purposes.
// -
// Default: "0"
smac_cmds_log "0"

// Amount of commands in one second before kick. 0 for disable.
// -
// Default: "30"
smac_cmds_spam "14"

// (CS:S Only) Prevent No-Flash cheats from working when a player is fully blind
// -
// Default: "0"
smac_css_antiflash "1"

// (CS:S Only) Prevent No-Smoke cheats from working when a player is immersed in smoke
// -
// Default: "0"
smac_css_antismoke "1"

// Enable the CVar checks module.
// -
// Default: "1"
smac_cvars_enable "1"

// Enable anti-wallhack
// -
// Default: "0"
smac_eyes_antiwall "1"

// SpinHack detection module
// -
// Default: "0"
smac_spinhack "1"

// If enabled, checks players against the KAC Global Banlist and removes them from the server if banned. Requires Socket extension. 0 - Disabled (default). 1 - Enabled.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
smac_use_kac_banlist "0"
Exts Loaded :


19:23:49 [SM] Displaying 13 extensions:
[01] Automatic Updater (1.3.7): Updates SourceMod gamedata files
[02] Webternet (1.3.7): Extension for interacting with URLs
[03] CS:S Tools (1.3.7): CS:S extended functionality
[04] BinTools (1.3.7): Low-level C/C++ Calling API
[05] SDK Tools (1.3.7): Source SDK Tools
[06] Client Preferences (1.3.7): Saves client preference settings
[07] SQLite (1.3.7): SQLite Driver
[08] Top Menus (1.3.7): Creates sorted nested menus
[09] Regex (1.3.7): Provides regex natives for plugins
[10] GeoIP (1.3.7): Geographical IP information
[11] SDK Hooks (2.0.0): Source SDK Hooks
[12] Socket (3.0.1): Socket extension for SourceMod
[13] MySQL-DBI (1.3.7): MySQL driver implementation for DBI
I also confirm that anti wallhack increases the CPU.

GoD-Tony
05-23-2011, 15:03
My server encountered a crash, I attached the console log file.
This crash was related to the Sockets extension, and it looks like you have Kigen's banlist disabled. I have to ask: What plugins are you using that make use of the Sockets extension?

In the meantime I'll make sure that the network module isn't the cause of this.

Thanks for the report.

CenT
05-23-2011, 18:00
the only plugin that uses socket is SMAC. Here is the list of plugins:

23:54:37 [SM] Listing 40 plugins:
01 "QuickDefuse" (0.3) by pRED*
02 "Basic Info Triggers" (1.3.7) by AlliedModders LLC
03 "Advertisements" (0.5.5) by Tsunami
04 "Sound Commands" (1.3.7) by AlliedModders LLC
05 "Nextmap" (1.3.7) by AlliedModders LLC
06 "Show Damage" (1.0.7) by exvel
07 "Players Votes" (1.5.0) by The Resident, pZv!
08 "IP Chat Block" (1.4) by SuperRaWR
09 "Advanced admin commands" (0.16) by 3sigma
10 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
11 "map-decals.smx" (1.1) by Berni, Stingbyte
12 "SQL Admins (Threaded)" (1.3.7) by AlliedModders LLC
13 "Noblock players and Nades" (2.0) by Originally by Tony G. Fixed by Rogue
14 "CSS Throwing Knives" (1.1.4) by meng
15 "Anti-Rejoin" (2.0.0) by exvel
16 "Basic Votes" (1.3.7) by AlliedModders LLC
17 "HLstatsX CE Ingame Plugin" (1.6.13) by psychonic
18 "Fun Commands" (1.3.7) by AlliedModders LLC
19 "Spray Tracer" (5.8.2) by Nican132, CptMoore, Lebson506th, LordMarqus
20 "Admin Help" (1.3.7) by AlliedModders LLC
21 "Basic Comm Control" (1.3.7) by AlliedModders LLC
22 "Advanced c4 Countdown Timer" (1.4.1) by dalto
23 "Fun Votes" (1.3.7) by AlliedModders LLC
24 "Slay Losers" (1.3) by DarkEnergy - Ownz and Frezzy
25 "Basic Commands" (1.3.7) by AlliedModders LLC
26 "Anti Rush" (1.1) by Jannik 'Peace-Maker' Hartung
27 "Reserved Slots" (1.3.7) by AlliedModders LLC
28 "SourceMod Anti-Cheat" (0.0.2.3) by psychonic, CodingDirect LLC
29 "SQL Admin Manager" (1.3.7) by AlliedModders LLC
30 "Admin Menu" (1.3.4) by AlliedModders LLC
31 "Weapon Restrict" (2.3.5) by Dr!fter
32 "Extra Cash" (0.2) by Peoples Army
33 "Basic Chat" (1.3.7) by AlliedModders LLC
34 "M3Motd - MOTD / Rules Display" (0.2.1) by M3Studios, Inc.
35 "SourceBans" (1.4.8) by SourceBans Development Team
36 "Anti-Flood" (1.3.7) by AlliedModders LLC
37 "Player Commands" (1.3.7) by AlliedModders LLC
38 "SQL Admins (Prefetch)" (1.3.7) by AlliedModders LLC
39 "Quake Sounds" (2.7) by dalto, Grrrrrrrrrrrrrrrrrrr, and psychonic
40 "Admin File Reader" (1.3.7) by AlliedModders LLC


When I try to remove socket.ext I had an error saying it was not found, so I disabled the SMAC and the error was no more.

GoD-Tony
05-23-2011, 18:14
When I try to remove socket.ext I had an error saying it was not found, so I disabled the SMAC and the error was no more.There shouldn't be an error in your log files because it's optional for SMAC to run. You will see something like this, but it won't prevent SMAC from running and your server will still run fine with Sockets deleted:
sm exts list
[SM] Displaying 14 extensions:
[13] <FAILED> file "socket.ext.dll": The specified module could not be found
I recommend deleting the Sockets extension and continuing to run SMAC without loading Sockets.

CenT
05-23-2011, 18:32
ok thank you ;)

CenT
05-24-2011, 18:54
Feeback r115 :

Anti Smoke error ... I have attached the file.

psychonic
05-24-2011, 19:11
Feeback r115 :

Anti Smoke error ... I have attached the file.

I've pushed a fix for this in rev 122

http://hg.nicholashastings.com/smac/changeset/884de0947c683404cfd97a2a611ea5899338b6cd

CenT
05-24-2011, 19:55
Ok thank you, I await a new build is available shape with the latest fixes ;)

niar82k
05-25-2011, 05:14
Could you add a Autoban on Sourceban if 5-10 matches are is suspected of having an aimbot?

eXplode82
05-31-2011, 09:26
r132 (http://forums.alliedmods.net/attachment.php?attachmentid=86680&stc=1&d=1306483886)

L 05/31/2011 - 14:28:43: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/31/2011 - 14:28:43: [SM] Native "PrintToServer" reported: Language phrase "SMAC_LOADED" not found
L 05/31/2011 - 14:28:43: [SM] Displaying call stack trace for plugin "smac.smx":
L 05/31/2011 - 14:28:43: [SM] [0] Line 157, D:\srcds\orangebox\cstrike\addons\sourcemod\s cripting\smac.sp::OnPluginStart()No smac.cfg generated. Linux CSS Server, SourceMod 1.3.7
Copied all the files correctly.

Any help ?

GoD-Tony
05-31-2011, 09:40
Copied all the files correctly.

Any help ?
You didn't copy all of the files correctly. If I delete the SMAC translations from my test server then I get the same error.

Rocknrolla
07-01-2011, 04:22
With the eye movement check does the admins warned have to have a specific flag or just generic admin and also where does the warning show up ie. Chat hintbox?
Btw guys awesome job

GoD-Tony
07-01-2011, 08:16
With the eye movement check does the admins warned have to have a specific flag or just generic admin and also where does the warning show up ie. Chat hintbox?Admins with the "generic" flag are notified via chat.