Jump to content

Console Spam

Fixed 1.3.2 1.3.4

Watcher
Watcher

Posted

Failed to call hook 'OnEntityDeath' on plugin 'HeavyCargoShipEvent v1.3.2' (NullReferenceException: Object reference not set to an instance of an object.)

at Oxide.Plugins.HeavyCargoShipEvent.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x00044] in <826684bf8fea417593489d559e5bf924>:0

at Oxide.Plugins.HeavyCargoShipEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ed8] in <826684bf8fea417593489d559e5bf924>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

Cahnu

Posted

Hello, is this still occurring in the latest version of 1.3.3? 

Cahnu

Posted

Changed Status from Pending to Can't Reproduce

Cahnu

Posted

Changed Status from Can't Reproduce to Fixed

Cahnu

Posted

Changed Fixed In to 1.3.4

Cahnu

Posted

Hello please let me know if you still run any into trouble on the latest version. I added a change that I'm hoping will resolve this console error.

Watcher

Posted

23 minutes ago, Cahnu said:

Hello please let me know if you still run any into trouble on the latest version. I added a change that I'm hoping will resolve this console error.

Sorry, but i removed heavy cargo and oil from my server at the moment, because of the troubles.

Cahnu

Posted

Hello, are there other troubles besides this console spam? I see two support tickets from you but both are referencing the same console spam being thrown from OnEntityDeath. My understanding was it was just causing console spam and not impacting the event in any way. Let me know if there's anything else going on I missed. Thanks!

Watcher

Posted

11 hours ago, Cahnu said:

Hello, are there other troubles besides this console spam? I see two support tickets from you but both are referencing the same console spam being thrown from OnEntityDeath. My understanding was it was just causing console spam and not impacting the event in any way. Let me know if there's anything else going on I missed. Thanks!

I will test them out on a test server and let you know!

  • Like 1
Watcher

Posted

On 8/21/2025 at 3:17 AM, Cahnu said:

Hello, are there other troubles besides this console spam? I see two support tickets from you but both are referencing the same console spam being thrown from OnEntityDeath. My understanding was it was just causing console spam and not impacting the event in any way. Let me know if there's anything else going on I missed. Thanks!

The spam is gone and both Heavy oil and cargo are working, only thing is that you still can destroy the turrets on cargo and get an AK with lots of bullets.
With:

 "Allow turrets to be looted after they are disabled. (Each turret has an AK and full stacks of ammo)": false,
  "Allow turrets to be looted if they are destroyed": false,

Cahnu

Posted

Are you using any sort of PVE or damage plugins that may be overriding it? I'm not experiencing that issue myself and don't have other reports of it at the moment.  The plugin uses the hook 'OnEntityDeath' to clear the loot when it dies if you have AllowTurretLootingOnDestroy set to false. It also uses OnLootEntity` hook  to prevent looting with AllowTurretLootingOnCodeLockDisable set to false.

if another plugin is using these hooks and returning a conflicting value, it can cause this sort of issue. I would suggest disabling other plugins you have installed that seem like potential conflicts to test which may be conflicting. From there, I can try to point you in the right direction on making them play nicely together.

Watcher

Posted (edited)

1 hour ago, Cahnu said:

Are you using any sort of PVE or damage plugins that may be overriding it? I'm not experiencing that issue myself and don't have other reports of it at the moment.  The plugin uses the hook 'OnEntityDeath' to clear the loot when it dies if you have AllowTurretLootingOnDestroy set to false. It also uses OnLootEntity` hook  to prevent looting with AllowTurretLootingOnCodeLockDisable set to false.

if another plugin is using these hooks and returning a conflicting value, it can cause this sort of issue. I would suggest disabling other plugins you have installed that seem like potential conflicts to test which may be conflicting. From there, I can try to point you in the right direction on making them play nicely together.

i will look for those hooks in other plugins and let you know.

Update: result in file.  PVE setting = "players cannot hurt autoturret"

heavy.txt

Edited by Watcher
1.9m

Downloads

Total number of downloads.

9.1k

Customers

Total customers served.

133.4k

Files Sold

Total number of files sold.

2.8m

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.