View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004427 | The Dark Mod | Script/Def | public | 27.11.2016 17:36 | 17.07.2022 13:05 |
Reporter | VanishedOne | Assigned To | Dragofer | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.05 | ||||
Target Version | TDM 2.11 | Fixed in Version | TDM 2.11 | ||
Summary | 0004427: Script duplication causing initialisation failure on startup | ||||
Description | 2.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. | ||||
Tags | No tags attached. | ||||
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. | |
Rev 16557 Add inclusion guards to core script files. |
|
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 |