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

    • First, don't really follow the "main voice", moreover if you consider it an hobby. Simply do what you want, you got only one life so use it as you want. If you make it an hobby, it's exactly like piano, or velo - only practice makes you better.   Secondly, how do you learn things ? It's actually a really important question, since some can simply be scholar, read books (theory) then practice ; and some simply can't read books. I'm the second type, I hated school, I find it boring - my knowledge in Java comes from try-and-fail. You improve your coding style every year or so, I can myself rewrite my own code (which I already considered top-notched) after a while. You always learn something new - even if Java barely evolves. L2J is a fun way to learn programming, it's a giant sandbox where you can edit anything, and I believe it should be taken as it.   My own way of learning was as follow : Add existing customs, no matter what they are : the point is to know main classes used by L2J / customs. L2J is barely Java knowledge ; the true knowledge is to know WHAT to search in WHICH location (what I call, organization). You have to understand than EVERYTHING you think already exists, in a form on another, in the source code. A custom is only the association of the different mechanisms you found "here and there", glued together in a proper goal. Once you know main classes to edit, and the customs you added are compiling fine, the main point is to know WHAT exactly you DID. Try to understand WHY and WHERE you actually copied the code. Third point would be to MANIPULATE the customs you added in order to fit your wish. First edit little values, then logic conditions ; eventually add a new Config, or a new functionality to the custom. Fourth point would be to begin to craft your own ideas. Once again, EVERYTHING already exists, in a form or another. You want a cycled event ? You got Seven Signs main task as exemple. Npc ? Search any type of Npc and figure out what it does. Fifth point would be to understand Java - mostly containers (WHAT and WHERE to use them), variables types and main Java mechanisms (inheritance, static modifier, etc). You should also begin to cut your code into maintainable classes or methods. Java can actually run without optimization, but bigger your ideas, more optimized and well-thought it should be. It's direct saved time in the future, and you would thank yourself doing so. Main tips : ALWAYS use any type of versioning system - GIT or SVN. It allows to save your work, step by step and eventually revert back anytime you want if you terribly messed up. L2J is 80% organization knowledge, and 20% Java knowledge. Basically, if you know WHAT and WHERE to search, if you aren't dumb, it's easy to replicate and re-use things. Cherry on top is to use a already good coded pack to avoid copy-paste crap and get bad habits. Avoid any type of russian or brazilian packs, for exemple - their best ability is to leak someone's else code. Obviously you need some default sense of logic, but Java and programming in general help you to improve it.   Finally, most of your questions could be solved joining related Discord (at least for aCis, I can't speak for others) - from the moment your question was correctly asked (and you seemed to search for the answer). My community (and myself) welcomes newbies, but got some issues with noobies.   The simpliest is to try, fail and repeat until you succeed - it sounds stupid, but that's basically how life works.   PS : about Java ressources, before ChatGPT, it was mostly about stackoverflow website, and site like Baeldung's one. With ChatGPT and alike, you generally double-cross AI output to avoid fucked up answers. Also, care about AI, they are often hallucinating really hard, even today. They can give you complete wrong answer, you tell them they are wrong, and they say "indeed, I suck, sorry - here's a new fucked up answer". You shouldn't 100% rely over AI answer, even if that can give sometimes legit answers, full code or just skeletons of ideas.   PPS : I don't think there are reliable ressources regarding L2J itself, also most of the proposed code decays pretty fast if the source code is actually maintained (at least for aCis). Still, old coded customs for old aCis sources are actually a good beginner challenge to apply on latest source.
    • WTS: - AQ - Baium - Zaken  - Frintezza - Vesper Fighter Focus Fire Element   pm for detalis
    • We have the best price! L2Reborn.org Signature x1 Franz NEW!! 1KK = $20 HURRY TO BUY AT THE TOP PRICE discord - adver745645
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock