Openrct2: Leaving bumper cars without building causes assertion

Created on 13 Jul 2017  路  9Comments  路  Source: OpenRCT2/OpenRCT2

OS: Windows 10
Commit/Build: 0.1.1 build 3d48754

It's the second time something like that happens to me, I saved my park and quited ORCT2. When I reopened the game, the launcher update to version 0.1.1 build 3d48754 and when I tried to open the save on a server it crashed. I can't open this file or any other autosave, all files are corrupted.
Please, I beg you, can you fix this? I spend a lot amount of time on this...

  • [ ] Reproducible in RCT2 (vanilla)? I don't think so
  • [ ] Multiplayer? It crashed after updating to 0.1.1 build 3d48754 and trying to open a server with the save

Screenshots / Video:
https://images.discordapp.net/attachments/234774211330048012/334829179717550080/corru.png?width=400&height=230

Save game:
https://we.tl/oxLcSr2ZS8 you can download it from wetransfer

bug

All 9 comments

Your screenshot is super tiny - Drag and drop it onto a message here and GitHub will embed it for you,

@PFCKrutonium You can just strip the parameters from the URL to get a bigger version https://images.discordapp.net/attachments/234774211330048012/334829179717550080/corru.png

Crashes in vehicle_update_sound() - a ride with type RIDE_TYPE_NULL has gotten into the SV6 somehow, causing the assert on line 4886 to fire. The interesting question is how did that get there?

Update: SupraTheHedhehog fixed the file. Apparently it was because I used bumper cars and deleted the structure with tile inspector to only have the cars left. The game didn't liked that I guess.
Thank you for being so reactive.

Good to hear! We're still going to investigate though, we want to avoid it crashing.

I changed the label to bug, as this hits on our own asserts rather than simply crashing.

@Juloow provided comment on how we can try reproducing it, so now we can try making the behaviour correct.

Sci Fi Thing 2.zip
Re-upload in case download link goes invalid/gets removed

Dupe of #3375?

@janisozaur
Crashed when opening the park
Commit ff51d4a x86
Dump too large for Github

Error message;
Assertion error - File ride\vehicle.c - line 4886
Expression: ride->type<- countof(RideLifeData)

Call stack;

    [External Code] 
>   openrct2.dll!__acrt_MessageBoxW(HWND__ * hwnd=0x000e0a56, const wchar_t * text=0x0075f8fc, const wchar_t * caption=0x103a2ff8, unsigned int type=73746) Line 719    C++
    openrct2.dll!common_show_message_box<wchar_t>(const wchar_t * const text=0x0075f8fc, const wchar_t * const caption=0x103a2ff8, const unsigned int type=73746) Line 70   C++
    openrct2.dll!common_assert_to_message_box<wchar_t>(const wchar_t * const expression=0x1057d178, const wchar_t * const file_name=0x1057d250, const unsigned int line_number=4886, void * const return_address=0x0ff72c9d) Line 331   C++
    openrct2.dll!_wassert(const wchar_t * expression=0x1057d178, const wchar_t * file_name=0x1057d250, unsigned int line_number=4886) Line 404  C++
    openrct2.dll!vehicle_update_sound(rct_vehicle * vehicle=0x10690e50) Line 4886   C
    openrct2.dll!vehicle_update_all(...) Line 1071  C
    openrct2.dll!game_logic_update(...) Line 414    C
    openrct2.dll!game_update(...) Line 355  C
    openrct2.dll!rct2_update(...) Line 441  C
    openrct2.dll!OpenRCT2::Context::RunVariableFrame() Line 455 C++
    openrct2.dll!OpenRCT2::Context::RunGameLoop() Line 381  C++
    openrct2.dll!OpenRCT2::Context::Launch() Line 345   C++
    openrct2.dll!OpenRCT2::Context::RunOpenRCT2(int argc=1, char * * argv=0x00115768) Line 136  C++
    openrct2.dll!NormalisedMain(int argc=1, char * * argv=0x00115768) Line 65   C++
    openrct2.dll!LaunchOpenRCT2(int argc=1, wchar_t * * argvW=0x000fa168) Line 55   C++
    openrct2.exe!wmain(int argc=1, wchar_t * * argvW=0x000fa168, wchar_t * envp=0x001025b0) Line 32 C++
    [External Code] 
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Superjustinbros picture Superjustinbros  路  3Comments

Wirlie picture Wirlie  路  3Comments

Gymnasiast picture Gymnasiast  路  3Comments

Nubbie picture Nubbie  路  3Comments

Ionaru picture Ionaru  路  3Comments