AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Mysql Code Snippet? (https://forums.alliedmods.net/showthread.php?t=5661)

hellraser 09-08-2004 13:09

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

Zor 09-08-2004 16:06

Will have a version for you by tonight. I want this for my own server! Cheers!

Freecode 09-08-2004 16:13

http://forums.alliedmods.net/showthread.php?t=5465

hellraser 09-08-2004 17:39

Thats not really it...

Zor 09-09-2004 07:09

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!

hellraser 09-09-2004 15:53

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

devicenull 09-09-2004 19:45

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

Zor 09-10-2004 18:49

Yeah thats the plan. I think he just wants a basic cvar plugin. Which is easy, but for the time!

Heheheh

Almost done.

Zor 09-16-2004 00:07

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...

SaintK 09-29-2004 12:50

/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.