Threads of Fate crashes..
I tried to attack an enemy and then the game crashed. The mage was dead - maybe that's related. ;)
Traceback (most recent call last):
File "run_game.py", line 9, in
main.main()
File "threads-of-fate-2.3/gamelib/main.py", line 66, in main
director.run(cocos.scene.Scene(MainMenu("Threads of Fate")))
File "threads-of-fate-2.3/cocos/director.py", line 296, in run
event_loop.run()
File "threads-of-fate-2.3/pyglet/app/xlib.py", line 94, in run
sleep_time = self.idle()
File "threads-of-fate-2.3/pyglet/app/__init__.py", line 187, in idle
dt = clock.tick(True)
File "threads-of-fate-2.3/pyglet/clock.py", line 698, in tick
return _default.tick(poll)
File "threads-of-fate-2.3/pyglet/clock.py", line 295, in tick
item.func(delta_t, *item.args, **item.kwargs)
File "threads-of-fate-2.3/cocos/cocosnode.py", line 688, in _step
action.step(dt)
File "threads-of-fate-2.3/cocos/actions/base_actions.py", line 101, in step
self.update( min(1, self._elapsed/self.duration ) )
File "threads-of-fate-2.3/cocos/actions/base_actions.py", line 346, in update
self.actions[ found ].start()
File "threads-of-fate-2.3/cocos/actions/instant_actions.py", line 134, in start
self.func(*self.args, **self.kwargs)
File "threads-of-fate-2.3/gamelib/actions.py", line 298, in done
self.attack.level.scroller.remove(self)
File "threads-of-fate-2.3/cocos/cocosnode.py", line 400, in remove
self._remove(obj)
File "threads-of-fate-2.3/cocos/cocosnode.py", line 410, in _remove
child.on_exit()
File "threads-of-fate-2.3/gamelib/actions.py", line 302, in on_exit
self.result()
File "threads-of-fate-2.3/gamelib/actions.py", line 187, in do_hit
self.other.apply_damage(damage)
File "threads-of-fate-2.3/gamelib/character.py", line 439, in apply_damage
self.dispatch_event('on_character_death', self)
File "threads-of-fate-2.3/pyglet/event.py", line 340, in dispatch_event
if handler(*args):
File "threads-of-fate-2.3/gamelib/level.py", line 198, in on_character_death
director.replace(success.Success(level))
File "threads-of-fate-2.3/gamelib/success.py", line 20, in __init__
[self.party.items.append(i) for i in character.pack]
AttributeError: 'PC' object has no attribute 'pack'
(log in to comment)
richard on
2009/02/09 02:57:
Hmm, thanks! :)