Raised This Month: $32 Target: $400
 8% 

Load CVARS from DB


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 04-06-2006 , 20:08   Load CVARS from DB
Reply With Quote #1

Hi all; after searching for a plugin that will load cvars from a db... the only thing close was : http://forums.alliedmods.net/showthread.php?t=5751 and that was never published + it is a hella old topic.

So I thought I'd start by first asking if this is even possible... can cvars be loaded from a db? If so and someone is up to the challange, I'd like the plugin to handle the following info:
  • plugin, cvar, value, state (active/innactive), server
    (all varchar??)
the plugin first checks to see if the server being handled is the correct one (maybe a define in the sma where if the server = 0, then the values are passed to all servers, if anything greater than 0, then only the cvars with the server field equal to the defined value will be read, then check the state field first to see if it is set to active, if so then it will pass to the game server the cvar and value results.

simple, clean neat.

criticisms and additional suggestions welcome.
__________________
pendragon is offline
Send a message via ICQ to pendragon
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 04-13-2006 , 18:51  
Reply With Quote #2

el bumpo
pendragon is offline
Send a message via ICQ to pendragon
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode