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

Unable to open coaster because "Land not owned by park" #14298

Open
2 tasks
mjcrouch opened this issue Mar 12, 2021 · 7 comments
Open
2 tasks

Unable to open coaster because "Land not owned by park" #14298

mjcrouch opened this issue Mar 12, 2021 · 7 comments
Labels
investigate Not sure what the problem is yet.

Comments

@mjcrouch
Copy link

mjcrouch commented Mar 12, 2021

OS: MacOS 11.2.2
Version: 0.3.2 release
Commit/Build: cea5fab

Hi - mentioned this on discord - I'm unable to open a coaster because of an error that doesn't make sense.

I built the LIM launched roller on Alpine Adventures, on the release build and when I try to simulate, test or open the coaster I get the "land not owned by park" error. (the error varies, have also seen one about multiple stations - probably some value not being set somewhere)

  • Opened it up in a debugger and I found that Ride::GetOriginElement is returning nullptr after iterating over three tileElements (one of them is not a track type and two of them continue because the check for TRACK_SEQUENCE_FLAG_ORIGIN fails.)
  • It also crashes when I try to remove the ride exit with "Track Element Not Found"
  • I noticed that I could simulate the ride when I started building it but after building a few tiles it stopped simulating and started giving me an error

I can easily reproduce this on the release build by doing the steps below, but it looks like this has been fixed on the latest builds as it doesn't reproduce on there (46356ba) - however it seems my coaster is still broken because I created it on the broken version

Uploading the save file here as mentioned on discord you might be able to fix the save (also, you might want to look into the error message being dodgy?)

Thanks

  • Reproducible in RCT2 (vanilla)?
  • Specific to multiplayer?

Steps to reproduce:
Edit: See next post for better steps

On 0.3.2 release

  1. Build the LIM launched roller coaster on alpine adventures
  2. From the station go up to a vertical climb and go up a few blocks (not sure if this is necessary but it doesn't do it from the station alone)
  3. Simulate the ride
  4. Observe error message

Dump file

Screenshots / Video:

Screen Shot 2021-03-12 at 20 15 46 pm

Save game:
Alpine Adventures2.sv6.zip

@mjcrouch
Copy link
Author

mjcrouch commented Mar 12, 2021

Hmm - I think I was wrong about this being fixed on newer builds - have been playing around with track designer and I just reproduced this on the newer build mentioned above with different steps

  • Open track designer
  • Choose LIM launched roller coaster
  • Build a station piece
  • Start simulating
  • Build a few more station pieces
  • Start building track
  • The simulation gets stuck and produces an error box when I try to restart it

Notably if I build out the station and then a few pieces before I start the simulation it doesn't seem to reproduce, so it seems to be something to do with simulating station pieces

Recorded on 46356ba
https://user-images.githubusercontent.com/49367953/111004243-8d9f1e00-8380-11eb-8d94-e40cab356244.mov

@ocalhoun6
Copy link
Contributor

Something to do with the starting point of the ghost train changing while the ghost train is in motion?

If so, it's the "build station --> start simulating --> extend station" sequence of action that's causing problems. (Though that shouldn't prevent it from testing or opening once the whole track is completed.)

Can you get this to happen with other coaster types, or is it only the LIM Launched coaster?

And just on a hunch... When the ride refuses to test/open, can you click the drop-down menu above the viewport and see if the ride thinks it has more than 1 station?

@mjcrouch
Copy link
Author

Confirmed that there are two stations in the dropdown - see recording. If I complete it there are still two stations. if I delete all the station pieces there's still one left, then when I build a new station piece it goes back up to two stations.

Screen.Recording.2021-03-13.at.01.33.49.mov

I tried the junior coaster and it didn't repro. Tried the air launched coaster and it did. It's only a sample of three but it makes me think it might be something specific to the launched coasters?

@RoelerCoaster
Copy link

Could this be related/be similar to #13397?

@mjcrouch
Copy link
Author

mjcrouch commented Mar 13, 2021

To me it looks very similar if not exactly the same - steps are described slightly differently but the result looks the same.

Looking at the description of the cause in the last comment, the code also matches up with the TRACK_SEQUENCE_FLAG_ORIGIN thing I found in the debugger

@Gymnasiast Gymnasiast added the investigate Not sure what the problem is yet. label Mar 20, 2021
@ipatix
Copy link

ipatix commented May 9, 2021

I just wanted to throw in that I just ran into the same problem (on a different coaster type).

Here is a save file (check the orange coaster called "Sky Twister"):

save.zip

@HenkKalkwater
Copy link

HenkKalkwater commented May 9, 2021

Could this be related to #5244? Or did I just have bad luck and managed to encounter both issues on the same ride? I had the issue linked, reverted to an earlier autosave where it didn´t have 2 stations of which 1 was a "ghost station" and now I have this issue.

Using the cheat to own all land on the map doesn´t help to fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Not sure what the problem is yet.
Projects
None yet
Development

No branches or pull requests

6 participants