Raised This Month: $51 Target: $400
 12% 

String Encrypting Method


Post New Thread Reply   
 
Thread Tools Display Modes
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 08-22-2017 , 15:02   Re: String Encrypting Method
Reply With Quote #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 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-22-2017 , 21:57   Re: String Encrypting Method
Reply With Quote #22

Quote:
Originally Posted by siriusmd99 View Post
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.
New topics should ALWAYS be in a new thread. This is how forums are designed to work.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode