Dini limits - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dini limits (
/showthread.php?tid=272006)
Dini limits -
Sreadon - 26.07.2011
Hello, it's again me.. I have a question about dini: what are the limits of this system? I have and I still continue to develloping a gamemode from scratch and I call dini in a lot of callbacks:
In:
OnGameModeInit : 2
OnPlayerConnect: 2, with IP detection.
OnPlayerSpawn: 2
OnPlayerDeath: 4
Personnal menus: ~6
Commands: I don't know, maybe 25..
Registration System: 2.
I have maybe forget some fonctions, but it's the most part of them.
For the moment, it work, but, with more players, can I run it without problems? I have created a dynamical stats system saving so, I don't know. And, if it isn't a good solution (dini), can you suggest me a faster system? For the moment my gamemode have 3500 lines.
Thank's.
Re: Dini limits -
alpha500delta - 26.07.2011
DJson or Y_ini are much faster and more efficient.
Anyway, I don't know if Dini has 'limits', I just think it starts to work very slow when you use big files.
Re : Dini limits -
Sreadon - 26.07.2011
Ok thank's, by "limits" I want to said play without system lags.
Re: Dini limits -
alpha500delta - 26.07.2011
Well, Dini laggs when you have big files (like I said above), but it also laggs when you use it with a timer (if done under 1/2 seconds or something (Most heavy functions and file systems tend to do that)), or under OnPlayerUpdate (very bad idea).
Re : Dini limits -
Sreadon - 26.07.2011
Ok thank's, and what do you think about DOF?