-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Use boost for JSON parsing #923
base: master
Are you sure you want to change the base?
Conversation
Ship view does not appear THAT broken to me. This does not seem to have any influence on actually flying around. I think we should fix any obvious problems with the game before merging, though. It is the best time, after all. |
Take a look at the console. Because the various stats are saved as x/y/z, the python script is unhappy.
I agree. However, this is not the right repo. You can test everything else |
Merged in that fix for the turning response, and now of course it is fixed. I had a root around the ship view, and it appears OK. Also flew around a bit. Will do a little more testing, but so far this one looks good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ship view looks normal to me.
I had a few battles, and the ships there also looked pretty normal.
New Campaign had no new issues.
Able to trade goods, and it all looks normal.
I do see some syntax warnings in the console, but it does not seem to affect the game. |
Please post them here and I'll check if they're relevant. It looks like there's more work to support Windows and CodeQL has some issues, so there will be at least one more commit. |
These are the errors that I am seeing in the console:
|
I just took a look and these are indeed errors in the python scripts. For some reason, VS is now printing them, but they were always there. Consider the first error in the string: "CEPHID SECURITY INITIATIVE GIVES TRAINING FOR FLIGHT SAFETY\\The ..." I extracted this to a simple python program:
and got the same warning. For now, I don't plan to fix this, as there may be something I'm missing. The game is publishing this string to C++. I'll need to do some more digging. |
It looks like the first warning gets triggered by finishing the tutorial. Can you confirm this? |
Hi there! Firstly, what I am testing: Using the current master of Assets, with task_more_config applied I see these errors pop up when starting the game. Not loading any game or starting a new campaign, just loading the game and exiting. Of course, the more you play, the more these errors appears. |
Remove Suse 15.2 and 15.3 - too old. Fedora versions before 39 are possibly too old to support boost json. There's no version history because these versions are out of support.
Restore jammy and focal
- code ql - restrict to run on ubuntu 24.04. ubuntu-latest includes focal and jammy. - gh-actions-pr.yml - add sudo to bootstrap - vcpkg.json - add json. Prevent fail on windows - boostrap - remove jammy and focal again. Turns out they use boost 1.74.
in github-actions. Remove old OSes.
@BenjamenMeyer take a look at CICD build (rockylinux). For some reason, all Linux distros use the apt-get of Ubuntu Noble. I don't even know what we're testing here. |
Looks like Windows is failing the builds on the Boost version as it has a newer version than expected. |
This PR replaces singleson (json.*) with the standard boost JSON facilities.
Note: this still parses a text only JSON. We should move away to a proper JSON with types.
Please answer the following:
Code Changes:
Issues:
Fix #688