Helicopter with machinegun fail to attackt during patrol mission

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
I1066
Posts: 86
Joined: Tue Oct 22, 2013 3:26 pm

Helicopter with machinegun fail to attackt during patrol mission

Post by I1066 »

There seems like something strange is going on with helicopters with a machine gun shooting out from one of its sides when it attacks during a patrol mission.
Hard to explain exactly how strange it behaves, but basically it is all over the place.
Check the attached scenario. Just start it, speed it up and watch the strangeness play out.
Attachments
Helo attack issue.zip
(17.66 KiB) Downloaded 10 times
Nikel
Posts: 2354
Joined: Tue Mar 24, 2009 10:51 am

Re: Helicopter with machinegun fail to attackt during patrol mission

Post by Nikel »

The helo never fires.

In case it is useful, the eventlog displayed these errors in 2 tries:

10/11/2024 16:46:07 -- B1500 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : Helo attack issue -- DB : -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Command_Core.Aircraft.GetAllSensors()
at Command_Core.ActiveUnit.Sensors_ReadOnly()
Call Stack & Error details:
Error at 101185:

10/11/2024 16:46:07 -- B1500 -- Value cannot be null.
Parameter name: source -- Scen : Helo attack issue -- DB : -- Exception: Value cannot be null.
Parameter name: source
Stack Trace: at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
at Command_Core.ActiveUnit.get_IsPaintingATarget()
at Command_Core.Aircraft_AI.lGDOBQ6Xa7a(Single , ContactType , Weapon )
Call Stack & Error details:
Error at 200351: Value cannot be null.
Parameter name: source

10/11/2024 17:25:52 -- B1500 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : Helo attack issue -- DB : -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Command_Core.ActiveUnit.GetAllSensors()
at Command_Core.ActiveUnit.Sensors_ReadOnly()
Call Stack & Error details:
Error at 101185:

10/11/2024 17:25:52 -- B1500 -- Object reference not set to an instance of an object. -- Scen : Helo attack issue -- DB : -- Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.ActiveUnit.Components()
at Command.UnitStatus_WPF.IrIaEmOoND8(ActiveUnit )
at Command.UnitStatus_WPF.DhUaE4JiyLs(Scenario , Side , Unit )
Call Stack & Error details:
Error at 32165474243245: Object reference not set to an instance of an object.
Nikel
Posts: 2354
Joined: Tue Mar 24, 2009 10:51 am

Re: Helicopter with machinegun fail to attackt during patrol mission

Post by Nikel »

Bump.

Still happening in B1776.
Nikel
Posts: 2354
Joined: Tue Mar 24, 2009 10:51 am

Re: Helicopter with machinegun fail to attackt during patrol mission

Post by Nikel »

Whatever is the cause, I think it is the same problem described in this thread.

https://forums.matrixgames.com/viewtopi ... 8#p5237808
Post Reply

Return to “Tech Support”