Not sure if can help:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game\warchived.rpy", line 1074, in script call
File "game\data.rpy", line 1972, in script
File "game\data.rpy", line 1978, in python
IndexError: list assignment index out of range
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\- indie dev -\games\renpy\renpy\execution.py", line 288, in run
node.execute()
File "C:\- indie dev -\games\renpy\renpy\ast.py", line 718, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\- indie dev -\games\renpy\renpy\python.py", line 1258, in py_exec_bytecode
exec bytecode in globals, locals
File "game\data.rpy", line 1978, in <module>
Inv[10]=[]
File "C:\- indie dev -\games\renpy\renpy\python.py", line 483, in do_mutation
return method(self, *args, **kwargs)
IndexError: list assignment index out of range
Windows-7-6.1.7601-SP1
Ren'Py 6.15.2.281
that line is:
Code: Select all
label blueprints:
python:
renpy.music.play("snd/soft2.ogg",fadein=3.0)
genhelp=2;advice=0;pt=0;adj = ui.adjustment();styp="newinv";iFull=False;SFilter=[1,1,1];active_hero=0
#TERRIBLE CODING HERE
# ShopInv=[ [ [1,99],], ]
# Inv.append(list(ShopInv[0]))
Inv[10]=[]
for i2 in range(57,146):
Inv[10].append(list([i2,99]))
more precisely the line Inv[10]=[] which seems fine to me (and works in 6.14).
Then this is even more strange:
Code: Select all
While running game code:
File "game\story.rpy", line 293, in script
TypeError: list indices must be integers, not str
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\- indie dev -\games\renpy\renpy\execution.py", line 288, in run
node.execute()
File "C:\- indie dev -\games\renpy\renpy\ast.py", line 1302, in execute
next_node(self.items[choice][2][0])
TypeError: list indices must be integers, not str
Code: Select all
#win or lose?
if _return=="win":
scene i_hangar
show i_tom happy at scale(.55),topright
show expression ("%s happy" % mainc) at scale(.5),baseleft with dissolve
ts "You fought well, Nelson!"
menu:
"Thank you, sir!":
ts "You have already made quite an impression and you've only just arrived-"
scene i_hangar
show i_rebecca angry at top with dissolve
rf "Come on, Tom. That was an easy fight! Only give credit where credit is due."
rf "We don't need any more new recruits with big heads. I've got plenty to give you if that's what you're going for."
psc "(Thanks for ruining the mood.)"
"Well, I wasn't the best recruit in the whole academy for nothing.":
ts "Well, it seems they didn't teach you much about modesty at the academy. In any case -"
scene i_hangar
show i_rebecca angry at top with dissolve
rf "%(He)s seems to be overly confident in %(his)s worth to me."
the line is the one where says menu:
Probably those won't help, but thought to still try posting them... good luck!