Skip to content

fix: check CpUtil.getName parameter#991

Merged
Tensuko merged 2 commits into
mainfrom
990-loading-error-at-89-game-stays-at-that-percentage-indefinitely
Aug 5, 2025
Merged

fix: check CpUtil.getName parameter#991
Tensuko merged 2 commits into
mainfrom
990-loading-error-at-89-game-stays-at-that-percentage-indefinitely

Conversation

@pvaiko
Copy link
Copy Markdown
Contributor

@pvaiko pvaiko commented Aug 3, 2025

Looks like this function is called with a number in place of the vehicle during the game load sometime.

Since this is called every time we are logging the vehicle's name, we have no idea which is the bad call.

Add a check and print the callstack so we can identify the location. This will also mask the error, so if there is no other problem, people will not report it, and we'll never find out...

Looks like this function is called with a number in
place of the vehicle during the game load sometime.

Since this is called every time we are logging the
vehicle's name, we have no idea which is the bad call.

Add a check and print the callstack so we can identify
the location. This will also mask the error, so if there
is no other problem, people will not report it, and we'll
never find out...
@pvaiko pvaiko requested a review from Tensuko August 3, 2025 10:25
@pvaiko pvaiko self-assigned this Aug 3, 2025
@pvaiko pvaiko linked an issue Aug 3, 2025 that may be closed by this pull request
Fixed call to infoVehicle to log vehicles with more than
one pipe.

#991
@Tensuko Tensuko merged commit f870258 into main Aug 5, 2025
2 checks passed
Tensuko added a commit that referenced this pull request Aug 9, 2025
- ModHub Release
- fix for #991
- fix for #993
- final changes for plows #972
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loading Error at 89% Game stays at that percentage indefinitely

2 participants