TripleA map for Global 1940 Alpha Final

  • '18 '17 '16 '11 Moderator

    Couple of issues - as of this date (6/4/2012):

    A) Check your sea zones in the Pacific.  There are very legal moves in the game that are being barred by your software.
    B) Not sure if this is a 64bit vs 32bit issue, but on all THREE of my 64 bit systems, the game gets about 1 or 2 rounds in then crashes.  Sounds like a memory leak, but to be honest, I’m way too busy to really look into it, run my diagnostic software, etc, to prove it to be one.

    Otherwise, the game is quite pretty.  Maybe the next incarnation can have little videos in it for battles/air attacks like Dogs of War did?

  • Customizer

    @Cmdr:

    A) Check your sea zones in the Pacific.  There are very legal moves in the game that are being barred by your software.
    B) Not sure if this is a 64bit vs 32bit issue, but on all THREE of my 64 bit systems, the game gets about 1 or 2 rounds in then crashes.  Sounds like a memory leak, but to be honest, I’m way too busy to really look into it, run my diagnostic software, etc, to prove it to be one.
    Otherwise, the game is quite pretty.  Maybe the next incarnation can have little videos in it for battles/air attacks like Dogs of War did?

    a) I need a LOT more information to go on.  You need to give me a specific move with specific units that is disallowed.  Even better is to give me a savegame of it.  You find a move not being allowed, quickly save the game and post it.
    b) I have 2 computers are 64 bit, including the one I develop triplea on, and it works fine.  99.99% this is your computers problem. 
    c) I won’t be making any movies/videos, mostly because I don’t know how.  If someone else wants to make them, maybe we can include them.

  • Customizer

    [quote]a) I need a LOT more information to go on.  You need to give me a specific move with specific units that is disallowed.  Even better is to give me a savegame of it.  You find a move not being allowed, quickly save the game and post it.[/quote]

    She’s referring to movement between sz30 and sz31.  It should be allowed, but the way the spacing has been done, the 2 spaces do not touch each other.

    I have a problem I need help with as well, though.

    I finished my American move, but the program will not post the summary to the forum, as it gives a give error message.  I close it, but it does not allow me to continue with China.

  • Customizer

    Jim, I have no clue what happened to you.

    If you have another save, like an autosave or anything, then load that.  Otherwise, you will need to load the last turn, and use edit mode to make it look like this turn, then continue from there.

    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.

  • '18 '17 '16 '11 Moderator

    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.)

  • Customizer

    [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.

  • Customizer

    [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.

  • '18 '17 '16 '11 Moderator

    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.

  • Liaison TripleA '11 '10

    What version of the game are you playing?

    And can you get the error to repeat regularily?

  • Customizer

    @ 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.

    crapout.tsvg


  • 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)


    jimvssethcrapout.tsvg

  • Customizer

    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

  • Customizer

    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

  • Customizer

    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.

  • '18 '17 '16 '11 Moderator

    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.

  • Customizer

    @hendriks1:

    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.

  • Customizer

    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

    • Allowed Italy and Germany to declare war on Russia seperately, and for Russia to declare war seperately as well.
    • Made Mongolian territories flip to Russian even if Japan attacks but loses against a Russian border territory.
    • Allowed Chinese units to enter Burma and Kwangtung.
    • Made all factories on originally Chinese territories be deleted if China controls them.
    • Added connection between 30 and 31 Sea Zones, and changed map tiles to show a connection.
    • Deleted connection between Newfoundland Labrador and 121 Sea Zone.
    • Deleted connection between Rio de Oro and French West Africa.
    • Added connection between Rio de Oro and Algeria.
    • Deleted connection between Eastern Persia and 79 Sea Zone.

    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….

Suggested Topics

Axis & Allies Boardgaming Custom Painted Miniatures

106

Online

17.4k

Users

39.9k

Topics

1.7m

Posts