Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Failed to call hook 'OnEntityTakeDamage'

No Response 1.0.43 1.0.45

19:12 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.43' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x000ff] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
19:12 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.43' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x000ff] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
19:12 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.43' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x000ff] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
19:12 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.43' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x000ff] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <ba7f53ca6913430b8e55d71aa9740c89>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0

 

Share this comment


Link to comment

If you have configured "useFriends": true, you must have the Friends plugin.  Likewise, if you have configured "useClans": true, you must have one of the available Clans plugins.  Please verify that if you do not have one of these that the associated config is set to false.

Share this comment


Link to comment

having this error aswell, it's getting annoying now because everytime a incen rocket or something is fired, literally THOUSANDS of these apprear, causing server fps to drop massives and cause lag. 

 

Got any ideas? i am about to give up 😕

Share this comment


Link to comment

It happens not to often. After installation and configuration I have tested the ability to damage buildings owned by teammate and everything was working correct, but at some point it became broken. I will be more then happy to assist in search for the reason, but I need to understand what exactly I should be looking for.

UPD. Damaging in team works well, but unable to damage friends buildings.

Can't seems to catch what exactly happens that triggering error.

Edited by [email protected]

Share this comment


Link to comment

It was autoclosed because I have been away and busy.  If you can, type /pvelog in chat, try to repeat whatever you were doing that triggers the error, and type /pvelog again.  Send me the log in oxide/logs/NextGenPVE/ with the current date in the filename.

Share this comment


Link to comment

Installed latest version to see if the issue still there. Will report if I get those errors again.

 

UPD: spamming hard. Feels like this is related to Raidable Bases plugin somehow. Switched back to TruePVE untill your next move xD

00:04 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.46' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x00202] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
00:04 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.46' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x00202] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
00:04 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NextGenPVE v1.0.46' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NextGenPVE.IsFriend (System.UInt64 playerid, System.UInt64 ownerid) [0x00126] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.PlayerOwnsItem (BasePlayer player, BaseEntity entity) [0x00158] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.EvaluateRulesets (BaseEntity source, BaseEntity target, System.String& stype, System.String& ttype) [0x00202] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x000c0] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0053f] in <cc23cfd9ac964b969d9d78e9d2ad5284>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0

 

nextgenpve_log-2020-09-26.zip

Edited by [email protected]

Share this comment


Link to comment

The good news is there is no NRE, the bad news is you can't correctly detect friends now.

Checking ruleset default
Found BasePlayer attacking BuildingPrivlidge.  Checking ruleset default, zone 0
Found exception match for BasePlayer attacking BuildingPrivlidge
No exclusions for BasePlayer to BuildingPrivlidge
Sanity check foundexception: True, foundexclusion: False
Ruleset 'default' exception: Setting damage to True
DAMAGE ALLOWED for BasePlayer attacking BuildingPrivlidge
Does player [email protected] own cupboard.tool.deployed?
  Player is friends with owner of BuildingBlock

We both have empty friends list (me attacking and the owner).

Also there is seems a glitch with cupboard.tool.deployed.

I just spawned one with admin command, so I don't own one and still able to damage

Does player [email protected] own cupboard.tool.deployed?
Checking ruleset default
Found BasePlayer attacking BuildingPrivlidge.  Checking ruleset default, zone 0
Found exception match for BasePlayer attacking BuildingPrivlidge
No exclusions for BasePlayer to BuildingPrivlidge
Sanity check foundexception: True, foundexclusion: False
Ruleset 'default' exception: Setting damage to True
DAMAGE ALLOWED for BasePlayer attacking BuildingPrivlidge
Checking ruleset default
Found MiniCopter attacking MiniCopter.  Checking ruleset default, zone 0
Sanity check foundexception: False, foundexclusion: False
NO RULESET MATCH!
DAMAGE BLOCKED for MiniCopter attacking MiniCopter
Does player [email protected] own cupboard.tool.deployed?
Checking ruleset default
Found BasePlayer attacking BuildingPrivlidge.  Checking ruleset default, zone 0
Found exception match for BasePlayer attacking BuildingPrivlidge
No exclusions for BasePlayer to BuildingPrivlidge
Sanity check foundexception: True, foundexclusion: False
Ruleset 'default' exception: Setting damage to True
DAMAGE ALLOWED for BasePlayer attacking BuildingPrivlidge
Checking ruleset default
Found MiniCopter attacking MiniCopter.  Checking ruleset default, zone 0
Sanity check foundexception: False, foundexclusion: False
NO RULESET MATCH!
DAMAGE BLOCKED for MiniCopter attacking MiniCopter
Checking ruleset default
No Ruleset match or exclusions: Setting damage to False
DAMAGE BLOCKED for Candle attacking Candle
Does player [email protected] own cupboard.tool.deployed?
Checking ruleset default
Found BasePlayer attacking BuildingPrivlidge.  Checking ruleset default, zone 0
Found exception match for BasePlayer attacking BuildingPrivlidge
No exclusions for BasePlayer to BuildingPrivlidge
Sanity check foundexception: True, foundexclusion: False
Ruleset 'default' exception: Setting damage to True
DAMAGE ALLOWED for BasePlayer attacking BuildingPrivlidge

I spawned a coffinstorage same command same place and not able to do no damage.

Spawned another cupboard.tool.deployed in the middle of nowhere and still able to damage.

Edited by [email protected]

Share this comment


Link to comment

There is a plugin I use (EntityOwner.cs) where you can own and unown (sic) surrounding entities.  This was how I tested.  THe same  plugin has the /prod command to let you confirm who owns whatever you're looking at.

Share this comment


Link to comment
{
  "Options": {
    "useZoneManager": false,
    "useSchedule": false,
    "useGUIAnnouncements": false,
    "useMessageBroadcast": false,
    "useRealTime": true,
    "useFriends": true,
    "useClans": true,
    "useTeams": true,
    "AllowCustomEdit": true,
    "AllowDropDatabase": false,
    "NPCAutoTurretTargetsPlayers": true,
    "NPCAutoTurretTargetsNPCs": true,
    "AutoTurretTargetsPlayers": false,
    "HeliTurretTargetsPlayers": true,
    "AutoTurretTargetsNPCs": true,
    "SamSitesIgnorePlayers": false,
    "AllowSuicide": true,
    "TrapsIgnorePlayers": false,
    "HonorBuildingPrivilege": true,
    "UnprotectedBuildingDamage": false,
    "UnprotectedDeployableDamage": false,
    "TwigDamage": true,
    "HonorRelationships": true
  },
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 59
  }
}

JWO8Pk7.png

Edited by [email protected]

Share this comment


Link to comment
×
×
  • 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.