Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Crash - but this is a funny one.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Victory and Glory: Napoleon >> Crash - but this is a funny one. Page: [1]
Login
Message << Older Topic   Newer Topic >>
Crash - but this is a funny one. - 3/19/2017 1:54:51 PM   
Sheist

 

Posts: 24
Joined: 9/7/2016
Status: offline

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>
Post #: 1
RE: Crash - but this is a funny one. - 3/20/2017 5:46:04 AM   
mercenarius


Posts: 653
Joined: 7/6/2010
Status: offline
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!

< Message edited by mercenarius -- 3/20/2017 5:47:23 AM >

(in reply to Sheist)
Post #: 2
RE: Crash - but this is a funny one. - 3/20/2017 2:20:01 PM   
Sheist

 

Posts: 24
Joined: 9/7/2016
Status: offline

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! ;)

(in reply to mercenarius)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Victory and Glory: Napoleon >> Crash - but this is a funny one. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.969