PDA

View Full Version : Debugging a Module



damned
March 3rd, 2014, 00:28
I have a working NPC/Monster generator module for Castles&Crusades.
Im trying to add a large number of new monsters to it from the Crusaders Companion but the module has stopped loading.
Can I debug why it wont display my module?

Trenloe
March 3rd, 2014, 00:29
Have you enabled the console with /console before you try to open it?

If so, is there an error displayed in the console?

Or, is the module no longer being displayed in the module activation screen?

damned
March 3rd, 2014, 00:31
I change the shortcut that I use to launch FG?

damned
March 3rd, 2014, 00:45
Thanks Trenloe - I did that and I get the Debug window but not seeing any errors...
I can see the module, I can activate it, but it no longer appears in my list of Modules and the NPCs no longer display...
Ive borked something up but no idea what!

Trenloe
March 3rd, 2014, 00:45
Load up FG. Type /console in the chat window.

Then close/open your module.

If you can't see the module in module activation, type /reload in the chat window to reload the ruleset with the console window open.

Look in the console window for errors/warnings.

damned
March 3rd, 2014, 01:01
Thanks for spotting the bogey XML/HTML headers!