Jump to content

Failed to call hook 'OnEntityTakeDamage'

No Response 1.0.43 1.0.45

MON@H
MON@H

Posted

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

 

RFC1920

Posted

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.

MON@H

Posted (edited)

Of course I have both installed.

05:08 [Info] Loaded plugin Friends v3.1.1 by Wulf
05:08 [Info] Loaded plugin Clans v0.1.54 by k1lly0u

 

Edited by MON@H
Will Allison

Posted

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 😕

MON@H

Posted (edited)

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 MON@H
Guest

Posted

Changed Status from Pending to Closed

MON@H

Posted

 

On 8/30/2020 at 12:34 PM, Guest said:

Changed Status from Pending to Closed

Why it's closed if not fixed?

RFC1920

Posted

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.

RFC1920

Posted

Changed Status from Closed to Pending

Changed Fixed In to Next Version

Guest

Posted

Changed Status from Pending to No Response

MON@H

Posted (edited)

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 MON@H
RFC1920

Posted

What are your settings for:

    "useFriends": false,
    "useClans": false,
    "useTeams": false,

 

MON@H

Posted

    "useFriends": true,
    "useClans": true,
    "useTeams": true,

 

RFC1920

Posted

Please try 1.0.48 and let me know.

MON@H

Posted (edited)

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 MON@H 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 MON@H 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 MON@H 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 MON@H 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 MON@H
RFC1920

Posted

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.

MON@H

Posted (edited)

I use same plugin. You want me to confirm I'm not own cupboard tested above with that plugin, or what?

Edited by MON@H
MON@H

Posted (edited)

Should I open another support request for this? Problem is still there: any player regardless of ownership or clans/teams etc is able to damage cupboards.

NextGenPVE v1.0.59

 

Edited by MON@H
RFC1920

Posted

Is HonorBuildingPrivilege set to true?

MON@H

Posted (edited)

{
  "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 MON@H
RFC1920

Posted

Will release 1.0.60 that includes additional debug code for TC checks.

  • Love 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

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.