Problem with bearsum

Bug #793615 reported by n1c0la5
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ultimate-smash-friends
Fix Committed
High
tshirtman

Bug Description

When I want to play with bearsum (I've tried only with IA), the game crash and I have this backtrace:
--------------------------------------------------------------------
Traceback (most recent call last):
  File "./ultimate-smash-friends", line 6, in <module>
    m.go()
  File "/home/nicolas/usf/usf/main.py", line 369, in go
    self.manage_game(state_was == "menu")
  File "/home/nicolas/usf/usf/main.py", line 322, in manage_game
    self.manage_ai()
  File "/home/nicolas/usf/usf/main.py", line 317, in manage_ai
    self.ai_instance.update(self.game, i)
  File "/home/nicolas/usf/usf/ai.py", line 247, in update
    s = search_path(game, iam, max_depth)
  File "/home/nicolas/usf/usf/ai.py", line 193, in search_path
    score, movements = search_path(game, iam, max_depth - 1)
  File "/home/nicolas/usf/usf/ai.py", line 169, in search_path
    simulate(game, iam, M)
  File "/home/nicolas/usf/usf/ai.py", line 85, in simulate
    game.update(deltatime=TIMESTEP)
  File "/home/nicolas/usf/usf/game.py", line 607, in update
    self.update_players(deltatime)
  File "/home/nicolas/usf/usf/game.py", line 496, in update_players
    self.zoom)
  File "/home/nicolas/usf/usf/entity.py", line 893, in update
    self.entity_skin.update(t, self.reversed, self.upgraded)
  File "/home/nicolas/usf/usf/entity_skin.py", line 296, in update
    self.animation.update(t, reverse, server)
  File "/home/nicolas/usf/usf/animations.py", line 132, in update
    frame = self.frame(gametime - self._start_time)
  File "/home/nicolas/usf/usf/animations.py", line 117, in frame
    return filter(lambda x: x.time/1000.0 <= time, self.frames)[-1]
IndexError: list index out of range

n1c0la5 (n1c0la5)
description: updated
Changed in ultimate-smash-friends:
assignee: nobody → tshirtman (gabriel-pettier)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
tshirtman (gabriel-pettier) wrote :

Ok, so no there is a fallback if we fall again in this situation, i tested more than a few times, and it doesn't happen any more…

Changed in ultimate-smash-friends:
status: Confirmed → Fix Released
Revision history for this message
n1c0la5 (n1c0la5) wrote :

It's released or committed

n1c0la5 (n1c0la5)
Changed in ultimate-smash-friends:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.