News:

New Admins: Be sure to read through the Clan Resources forum for admin tips.

Main Menu

Config help

Started by SpamDaddy!, April 15, 2018, 03:15:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpamDaddy!

No idea what the deal is as this has never happened before but every time I die and respawn on my home computer playing TFC my settings revert back to default. Any idea what could be causing this?

bIGPIng

#1
can happen if you have changed => autoexec.cfg

Bishop

No configs automatically run after you die.

Autoexec.cfg runs when you start TFC then config.cfg runs.

Map configs run when the map changes.  This includes mapdefault.cfg followed by the map specific config (when enabled) e.g., 2fort.cfg.

Class configs runs when you pick or change class (e.g., spy.cfg).


pizzahut

Quote from: Bishop on April 15, 2018, 05:29:26 PM
No configs automatically run after you die.
Depends on how Sparky is configured client and server side. But you'd have to deliberately put something like

alias strigger_die "exec default_binds.cfg"
alias strigger_spawn "exec default_binds.cfg"

into any of your configs (e.g. autoexec, sparky, userconfig).

Also, when I (re)supply, I always get rid of excess ammo (unless playing engi). So something like this could do it as well:

bind x reset_cfg
alias reset_cfg "discard;exec default_binds.cfg;bind x reset_cfg"

But it's unlikely that any of this got into SpamDaddy's config.

SpamDaddy!

#4
Thanks for all the info guys, here is my actual config:

// This file is overwritten whenever you change your user settings in the game.
// Add custom configurations to the file "userconfig.cfg".

unbindall
bind "TAB" "+showscores"
bind "ENTER" "+attack"
bind "ESCAPE" "cancelselect"
bind "SPACE" "+jump"
bind "'" "+moveup"
bind "+" "sizeup"
bind "-" "sizedown"
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 "[" "say GOTCHA"
bind "\" "+showscores"
bind "]" "say ROFL"
bind "`" "toggleconsole"
bind "a" "+moveleft"
bind "b" "changeclass"
bind "c" "dropitems"
bind "d" "+moveright"
bind "e" "+use"
bind "g" "+gren2"
bind "h" "feign"
bind "i" "flaginfo"
bind "j" "sfeign"
bind "m" "+det5"
bind "n" "changeteam"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "messagemode2"
bind "v" "+moveup"
bind "w" "+forward"
bind "x" "discard"
bind "y" "say RTV"
bind "z" "saveme"
bind "~" "toggleconsole"
bind "BACKSPACE" "messagemode"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+moveleft"
bind "RIGHTARROW" "+moveright"
bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "SHIFT" "+commandmenu"
bind "F5" "snapshot"
bind "F10" "quit prompt"
bind "F12" "snapshot"
bind "INS" "messagemode2"
bind "PGDN" "+lookdown"
bind "PGUP" "+lookup"
bind "END" "centerview"
bind "KP_HOME" "+use"
bind "KP_LEFTARROW" "discard"
bind "KP_END" "+duck"
bind "KP_DOWNARROW" "+voicerecord"
bind "KP_INS" "+jump"
bind "MWHEELDOWN" "invnext"
bind "MWHEELUP" "invprev"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+gren2"
bind "MOUSE4" "+gren1"
bind "MOUSE5" "+gren1"
bind "PAUSE" "pause"
_snd_mixahead "0.1"
ati_npatch "1.0"
bgmvolume "1.000000"
bottomcolor "6"
brightness "1.700000"
cl_allowdownload "1"
cl_allowupload "1"
cl_backspeed "400"
cl_cmdbackup "2"
cl_cmdrate "350"
cl_dlmax "128"
cl_download_ingame "1"
cl_forwardspeed "400"
cl_gibcount "4"
cl_giblife "25"
cl_gibvelscale "1.0"
cl_himodels "0"
cl_idealpitchscale "0.8"
cl_lb "0.0"
cl_lc "1"
cl_logocolor "#Valve_Red"
cl_logofile "camp1"
cl_lw "1"
cl_mousegrab "1"
cl_timeout "300"
cl_updaterate "100"
cl_vsmoothing "0.05"
con_color "255 155 50"
con_mono "0"
console "1.000000"
crosshair "1.000000"
fps_max "300"
gamma "2.500000"
gl_dither "1"
gl_flipmatrix "0"
gl_fog "1"
gl_monolights "0"
gl_overbright "0"
gl_polyoffset "0.1"
gl_vsync "0"
hisound "1"
hpk_maxsize "15.4"
hud_capturemouse "1"
hud_centerid "0"
hud_classautokill "1"
hud_draw "1"
hud_fastswitch "0"
hud_takesshots "0"
joystick "0"
lookspring "0.000000"
lookstrafe "0.000000"
m_customaccel "0"
m_customaccel_exponent "1"
m_customaccel_max "0"
m_customaccel_scale "0.04"
m_filter "0"
m_forward "1"
m_mousethread_sleep "10"
m_pitch "0.022000"
m_rawinput "0"
m_side "0.8"
m_yaw "0.022"
model "gordon"
MP3FadeTime "2.0"
MP3Volume "0.8"
mp_decals "300.000000"
name "SneakyBastard"
net_graph "0"
net_graphpos "1"
net_scale "5"
r_detailtextures "0"
sensitivity "13.950000"
skin ""
suitvolume "0.250000"
sv_aim "0"
sv_voiceenable "1"
team ""
tfc_newmodels "1"
topcolor "30"
viewsize "110"
voice_enable "1"
voice_forcemicrecord "1"
voice_modenable "1"
voice_scale "1"
volume "0.800000"
setinfo "_pid" "S1.9987831"
+mlook
+jlook
exec userconfig.cfg

pizzahut

Nothing suspicious in your "config.cfg".

Since you said it never happened before, does the problem persist or did it go away?

If it's still happening, is it only on Battlezone or also on other servers?

If it's on Battlezone only, type alias into console and copy / paste the output.

SpamDaddy!


Nuggs

#7
Do you have class specific.cfg files?

I don't understand what you mean by "getting killed rests my config to default". Are you saying every time you die your configs are changed or you can't respawn?

I'm guessing you added some whack scripts to your class specific config files as nothing else really makes sense. You could also try right clicking on your config files and making them read only so the game engine cannot over write them.

Nuggs

For anyone else reading this in the future we figured out the issue.

Configs weren't resetting with each death, just FOV.

This was fixed by editing the default_fov setting