Author Topic: Script_Player_Persistence  (Read 1859 times)

the other one is missing

What is Player Persistence supposed to do?

What is Player Persistence supposed to do?
Saves stuff like score, position, inventory, health, and player datablock when a person disconnects and loads it when they reconnect. Would see most utility in a big RPG-like server but most of those use their own system anyway. If it could be set to save only client data then it could work as a good score and stat saver in servers where players spend points, but such is not the case. Most of the use it sees is when people turn all their add-ons on despite having no idea what they do.

some of the gamemodes require it, and they work fine (even when it was screwing up at the loading screen, the other gamemodes had no issues). i think i know what caused that glitch, the night it started happening i had previously played with the spacebuild mod, and i stood on the smallest piece of gravity plate, it started glitching so i closed the whole game down, i think the script remembered this and was trying to restore my game to this point but i had removed the spacebuild addon becouse it was annoying as hell anyway. when i started another custom game (this time without the spacebuild addon it still glitched. so i removed the game via steam, the next day i re-installed the game and it continued to have the same glitch that was when i singled out the script_player_persistence addon as the problem. so maebe it saved some currupt data and wasn't able to look past it? for some reason pressing f7 when the glitch accurs fixes the problem and it hasn't shown up since.

If you manage to recreate the bug and post the resulting persistence file (999999.txt), you might help us locate the issue. As it stands, the file you uploaded appears to be normal, presumably because you fixed it with F7 before it was last saved.

It actually kinda makes sense, the spacebuild mod may have let his player go below the ground plane. So when persistence saved that and attempted to load it without the spacebuild mod, he was basically just stuck underground.

So the reasonable solution is for persistence to automatically disregard the position save if it's below the ground.