Exilian

Game Design and Project Resources: The Workshops Quarter => Mods, Maps & Game Add-Ons - The Bazaar => M&B Mods - The Explorer's Society => Topic started by: Skull on November 17, 2013, 08:42:38 PM

Title: RGL Error...
Post by: Skull on November 17, 2013, 08:42:38 PM
Yet another error...  :-\

I get this error when I run build_module:

Code: [Select]
Initializing...
Compiling all global variables...
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
Traceback (most recent call last):
  File "process_troops.py", line 107, in <module>
    save_troops()
  File "process_troops.py", line 38, in save_troops
    for inventory_item in inventory_list:
TypeError: 'int' object is not iterable
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...

______________________________

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

And when I run the module and try to play a custom battle,or start a new game,this happens:

(http://img62.imageshack.us/img62/8158/ybla.png)
Title: Re: RGL Error...
Post by: Jubal on November 18, 2013, 12:23:20 AM
Okay, which files have you edited most recently? Presumably module_troops?
Title: Re: RGL Error...
Post by: Skull on November 18, 2013, 03:22:44 PM
Yep. I also added some items to the module.
Title: Re: RGL Error...
Post by: Jubal on November 18, 2013, 04:30:55 PM
Looks like a troops thing - start by checking all of your recent troop types, particularly for extra brackets, commas, quotation marks, etc.
Title: Re: RGL Error...
Post by: Skull on November 18, 2013, 07:57:25 PM
Yep,the looter file had one extra ",0,"

Code: [Select]
  ["looter","Looter","Looters",tf_guarantee_boots|tf_guarantee_armor,0,0,0,fac_outlaws,
Thanks Jubal. :)
Title: Re: RGL Error...
Post by: Jubal on November 19, 2013, 12:11:43 AM
Glad to be of service  :)