yea I don’t really know, just that league guys use it to pbf. There’s a few other people here that use it as well.
They’re separate sites. Seems like there was a little more interaction when redrum was actively developing.
It shouldn’t by my computer, it’s brand new with only TripleA, Battlemap and the regular Microsoft stuff (office, windows, etc). Unless it’s a program 99.99% of you have that I don’t. I don’t generally keep a cluttered computer. (8gig ram, should be PLENTY.)
[quote author=Cmdr Jennifer link=topic=26989.msg969411#msg969411 date=1338897541]
It shouldn’t by my computer, it’s brand new with only TripleA, Battlemap and the regular Microsoft stuff (office, windows, etc). Unless it’s a program 99.99% of you have that I don’t. I don’t generally keep a cluttered computer. (8gig ram, should be PLENTY.)
[/quote]
I’ve never had TripleA “crash”.
I have had it stop working with an error message. If you have an error message, you need to post it. I can’t fix stuff without actually knowing what is wrong.
I’ve also had the AI take forever and/or hang the computer (like an infinite loop). That should not happen on any of the A&A maps though, it tends to only happen on really big maps. You should not be using the AI with Global, because Global is too complex for the AI to understand.
In short, you need to post the error message, and also tell me what you were doing before it crashed, etc etc.
Also, make sure your java is up to date.
[quote author=Veqryn link=topic=26989.msg969317#msg969317 date=1338870701]
edit:
Could you tell me what you possibly did that made this happen?
Did you click really really fast through the phases? Â Did you double click on ‘done’?
Tell me everything you did, so that I have a hope in hell of replicating this (it is very hard to solve problems unless I can replicate them).
Also, what did the error message say?
I loaded the game, but I did not get any error message.
Please copy and paste the error message here, or somewhere like the bug tracker.
[/quote]
It seems to happen only when I edit something during my turn.
When I am done the NCMs and click finish and then click post teh summary I get the error message. I would like to copy and paste it - I tried - but it wouldn’t let me.
Seththenewb got it working for me, but I don’t know what he did.
If it happens again, I’ll post here.
Veqryn,
If I remember, i’ll try to play it again this weekend. Just got a new Star Trek game though, so don’t be surprised if I dont get too it. However, it just STOPS, it doesnt go back to the desktop, and it’s ALWAYS during the AI’s turn (both easy and hard).
Should help you narrow it down. As I said, it’s most likely a memory leak, it’s the only thing that seems to make sense too me.
What version of the game are you playing?
And can you get the error to repeat regularily?
@ Jennifer,
I know that the AIs take “forever” on the USA turn (when USA is not yet at war). However, if you wait long enough it WILL finish its turn. Sadly, it takes like 5-10 minutes.
Anyway, I really don’t recommend using the AIs for Global 1940 for this reason. The AIs were all coded to play “Revised” (and to some extent, AA50), so they just don’t understand any of the newest rules from Global.
If you could tell me, what map are you playing, and which AIs? Also, you can save the game while the AI is “thinking”, and then upload the game here for me to see. That would help a lot.
@ Jim,
If you can’t copy and paste the error, please take a screenshot of it, or find some way to at least tell me the first few lines of it.
Also, I’d be curious to know what Seth did or did not do, to get it working again.
thank you both,
with your help, we can all make triplea better
What I did to get it working again was to simply go back to a previous save, redo everything, and then edit combat results. It happened on Jim’s turn, but I’ve had it happen a couple times on my turn in previous games. Below is the error report for another game that just crashed on me.
ava.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.remove(Unknown Source)
at games.strategy.triplea.ui.history.HistoryLog.printRemainingTurn(HistoryLog.java:210)
at games.strategy.triplea.ui.history.HistoryLog.printFullTurn(HistoryLog.java:110)
at games.strategy.triplea.ui.EndTurnPanel.updateHistoryLog(EndTurnPanel.java:278)
at games.strategy.triplea.ui.EndTurnPanel.access$500(EndTurnPanel.java:43)
at games.strategy.triplea.ui.EndTurnPanel$8.run(EndTurnPanel.java:302)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I’m attaching a savefile of the game as well.
I was able to find the map that Jim was talking about and am attaching that as well. I’ll also post on that bug list site you linked me a week or so ago. It’s interesting to note that both of these times it crapped on US’s turn, I don’t know if that has anything to do with it or it’s simply a coincidence. Below is the error report. After a quick scan, these seem to be pretty much the exact same except for the index/size at the very top.
java.lang.IndexOutOfBoundsException: Index: 14, Size: 13
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.remove(Unknown Source)
at games.strategy.triplea.ui.history.HistoryLog.printRemainingTurn(HistoryLog.java:210)
at games.strategy.triplea.ui.history.HistoryLog.printFullTurn(HistoryLog.java:110)
at games.strategy.triplea.ui.EndTurnPanel.updateHistoryLog(EndTurnPanel.java:278)
at games.strategy.triplea.ui.EndTurnPanel.access$500(EndTurnPanel.java:43)
at games.strategy.triplea.ui.EndTurnPanel$8.run(EndTurnPanel.java:302)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
ya, someone else reported this too.
Arrays are things that can contain information (in this case moves), and the first item starts at place “0”.
So, an array with 5 items in it, will have a size of 5. However, the items will be at indexes 0-4
If you try to access index 5 or above, you will get the error.
The good thing is that all these seem to be occurring at the same place, and we finally have some savegames of it. I promise to look into this asap.
thx for all the help,
veq
Ok, I’ve found the problem.
All important to finding problems is being able to easily replicate them. I found the steps to create this problem:
During either Combat Move or NonCombat Move:
1. Make some moves
2. Turn on Edit Mode and then do something in Edit Mode
3. Turn off Edit Mode
4. Undo a move
5. Try to post the turn summary. (The Turn Summary history log creator will crap out)
That is all that is needed it appears, to create this problem.
Seth, can you confirm for me if it occurs in any other situations? (like, does it occur ever without undoing moves or without edit mode?)
In the mean time, I’ll work on fixing this.
thx,
veq
The fix took only an hour to figure out, but testing it, and tracking down why the code was like that in the first place, took 2 hours more.
Anyway, it is fixed for next version.
Let me rephrase:
Crash means the game ceases to exist as an operating process. I don’t mean “hangs” on America’s turn (though if I ever got that far, I am sure it would annoy me) I literally mean in in the classic Windows 3.11 manner.
Fixed in next version, does this mean a new version of the game engine of triplea? So, there will be a version 1.5.2.2? Will this take long to prepare, as not being able to undo moves is quite impossible, it happens all the time. I can confirm it occurs also WITHOUT edit mode. We had this occuring only by undoing done moves in combat/non combat.
Fixed in next version, does this mean a new version of the game engine of triplea? So, there will be a version 1.5.2.2? Will this take long to prepare, as not being able to undo moves is quite impossible, it happens all the time. I can confirm it occurs also WITHOUT edit mode. We had this occuring only by undoing done moves in combat/non combat.
1.6 should be out in a week with the fix. However, i only tested it with edit mode. If it happens without edit mode, you need to tell me the steps to recreate it. I can’t fix it til I can recreate it.
ok, I can try to get it to you, we encountered the bug first without any edits, but editted it out and were able to continue until the country came up again. Thanks for looking at it.
FYI:
Global was updated today to version 2.9
(that is the file version)
You guys all need to redownload it.
The fixes:
2.9
Everyone needs to download it.
http://sourceforge.net/projects/tripleamaps/files/maps/World War II Global.zip
Make sure that both you and your opponents have it. If your opponent does not have it, then you might end up playing by the old version….
Thank you!
Just one small cosmetic issue: The figure “32” of SZ 32 is seperated. The “3” is in SZ 32, the “2” is in SZ 30.
A question. Edit mode doesn’t appear to have the option of placing a damaged BB or CV. Am I missing something somewhere or is it possible to do that?
not possible yet,
i hope to code that soon
1. [done] Allow non-combat move a submarine into a hostile sea zone (but make sure to disallow moving that unit any further if there is a destroyer there) (and create a new game option for this, since revised doesn’t work this way).
5. [done] Should be able to load in a sea zone if it became hostile this TURN
Do these fixes require v1.6 program in addition to v2.9 map?
Or should they work with v1.5.2.1 program?