View Issue Details

IDProjectCategoryView StatusLast Update
0004427The Dark ModScript/Defpublic17.07.2022 13:05
ReporterVanishedOne Assigned ToDragofer  
Status resolvedResolutionfixed 
Product VersionTDM 2.05 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
Summary0004427: Script duplication causing initialisation failure on startup
Description2.05 failed during initialisation for me, and it turns out the reason is that my trigger_random and sequencer scriptobjects have been included in the built-in file tdm_triggers.script. Including my local triggers.script file via tdm_custom_scripts.script was the source of the failure. (There's no IFNDEF wrapper. I didn't even know the script was going to be added to core.) Luckily I'm not aware of any FMs packaging that script; but a descriptive error message at least would have made this easier to diagnose.
TagsNo tags attached.




11.12.2016 19:02

developer   ~0008612

Adding a wrapper wouldn't fix it if you try to add functions with names already present, but it is a good habit to use them anyway. So the best approach might be to add them to all script files who don't already have them.


17.07.2022 13:05

developer   ~0015035

Rev 16557
Add inclusion guards to core script files.

Issue History

Date Modified Username Field Change
27.11.2016 17:36 VanishedOne New Issue
28.11.2016 01:37 VanishedOne Summary Script duplication causing crash on startup => Script duplication causing initialisation failure on startup
28.11.2016 01:37 VanishedOne Description Updated
11.12.2016 19:02 Obsttorte Note Added: 0008612
17.07.2022 13:05 Dragofer Assigned To => Dragofer
17.07.2022 13:05 Dragofer Status new => resolved
17.07.2022 13:05 Dragofer Resolution open => fixed
17.07.2022 13:05 Dragofer Fixed in Version => TDM 2.11
17.07.2022 13:05 Dragofer Target Version => TDM 2.11
17.07.2022 13:05 Dragofer Note Added: 0015035