Difference between revisions of "Talk:Crypt"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==crypt bug== | ==crypt bug== | ||
exception when clicking "start" at character creation: | exception when clicking "start" at character creation: | ||
[...] | |||
JACK modDefense 2 | JACK modDefense 2 | ||
SON DISTANT bruit de combat volume: 0.0 | SON DISTANT bruit de combat volume: 0.0 | ||
Line 278: | Line 14: | ||
at javax.swing.JComponent.paint(Unknown Source) | at javax.swing.JComponent.paint(Unknown Source) | ||
at mainPack.PanneauJeu.paint(PanneauJeu.java:198) | at mainPack.PanneauJeu.paint(PanneauJeu.java:198) | ||
[...] | |||
feel free to delete this after you've had a look at it. [[User:M|<b><i>[[User:M|–M]]<sup>[[User_talk:M|T]]</sup></i></b>]] 04:19, 28 Sep 2006 (CEST) | feel free to delete this after you've had a look at it. [[User:M|<b><i>[[User:M|–M]]<sup>[[User_talk:M|T]]</sup></i></b>]] 04:19, 28 Sep 2006 (CEST) |
Revision as of 03:10, 28 September 2006
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: -9 at mainPack.TerrainPanel.paint(TerrainPanel.java:792) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at mainPack.PanneauJeu.paint(PanneauJeu.java:198) [...]
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 :)
-Crypt