OK, I'd been having intermittent trouble with DirectSail 1.1 (Build 14 Alpha 6) kicking off lately and I couldn't narrow the problem down. I was getting no sail-ho's and couldn't sail to any islands - I'd just sail for hours upon end and sail right through all islands. Then when I'd finally go to the worldmap, I'd get a quick land-ho sound and be nowhere near my island of choice.
I *FINALLY* figured out the problem was an error (some bad rope data on a ship) which could not be logged to an error log file (it looks like the new version of DirectSail writes some stuff to error.log and system.log). My guess is that these rope errors were causing some sort of hang-up and not allowing the mod to complete processing.
Anyhow, I just enabled logging, and everything is now working as it should (even with the rope errors)! If anyone needs to know how to do this, here are the instructions:
Open engine.ini (in root POTC folder) and make these changes:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->tracefilesoff = 0
[script]
debuginfo = 1
runtimelog = 1<!--c2--></div><!--ec2-->
FYI - I know most of the 'old-timers' already have error logging enabled and probably would never have seen this one...
Thanks again for all the hard work from EVERYONE here!!!
kevin
PS - I also turned on codefiles (changed from 0 to 1) in engine.ini, but this seemed to create a bunch of files with a ".b" extension in the root POTC folder. Not sure what this 'codefile' does, but I turned it back off. Anyone with more knowledge than me, please correct me if anything here is not right...
EDIT: Oops. See next message for solution.
I *FINALLY* figured out the problem was an error (some bad rope data on a ship) which could not be logged to an error log file (it looks like the new version of DirectSail writes some stuff to error.log and system.log). My guess is that these rope errors were causing some sort of hang-up and not allowing the mod to complete processing.
Anyhow, I just enabled logging, and everything is now working as it should (even with the rope errors)! If anyone needs to know how to do this, here are the instructions:
Open engine.ini (in root POTC folder) and make these changes:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->tracefilesoff = 0
[script]
debuginfo = 1
runtimelog = 1<!--c2--></div><!--ec2-->
FYI - I know most of the 'old-timers' already have error logging enabled and probably would never have seen this one...
Thanks again for all the hard work from EVERYONE here!!!
kevin
PS - I also turned on codefiles (changed from 0 to 1) in engine.ini, but this seemed to create a bunch of files with a ".b" extension in the root POTC folder. Not sure what this 'codefile' does, but I turned it back off. Anyone with more knowledge than me, please correct me if anything here is not right...
EDIT: Oops. See next message for solution.