Jump to content

boolean

Pending 1.3.0

Theswingingturtle

Posted

CH47 was in Launch Site crashed in Brads route, cause I set truePVE where everything can hurt CH47 so launch sams took ch47 down, but I removed it just incase it was that:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f98723dd4586469db5213ec59da723ca>:0 
  at BradleyAPC.IdealPathPosition () [0x0003e] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.AdvancePathMovement (System.Boolean force) [0x00040] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.DoSimpleAI () [0x00085] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.FixedUpdate () [0x0001e] in <194c814d6c8a49c3b6eb5270571eef80>:0 

Then afterwards when I started destroying the bradley I got this:
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <275b9bee91ab4ccbb57447b1e5e6b24d>:0 

I didn't see in downloads 1.3.1 was out, so I downloaded it just now. Maybe it had with old version to do, but putting it here and you can close if that was already seen and fixed. Thanks.

Theswingingturtle

Posted (edited)

5 minutes ago, Theswingingturtle said:

CH47 was in Launch Site crashed in Brads route, cause I set truePVE where everything can hurt CH47 so launch sams took ch47 down, but I removed it just incase it was that:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f98723dd4586469db5213ec59da723ca>:0 
  at BradleyAPC.IdealPathPosition () [0x0003e] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.AdvancePathMovement (System.Boolean force) [0x00040] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.DoSimpleAI () [0x00085] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at BradleyAPC.FixedUpdate () [0x0001e] in <194c814d6c8a49c3b6eb5270571eef80>:0 

Then afterwards when I started destroying the bradley I got this:
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <275b9bee91ab4ccbb57447b1e5e6b24d>:0 

I didn't see in downloads 1.3.1 was out, so I downloaded it just now. Maybe it had with old version to do, but putting it here and you can close if that was already seen and fixed. Thanks.

Keeps happening after updating to 1.3.1, a player spawned a bradley signal and still got the messages
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <275b9bee91ab4ccbb57447b1e5e6b24d>:0 
 

 

Edited by Theswingingturtle
ZEODE

Posted

Please can you give more info about when and how this happens. You said the ch47 crashed in launch, was this getting in the way of vanilla Bradley or was it a Bradley drop Bradley?

Its not very clear what you are saying.

The other error I will fix in the next update. You could try turning CH47 homing targeting off but why would you have CH47 set as targetable in TruePVE?

Theswingingturtle

Posted

First bigger warning came when ch47 was blocking vanilla bradley in launch site. Second warning came I THINK when the smoke and npcs comes out of bradley. Then the second warning came again when a player spawned a bradley at their base. After that it never happened again! So maybe we can leave this open and I can investigate it further. I always try to be quick on bug reports but sometimes I am not there when it happens 😕 got 4 kids aswell but got all night infront of me here if it happens again, I let you know more details.

Theswingingturtle

Posted (edited)

It's pretty much when he gets stuck. I had to drag him to a terrain where he could get stuck, when he gets unstuck the spam stops.

Edited by Theswingingturtle
ZEODE

Posted

1 hour ago, Theswingingturtle said:

It's pretty much when he gets stuck. I had to drag him to a terrain where he could get stuck, when he gets unstuck the spam stops.

Ah ok, that’s helpful. The first error is not coming directly from my plugin, but it is me manipulation the Bradley pathing index that causes the error. Because when it gets stuck it clears the path and then creates a new one. I will likely just have to take over pathing and block the built in logic to stop the error, no biggy. The second error looks like I simply missed a null check somewhere. I should have it sorted as soon as I can get on the pc 

Theswingingturtle

Posted

8 minutes ago, ZEODE said:

Ah ok, that’s helpful. The first error is not coming directly from my plugin, but it is me manipulation the Bradley pathing index that causes the error. Because when it gets stuck it clears the path and then creates a new one. I will likely just have to take over pathing and block the built in logic to stop the error, no biggy. The second error looks like I simply missed a null check somewhere. I should have it sorted as soon as I can get on the pc 

Yeah no rush. But the one I was testing with was Bradley Signal, sorry for not adding that in. I meant I called one of your signals, and pulled him to a uphill terrain and once he got "glitchy" stuck the spam comes out. And mind that I had to fly around in noclip where he had to range of me when it happened aswell. Maybe range based, idk. I noticed I had very short range anyways.

Theswingingturtle

Posted

Hello, no stress, just wondering if we found a solution to this? 
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <536bdea6e0b64cf5905a2e9d457cb04a>:0 

and this
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f98723dd4586469db5213ec59da723ca>:0 
  at BradleyAPC.IdealPathPosition () [0x0003e] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.AdvancePathMovement (System.Boolean force) [0x00040] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.DoSimpleAI () [0x00085] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.FixedUpdate () [0x0001e] in <9dee0bd6eaa944128b9a2aab850e890d>:0 

Theswingingturtle

Posted (edited)

Also, I set range to 300 on both tank and machine gun, and it made it setback to default. 120range worked. Haven't tested further then that.

Edited by Theswingingturtle
ZEODE

Posted

On 10/6/2025 at 3:53 PM, Theswingingturtle said:

Hello, no stress, just wondering if we found a solution to this? 
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <536bdea6e0b64cf5905a2e9d457cb04a>:0 

and this
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <f98723dd4586469db5213ec59da723ca>:0 
  at BradleyAPC.IdealPathPosition () [0x0003e] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.AdvancePathMovement (System.Boolean force) [0x00040] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.DoSimpleAI () [0x00085] in <9dee0bd6eaa944128b9a2aab850e890d>:0 
  at BradleyAPC.FixedUpdate () [0x0001e] in <9dee0bd6eaa944128b9a2aab850e890d>:0 

Wont be at my PC until friday.

19 hours ago, Theswingingturtle said:

image.png.ef8f404075e206dad024be4a77c646b4.png

What is this showing me?

12 hours ago, Theswingingturtle said:

Also, I set range to 300 on both tank and machine gun, and it made it setback to default. 120range worked. Haven't tested further then that.

Not sure what you mean, I have tested way above 300 and Bradley has targeted me, but I will look again. Please confirm what you mean?

Theswingingturtle

Posted (edited)

hey, just wanted to let you know that the boolean got removed when I unloaded AdvancedHitBar plugin, which is up to date but, but keeping that off from bradleys.

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BradleyDrops+BradleyDrop.FireSmokeGrenade () [0x00089] in <d084e01bd08048679626e8c056d5966d>:0 

this one is still coming when players hide behind the sheetmetal peak windows but are still able to shoot, and bradley stops target the player, and stands still in "drive mode" and do nothing, I think if the player peaks enough so the bradley can see him enough again it stops the nullreference. And I doubled check I have the setting where bradley keeps target even if player hind behind walls. Hope that helps. 

Edited by Theswingingturtle
ZEODE

Posted

Please join my Discord and hit me up there so we can sort this 🙂

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

137.2k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.