Process_items error

正在查看此主题的用户

DeepRedCee

Recruit
Hey there i've recently been adding items into module_items and also some firing sounds in module_sounds and id_sounds ive had this error before but it went away mysteriously and now its back and i really dont know its cause..

Traceback (most recent call last):
  File "process_items.py", line 72, in <module>
    write_items(variables,variable_uses,tag_uses,quick_strings)
  File "process_items.py", line 30, in write_items
    ofile.write(" %d %d %d %d %f %d %d %d %d %d %d %d %d %d %d %d %d\n"%(item[3]
, item[4], item[5], item[7],
IndexError: list index out of range

any help would be awesome thanks.
 
you missed or mixed comma or | in your edited items, so that now tuple has less elements than standard. Check your text in module_items
 
Thanks im scouring the script now but cant seem to find anything out of place with what ive edited in comparision to the items i copied =/

EDIT:

is it possible then the error is caused by a missing property i.e. |accuracy(65)| ?
 
Fixed it, was missing imodbits_X on the end of one of the weapons. What i had done was remove imodbits_sword_high from a sword but actually needed to change it to none!
 
后退
顶部 底部