View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006686 | The Dark Mod | Script/Def | public | 14.02.2026 22:51 | 28.02.2026 21:34 |
| Reporter | Frost_Salamander | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | TDM 2.13 | ||||
| Summary | 0006686: Script errors in map scripts cause game to hang/crash | ||||
| Description | Any sort of error in a map script can cause the game to hang. In my example, characters in a script function that appear after a closing semi-colon cause the game to hang, and then crash if attempt input. 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 Reproduce | 1. 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. | ||||
| Additional Information | Also reported here: https://forums.thedarkmod.com/index.php?/topic/23063-beta-testing-214/page/4/#findComment-506659 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| 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 | |
| 23.02.2026 18:54 | Frost_Salamander | Summary | dangling characters in map scripts cause game to crash => dangling characters in map scripts cause game to hang/crash |
| 23.02.2026 18:54 | Frost_Salamander | Description Updated | |
| 28.02.2026 18:08 | Frost_Salamander | Summary | dangling characters in map scripts cause game to hang/crash => Script errors in map scripts cause game to hang/crash |
| 28.02.2026 18:08 | Frost_Salamander | Description Updated | |
| 28.02.2026 18:08 | Frost_Salamander | Additional Information Updated | |
| 28.02.2026 21:34 | stgatilov | Relationship added | related to 0006608 |
| 28.02.2026 21:34 | stgatilov | Note Added: 0017215 |