AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Data Storage (https://forums.alliedmods.net/showthread.php?t=209125)

ProIcons 02-21-2013 14:32

Data Storage
 
So i'm searching for a way to store some VERY Detailed stats about users for each round to a SQL Server. So My thoughts where , to store them in arrays and at the end of the game to store them in my MySQL Database. But i dunno if arrays are the perfect solution for this. So i also thought to store them in JSON Format. But still they are SO Much stats it would make a HUGE json string to proccess after that... So any ideas ?

A Clue about how detailed they are is that Psychostats are not detailed enough in compare to mine...

EDUTz 02-21-2013 19:42

Re: Data Storage
 
You can store them in arrays and save to mysql when leaving the game and periodicaly. I have bad experience with saving at the end of the map, expecialy when the data is large.

fysiks 02-21-2013 21:30

Re: Data Storage
 
If you are using a database then JSON is irrelevant. JSON is a human readable method for storing data which is not what you need and is certainly has nothing to do with arrays.


All times are GMT -4. The time now is 21:39.

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