TowerDefence.net Forums
Home
Forum
Contact
Search
Go Back   Tower Defence Forums > Tower Defence Games > Online games > Hex Tower Defence

Hex Tower Defence Hex Tower Defence

Reply
 
Thread Tools Display Modes
Old May 29th, 2008, 08:11 AM   #11
tomniltomnil
Cannon Tower
Points: 1,129, Level: 15
Points: 1,129, Level: 15 Points: 1,129, Level: 15 Points: 1,129, Level: 15
Activity: 6%
Activity: 6% Activity: 6% Activity: 6%
 
Join Date: May 2008
Posts: 13
tomniltomnil is a normal user
Default

Quote:
Originally Posted by The Noid View Post
How DO you actually hang it then?
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:
Originally Posted by The Noid View Post
To be able to interrupt the program you have to run it in the debugger. Not sure how that works in IntelliJ, but in Netbeans it's the option next to "Run" (called "Debug", who guessed )
Oh, sorry. I installed netbeans just for simplicity I need to break and see the threads, and their current position (ie, corresponding option to "Show next statement" in Visual Studio)..

/Tomas
tomniltomnil is offline   Reply With Quote
Old May 29th, 2008, 08:51 AM   #12
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default

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.
The Noid is offline   Reply With Quote
Old June 11th, 2008, 02:33 PM   #13
tomniltomnil
Cannon Tower
Points: 1,129, Level: 15
Points: 1,129, Level: 15 Points: 1,129, Level: 15 Points: 1,129, Level: 15
Activity: 6%
Activity: 6% Activity: 6% Activity: 6%
 
Join Date: May 2008
Posts: 13
tomniltomnil is a normal user
Default

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)
tomniltomnil is offline   Reply With Quote
Old June 11th, 2008, 02:48 PM   #14
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default

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
The Noid is offline   Reply With Quote
Old June 24th, 2008, 04:25 PM   #15
tomniltomnil
Cannon Tower
Points: 1,129, Level: 15
Points: 1,129, Level: 15 Points: 1,129, Level: 15 Points: 1,129, Level: 15
Activity: 6%
Activity: 6% Activity: 6% Activity: 6%
 
Join Date: May 2008
Posts: 13
tomniltomnil is a normal user
Default

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
tomniltomnil is offline   Reply With Quote
Old June 25th, 2008, 08:52 AM   #16
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default

Why are you playing 0.6.3? The game is at 0.6.11c and this specific problem was solved somewhere along the line...
The Noid is offline   Reply With Quote
Old November 28th, 2008, 03:01 PM   #17
siudfgoiusdgfasf
Cannon Tower
 
Join Date: Nov 2008
Posts: 14
siudfgoiusdgfasf is a normal user
Default

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.
siudfgoiusdgfasf is offline   Reply With Quote
Old November 28th, 2008, 04:10 PM   #18
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default

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
The Noid is offline   Reply With Quote
Old November 29th, 2008, 02:47 PM   #19
siudfgoiusdgfasf
Cannon Tower
 
Join Date: Nov 2008
Posts: 14
siudfgoiusdgfasf is a normal user
Default

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.
siudfgoiusdgfasf is offline   Reply With Quote
Old November 29th, 2008, 06:28 PM   #20
ShadowRunner
Visiting here since May 2007
Points: 4,878, Level: 32
Points: 4,878, Level: 32 Points: 4,878, Level: 32 Points: 4,878, Level: 32
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Nov 2007
Posts: 895
ShadowRunner is a normal user
Default

Quote:
Originally Posted by siudfgoiusdgfasf View Post
it crashed right when a single creep passed by at the same time I pressed U.
Remember to copy and paste the error on the Java Console here
__________________
Updated
What color represents you?
ShadowRunner is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 04:58 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.