From RogueBasin
Revision as of 04:10, 28 September 2006 by Crypt (Talk | contribs)

Jump to: navigation, search

crypt bug

exception when clicking "start" at character creation:

JACK modDefense 2
SON DISTANT bruit de combat volume: 0.0
SON DISTANT cri d'agonie volume: 0.0
SON DISTANT cri de Un chien volume: 0.0
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
 at mainPack.TerrainPanel.paint(
 at javax.swing.JComponent.paintChildren(Unknown Source)
 at javax.swing.JComponent.paint(Unknown Source)
 at mainPack.PanneauJeu.paint(

feel free to delete this after you've had a look at it. [[User:M|–MT]] 04:19, 28 Sep 2006 (CEST)

Thanks, i will have a look to that.

Do you mean when clicking the Start menuItem or when clicking the OK button in the character creation panel ? (the OK button i guess)

PS: I think this is because the terrain panel is still repaint when the character is dead. A new terrain is loaded when restarting so the transition may cause nullexception in the repaint thread. (i wonder why this does not occur more often...)

Luckily, if i'm right this is easy to fix :)


Personal tools