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

client_disconnected() <-> plugin_end()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-23-2019 , 15:10   Re: client_disconnected() <-> plugin_end()
Reply With Quote #22

Your mistake is you are saving all data when client disconnects, when it must be saved a few seconds later a data is changed. Then you can assume is not needed to re-save data on disconnect (and avoid this) and your data would be safe from a random crash, which wont call any data save function from your addon. In summary, refactor your save code, it must get a bit complex to make it work as expected.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
 



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 10:21.


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