Thread
:
client_disconnected() <-> plugin_end()
View Single Post
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
05-23-2019 , 15:10 Re: client_disconnected() <-> plugin_end()
#
21
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
You're right Metalicross
meTaLiCroSS
View Public Profile
Send a private message to meTaLiCroSS
Find More Posts by meTaLiCroSS