at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <4acb0dd1c4304d19a69546b4b3e016d6>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <4acb0dd1c4304d19a69546b4b3e016d6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0 KeyNotFoundException in OnEntityTakeDamageFixed
Could you provide the full error please? You've only provided the bottom portion.
Can someone help with this? All it gives me is the same info asbelow over and over
00:04 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0
at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <73f3f896b68d480ab65bde912338bd88>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <73f3f896b68d480ab65bde912338bd88>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
This is my config
{
"Config Version": "1.0.0",
"Default RuleSet": "default",
"Configuration Options": {
"handleDamage": true,
"useZones": true
},
"Mappings": {
"default": "default",
"23440726": "exclude",
"23442568": "exclude",
"raiding": "raiding",
"23555156": "exclude",
"23451520": "exclude",
"23551533": "exclude"
},
"Schedule": {
"enabled": true,
"useRealtime": true,
"broadcast": true,
"entries": [ "5.18:00 raiding Raiding enabled!", "0.23:59 default PVE enabled!"]
},
"RuleSets": [
{
"name": "default",
"enabled": true,
"defaultAllowDamage": false,
"flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
"rules": [
"anything can hurt dispensers",
"anything can hurt players",
"players cannot hurt players",
"anything can hurt traps",
"traps cannot hurt players",
"players can hurt barricades",
"barricades cannot hurt players",
"highwalls cannot hurt players",
"anything can hurt heli",
"anything can hurt npcs",
"fire cannot hurt players",
"anything can hurt resources"
]
},
{
"name": "raiding",
"enabled": true,
"defaultAllowDamage": true,
"flags": "AuthorizedDamage, HumanNPCDamage",
"rules": [
"anything can hurt dispensers",
"anything can hurt players",
"players can hurt players",
"anything can hurt traps",
"traps can hurt players",
"players can hurt barricades",
"barricades can hurt players",
"highwalls can hurt players",
"anything can hurt heli",
"anything can hurt npcs",
"fire cannot hurt players",
"anything can hurt resources"
]
}
],
"Entity Groups": [
{
"name": "dispensers",
"members": "BaseCorpse, HelicopterDebris",
"exclusions": ""
},
{
"name": "players",
"members": "BasePlayer",
"exclusions": ""
},
{
"name": "traps",
"members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor",
"exclusions": ""
},
{
"name": "barricades",
"members": "Barricade",
"exclusions": ""
},
{
"name": "highwalls",
"members": "wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood",
"exclusions": ""
},
{
"name": "heli",
"members": "BaseHelicopter",
"exclusions": ""
},
{
"name": "npcs",
"members": "NPCPlayerApex, NPCMurderer, BradleyAPC, murderer",
"exclusions": ""
},
{
"name": "fire",
"members": "FireBall",
"exclusions": ""
},
{
"name": "resources",
"members": "ResourceEntity, TreeEntity, OreResourceEntity",
"exclusions": ""
}
]
} Fix was applied in version 1.0.1 or 1.0.2. - need to add to the notes.
ok thank you
Locked automatically