The game states seem to be desynched between host and players on my world. So a player joins and they gain my "history state", but if they run any scripts to alter theirs or system history, it does not appear on my end (host end) but does appear for the player that ran it and therefore is lost once the player leaves the game. It might be how Im running the scripts, Ill give an example of how they work below:
Script1_lua
set_history("type", 32)
Script2_lua
set_history("type", 64)
Script3_lua
local type = get_history("type")
add_history( type .. "/complete", 1)
So basically script3 will add to a certain type folder depending on whtether you ran script 1 or 2. i.e 64/complete or 32/complete
Not sure if the script structure is the reason they are desynched or not, because I've had similar issues before but it was only with join scripts (or so I thought)