Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No flight controls after loading a saved game from a new campaign. #924

Closed
evertvorster opened this issue Dec 3, 2024 · 5 comments · Fixed by #926
Closed

No flight controls after loading a saved game from a new campaign. #924

evertvorster opened this issue Dec 3, 2024 · 5 comments · Fixed by #926
Assignees
Labels
Milestone

Comments

@evertvorster
Copy link
Contributor

I noticed this on a later branch review, and did some digging.

Commit a7c8bb7 into master is what introduced this issue.

To trigger the bug, start a new campaign, and then save your game. Exit VS, then start it up again.
Load your saved game, and take off from Atlantis.

All flight controls will be gone, and you won't be able to turn your ship.

@evertvorster
Copy link
Contributor Author

Some more information:
Tested the various commits against the latest master of Assets.
Commit f89b525 was working fine, and displays a turning response of 3.49 for your brand new refurbished Llama when starting a new campaign.

Saving this game and loading it back you have full flight controls.
When testing commit a7c8bb7 in the same way, turning response now reads 0. If you just take off, your ship has flight controls. However, if you save the game, exit VS and then start it up again and load that saved game, you have no flight controls.

My apologies for missing this one in testing, I will update my testing script to ensure that something like this does not slip through again.

@royfalk royfalk self-assigned this Dec 4, 2024
@royfalk royfalk added the bug label Dec 4, 2024
@royfalk
Copy link
Contributor

royfalk commented Dec 5, 2024

We've seen this bug already and I remember fixing it. It's basically #909. I've fixed the loading but not the saving.

@royfalk royfalk mentioned this issue Dec 5, 2024
1 task
@evertvorster
Copy link
Contributor Author

OK, just remember that I was testing the master branch for this bug.
As all the other branches currently up for testing is based at least in part on the master branch, I can't really do significant testing of those branches until this bug is fixed in master.

Not quite sure that it is the same bug as #909, as this one shows a turning response of 0 even when starting a new campaign.

Unfortunately, I used this copy of the game engine to save over one of my older saved games, and once I loaded that, all flight controls on that ship was also gone. I double check with an even older copy of that game, and when loading that, I had proper flight controls.

So, it is definitely not saving the game properly.

@evertvorster
Copy link
Contributor Author

That PR definitely fixes the issue, so closing this bug. Thanks for the effort that you put in!

@royfalk
Copy link
Contributor

royfalk commented Dec 5, 2024

Reopening the issue. Merging the linked PR will close this as well.

@royfalk royfalk reopened this Dec 5, 2024
@royfalk royfalk mentioned this issue Dec 7, 2024
1 task
@BenjamenMeyer BenjamenMeyer added this to the 0.10.x milestone Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants