View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 07-02-2014 , 02:33   Re: Settings API (load/save data to INI files)
Reply With Quote #13

Quote:
Originally Posted by devilicioux View Post
Firstly Good Job ..

I got 3 queries ..

1. Comparing it with plugins using nvault scenario ?

Its well know fact that nvault is not suitable for use with Mods (Like point mods,Xp mods) which store and fetch huge user data .. So is this going to be any better in efficiency and data fetching speed ?

2. What if i use 2 different plugins to read the same ini file at the same time .. Will that gonna be a problem ?

3. Okay I have my Cpanel .. and i have a plugin installed that is reading and writing data to this INI file.. in the meanwhile i open up the ini file for editing externally from cpanel .. Now what ? Data loss ?
1. I think you misunderstood the purpose of this API. It's for settings, not for data storage.
2. Impossible. HLDS is single-threaded. One plugin cannot use it before the one before is done.
3. Probably related to the misunderstanding.
__________________
Black Rose is offline