Menu

#103 Desination invalid alert when destinations uses 0 coordinates (i.e. 0,9)

v1.0 (example)
closed-fixed
nobody
None
5
2022-08-07
2022-08-07
Rick Tanner
No

The Crossfire map editor alerts about "Destination invalid The destination of this exit is outside the map." when the destination includes the first (as in zero) column of map coordinates.

Example:
Stairs down from wolfsburg/magara/celldar1/hcellar_1 to wolfsburg/magara/celldar1/hcellar_2

hcellar_2 has the map entrance at 0,9 and that causes the editor to display the alert.

Discussion

  • Andreas Kirschbaum

    • status: open --> closed-fixed
     
  • Andreas Kirschbaum

    The problem is not in Gridarta but in the map hcellar_1: The exit object at (10, 16) points to (-1, 9) on hcellar_2. This location has a negative x coordinate and is therefore invalid. This is the reason why Gridarta did display a (slightly confusing/misleading) warning.

    I updated Gridarta to better handle such maps:

    • It does not anymore display the warning. It now simply jumps to the default map enter location if the destination coordinate is invalid. (Gridarta did already do this after the user confirmed the warning.) In this case the map enter location just happens to be the expected destination.
    • The Invalid Exit map validator now detects such problems. Therefore Gridata now displays a warning for this exit object.
    • A new Invalid Map Enter Location map validator warns about invalid default enter locations. This was not a problem in this case but could have caused the same kind of warning.
     

Log in to post a comment.

MongoDB Logo MongoDB