Deleted43573962User Posted December 20, 2017 Share Posted December 20, 2017 I have message logger working. However, I'v had CTD's, but no error show up in the log. These are most of the lines I could find. 2017/12/20 08:25:31 [004FC335] [WARNING] Script 'KOTNRPortcullisSwitchMainScript' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script '' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script 'KOTNRPortcullisSwitchInnerScript' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script '' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script 'KOTNRPrayerMatScript' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script 'KOTNRPortcullisSwitchOuterScript' in file 'Knights - Revelation.esp' has not been compiled.2017/12/20 08:25:31 [004FC335] [WARNING] Script '' in file 'Knights - Revelation.esp' has not been compiled. I tried compiling one, but got missing reference. How can it run without being compiled? 2017/12/20 08:25:46 [0051714E] [WARNING] Script 'KR3MannequinScript', line 8: Function 'StopMagicShaderVisuals' requires a reference. (50 lines+) 017/12/20 08:25:47 [0050A2C4] [WARNING] Disable is being called on reference 1F00500F DeactivateTragicMagesGuildAccident1 in script 1F007514 BHCExpandedStartScript even though it has an enable state parent. This is not valid behavior and will be ignored. More similar to it. 2017/12/20 08:25:47 [004F3313] [ DEBUG ] Expression Error: SYNTAX2017/12/20 08:25:47 [00516FA5] [WARNING] Script 'BHCExpandedStartScript', line 206: failed to evaluate expression. Coding, I have experience. Need help. Error happening before I installed BHC. Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted December 20, 2017 Share Posted December 20, 2017 Make a backup of the mods you plan to change and remove the faulty scripts using TES4Edit, it might fix some of your problems. Link to comment Share on other sites More sharing options...
Surilindur Posted December 20, 2017 Share Posted December 20, 2017 If I remember correctly, it is possible for a script to have been written, then compiled once, and then edited afterwards without recompiling, so maybe if the errors about not having been compiled are related to a script that was edited after being compiled, but that is still required for something to work, then maybe removing such scripts could cause something to break. Or not. You asked how a script that has not been compiled can run, and that may be one case where such a script might run... ? Maybe? If it makes any sense. :confused: Other than that, if a script fails to compile, and the script does not make its purpose obvious to the reader, it might be tricky to try to fix anything. For example, if a reference has been renamed (persistent reference editor ID), and the script was compiled using the old name, the script would work (because it does not use the name) but trying to recompile the script would fail. So to recompile the script, the new name for the reference would need to be known. As an example of a problematic recompiling scneario. Syntax errors might or might not be easy to fix. The error about calling Disable on a reference with enable parent just means that a reference with an enable parent will follow the enable state of the parent always. For example, trying to disable (or enable) a reference with an enable parent does not work, if I remember correctly. Easy to test using the in-game console and an appropriate reference. The error with "failed to evaluate expression" would need to be checked in the script (BHCExpandedStartScript line 206) and it sounds like something related to Battlehorn Castle Expanded or Extended or something... ? StopMagicShaderVisuals needs to be called on a reference, and the log makes it look like as if something were trying to call it without a reference, multiple times. KR3 sounds like Kvatch Rebuilt 3 so that might be one place to start looking? Just some thoughts, if it helps. Definitely make a backup before editing anything, obviously. :P Link to comment Share on other sites More sharing options...
Deleted43573962User Posted December 23, 2017 Author Share Posted December 23, 2017 (edited) 2017/12/20 08:25:47 [004F3313] [ DEBUG ] Expression Error: SYNTAX2017/12/20 08:25:47 [00516FA5] [WARNING] Script 'BHCExpandedStartScript', line 206: failed to evaluate expression. Removing the script might delete important code. I have to do it the hard way. The syntax error shouldn't be too hard to fix. Edited December 23, 2017 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts