SA-MP Forums Archive
MYSQL save - 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)
+--- Thread: MYSQL save (/showthread.php?tid=313371)



MYSQL save - Ricop522 - 25.01.2012

Fixed!


Re: MYSQL save - T0pAz - 25.01.2012

I am in same problem. Waiting for a positive response.


Re: MYSQL save - milanosie - 25.01.2012

Well, It depends on some things:

Is it a remote MySQL server or on the same network as the host?

MySQL will ALWAYS be faster and less laggy then Normal file saving (ini, and most cases(not all) SQLite)

I recommend you to get a MYSQL server on the same network you are hosting your server at, otherwise it might get laggy since it needs to wait longer for a respond time.

Hope this helped you


Re: MYSQL save - Ricop522 - 25.01.2012

Thanks for the answer. I'll try some tests.


Re: MYSQL save - MorbidSaint - 25.01.2012

Can't you add all players to an array and make a timer save them one by one with an interval of 2 milliseconds? (not tested)


Re: MYSQL save - milanosie - 25.01.2012

Quote:
Originally Posted by MorbidSaint
Посмотреть сообщение
Can't you add all players to an array and make a timer save them one by one with an interval of 2 milliseconds? (not tested)
If you have 100+ players this will produce a lot of lag.. better off making it all in one I think