what is this error and how do i fix it

正在查看此主题的用户

Ziller

Sergeant
last thing i did make it so i had 17 factions that wrokd so i started the troops and there trees now i am geting this error
i did look at the Mount & Blade Mod Makers Q&A Thread did not find any thing at this

Winter's error translation list

http://forums.taleworlds.com/viewtopic.php?p=96347#96347

link dose not work
so i am here with this

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 105, in <module>
    save_troops()
  File "process_troops.py", line 32, in save_troops
    file.write("\ntrp_%s %s %s %d %d %d %d %d %d\n  "%(convert_to_identifier(tro
op[0]),replace_spaces(troop[1]),replace_spaces(troop[2]),troop[3],troop[4],troop
[5], troop[6], troop[13], troop[14]))
  File "D:\Program Files\Steam\steamapps\common\mount and blade\Modules\WIP\Modu
leSystem\process_common.py", line 28, in replace_spaces
    return string.replace(s0," ","_")
  File "C:\Python25\lib\string.py", line 517, in replace
    return s.replace(old, new, maxsplit)
AttributeError: 'int' object has no attribute 'replace'
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...
exporting triggers...
exporting dialogs...
Checking global variable usages...

______________________________

Script processing has ended.
Press any key to exit. . .
 
后退
顶部 底部