Jump to content

Recommended Posts

Posted

cs16.jpg

 

 

 

 

 

What is a config file?

In Counter-Strike Game, the config file is the .cfg extension file from your cstrike directory that allows you to edit and configure binds, settings, and game configurations that will be used during the game. There are 2 types of config files: config.cfg and userconfig.cfg. The first is the default one and can be modifued by the CS server. Second cannot be modified by the server and is executed separately with the following console command:

/exec userconfig.cfg.

 

The game is loading initially all those parameters from the config.cfg file which is loaded when the game starts. This config.cfg file may be loaded at any time from the console and it can be personalized

 

There are two ways to save a config file:

- configure the game settings from the meniu and after that you enter in console and save the settings with the following command: /writecfg userconfig

- access the userconfig.cfg file and edit every option manually.

 

Making your own config file has the advantage of having all the key binds and configurations in one file which can easily be executed from any computer by copying it from the internet to the game path.

Note that userconfig can have any name and usually has all control binds. This file will be saved in

C:\Program Files\Steam\SteamApps\YOUR-EMAIL\counter-strike\cstrike\userconfig.cfg path

 

 

 

How do I make my own config file?

 

1) Open a text editor (Textpad, Notepad, Wordpad etc).

 

2) Enter in your key binds and commands each on a different line. Even the ones that are inaccessible through the user interface configuration tool.

 

3) Save the file as "userconfig.cfg" to the default cstrike folder

(usually C:\Program Files\Steam\SteamApps\YOUR-EMAIL\counter-strike\cstrike\).

 

4) Go into your config.cfg at the end of the file and write down the following command: exec userconfig.cfg. This will make the userconfig file to be executed each time the game starts. You can also do this manually by opening the game console and type exec userconfig.cfg.

 

5) Save and exit the config file.

 

Config file examples

 

unbindall

bind "TAB" "+showscores"

bind "ENTER" "+reload"

bind "ESCAPE" "cancelselect"

bind "'" "+moveup"

bind "+" "sizeup"

bind "," "buyammo1"

bind "-" "sizedown"

bind "." "buyammo2"

bind "/" "+movedown"

bind "0" "slot10"

bind "1" "slot1"

bind "2" "slot2"

bind "3" "slot3"

bind "4" "slot4"

bind "5" "slot5"

bind "6" "slot6"

bind "7" "slot7"

bind "8" "slot8"

bind "9" "slot9"

bind ";" "+mlook"

bind "=" "sizeup"

bind "b" "buy"

bind "c" "radio3"

bind "e" "+use"

bind "f" "impulse 100"

bind "g" "drop"

bind "h" "+commandmenu"

bind "i" "showbriefing"

bind "j" "cheer"

bind "k" "+voicerecord"

bind "m" "chooseteam"

bind "n" "nightvision"

bind "o" "buyequip"

bind "q" "lastinv"

bind "s" "+back"

bind "t" "impulse 201"

bind "u" "messagemode2"

bind "w" "+forward"

bind "x" "radio2"

bind "y" "messagemode"

bind "z" "radio1"

bind "[" "invprev"

bind "]" "invnext"

bind "`" "toggleconsole"

bind "~" "toggleconsole"

bind "UPARROW" "+forward"

bind "DOWNARROW" "+back"

bind "LEFTARROW" "+moveleft"

bind "RIGHTARROW" "+moveright"

bind "ALT" "+strafe"

bind "CTRL" "+duck"

bind "SHIFT" "+jump"

bind "F5" "buy;menuselect 3;menuselect 1;buy;menuselect 6;buy;menuselect 7"

bind "f7" "buy;menuselect 1;menuselect 3;buy;menuselect 7"

bind "F6" "buy;menuselect 4;menuselect 3;buy;menuselect 4;menuselect 1;buy;menuselect 6;buy;menuselect 7"

bind "F8" "buy;menuselect 6;buy;menuselect 7;buy;menuselect 8;menuselect 4;buy;menuselect 8;menuselect 2;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 6"

bind "F10" "quit prompt"

bind "F11" "say nextmap"

bind "F12" "say timeleft"

bind "INS" "+klook"

bind "DEL" "slot1"

bind "PGDN" "slot4"

bind "END" "slot3"

bind "KP_INS" "drop"

bind "MWHEELDOWN" "invnext"

bind "MWHEELUP" "invprev"

bind "MOUSE1" "+attack"

bind "MOUSE2" "+attack2"

bind "MOUSE4" "slot2"

bind "PAUSE" "pause"

setinfo lefthand "0"

setinfo vgui_menus "0"

setinfo _ah "0"

setinfo _vgui_menus "0"

hud_classautokill "1"

voice_modenable "0.000000"

hud_centerid "1"

hud_fastswitch "1"

cl_dynamiccrosshair "1"

cl_minmodels "0"

