Closed Igneous01 closed 6 years ago
Potentially easy way to do this - have the DB update the players lives only for players that are NOT ONLINE.
For the players that are currently online, have a scheduled function run on the mission script side that updates all lives by 1 when the timer completes.
This is probably the simplest and easiest way to solve this problem without over-engineering the solution and creating maintenance burden.
Tested various scenarios - confirmed fix works
When a player gains a life, that data is not sent back to game to update their life count. It seems the only way a player can regain their lives is by leaving the game and waiting a few hours and getting back on again.