x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

My autoexec isn't working, please help

Created 12th August 2015 @ 12:37

Add A Reply Pages: 1

Diplomatt

kW
6>9

Recently I deleted all my cfg files and went back to default so I could get broesel’s crosshair switcher. I kept a backup of my old files and put the autoexec back into the config folder but it no longer works (I have comanglia’s fps config in autoexec btw). When I type ‘exec autoexec’ into console it says unknown command.

Before anyone asks it definitely has .cfg and is in the correct folder. I have tried to verify game files twice.

Casino

Try “exec autoexec.cfg”

https://wiki.teamfortress.com/wiki/Scripting#Exec

If it says unknown command I would’ve thought the syntax of what you’re typing is wrong rather than anything being wrong with the file itself. I could be wrong though.


Last edited by Casino,

Diplomatt

kW
6>9

Quoted from Casino

Try “exec autoexec.cfg”

unknown command again

] exec autoexec.cfg
Unknown command “?”

Fuxx

I too have started having this problem even though I see no reason for it to be there.

] exec autoexec.cfg
Unknown command “?”

I don’t even have any weird characters and it refuses to execute any new commands I put into the file. I’ve tried creating another .cfg file and do for example “exec Fuxx” or “exec Fuxx.cfg” but the same Unknown command “?” appears.

It’s detecting the file, just refusing to do anything with it

R4ndom

Devon

Have you tried using the launch options -autoexec?

Diplomatt

kW
6>9

Quoted from R4ndom

Have you tried using the launch options -autoexec?

Didn’t work

retz

The issue is not with the cfg file.

My guess is that the exec command has been aliased to do “?”, which does nothing and that’s why it appears as an unknown command.

So I’m not sure on how you can revert an alias to its original command, but I think adding -autoconfig (not -autoexec) to your launch options might revert it, just make sure you remove the -autoconfig after you started the game once.


Last edited by retz,

repu

i dunno but try

alias “exec” “exec”

+exec autoexec.cfg in launch options

really no idea if any of above will work

quintosh

ITIFY
op_sqd

its +exec autoexec.cfg not -autoexec

post config plz

retz

Quoted from repu

i dunno but try

alias “exec” “exec”

+exec autoexec.cfg in launch options

really no idea if any of above will work

I tried doing alias “exec” “?” and then alias “exec” “exec” and when I tried using the exec command it just crashed, I tested it with other commands and it also crashed


Last edited by retz,

schocky

MAFIA

just delete your cfg and whole custom folder.
start+exit the game and then try it with your custom folder


Last edited by schocky,

Diplomatt

kW
6>9

Quoted from schocky

just delete your cfg and whole custom folder.
start+exit the game and then try it with your custom folder

Didn’t work and neither did any of the launch options

Diplomatt

kW
6>9

GUYS AFTER 2 DAYS I FUCKING DID IT

I copied my demoman.cfg and replaced the original with the graphics cfg and renamed that to autoexec.cfg. Then i renamed the demoman Copy.cfg to demoman.cfg and its all sorted. Thanks a lot for all the replies.

Add A Reply Pages: 1