Skip to content

Openttd crash on airplane crash #5820

Closed
@DorpsGek

Description

@DorpsGek

The_Dude opened the ticket and wrote:

There is a bug which causes crash when an airplane crashes.

It is harder to make it, but it can crash some games, in multiplayer too.

Technique:

build airport at the map corner and join it with rail station (from some reason it doesnt happen with other station, at least from my few tries).

Make this airport as order for planes which will start from another plane, or with new close airport features, they may also start from the same airport.

Wait until all planes are sky high and rotating around the corner airport. Now remove the airport part and leave only the rail station, then remove that one too.

Planes will fly for a while, until they cant find an airport of course and they will run out of fuel. Because they were circling near the edge of map (this condition is essential), the game will crash. Happens in 1.3 and trunk. Seems the plane or its shadow is not on valid tile and some check is missing there.

In included zip are two savegames, crashlog (not much there, but I remember the problem was maybe with GetSlopePixelZ) and some screenshot.

Attachments

Reported version: 1.3.3-RC2
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5820

Metadata

Metadata

Assignees

No one assigned

    Labels

    flysprayThis issue is imported from FlySpray (https://bugs.openttd.org/)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions