|
|
#11 | |||||||||||||||
|
Cannon Tower
Join Date: May 2008
Posts: 13
![]() |
Well, I gave myself a load of money, and skipped right into the latter levels of tieAngle. After adding 5-6 red 3, a couple of blue 1 and a couple of green 3 (all upgraded to full with "u" button).. it just hangs.
Quote:
I need to break and see the threads, and their current position (ie, corresponding option to "Show next statement" in Visual Studio)../Tomas |
|||||||||||||||
|
|
|
|||||||||||||||
|
|
#12 | ||||||||||||||
|
TowerDefence.net Game Project Developer
Join Date: Feb 2008
Posts: 832
![]() |
Start the game in debugging mode, put your cursor somewhere in the code, click pause, click "run to cursor"
Or set a few breakpoints. I can't get it to hang. I can just fill the map with towers with no problems at all. |
||||||||||||||
|
|
|
||||||||||||||
|
|
#13 | ||||||||||||||
|
Cannon Tower
Join Date: May 2008
Posts: 13
![]() |
I don't know if you're using threads, but if you do, it feels like a thread synchonization problem.
Netherless, I've got a new exception in 0.6.3 (the version that works quite ok for me): Exception in thread "Thread-19" java.lang.NullPointerException at hextd.UI.PanelTowerInfo.updateInterface(PanelTowerInfo.java:117) at hextd.UI.PanelTowerInfo.moneyChanged(PanelTowerInfo.java:194) at hextd.util.Context.fireMoneyChangedEvent(Context.java:374) at hextd.util.Context.doReceive(Context.java:306) at hextd.sprite.EnemySpriteBase.doDamage(EnemySpriteBase.java:241) at hextd.sprite.EnemySpriteBase.doDamage(EnemySpriteBase.java:229) at hextd.tower.TowerGreenThree.doTick(TowerGreenThree.java:84) at hextd.HexTD.doTick(HexTD.java:744) at hextd.HexTD.run(HexTD.java:1264) at java.lang.Thread.run(Unknown Source) |
||||||||||||||
|
|
|
||||||||||||||
|
|
#14 | ||||||||||||||
|
TowerDefence.net Game Project Developer
Join Date: Feb 2008
Posts: 832
![]() |
Yep, it does use threads, one for the game logic, one for drawing the graphics and a user-interface one. So these are indeed all sync problems between the different threads.
I'll fix this one asap
|
||||||||||||||
|
|
|
||||||||||||||
|
|
#15 | ||||||||||||||
|
Cannon Tower
Join Date: May 2008
Posts: 13
![]() |
at javax.swing.text.Utilities.isComposedTextElement(Unknown Source)
at javax.swing.text.AbstractDocument.handleRemove(Unknown Source) at javax.swing.text.AbstractDocument.remove(Unknown Source) at javax.swing.JEditorPane.setText(Unknown Source) at hextd.UI.PanelTowerInfo.setText(PanelTowerInfo.java:142) at hextd.UI.PanelTowerInfo.updateInterface(PanelTowerInfo.java:127) at hextd.UI.PanelTowerInfo.moneyChanged(PanelTowerInfo.java:194) at hextd.util.Context.fireMoneyChangedEvent(Context.java:374) at hextd.util.Context.doReceive(Context.java:306) at hextd.sprite.EnemySpriteBase.doDamage(EnemySpriteBase.java:241) at hextd.sprite.EnemySpriteBase.doDamage(EnemySpriteBase.java:225) at hextd.tower.TowerGreenTwo.doTick(TowerGreenTwo.java:68) at hextd.HexTD.doTick(HexTD.java:744) at hextd.HexTD.run(HexTD.java:1264) at java.lang.Thread.run(Unknown Source) Hex Tower Defence v0.6.3 Another one. This is displayed over and over and over.. /Tomas |
||||||||||||||
|
|
|
||||||||||||||
|
|
#16 | ||||||||||||||
|
TowerDefence.net Game Project Developer
Join Date: Feb 2008
Posts: 832
![]() |
Why are you playing 0.6.3? The game is at 0.6.11c and this specific problem was solved somewhere along the line...
|
||||||||||||||
|
|
|
||||||||||||||
|
|
#17 |
|
Cannon Tower
Join Date: Nov 2008
Posts: 14
![]() |
v0.6.13c
I was able to repeatedly crash the game by doing this (tested many and many times): Build any tower Turn fast foward on Send waves And now how to crash the game As the waves get in the line of sight of the tower, try to upgrade it really fast by pressing or holding the upgrade button. And another case There is some bug in the game that occurs in windows OS. When you hover the pointer over the upgrade button to click it, the other menu, target mode button, constantly drops over the upgrade button, making it almost impossible to click. It also happens if you select a tower during fast foward and many, specially swarms, creeps pass by its line of sight; the tower info panel starts to rapidly change the displayed info, until game crashes. It seems that when this drop down menu flaw happens very fast, the game crashes. PS: My PC runs this game very slowly in full screen mode. However, in minimum window size mode, it runs really fast, and that's when the crashes occur more often. Last edited by siudfgoiusdgfasf; November 28th, 2008 at 03:06 PM. |
|
|
|
|
|
#18 | ||||||||||||||
|
TowerDefence.net Game Project Developer
Join Date: Feb 2008
Posts: 832
![]() |
Hmm, I have an idea what might cause this. I'll look into it.
I forgot to ask, do the same problems occur in the development version? http://cvs.fbt.wur.nl/~hylke/applet_hextd.php Last edited by The Noid; November 29th, 2008 at 12:39 PM. Reason: Automerged Doublepost |
||||||||||||||
|
|
|
||||||||||||||
|
|
#19 |
|
Cannon Tower
Join Date: Nov 2008
Posts: 14
![]() |
Edited.
Tested that version and it does crash as well, but it seems that it doesn't matter if my PC lags or not, because the it crashed right when a single creep passed by at the same time I pressed U. Just noticed something different in this version, the game hiccups from time to time, hangging for a while and then continuing, specially during swarms. Last edited by siudfgoiusdgfasf; November 29th, 2008 at 04:10 PM. |
|
|
|
|
|
#20 | |||||||||||||||
|
Visiting here since May 2007
Join Date: Nov 2007
Posts: 895
![]() |
Quote:
__________________
Updated What color represents you? |
|||||||||||||||
|
|
|
|||||||||||||||
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|