device overflow issue with bombardment attacks (Full Version)

All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support



Message


Bradley7735 -> device overflow issue with bombardment attacks (5/22/2011 5:42:19 PM)

Hi Michael,

Thanks for fixing the issue with planes attacking LCU's with large # of devices. I have a new issue, though. Look at the battle at Kaoping. I start the battle on 3/24/42 with 2 chinese corps. When the Japanese bombard, both corps are totally destroyed. The 2 HQ and 1 ENG units in the same hex are not affected. If I divide the 2 corps into 3 parts, I don't have this problem.

I've given the save before and the save after, hopefully.

Thanks, Brad




witpqs -> RE: device overflow issue with bombardment attacks (5/22/2011 6:42:02 PM)

Just curious - what version are you running?




Bradley7735 -> RE: device overflow issue with bombardment attacks (5/22/2011 10:00:52 PM)

m5. But, I had the same issue with m1.




michaelm75au -> RE: device overflow issue with bombardment attacks (5/23/2011 1:02:19 PM)

I think it is related to the device overflow. The method of device destruction expects units to have 3000 or less total devices in them.
I fixed the issue that cause the list to overflow, but something else is causing the unit to think it is a 'size' of '0'.

Weird. A bug that needs another bug to keep it working[:@].




michaelm75au -> RE: device overflow issue with bombardment attacks (5/23/2011 1:19:53 PM)

It is an overflow issue, but the size of the LCU is bigger than the variable holding the size. It became negative and caused the unit to be killed off.
Yes it has been around since start I think. I have faint memory of such funny things happening to big units before but they seemed to related to other things. Problem could have had its roots in this issue tough.

I post an updated version shortly.

BTW
here is the new combat report

Ground combat at Kaoping (89,42)

Japanese Bombardment attack

Attacking force 50316 troops, 427 guns, 92 vehicles, Assault Value = 1727

Defending force 99065 troops, 662 guns, 8 vehicles, Assault Value = 2633

Japanese ground losses:
147 casualties reported
Squads: 1 destroyed, 15 disabled
Non Combat: 1 destroyed, 9 disabled
Engineers: 0 destroyed, 0 disabled



Assaulting units:
37th Division
41st Division
5th Armored Car Co
3rd Ind.Mixed Brigade
9th Ind.Mixed Brigade
110th Division
59th Infantry Brigade
4th Cavalry Brigade

Defending units:
26th Chinese Corps
27th Chinese Corps
26th Chinese Army
27th Chinese Army
Chinese Base Force





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.203125