Jump to content

Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.4'

Closed 1.1.4 1.1.6

Tanki
Tanki

Posted

Quote

09:02 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000f6] in <3948a374274e4806a3fe097b40e69fda>:0 
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008a5] in <3948a374274e4806a3fe097b40e69fda>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
09:02 [Info] [NextGen PVE] attacker prefab: bear, victim prefab: boar
09:02 [Info] [NextGen PVE] attacker type: Bear, victim type: Boar
09:02 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000f6] in <3948a374274e4806a3fe097b40e69fda>:0 
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008a5] in <3948a374274e4806a3fe097b40e69fda>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

 

zulg

Posted

I have the same error as well!

RFC1920

Posted

I see you have debug enabled.  Do you also have logging enabled when this error occurs?

zulg

Posted (edited)

"Options": {

    "debug": false,

    "useZoneManager": false,

    "protectedDays": 0.0,

    "useSchedule": false,

    "useGUIAnnouncements": false,

    "useMessageBroadcast": false,

    "useRealTime": true,

    "useFriends": false,

    "useClans": false,

    "useTeams": false,

    "AllowCustomEdit": true,

    "AllowDropDatabase": false,

    "NPCAutoTurretTargetsPlayers": true,

    "NPCAutoTurretTargetsNPCs": true,

    "AutoTurretTargetsPlayers": false,

    "HeliTurretTargetsPlayers": true,

    "AutoTurretTargetsNPCs": false,

    "NPCSamSitesIgnorePlayers": false,

    "SamSitesIgnorePlayers": false,

    "AllowSuicide": true,

    "TrapsIgnorePlayers": false,

    "HonorBuildingPrivilege": true,

    "UnprotectedBuildingDamage": true,

    "UnprotectedDeployableDamage": false,

    "TwigDamage": true,

    "HonorRelationships": true,

    "BlockScrapHeliFallDamage": false

  },

  "Version": {

    "Major": 1,

    "Minor": 1,

    "Patch": 4

  } mines is set to false, but this error is spamming my console!

 

(20:40:37) | Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NextGenPVE.EvaluateRulesets (HitInfo source, BaseEntity target, System.String& stype, System.String& ttype) [0x0003f] in <add1467d26014c67a375e7cbc4ad912b>:0

at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x0011d] in <add1467d26014c67a375e7cbc4ad912b>:0

Edited by zulg
RFC1920

Posted

Hopefully fixed or at least reduced in 1.1.5.

RFC1920

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.1.5

zulg

Posted

I downloaded and installed the new up date, then this,

 

(10:05:39) | Saving complete

(10:05:48) | Checking for new Steam Item Definitions..

(10:06:49) | [DEBUG] Reload requested for plugin which is already loading: NextGenPVE

(10:06:50) | NextGenPVE was compiled successfully in 1934ms

(10:06:50) | Unloaded plugin NextGen PVE v1.1.4 by RFC1920

(10:06:50) | server.pve: "False"

(10:06:50) | Loaded plugin NextGen PVE v1.1.5 by RFC1920

(10:06:55) | Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NextGenPVE.EvaluateRulesets (HitInfo source, BaseEntity target, System.String& stype, System.String& ttype) [0x0003f] in <e40caa23b9e04974b842353a5988e5e7>:0

at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x0011d] in <e40caa23b9e04974b842353a5988e5e7>:0

at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008a5] in <e40caa23b9e04974b842353a5988e5e7>:0

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

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

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

(10:06:55) | Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NextGenPVE.EvaluateRulesets (HitInfo source, BaseEntity target, System.String& stype, System.String& ttype) [0x0003f] in <e40caa23b9e04974b842353a5988e5e7>:0

at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x0011d] in <e40caa23b9e04974b842353a5988e5e7>:0

at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x008a5] in <e40caa23b9e04974b842353a5988e5e7>:0

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

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

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

RFC1920

Posted

Changed Fixed In from 1.1.5 to 1.1.6

RFC1920

Posted

I have one more fix I think that should be the end of it.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.