Opened 11 years ago

Last modified 5 years ago

#1836 new defect

Validation errors in the special/player.xml template causes segmentation fault

Reported by: zoot Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Simulation Keywords: grace
Cc: Patch:

Description (last modified by zoot)

RNG validation errors, such as a mispelled component name, in the special/player.xml template causes the game to undergo an all-out segmentation fault. It would be nice if it handled it more gracefully, and for example just ignored the element in question.

Change History (3)

comment:1 by zoot, 11 years ago

Description: modified (diff)
Summary: Misspelling a component name in the special/player.xml template causes segmentation faultValidation errors in the special/player.xml template causes segmentation fault

comment:2 by historic_bruno, 11 years ago

I think the nicest thing that could happen is to fail to load the map but give the user a reasonable error message. It sounds like something in the engine is assuming valid player entities exist without checking.

comment:3 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

Note: See TracTickets for help on using tickets.