Raised This Month: $ Target: $400
 0% 

nVault data switching


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 05-22-2020 , 18:51   Re: nVault data switching
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
There's a possibility that the death(s) remain there from the previous player on that slot. nvault_get_array() only fills the array if the player has data stored. So the below sequence of events would cause a connecting player to have data from the previous player.

1. Player A on slot 1 had 4 deaths. They disconnect.
2. Player B connects on slot 1. They have no data stored in the vault so nvault_get_array() essentially does nothing.
3. Player B has Player A's data leftover in pdData array.
I had the same theory.
I will test your way.
You should apply this update at this tutorial:
https://forums.alliedmods.net/showthread.php?t=307518
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 05-22-2020 at 18:52. Reason: Some Grammar.
Shadows Adi 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 17:15.


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