cl_righthand "1"

hud_draw "1"

hud_capturemouse "1"

_cl_autowepswitch "1"

cl_corpsestay "600.000000"

fastsprites "0"

hud_takesshots "0"

joystick "0.000000"

sensitivity "3.800000"

m_filter "0.000000"

m_side "0.8"

m_forward "1"

m_yaw "0.022"

m_pitch "0.022"

cl_vsmoothing "0.05"

cl_backspeed "99999"

cl_forwardspeed "99999"

lookspring "0.000000"

lookstrafe "0.000000"

cl_cmdrate "30"

cl_allowupload "1"

cl_allowdownload "1"

cl_download_ingame "1"

cl_cmdbackup "2"

cl_timeout "60"

cl_idealpitchscale "0.8"

cl_himodels "0.000000"

cl_dlmax "128"

cl_lc "1"

cl_lw "1"

cl_updaterate "20"

rate "819.000000"

bottomcolor "6"

topcolor "30"

model "gordon"

_snd_mixahead "0.1"

MP3Volume "0.800000"

bgmvolume "0.000000"

hisound "1.000000"

suitvolume "1.000000"

volume "0.300000"

s_eax "1.000000"

s_a3d "1.000000"

s_verbwet "0.25"

s_bloat "2.0"

s_numpolys "200"

s_polysize "10000000"

s_polykeep "1000000000"

s_refdelay "4"

s_refgain "0.4"

s_leafnum "0"

s_max_distance "1000.0"

s_min_distance "8.0"

s_automax_distance "30.0"

s_automin_distance "2.0"

s_distance "60"

s_doppler "0.0"

s_rolloff "1.0"

gl_monolights "0"

gl_flipmatrix "0"

gl_overbright "0.000000"

gl_polyoffset "0.1"

gl_dither "1"

mp_decals "300.000000"

r_bmodelhighfrac "5.0"

ati_npatch "1.0"

ati_subdiv "2.0"

viewsize "110.000000"

hpk_maxsize "0"

sv_aim "0.000000"

sv_voiceenable "1"

net_graphpos "1"

net_scale "5"

net_graph "0"

con_color "170 170 300"

brightness "1.000000"

gamma "30.000000"

crosshair "1.000000"

fps_modem "0.0"

fps_max "72.0"

console "1.0"

voice_forcemicrecord "0.000000"

voice_enable "1"

voice_scale "1.000000"

+mlook

 

alias loc "connect 1."

alias c "connect cs.cstrike.ro"

 

sensitivity "5.000000"

cl_sidespeed 9999

cl_forwardspeed 9999

cl_backspeed 9999

setinfo "vgui_menus" "0"

setinfo "lefthand" "0"

hud_fastswitch "1"

cl_drawnames "1"

echo \"-------------------------CFG Loaded-------------------------\"

 

 

 

VALVE ANTI-CHEAT (VAC)

 

What is VAC?

 

vac.gifValve Anti-Cheat, abbreviated to VAC, is a proprietary anti-cheat solution developed and maintained by Valve Corporation as a component of the Steam platform. Although predating Steam, VAC has been fully adapted to its network.

 

VAC was first released with Counter-Strike 1.4 in 2002. The initial version, VAC1, saw success for a period, but in March or April 2004 updates ran dry as the Valve engineers maintaining it moved on to the production of its successor, VAC2. VAC1 swiftly became virtually useless during this period of development.

 

VAC2 has been implemented in GoldSrc, Source, and Unreal Engine 2 titles. It is included in the Steam SDK for licencees.

 

Advantages

Total integration through Steam, including using the Steam framework for any update tasks

Delayed bans deny cheat producers accurate and timely information

As of VAC2, client-side updates are not always required to detect new cheats, again denying cheat producers information.

 

Disadvantages

Delayed bans means that cheaters are free to play (and therefore disrupt play) until the ban takes effect some undisclosed (and possibly variable) time later.

This may entice others to cheat, taking an "if they can do it so can I" attitude.

The burden of banning individual cheaters (who have been detected by VAC but not yet banned) is placed on server administrators.

This also leads to the skewing of statistics and ranking systems, even if the cheaters data are removed when they are banned.

Cheats need to be individually found and added to the VAC database.

VAC cannot detect 'material wallhacks', where texture transparency and color is manipulated by overwriting content files. In the Source engine the option to create "pure" servers that disallow custom materials was created to alleviate this.

 

Installing VAC on your server

Installing VAC on your server is a very easy process, and can be achieved in a number of ways:

1. add -secure to your hlds target line which will initiate the module download automatically from speakeasy.net when you start the hlds session.

OR

2. navigate to your cstrike/liblist.gam file, and open it with an editor such as notepad. You'll see a line in there which will say "secure 0", change the 0 to a 1 to activate it, save the file, and start your server up. The server will then download the latest version of the modules to your server.

 

 

