Raised This Month: $ Target: $400
 0% 

FVAULT nullifies saved strings in txt problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
condoriano90
Member
Join Date: May 2020
Old 06-10-2020 , 05:34   Re: FVAULT nullifies saved strings in txt problem
Reply With Quote #1

Try logging (amx_log or something) after fvault_get_data and fvault_set_data and check the log files after a couple days to see when exactly the data becomes "0 0 0" then you can proceed from there
condoriano90 is offline
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 06-11-2020 , 05:24   Re: FVAULT nullifies saved strings in txt problem
Reply With Quote #2

Quote:
Originally Posted by condoriano90 View Post
Try logging (amx_log or something) after fvault_get_data and fvault_set_data and check the log files after a couple days to see when exactly the data becomes "0 0 0" then you can proceed from there
Orgasm.

Problem was in client_disconnected() which calls a double save sometimes, and the second save has "0 0 0" sequence because it's getting in-game data for a client while he isn't in server so it probably returns 0. Also I would suspect client_disconnected() might be executed more than once to a player when they have to download a server resource on map change even if they're not a newcomer thus causing the problem there too.
__________________
Quote:
Originally Posted by Kakarot47 View Post
There is no bug. with 100% gurenty

Last edited by hellmoss; 06-11-2020 at 05:25.
hellmoss 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 16:55.


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