Bug#718883: ardentryst: IndexError in Worm Woods
Kalle Olavi Niemitalo
kon at iki.fi
Tue Aug 6 14:06:28 UTC 2013
Package: ardentryst
Version: 1.71-4
Severity: normal
I was playing as Pyralis in Worm Woods (Sempridge5). Normally,
if you try to jump above the top of the level, the hero hits a
ceiling. However, at the left side of the NPC who asks for
Anneludine Shells, there is a hole in the ceiling. By wearing
Winged Boots, Pyralis was able to jump through that hole and then
walk to the right above the ceiling. When Pyralis was already
above the ceiling and jumped some more, the game ended with an
IndexError. I guess the abs_y variable became negative.
Other observations:
* The error handler tried to create bugreport.txt, but that
failed because /usr/games/ardentryst changes to the
/usr/share/games/ardentryst directory and I don't have write
access there. It would be better to place bugreport.txt
in the same directory as log.txt.
* /usr/share/games/ardentryst/Levels/Sempridge5 seems to be in
Python Pickle format, and it's not obvious to me how it should
be edited to block the hole in the ceiling. There is code in
mapping.py to convert maps from XML to Pickle, but the source
package does not include any XML sources for maps, and I don't
know whether the existing maps were even converted that way.
% ardentryst
Ext.reader.Sax2 not found
-------------------------------------------------------------------------------
Ardentryst v.20090726 (1.71-Comet Unstable) 1:11 PM AEST
by Jordan Trudgett
-------------------------------------------------------------------------------
Ardentryst Copyright (C) 2007, 2008, 2009 Jordan Trudgett
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; for details, see the COPYING file.
An error has occurred.
Traceback (most recent call last):
File "/usr/share/games/ardentryst/ardentryst.py", line 4718, in <module>
main()
File "/usr/share/games/ardentryst/ardentryst.py", line 4419, in main
handle_game(Game, True)
File "/usr/share/games/ardentryst/ardentryst.py", line 3085, in handle_game
PLAYLOCALS)#, "DEMO.dem")
File "/usr/share/games/ardentryst/play_level.py", line 2880, in playlevel
PLAYER.movement_jump_tick()
File "/usr/share/games/ardentryst/play_level.py", line 5499, in movement_jump_tick
if self.senseabove(): self.inertia[1] = max(0, self.inertia[1])
File "/usr/share/games/ardentryst/play_level.py", line 5593, in senseabove
s1 = self.sense("10", -60)
File "/usr/share/games/ardentryst/play_level.py", line 5692, in sense
looktile = LEVEL.map[abs_x/40][abs_y/40]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/share/games/ardentryst/ardentryst.py", line 4722, in <module>
handleException(e)
File "/usr/share/games/ardentryst/ardentryst.py", line 683, in handleException
open("bugreport.txt", "w").write(open(os.path.join(SAVEDIRECTORY, "log.txt"), "r").read())
IOError: [Errno 13] Permission denied: 'bugreport.txt'
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ardentryst depends on:
ii fonts-freefont-ttf [ttf-freefont] 20120503-1
ii python 2.7.3-4
ii python-pygame 1.9.1release+dfsg-8
ii ttf-freefont 20120503-1
ardentryst recommends no packages.
ardentryst suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130806/2bd27cbd/attachment.sig>
More information about the Pkg-games-devel
mailing list