Hi everyone ;)
I trying to avoid problems with data saving.
Plugin which i'm creating/rewriting will have around 20 classess + level system.
For each class i have to save:
Code:
Player exeprience | Point 1 | Point 2 | Point 3 | Point 4 | Player name
Data will be saved on steam id. Current nvault key is steam-classid
Server will have around 4000 players ( based on statsx top15 counter ).
4000 players, and let's say every player uses every possible class, that is around 80000 lines of data.
Main problem is that i don't have ability to use web sites/my sql bases, etc.
Everything must be stored on server.
Furthermore in future i'm planning to add top15 (probbably use this snippet if i decide for nvault -
https://forums.alliedmods.net/showthread.php?t=184654 )
Currently i'm using nvault for data (without player name), and ini file for top15 rank which is loaded into array on every mapchange and sorted on every /top15 call (arraysort);
In ini file i save only the player class with highest level. One player, one line in file.
I searched a lot, and found out that war3 plugins use nvault for every class.
Is that better, instead of one vault?
Does anyone have any suggestions?
btw plugin which i'm rewriting is badly coded, and it crashes the server
http://forums.alliedmods.net/showthread.php?p=1406163