jpulec / My--RPG

A 2d tile based JRPG.
14 stars 2 forks source link

Game Crashes upon any use of the inventory #2

Closed Xovan closed 13 years ago

Xovan commented 13 years ago

Opening or using the inventory crashes the game. Probably a rendering issue. ===================ERROR================================================ [GCC 4.4.5] on linux2 Type "copyright", "credits" or "license()" for more information.

****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************

IDLE 2.6.6 ==== No Subprocess ====

Traceback (most recent call last): File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/Game.py", line 335, in game.mainloop() File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/Game.py", line 59, in mainloop self.playerInput(e) File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/Game.py", line 170, in playerInput self.startMenu() File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/Game.py", line 327, in startMenu self.instance.menuMain() File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/StartMenu.py", line 28, in menuMain self.menu.show() File "/home/matt4525/Pygame/jpulec-My--RPG-74aebe0/StartMenu.py", line 501, in show GlobalData.display.getScreen().blit(GlobalData.textureManager.textures[self.team.team[x].currentSkin][0], (96,96), GlobalData.textureManager.spriteRects[self.team.team[x].currentSkin][self.facing]) TypeError: object cannot be interpreted as an index

===================ERROR================================================

Xovan commented 13 years ago

Gave it a fix in my commit.