Thread
:
String Encrypting Method
View Single Post
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
08-22-2017 , 15:02 Re: String Encrypting Method
#
21
Ok, thanks much for the info. I have last question. It's kinda offtopic but i don't want to create new topic for it.
How can i save and load players data from sql?
I must load Database on server start and save data to tries and arrays ?
Like saving players steamids and their weapons data to arrays and then setting data from arrays back to sql on plugin end.
Or is it better to load/save data on player connect/disconnect?
I am kinda confused because both methods sound unreliable to me.
I have seen different topics with problems saving data to SQL on plugin end.
I saw that must plugins are using global handle of sql connection and releases it on plugin end.
But i don't understand. If handle is global and there are 2 players connecting at the same time then how handle works in this case for both players at the same time, is it safe?
Last edited by siriusmd99; 08-22-2017 at
15:02
.
siriusmd99
View Public Profile
Send a private message to siriusmd99
Find More Posts by siriusmd99