View Issue Details

IDProjectCategoryView StatusLast Update
0003968The Dark ModCodingpublic22.01.2015 19:37
ReporterSteveL Assigned ToSteveL  
PrioritylowSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.03 
Summary0003968: Game crashes on load if an invalid "difficulty" spawnarg is set on worldspawn.
DescriptionValid values are 0, 1, 2. If the mapper chooses "3" for the third level, the game will crash on map load without giving any feedback or generating any debug log, so it provides no clue. It just needs a sensible error message adding.
TagsNo tags attached.

Activities

tels

tels

05.01.2015 15:32

reporter   ~0007306

Please find attached a possible fix, emitting a logging line and ignoring invalid values on worldspawn:

http://swift-mazes.com/pub/tdm-patches/tels_patch_p_bug_3968_2015-01-05.txt
SteveL

SteveL

05.01.2015 16:21

reporter   ~0007307

Ta. The error message though needs to be seen by mappers not developers, so it should be a fatal console error rather than a log entry.
tels

tels

05.01.2015 18:48

reporter   ~0007308

Updated the patch with gameLocal.Error() :)
SteveL

SteveL

22.01.2015 19:21

reporter   ~0007368

Last edited: 22.01.2015 19:37

Thanks for the patch!

At rev 6457

Issue History

Date Modified Username Field Change
10.12.2014 19:14 SteveL New Issue
05.01.2015 15:32 tels Note Added: 0007306
05.01.2015 15:32 tels Assigned To => tels
05.01.2015 15:32 tels Status new => feedback
05.01.2015 15:33 tels Assigned To tels =>
05.01.2015 16:21 SteveL Note Added: 0007307
05.01.2015 16:21 SteveL Status feedback => new
05.01.2015 18:48 tels Note Added: 0007308
21.01.2015 08:19 SteveL Assigned To => SteveL
21.01.2015 08:19 SteveL Status new => assigned
22.01.2015 19:21 SteveL Note Added: 0007368
22.01.2015 19:21 SteveL Status assigned => resolved
22.01.2015 19:21 SteveL Fixed in Version => TDM 2.03
22.01.2015 19:21 SteveL Resolution open => fixed
22.01.2015 19:37 grayman Note Edited: 0007368