pure server whitelist - Against wallhackers
Hey, I have tried setting up sv_pure 1 before, but I think the pure_server_whitelist.txt that I had was too complex, it made the server lag like heeeeeeeeeeeeeell, and I didnt even have any "check_crc" in it...
When it got near 30 players (it's deathmatch so players connect/reconnect all the time), it's almost impossible to play... And without sv_pure, it goes all the way to 40 and it runs nice. I'd like a pure_server_whitelist.txt with only anti-wallhack stuff and make sure nobody deletes footsteps sounds.... Something light that will check players for these on login and that's it. I appreciate any help at all, I don't like having sv_pure 0 :/ |
Re: pure server whitelist - Against wallhackers
I apologize my bad english.
By default, server have sv_pure set to 0 If server administrator not change this, server will allow players use own customized/modified files from their own "disk". They can change game outlook totally, even maps textures. (Invisible walls) When change sv_pure setting on server, it requires map change to take effect. Code:
-------------------------------------------------------- Why not from ...cfg/server.cfg ? - When launch server, first map is already loaded before server.cfg have executed. To clarify, your first map is in sv_pure 0 mode, after map change it goes 1 or 2. This could crash players game to HL2.exe error. Not big deal. --------------------------------------------------------------------- (Out of topic) Anyway (what I recommend) you should add all server (not plugins) console variables (cvar, convar) what you want change from default once to given value in autoexec.cfg. Few examples: Code:
hostname "My SRCDS name" // Host name 1. it execute configuration file autoexec.cfg first 2. then load first map 3. after map is loaded it execute second configuration file server.cfg These cvars what have added in autoexec.cfg stay in that value as long as something is change it (another config file, rcon command, plugin ?).4. even after this, server execute map configuration file (if exist) ...maps/cfg/map_name.cfg Now if admin change sv_alltalk to 0, it stay after map changes as long as it something change back to 1. To want cvars stay specific value automatically, use server.cfg This config file will execute every map change and reset cvars back. *Tip, add in this file bottom of list to save server current permament bans writeid writeip Different cvar settings by map, use ...maps/cfg/map_name.cfg Whe map appears called "map_name.bsp" it change cvar setting for that what found in map config. Again, it's your choice do you want start use this way, or add all in server.cfg and execute all cvars everytime when map change... :roll: ----------------------------------------------------------- (Back to topic) Players can check server current sv_pure mode typing sv_pure in their console when joined. They get also server whitelist. Code:
-------------------------------------------------------- ...steamapps/account/game-name/mod/models/player/ ...steamapps/account/game-name/mod/materials/models/player/ ...steamapps/account/game-name/mod/materials/temp/ *...steamapps/account/game-name/mod/materials/vgui/logos/ *...steamapps/account/game-name/mod/materials/vgui/logos/ui/ ...steamapps/account/game-name/mod/materials/vgui/replay/thumbnails/ * Don't know why there have added extra by default = materials\vgui\logos\ui\... allow_from_disk when this will do same thing = materials\vgui\logos\... allow_from_disk Configure pure_server_whitelist.txt - You find this file from your server, one folder up from mod (...orangebox/hl2/) This file work from that path (or either you can copy that file and add in your mod direction (...orangebox/cstrike/) Now it will use that file what found from 'cstrike' instead 'hl2' Not need done this, I just mention) http://developer.valvesoftware.com/wiki/Pure_Servers Code:
whitelist Rest pure cvars Code:
"sv_pure_trace" = "1" ( def. "0" ) This will print to player console when conncet to server (and current map de_rennes_v1) Warning: Pure server: file [GAME]\materials\de_rennes_v1\wall004.vmt does not match the server's file. And server console, but not log these. [STEAM_0:1:00000] Pure server: file [GAME]\materials\de_rennes_v1\wall004.vmt does not match the server's file. Code:
"sv_pure_kick_clients" = "1" Dropped Bacardi from server (Pure server: file [GAME]\materials\de_rennes_v1\wall004.vmt does not match the server's file.) Player console Disconnect: Pure server: file [GAME]\materials\de_rennes_v1\wall004.vmt does not match the server's file.. Disconnect: Pure server: file [GAME]\materials\de_rennes_v1\wall004.vmt does not match the server's file.. What else ? When change sv_pure mode or make change in pure_server_whitelist.txt players should re-launch their game or they get HL2.exe errors. Another errors, found from player console Code:
] play quake/headshot.mp3 or you don't have this file on your computer. So @einwa, you can start check what you want players use on server. Custom skin and weapons ? Ofcource plugins sound files and other texture. It's not difficult when you learn this. *edit Don't edit files called whitelist.cfg I haven't touch those and I have get still work those custom files via pure_server_whitelist.txt |
Re: pure server whitelist - Against wallhackers
This thread needs to be STICKIED FOR LIFE!!
Excellent reply Bacardi. :up: |
Re: pure server whitelist - Against wallhackers
First of all, thank you for the huge post. It's so complete! I think I got how it works :) But before I try to make a pure_server_whitelist, let's make sure I really understood.
With sv_pure 1: Players will be forced to have all the files matching the server (except the ones I will list on pure_server_whitelist.txt) On pure_server_whitelist.txt: from_steam > can be different from server but has to match steam default allow_from_disk > Let users modify or use their own files in the specified folder check_crc > keep checking the players (while they are in game) if they still have the folder as it's supposed to be Is that right? |
Re: pure server whitelist - Against wallhackers
Sticky vote +2
Bacardi always posts very useful and detailed information in his replies. You also have my thanks Bacardi. |
Re: pure server whitelist - Against wallhackers
1 Attachment(s)
Quote:
Steam download huge *.gcf files in to ...Steam\steamapps\ Inside these, there are all files what need run source-game. (Sounds, materials, models, maps, scripts etc. etc.) Anyone can peek inside these with Nem's GCFScape tool and extract files out there, but not add in there. Especially when need to know which path you need add that same file in your steam-account folder. Example that radio sound gogogo! - Using tool, look inside ...Steam\steamapps\counter-strike source shared.gcf (we could look this sound file path from game console soundlist also...) We can browse folders and files inside that counter-strike source shared.gcf, and we found radio sound file from ...Steam\steamapps\counter-strike source shared.gcf\root\cstrike\sound\radio\go.wav Ok, now player need mimic this path in his steam-account folder and add sound file in there. ...Steam\steamapps\MyAccountName\counter-strike source\cstrike\sound\radio\go.wav Tadaa! This way player have modified his game, replace game original gogogo sound to another else. This way players install all :crab: from gamebanana (weapons, player skins) to his steam-account folder. In this steam-account folder, player download server files (maps, quake sounds) When enable sv_pure 1 Server start read file pure_server_whitelist.txt where inside there are in the beginning Code:
materials\... from_steam Server not (at this point) check player files will they match with server files. Allow players use own modified radio sound gogogo on server. Add in pure_server_whitelist.txt Code:
sound\radio\go.wav allow_from_disk ...Steam\steamapps\MyAccountName\counter-strike source\cstrike\sound\radio\go.wav Allow player use file on server but need match with server file. Code:
materials\de_rennes_v1\wall004.vmt allow_from_disk+check_crc You need CRC check only important files. Try using less this. *what I have mention before, check only *.vmt files. This way they not get texture file (*.vtf) to work transparent. You can try this what I have use. This allow players use: player models+skins+radio sounds hostage models+skins+sounds weapons models+skins+sounds bullet shell models+skins weapon buy menu VGUI+sound item weapon muzzleflash texture map radar overview admin plugins sounds quake sounds bombtimer (plugin) knifefight fleshnscream sound folder root player spray (and avatar on replay ?) Yes, you maybe need add more your settings what files you use on server adn what you want players use. Hope you did understand what are "steam" files, player modified files instead is in their account-folder. *edit I'm trollolololler |
Re: pure server whitelist - Against wallhackers
That's all I got to say, can't think of a better way, that's all I got to say: I love you, is that ok?
*singing* |
Re: pure server whitelist - Against wallhackers
Ok, I made a pure_server_whitelist.txt....
Code:
whitelist |
Re: pure server whitelist - Against wallhackers
Quote:
Code:
"sv_allowupload" = "0" ( def. "1" ) - server save these sprays in ...orangebox/mod/downloads/ *.dat - Every player who have downloaded others sprays have in own PC ...mod/downloads/*.dat ...mod/materials/temp/*.vtf Quote:
The player decides whether he wants to download files from server Code:
"cl_allowdownload" = "0" ( def. "1" ) Custom Files Filter Checker - And CRC check all that folder Code:
sound\2u\... allow_from_disk+check_crc |
Re: pure server whitelist - Against wallhackers
As I said in my previous post, we already block custom sprays. We have sv_allowupload 0 for a while. I wanted to block any spray whatsoever but it doesn't matter anymore. Players said today that sprays are not working after I put sv_pure 1. Not even the default ones apparently (haven't checked it myself because I always play with r_decals 0 and mp_decals 0)
About the "\2u" sound folder, I obviously wanted to enforce download only to those with cl_downloadfilter all. We have the "Swap team after X rounds" plugin and somehow nobody downloads the mp3 from the server folder, always say "Failed to load sound "2u\teamswitch.mp3", file probably missing from disk/repository". I have cl_downloadfilter all and I don't download it. I get quake sounds but not that teamswitch sound. And it is on the server. I'll post this in the "Swap team after X rounds" plugin page instead. Thank you, this topic can be closed. |
All times are GMT -4. The time now is 01:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.