Crash - but this is a funny one. (Full Version)

All Forums >> [New Releases from Matrix Games] >> Victory and Glory: Napoleon



Message


Sheist -> Crash - but this is a funny one. (3/19/2017 1:54:51 PM)


1800 scenario, Corporal level. January 1811. Napoleon occupies London after destroying/capturing the last remnants of the British fleet. A small retreated British army occupies Wales, while the newly-formed British militia of 9 units occupies Central Britain. London has been occupied only briefly. I attempt to play the card for the USA to declare war on the British, and the game crashes instantly. It does so on repeated attempts. Funny, since there are no naval units that can be removed, and the army is on the ropes already, so there is no real point in trying to get the card to work at this point, but here is the crash anyway.

Napoleon Version 1.0.1 Build 74
Napoleon crashed at: Sun Mar 19 03:09:44 ICT 2017
OS = Windows 7
Architecture = x86
OS Version = 6.1
Free heap space is 4932792
Total memory is 259350528
Size config = 3
Details of the crash:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.class)
at java.util.ArrayList.remove(ArrayList.class)
at fgb.a(fgb.java:149)
at rfb.a(rfb.java:3271)
at vhb.a(vhb.java:2248)
at r1.a(r1.java:1018)
at e5.a(e5.java:653)
at e5.b(e5.java:624)
at a.x(a.java:987)
at a.p(a.java:756)
at dmb.run(dmb.java:144)
Index: 0, Size: 0
<end of report>




mercenarius -> RE: Crash - but this is a funny one. (3/20/2017 5:46:04 AM)

Yes, I see that the logic for the card isn't checking properly for the forces which should be removed. I am going to issue a maintenance release (as soon as I can) which will correct this and a couple of other errors.

In the meantime, the only work-around is not to use this card if the British don't have the requisite units. I know that's a bit of a hassle and I apologize for this. [:(]

Thanks for reporting this!




Sheist -> RE: Crash - but this is a funny one. (3/20/2017 2:20:01 PM)


Thanks for noting this.

Pivoting, is there any way to prevent the card shuffle from displaying cards that can't be used?

i.e. Ottoman is already conquered by France, yet the Ottoman Declares War on Russia is still offered.

Britain is conquered, yet the Storms card is still offered.

More minorly, when any "recruits" cards such as for Italy, Germany and/or Warsaw, when no reinforcements currently exist in the pool; shouldn't it skip trying to offer those cards as they would have to be held for up to a year before being possibly usable anyway? I've had situations where I held 2 or 3 German reinforcement cards, but the pool is empty. What a tease! ;)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.84375