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

Default original track design for River Rafts is empty and crashes game #3623

Closed
2 tasks
An-dz opened this issue May 15, 2016 · 4 comments
Closed
2 tasks

Default original track design for River Rafts is empty and crashes game #3623

An-dz opened this issue May 15, 2016 · 4 comments
Labels
bug Something went wrong.

Comments

@An-dz
Copy link

An-dz commented May 15, 2016

OS: Windows 8.1 x64
Version: 0.0.5
Commit: 6df1b9a

The River Rafts attraction has a default design called Garden Explorer, if you try to build this track design on ORCT2 nothing is shown in the preview area and selecting it crashes the game. This works in vanilla. I did not try to create a custom track design to see what happens.

  • Reproducible in RCT2 (vanilla)?
  • Multiplayer?

Steps to reproduce:

  1. Create a map with River Rafts available (or use the save created by the dump below)
  2. Try to build the "Garden Explorer" track design
  3. The game crashes

Dump file
dump.zip

Screenshots / Video:
RCT2
OpenRCT2

Save game:
dumpSave.zip

@janisozaur janisozaur added the bug Something went wrong. label May 15, 2016
@janisozaur
Copy link
Member

janisozaur commented May 15, 2016

_loadedTrackDesign is NULL at

#0  0x018ad42c in window_track_list_select (w=0x31c2e60 <g_window_list+1216>, index=0) at /home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:200
#1  0x018a24c5 in window_track_list_scrollmousedown (w=0x31c2e60 <g_window_list+1216>, scrollIndex=0, x=115, y=13) at /home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:285
#2  0x01b14cea in window_event_scroll_mousedown_call (w=0x31c2e60 <g_window_list+1216>, scrollIndex=0, x=115, y=13) at /home/janisozaur/workspace/OpenRCT2/src/interface/window.c:1910
#3  0x022dc770 in input_scroll_begin (w=0x31c2e60 <g_window_list+1216>, widgetIndex=3, x=120, y=76) at /home/janisozaur/workspace/OpenRCT2/src/input.c:602
#4  0x022d6cc4 in input_widget_left (x=120, y=76, w=0x31c2e60 <g_window_list+1216>, widgetIndex=3) at /home/janisozaur/workspace/OpenRCT2/src/input.c:1027
#5  0x022c789c in game_handle_input_mouse (x=120, y=76, state=1) at /home/janisozaur/workspace/OpenRCT2/src/input.c:312
#6  0x022c6008 in game_handle_input () at /home/janisozaur/workspace/OpenRCT2/src/input.c:151
#7  0x023ba683 in game_update () at /home/janisozaur/workspace/OpenRCT2/src/game.c:343
#8  0x023cb14a in rct2_update () at /home/janisozaur/workspace/OpenRCT2/src/rct2.c:462
#9  0x023e2fe9 in openrct2_loop () at /home/janisozaur/workspace/OpenRCT2/src/openrct2.c:392
#10 0x023df9b7 in openrct2_launch () at /home/janisozaur/workspace/OpenRCT2/src/openrct2.c:322
#11 0x01ffbcbd in main (argc=2, argv=0xffffd324) at /home/janisozaur/workspace/OpenRCT2/src/platform/posix.c:60

@Wirlie
Copy link
Contributor

Wirlie commented May 16, 2016

I can reproduce this bug with all rides on the "select design" window:
Important: Do not move the mouse until the window has been opened, this way you can see this bug.

sin titulo

if you move the cursor at another element of the list this problem is solved:

sin titulo

sin titulo

@rawr51919
Copy link

rawr51919 commented May 16, 2016

This problem worsens when there is only one factory design, because there isn't another to so-called "fix" this problem, like for example, the go karts, or the river rafts like the issue starter said.

@daihakken
Copy link
Contributor

This also happens when you try to build steeplechase, which also has only one design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something went wrong.
Projects
None yet
Development

No branches or pull requests

5 participants