Module_Dialogs error while compiling.

正在查看此主题的用户

状态
不接受进一步回复。

Hank

Sergeant Knight
Hey guys,

I recently re-added the forager and scout parties, and while compiling I encountered this:

Initializing...
Traceback (most recent call last):
  File "process_global_variables.py", line 6, in <module>
    from module_dialogs import *
  File "C:\ModuleSystem\module_dialogs.py", line 12472

    ^
SyntaxError: invalid syntax
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting scripts...
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
Traceback (most recent call last):
  File "process_dialogs.py", line 6, in <module>
    from module_dialogs import *
  File "C:\ModuleSystem\module_dialogs.py", line 12472

    ^
SyntaxError: invalid syntax
Checking global variable usages...

______________________________

Script processing has ended.
Press any key to exit. . .

I couldn't figure it out, but the line it references, line 12472, is at the very bottom of the script. Any ideas?

Thanks.
 
That's actually what I thought it was too, upon first glance, but when I checked the line it was referencing it was the blank line at the very very end of the entire script, with nothing on it at all. I even cleared it to make sure it was cleared. The only other bracket is the one just above it, which closes the dialog script all together.

Actually, now that you mention it, I did just uncommented a whole bunch of dialogue scripts; I'll check all the scripts I just uncommneted. Thanks.

Well, I did a bit of hunting; turns out I reactivated a few dialogue scripts for an undefined unit, so I commented them out, and the error vanished. Thanks Lumos!
 
状态
不接受进一步回复。
后退
顶部 底部