20.09.2012, 19:06
Hello,
In use alot query's in my gamemode, but it just doesn't work right I think.
And thats why I'm going to edit to a more directly database gamemode or how i have to say that.
For example ,
Now, all player variables get loaded at connect and saved at disconnect.
What i want, that just a few variables get loaded and saved at connect and disconnect and the others get loaded and saved at cmd, so for example when I use /locker, it selects data from a table called player_locker and load it , and when I put something in my locker , it will get saved.
But the question is.
How much query's each x time will make my server lag?
Because for example when I have 50 online players, there will be alot of query's.
VPS info:
- 2048 MB RAM
- 4000 GB bandwith
- 2 CPU Cores
In use alot query's in my gamemode, but it just doesn't work right I think.
And thats why I'm going to edit to a more directly database gamemode or how i have to say that.
For example ,
Now, all player variables get loaded at connect and saved at disconnect.
What i want, that just a few variables get loaded and saved at connect and disconnect and the others get loaded and saved at cmd, so for example when I use /locker, it selects data from a table called player_locker and load it , and when I put something in my locker , it will get saved.
But the question is.
How much query's each x time will make my server lag?
Because for example when I have 50 online players, there will be alot of query's.
VPS info:
- 2048 MB RAM
- 4000 GB bandwith
- 2 CPU Cores