Raised This Month: $51 Target: $400
 12% 

Syncing the Item Settings via MySQL?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 08-10-2012 , 09:07   Syncing the Item Settings via MySQL?
Reply With Quote #1

Hello,

as I am currently developing a Menu to give Donators some special Hats (with changed Attributes), I am looking for a way to save the Settings into a MySQL Database.
The Reason is that they should have the same settings on all Servers, and syncing the tf2items.weapons.txt is a bit too complicated.

Is there anyway to do this?
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 08-10-2012 at 10:42.
pcmaster is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-10-2012 , 10:18   Re: Syncing the Item Settings via MySQL?
Reply With Quote #2

The tf2items manager plugin would have to be rewritten to use MySQL.
__________________
DarthNinja is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 08-13-2012 , 11:47   Re: Syncing the Item Settings via MySQL?
Reply With Quote #3

Quote:
Originally Posted by pcmaster View Post
Hello,
Is there anyway to do this?
Yes. Create a database, have the plugin save/insert values into it when a client disconnects, and load them when a client connects.

It's not a difficult concept.
Afronanny is offline
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 08:52.


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