A very similar bug, resulting in a crash, can be triggered by Nyx firing her 
crossbow. Even in the very first level, if unlucky, no additional equipment 
neccessary. Here it's line 5325, but in the same file and same mode of failure: I 
assume arrow.y becomes negative, which the code fails to check for => likewise 
IndexError trying to access LEVEL.map[][].

Fri Dec 17 19:25:21 2021| Playlevel called: Castle Centre
Traceback (most recent call last):
  File "/usr/share/games/ardentryst/ardentryst.py", line 4722, in <module>
    main()
  File "/usr/share/games/ardentryst/ardentryst.py", line 4423, in main
    handle_game(Game, True)
  File "/usr/share/games/ardentryst/ardentryst.py", line 3083, in handle_game
    Result = playlevel(player, level, [levelscript, npcscript], screen, Data, 
Fonts, soundbox, Game,
  File "/usr/share/games/ardentryst/play_level.py", line 2886, in playlevel
    PLAYER.arrow_tick()
  File "/usr/share/games/ardentryst/play_level.py", line 5325, in arrow_tick
    lm = LEVEL.map[int(arrow.x/40)][int(arrow.y/40)]
IndexError: list index out of range

Reply via email to