Mysql Code Snippet?
hey all,i would like to start coding a plugin loading cvars & stuff from mysql so like server.cfg wouldnt be needed anymore...
I've looked through the forums can't find anything like it... Any Code Snippets?PLugins?anything? Thx, Bruce |
Will have a version for you by tonight. I want this for my own server! Cheers!
|
|
Thats not really it...
|
I believe he wants just a server.cfg -> sql version. This I am working on. It wasn't as easy as I thought it would be. Soooo...as well I want to make it just basic version where you can add in your own variables. And change them as well. So I'll work on it today at work and test it tomorow night as Im busy tonight.
Cheers! |
Yeah i did that too ... looked at old AMX plugins to understand how to read from mysql...so what i did is a plugin that reads CVARS from mysql...
But what i would really need is a bit of code to show me how to write to mysql.. Thx |
Zor, what freecode posted is exactly it :)
You can disable all the stuff like loading plugins, modules, etc by changing a cvar :) The only different thing I would see is if he didn't want to use the web interface.. in which case you would have to create plugin functions to do that stuff |
Yeah thats the plan. I think he just wants a basic cvar plugin. Which is easy, but for the time!
Heheheh Almost done. |
Ok...I've got a basix one for testing...anyone interested> Anyway I'll upload it and let ppl crap it out! LOL! Nah gona test it now...
|
/me is deffo intrested if i can hook up multiple servers to it
|
| All times are GMT -4. The time now is 17:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.