{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2654","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2654/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2654/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2654/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/issues/2654","id":125053744,"number":2654,"title":"Free transport rides can prevent guests from properly leaving the park","user":{"login":"LRFLEW","id":607715,"avatar_url":"https://avatars.githubusercontent.com/u/607715?v=3","gravatar_id":"","url":"https://api.github.com/users/LRFLEW","html_url":"https://github.com/LRFLEW","followers_url":"https://api.github.com/users/LRFLEW/followers","following_url":"https://api.github.com/users/LRFLEW/following{/other_user}","gists_url":"https://api.github.com/users/LRFLEW/gists{/gist_id}","starred_url":"https://api.github.com/users/LRFLEW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LRFLEW/subscriptions","organizations_url":"https://api.github.com/users/LRFLEW/orgs","repos_url":"https://api.github.com/users/LRFLEW/repos","events_url":"https://api.github.com/users/LRFLEW/events{/privacy}","received_events_url":"https://api.github.com/users/LRFLEW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T21:18:56Z","updated_at":"2016-01-05T21:18:56Z","closed_at":null,"body":"This bug was discovered while researching (and was confused for) #2499, but it very much a different issue. I have found this bug in the original game, so this *is* an original bug. Here's a simple reproducible example of the bug:\r\n\r\nThis example will use [Broxzier's save game](https://github.com/OpenRCT2/OpenRCT2/files/77666/Community.Park.V2.44.zip). First thing you need to do is to turn off \"Show 'real' name of guests\" in Options -> Miscellaneous. This is because the only reliable way I know to identify the guest to follow is but the guest's id. You need to now open the guests list window and find \"Guest 18654\". This guess will have the action of \"Leaving the park\". He will be stuck near the corner of the map, unable to path-find to the exit (possibly #2499 related, but is also an original bug). You can move the guest closer to the exit and see that he will walk to it and leave.\r\n\r\nYou need to get the guests to go on the \"Original Round Car Trip 2\" ride. (In OpenRCT2 at least), the guest will eventually get in the queue, but you can also move the guest to be lined up with the entrance and get him to enter the ride with a few attempts. Once he's on the ride, he will ride to the second-next station, which is the closest one to the entrance. This is where the glitch occurs:\r\n\r\n**Expected:** The guest walks nearly-strait forward right to the entrance and leave the park.\r\n\r\n**Actual:** The guests walks the other way, underneath the station, and walking to the group of guests that have also encountered this bug, shown in this screenshot: \r\n![](https://camo.githubusercontent.com/95a66d2e1e0a762020ab2bef3980fa6be7d740af/687474703a2f2f692e696d6775722e636f6d2f384767547158322e706e67)\r\n\r\n**Cause:** Looking at the code in `src/peep/peep.c`, you can see that the variable `peep->current_ride` keeps track of the ride that the guest is currently on. However, when the guest is attempting to leave the park, that variable stores the entrance id that the guest is heading towards. The problem is that guests can take free transport rides to the exit when they are trying to leave, which sets the variable, and therefore the exit they look for, to the ride id. This causes the game to find entrance coordinates in invalid memory locations, which causes odd behavior like seen here. This cause is fixed in #2644."}}