JBMod / jbmod

Official bug tracker and request tracker for JBMod
https://www.jbmod.com/
14 stars 1 forks source link

host_writeconfig seemingly does not work in the Linux client #28

Closed 0x5066 closed 1 year ago

0x5066 commented 1 year ago

Describe the bug When you've made changes to your config, doing host_writeconfig in the console claims it wrote to the default config, but on restart it doesn't happen. E.g., trying to change cl_downloadfilter to all results in it being reverted to mapsonly, even stranger is that JBMod does not read any new entries made in config.cfg to try to mitigate the issue, though that's a whole separate issue by itself.

To Reproduce Steps to reproduce the behavior:

  1. Change any convar, like cl_downloadfilter to all
  2. Do host_writeconfig to save out the config
  3. Restart JBMod
  4. cl_downloadfilter is now set to mapsonly again

Expected behavior Convars being set properly, I guess

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

TEAMJBMOD commented 1 year ago

Some security related cvars are set in autoexec.cfg which gets executed after your config and overwrites cl_downloadfilter and others. You can create a blank autoexec.cfg to disable them at your own risk.