View Issue Details

IDProjectCategoryView StatusLast Update
0006686The Dark ModScript/Defpublic14.02.2026 22:51
ReporterFrost_Salamander Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.13 
Summary0006686: dangling characters in map scripts cause game to crash
DescriptionCharacters in a script function that appear after a closing semi-colon cause the game to crash. For example, this in <mapname>.script:

void main()
{
    sys.waitFrame();3
}

The reason this is kind of severe is there is no indication whatsoever what the problem is and it's impossible to troubleshoot. All you can do as a mapper is revert changes to your map until it stops happening. But the thing is, the problem isn't in the map. I almost lost an entire night's work because I had to revert to a previous version of the project that I knew was in a working state. Luckily I had saved it in source control about an hour earlier. I only noticed the cause after I started adding bits back, and noticed the crash happened after I restored the script file.
Steps To Reproduce1. Extract the attached FM project to your FMs directory

2. DMAP and start the map. It should freeze and then crash if you move the mouse around.
TagsNo tags attached.
Attached Files
scriptcrash.zip (9,244 bytes)

Activities

Issue History

Date Modified Username Field Change
14.02.2026 22:51 Frost_Salamander New Issue
14.02.2026 22:51 Frost_Salamander File Added: scriptcrash.zip