Solved

Users who are viewing this thread

[D]ark [K]night

Sergeant at Arms
I'm getting this message when i added a new troop and clicked the build module button.



Initializing...
Traceback (most recent call last):
  File "process_global_variables.py", line 11, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 59, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_troops.py", line 4, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Exporting quest data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 231, in <module>
    str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_stri
ke_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary
_face_2],
TypeError: list indices must be integers, not tuple

______________________________

Script processing has ended.
Press any key to exit. . .
What is wrong?
 
Hello there..

go to module_troops.py line 231.

Obviously you have an error with troops...somewhere.

Identify the troop you are working with.. and cut and past that entire troop tupile in this thread and I can tell you what the issue is..IF it the error resides in this particular troop.

It may reside in the troop above it.. missing a "]" or a ","

Best,

Saxondragon

 
Thats the one i made
["new_soldier","Templar Footman","Crusaders",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet,no_scene,reserved,fac_commoners,
  [itm_hide_boots,itm_sword_medieval_a,itm_heraldic_mail_with_surcoat,itm_great_helmet,itm_guard_helmet,itm_flat_topped_helmet],
  str_13|agi_10|level(15),wp(150),knows_common,mercenary_face_1, mercenary_face_2]

Then the line 231 is another soldier, not made by me.

["regular_fighter","Regular Fighter","Regular Fighters",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
  [itm_hide_boots],
  str_8|agi_8|level(11),wp(90),knows_common|knows_ironflesh_1|knows_power_strike_1|knows_athletics_1|knows_riding_1|knows_shield_2,mercenary_face_1, mercenary_face_2],

EDIT: I fixed the soldier over Regular fighter... he missed an ], at the end. so now it's shortened.

Here is the error now.
Initializing...
Traceback (most recent call last):
  File "process_global_variables.py", line 11, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 59, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_troops.py", line 4, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Exporting quest data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Documents and Settings\Administrator\Desktop\#M\#Mount and blade\Modu
leSystem\module_troops.py", line 1426, in <module>
    ["local_merchant","Local Merchant","Local Merchants",tf_guarantee_boots|tf_g
uarantee_armor, 0,0, fac_commoners,[itm_leather_apron,itm_leather_boots,itm_butc
hering_knife],def_attrib|level(5),wp(40),knows_power_strike_1, merchant_face_1,
merchant_face_2],
TypeError: list indices must be integers, not tuple

______________________________

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


SUPEREDIT!:

I managed to fix it! The templar missed an ], at the end !!

thanks anyways!!
 
Back
Top Bottom