so im confused im trying to make my server a pvp day and pve night and i have a 15 min night and 30 min day can someone help me get this setup please
an error message is displayed every few seconds (it started after the last update): Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[Oxide.Plugins.TruePVE+Option,System.Boolean].get_Item (Option key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo hitinfo) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 PS also other plugins stopped just now start without this (and DynamicPVP and ZoneManager) - all ok
When it says "Assuming the code is set up on the zone manager side of things" what does this mean? What do I have to set up?
Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (InvalidOperationException: Sequence contains no matching element) at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.TruePVE+TruePVEData.HasEmptyMapping (System.String key) [0x00084] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.TruePVE.CheckExclusion (System.Collections.Generic.List`1[T] e0Locations, System.Collections.Generic.List`1[T] e1Locations) [0x000fb] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x001f0] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <7da932a837864fe6ab9343154e735fea>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
so i want to be able to automatically make my server pvp for 24 hours befor the wipe then wans its wiped back to pve for another mont how do i do this
which config file do i set set server.pve = false I have looked through sever configs and oxide configs and havnt found this line
I believe that needs to be set in-game. Hit f1 and type server.pve false Don't quote me on that though but it's better than no response. [DOUBLEPOST=1531445725][/DOUBLEPOST]Is PVP turned off with this plugin?
Is there a way to have traps activate on the player that placed them with this plugin? Traps wont activate on players that placed the trap...
how do i schedule pvp 1 month ahead. Also im to thick to understand this config if someone has one i could download that would be amazing.
TruePVE isn't able to catch player damage inflicted upon patrolhelicopters, when enabling tpve.trace it throws me an NRE error Code: 09:47 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x0018d] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 09:47 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x0018d] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <192dd8da68ee48b4929c5f3132edee59>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 This is my config: Code: { "Config Version": "0.8.9", "Default RuleSet": "default", "Configuration Options": { "handleDamage": true, "useZones": false }, "Mappings": { "default": "default", "pvp": "exclude" }, "Schedule": { "enabled": true, "useRealtime": true, "broadcast": true, "entries": [ "*.23:00 default RaidProtector enabled! Explosives and rockets don't damage buildings, you can still take pvp damage.", "*.12:00 pvp RaidProtector disabled! Buildings now take explosive damage. Have fun!" ] }, "RuleSets": [ { "name": "default", "enabled": true, "defaultAllowDamage": false, "flags": "HumanNPCDamage", "rules": [ "players can hurt players", "anything can hurt dispensers", "heli can hurt anything", "players cannot hurt heli", "players can hurt npcs", "anything can hurt traps", "traps can hurt players", "players cannot hurt barricades", "players cannot hurt highwalls", "barricades can hurt players", "highwalls can hurt players", "anything can hurt npcs", "fire can hurt players", "anything can hurt resources", "anything can hurt players" ] } ], "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, BradleyAPC", "exclusions": "" }, { "name": "npcs", "members": "NPCPlayerApex, NPCMurderer, murderer, NPCScientist, scientist", "exclusions": "" }, { "name": "fire", "members": "FireBall, Fireball_small, flamethrower_fireball, flame", "exclusions": "" }, { "name": "resources", "members": "ResourceEntity, TreeEntity, OreResourceEntity", "exclusions": "" } ] } Code: == STARTING TRACE == == 09:42:12.41197 == ====================== From: BasePlayer, player To: BaseHelicopter, patrolhelicopter No shared locations (empty location) - no exclusions No exclusion found - looking up RuleSet... Using RuleSet "default" No match in pre-checks; evaluating RuleSet rules... Initator EntityGroup matches: players Target EntityGroup matches: heli Evaluating Rules... Checking direct initiator->target rules... Evaluating "players->heli"... Match found; allow damage? False
When making a raidable base, it throws so many errors in the console when someone is raiding that it lags the shit out of the entire server. Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (InvalidOperationException: Sequence contains no matching element) at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.TruePVE+TruePVEData.HasEmptyMapping (System.String key) [0x00084] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.CheckExclusion (System.Collections.Generic.List`1[T] e0Locations, System.Collections.Generic.List`1[T] e1Locations) [0x000fb] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x001f0] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (InvalidOperationException: Sequence contains no matching element) at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.TruePVE+TruePVEData.HasEmptyMapping (System.String key) [0x00084] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.CheckExclusion (System.Collections.Generic.List`1[T] e0Locations, System.Collections.Generic.List`1[T] e1Locations) [0x000fb] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x001f0] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (InvalidOperationException: Sequence contains no matching element) at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.TruePVE+TruePVEData.HasEmptyMapping (System.String key) [0x00084] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.CheckExclusion (System.Collections.Generic.List`1[T] e0Locations, System.Collections.Generic.List`1[T] e1Locations) [0x000fb] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x001f0] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.8.9' (InvalidOperationException: Sequence contains no matching element) at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.TruePVE+TruePVEData.HasEmptyMapping (System.String key) [0x00084] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.CheckExclusion (System.Collections.Generic.List`1[T] e0Locations, System.Collections.Generic.List`1[T] e1Locations) [0x000fb] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.AllowDamage (BaseEntity entity, HitInfo hitinfo) [0x001f0] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.HandleDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00000] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitinfo) [0x00018] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006ba] in <e1c9c3f7657b421cb22ab425662e3b18>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0
Hi all, As per this link: Not an Issue - NullReferenceException spam in log (no details) I would say the issue is due with the game itself.
Hello ignignokt84 iam getting this warning Calling hook OnEntityTakeDamage resulted in a conflict between the following plugins: TruePVE - False (Boolean), Vanish (True (Boolean)) Thank you for your help.
Howdy! In our server, when we shoot scientists, we also take damage. I believe it's a PvE punishment of sorts. How can we remove this?