flaing / jnibwapi

Automatically exported from code.google.com/p/jnibwapi
0 stars 0 forks source link

For games without bases (2010 tactical games), Java reports exceptions #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running any of the 2010 Tournament 1 games (those without bases)

What is the expected output? What do you see instead?
Java reports an integer parsing exception when parsing the baseLocations array 
(around line 480 in JNIBWAPI.java)

What version of the product are you using? On what operating system?
JNI-BWAPI 0.2, XP (virtual PC)

Please provide any additional information below.
I've made a couple of mods to JNIBWAPI.java to handle cases for both choke 
points and base locations when there aren't any.

Original issue reported on code.google.com by deano.g...@googlemail.com on 16 Jul 2011 at 9:01

Attachments:

GoogleCodeExporter commented 9 years ago
This looks like a good update - thanks a lot!

Original comment by LukeDic...@gmail.com on 24 Jul 2011 at 2:20

GoogleCodeExporter commented 9 years ago
On it.

Original comment by Fobbah on 25 Jul 2011 at 9:22

GoogleCodeExporter commented 9 years ago
Adding fix to svn. Still need to test to make sure there's no issues

Original comment by Fobbah on 25 Jul 2011 at 10:22