AutoExecConfig not creating file
AutoExecConfig is not creating the config file all of a sudden.
It worked fine one day ago, then recently I wanted to reset it so I deleted the .cfg file. Now it won't recreate one when I restart the server. My code: Code:
public void OnPluginStart() { Another issue is that the connection to a database is not working. So it would seem that the plugin is not initiating properly. Which is really weird.. EDIT When in-game and doing sm_cvar my_cvar it finds the cvar and its value. So the CVars are being created, but not the actual config file somehow... |
Re: AutoExecConfig not creating file
So after some more testing on another PC. It seems that if I delete the cfg-files and restart the server, the cfg won't re-generate. Some kind of caching? Is this something anybody else experienced?
|
Re: AutoExecConfig not creating file
https://sm.alliedmods.net/new-api/so...AutoExecConfig
And convars created with flag FCVAR_DONTRECORD, not save in config file. |
Re: AutoExecConfig not creating file
Quote:
|
Re: AutoExecConfig not creating file
Quote:
|
Re: AutoExecConfig not creating file
Sorry
|
Re: AutoExecConfig not creating file
I'm still having issues with this. Anyone know what this might be because of?
I even tried changing what .cfg name it should create and it never got created. Quote:
|
Re: AutoExecConfig not creating file
SOLVED
This was needed nowadays: Code:
AutoExecConfig_SetCreateDirectory(true); |
All times are GMT -4. The time now is 06:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.