ItsMods
[Request] CFG Access - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Request] CFG Access (/Thread-Request-CFG-Access.html)



CFG Access - SuperNovaAO - 01-02-2012

@Nukem, please add a some commands to read and write to the global CFG file so not every plugin uses its own functions to do this.


RE: CFG Access - JariZ - 01-02-2012

It's not that hard to do it yourself...
But okay, would be useful I guess


RE: CFG Access - SuperNovaAO - 01-02-2012

Well, if two plugins try to write at the same time one will raise an access violation and probably the entire server crashes due to that.


RE: CFG Access - Nukem - 01-02-2012

(01-02-2012, 04:32)SuperNovaAO Wrote: Well, if two plugins try to write at the same time one will raise an access violation and probably the entire server crashes due to that.

Ah did not even think of that, thanks for the suggestion


RE: CFG Access - JariZ - 01-02-2012

@SuperNovaAO OK, true dat


RE: CFG Access - SuperNovaAO - 01-06-2012

I see this has been added in the meantime?


RE: CFG Access - Nukem - 01-06-2012

(01-06-2012, 03:31)SuperNovaAO Wrote: I see this has been added in the meantime?

Yes,
Code:
GetServerCFG() SetServerCFG()

edit: might as well close the thread