I just want to confirm if someone else are having problem with SaveConfig after the update 2.0.266?
It creates the default config but does not save a updated one.
Fixed Plugins not being able to saveConfig
Discussion in 'Rust Discussion' started by NexusBR, Feb 7, 2015.
-
Wulf Community Admin
There seems to be an issue with it from what I've tested. We're looking into it to see what happened.
[DOUBLEPOST=1423347143][/DOUBLEPOST]Edit: They actually appear to be working just fine. My plugins are adding to and saving updates just fine. -
I just tested my the modified versions that you posted.
And none are saving config.
Or anyone that i modified.
None of my plugins are saving the updated self.Config.Variable to the files.
The config files are not being modified.
Did you really checked if the file configs changed?
I'm using Windows 8.1, i don't know if that really matters. -
Wulf Community Admin
Code:self:SaveConfig()
-
No errors.
And still none of my plugins are saving as was before 266 -
Wulf Community Admin
-
Does this "Added DynamicConfigFile path restriction to prevent placing config files anywhere" could have anything todo?
-
Wulf Community Admin
-
The most simple plugin that you can test is the Admin Door Unlocker, http://oxidemod.org/attachments/admin-door-unlocker-lua.6152/ that you posted.
[DOUBLEPOST=1423349574][/DOUBLEPOST]
[DOUBLEPOST=1423349661][/DOUBLEPOST]Download admin door unlocker and run on console: adu.toggle and see if the config file changes.
I tested tons of times with all my plugins and none worked.
Maybe this is a Windows 8.1 issue with the new update, I don't really know, But it was working before the last update, That is for sure. -
Wulf Community Admin
-
Because was an error with the last update.
Try change the line 122 from self:Log("[" .. self.Config.Settings.ChatName .. "] " .. message ) to print("[" .. self.Config.Settings.ChatName .. "] " .. message )
[DOUBLEPOST=1423350475][/DOUBLEPOST]I just tested on a server running an older version of Oxide.
And it saved the file normally. -
Wulf Community Admin
-
Anyways, i did downgraded Oxide to the previous version and the files saved just fine.
-
Wulf Community Admin
[DOUBLEPOST=1423352804][/DOUBLEPOST]Fixed in upcoming snapshot and release. -
-
Wulf Community Admin
-
I tested again with the newest update, And are still working.
If "Added support back for null JSON type, as it turns out it wasn't causing any issues." is not the problem what was? -
Wulf Community Admin