View Issue Details

IDProjectCategoryView StatusLast Update
0005256The Dark ModScript/Defpublic31.07.2020 15:59
ReporterDragofer Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.07 
Summary0005256: Lose ability to frob if trying to read a readable with invalid xdata
DescriptionIf a readable doesn't have valid xdata, frobbing the readable makes the player lose his ability to frob anything, so the map becomes unplayable. This hits a lot of beta testers, and sometimes this bug makes it into released FMs.

It’d be much better if simply nothing happened when trying to frob such a readable, with a console warning.
Steps To Reproduce1) In a map in DR, right-click to “Create entity”.
2) Open the Readables folder and select & create one of the readables in there.
3) By default this readable has no valid xdata_contents. Start TDM and load the map.
4) Frob the readable. You lose the ability to frob and have to restart or revert to an earlier save.
TagsNo tags attached.

Activities

Dragofer

Dragofer

31.07.2020 15:54

developer   ~0012703

I think an acceptable workaround would be to define default xdata in the readables' entity classes, this should cut down on the majority of cases of this gamebreaking bug. Assuming that doesn't interfere too much with the ability to create new xdata definitions if there's already one loaded.

A little bit better of course would be a coding-based fix that stops permanently removing the player's ability to frob if he tries to read a readable with invalid xdata.

Issue History

Date Modified Username Field Change
14.05.2020 10:09 Dragofer New Issue
31.07.2020 15:54 Dragofer Note Added: 0012703
31.07.2020 15:56 Dragofer Summary Frobbing readable with invalid xdata_contents breaks the game => Lose ability to frob if trying to read a readable with invalid xdata
31.07.2020 15:56 Dragofer Description Updated
31.07.2020 15:56 Dragofer Description Updated
31.07.2020 15:59 Dragofer Description Updated