Credits www cstrike ro

 

i search it but i dont find so i decide to share it!

Posted

Good work mate,i dont saw this share till now,as mine (i mean when i posted how to make a plugin) here you have a explanation of the cfg files,cuz it is for the first time here shared and its a good share i will reward you,+1 karma keep sharing.

 

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I have a highly customized Hi5 pack based on L2JMobius with a lot of features for performance and modern game design. Disclaimer: I do not run any public server, but I run a "private" server for a group of 10 friends and about 2000 AI bots that required me to do heavy modifications on core systems of the game.  So my opinion will obivously be biased towards L2JMobius.   What I can tell you though without bias is: Most of the features you are asking for are nowadays considered de-facto, don't pay money for them. TvT, offline mode, community boards, premiums, vote rewards are in most packs including the open source ones. So before you pay a thousand plus euro for a pack ask yourself what you are paying that money for, that open source packs don't have.   Also a lot of the "strong points" some old packs were made for are nowadays obsolete. L2JFree derived packs for example used to have a lot of GC optimizations (Trove library) which are not not maintained, but most importantly not needed cause Java has evolved a lot since then and the performance issues these tricks tried to solve back then, are currently solved by Java's JVM itself. So if someone tries to sell you packed / unpacked integers in special hashmap data structures and other such things know that they have really lost their value nowadays.    A lot of people are selling thin air, things that everyone has. "Quality geodata" being one of them. I mean what's "quality geodata" ? Has someone painted them by hand ? Hell there's an online tool for free in github that extracts quality geodata, I think Galagard made it ? In contrast I'll tell you without wanting to boast about it that I use 3D navmesh on my project because 2000 bots could not pathfind large distances on A* on geodata. As far as I know, L2JMobius has it in its subscription version too. So if I could do an acceptable transition to navmesh from geodata in a week alone, I would assume that a decent pack with dedicated developers could do it better and faster. Red flag if someone still tries to sell you geodata in 2026.   Multi-protocol support gives small value and is a high risk.   I would not go for multi-protocol support for a public server cause you are locking yourself to specific providers and the functionality they support. If you need to change (eg pricing issues), you will be locked to a handful of providers. And what are you really gaining from a new client on an old game version ? Better UI ? The engine is still the same, static targeting and menus.    Agentic AI will make old hard features easy to implement, and drop their money value. Pay for AI-proof value. And compared to what most insecure devs claim, its a very powerful tool that allows those who know how to use it to accelerate their development. So a lot of features that took in the past a lot of time and effort to be developed and were a reason to charge money, are becoming a commodity today. So think to: The thing I am paying money for right now, how easy will it be to implement in a year from now ? If for example you are paying money for a game launcher that Claude Code can generate in top 1 hour without issues, I think you are wasting money.    I want to emphasise this a lot. Software engineering is in a transition atm. Most things that were mediocre to implement, launchers, guards, CMS, are nowadays easy. Yet the dev community continues to market them as premium content. They are not, sooner or later, when everyone starts selling them, they will realize that they will have to offer value in more complex features.  Private or public ? Bottom line is that a private pack and 1000 euro wont get you a sucessful server. You're the one that make it or break it. There have been many sucessful servers both in private packs and public packs in the past. It's really on the hands of the beholder, not on the source. A pack that plays good is a good indicator to buy as Trance said, but I would disagree that it's not enough. A server owner is not a player. He's a business man and has to account for longevity, vendor lock-in, expandability, hidden costs,  amortization, price changes and many more. Don't pick a pack based on how it played only.    
    • You don’t even need to look for a ghost project. Just buy the files from a project you’ve personally tested or played. That’s a much better starting point.
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • You have to put deep inside your pocket for something like this, for sure 😄
    • Hello everyone, I'm looking for a High Five Java server pack for a long-term project. I'm not looking for free packs. I'm interested in purchasing a professional pack with full source code if it's worth the investment. My priorities are: Stable core Clean and well-structured source code Good geodata and AI Modern Community Board Offline Trade / Offline Craft Premium Account system Vote Reward system Auto Events (TvT, CTF, DM, etc.) HWID protection Auto Farm  Buffer / QoL systems Modern admin tools Good Olympiad & Seven Signs implementation Excellent instance support (Freya, Frintezza, Zaken, Beleth, etc.) A huge bonus would be: Multi-protocol support (High Five + newer clients such as Salvation/Classical clients) Full source code (no closed binaries) Some custom things over Elegia At the moment I'm considering packs like Sunrise and L2-Scripts, but I'd really like to hear opinions from people who have actually worked with them. If you've been running a serious High Five project, I'd appreciate your honest feedback: Which pack are you using? What are its strengths and weaknesses? Would you buy it again? Are there any better alternatives available today? I'm looking for real experience rather than advertisements. Thanks!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..