Possible 0.9.80 save bug?
SingleSparq
Member Posts: 1,339
I'm thinking this is a bug cause I'm 90% sure this was working before the update but is anyone having Save issues?
Here's whats happening:
Go into game, get to 'Level Select' scene (this scene shows the scores and positions as text attributes so it's Displaying ScoreA, ScoreB ScoreC and ScoreD (B,C and D are locked at first)
You play Level A and come back to this Level choice screen - all looks good - Score A is showing the proper score the rest are 0 - All is good.
Click the back to menu button to the main screen (this is where the saved scores and positions are loaded) - go back to the Level select screen and ScoreC and ScoreD are now the same as ScoreA.
Now I know this is occurring at the load screen as I put a Display text attribute for ScoreC to see if it changed there and it does. So you would think "Well SS, you've had too much to drink! you've got the ScoreA loading key is going to the C and D attribute" - BUT ITS NOT!!
The only way I can see this happening is if ScoreA was being saved to ScoreC and D and therefor loading the same Score - but there is no Save for scores happeing in these 2 scenes
I've checked all possible settings and they are correct. The save keys match, the attributes match, the display texts match. So am I going mad or can I classify this as a bug?
Here's whats happening:
Go into game, get to 'Level Select' scene (this scene shows the scores and positions as text attributes so it's Displaying ScoreA, ScoreB ScoreC and ScoreD (B,C and D are locked at first)
You play Level A and come back to this Level choice screen - all looks good - Score A is showing the proper score the rest are 0 - All is good.
Click the back to menu button to the main screen (this is where the saved scores and positions are loaded) - go back to the Level select screen and ScoreC and ScoreD are now the same as ScoreA.
Now I know this is occurring at the load screen as I put a Display text attribute for ScoreC to see if it changed there and it does. So you would think "Well SS, you've had too much to drink! you've got the ScoreA loading key is going to the C and D attribute" - BUT ITS NOT!!
The only way I can see this happening is if ScoreA was being saved to ScoreC and D and therefor loading the same Score - but there is no Save for scores happeing in these 2 scenes
I've checked all possible settings and they are correct. The save keys match, the attributes match, the display texts match. So am I going mad or can I classify this as a bug?
Comments
I went over and over the rules, but couldnt find any reason why it would be doing this. In the end, the only thing i could think of was that somehow the score updating wasnt getting enough time to do the saves before the next rule kicked in, so I added a short timer. So far, Im no longer seeing the dodgy double score, but Im not convinced 100% that its fixed.
The fact that it wasnt a consistent bug, and only happened every so often makes me think it could still be in there... but at least its not showing up in testing anymore... so far!
there are a lot of 'bugs' like these that pop up with every release due to them increasing the performance of the back engine. most of the time the engine is just processing stuff too quick and require a timer to make sure it completes.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Of the 4 attributes, Score A and ScoreB let me click in the name and enter a change with no pop up window. If I click on the C or D (the ones giving me trouble) I get the expression pop up window - I find that rather odd. Going to replace them and see
SO if anyone is having an issue where your scores are getting duplicated into other score attributes - check your loading attribute where you type the key - IF it pops up when you click on the text instead of just highlighting the text (like you hit the expression 'e') then replace it or duplicate one that doesn't do that and add the proper key info.
Thanks guys - you may not have had the answer but you pushed me to look further at the loading area.
Other than that, I found my load/save errors to be entirely my fault!
QS :O
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Cheers.
SO if anyone is having an issue where your scores are getting duplicated into other score attributes - check your loading attribute where you type the key - IF it pops up when you click on the text instead of just highlighting the text (like you hit the expression 'e') then replace it or duplicate one that doesn't do that and add the proper key info.
Cheers.