Aller au contenu

Photo

When compile all scripts in module does not work.


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
kamal_

kamal_
  • Members
  • 5 250 messages
So there I am, testing some code out ingame in my test area. And I get a debug message that I had already removed from the code (not just commented out, actually removed!).

So I search all scripts in module for the message, nothing (and an empty campaign folder as well). So I recompiled all scripts in the module, started the game back up and loaded up a new game in the test module, and there the debug message is again! I use Windows Grep to search the folder for the debug message, and no results.

Finally, I deleted all the .ncs files in the folder, and then recompile all again. And joy of joys, no more removed message. Now I'd already done a recompile all previously, before deleting the .ncs files.

So there's a bug there somewhere. Recompiling the script did not produce a new .ncs file. So if you are having some strange results from your scripts, you might want to try deleting the .ncs files from your module and then recompile all again.