Damage to twig onlySolved
haha, umod doesn't exactly have the most user friendly message boards in the world.  But it is better than nothing :)

If you need anything at all from me on testing or whatever please don't hesitate to contact me.  I would gladly PAY for your TruePVE mod, it is the core of my servers and I would be server-less without it.  Great plugin.  And I will gladly help with it in any way you ever need.
This has finally been added in primitive form.  By that I mean a new ruleset flag, TwigDamage, has been added.  If added to ruleset flags, it will allow ANYONE to destroy twig in areas impacted by the ruleset, including default if desired.  No auth check is made in the case of twig, and hopefully this actually works for any server admin who wants it.
This has finally been added as a ruleset flag, TwigDamage.  No need at this point to set up any additional rules - it's just a flag.  So, this can be applied to default or a zone as you wish.

Merged post

I wish this forum would show who flipped this to solved.  It's tentatively solved but I am capable of changing that status as well.

The new version throws error spam ....

13:50 [Info] Loaded plugin TruePVE v0.9.8 by RFC1920
13:50 [Error] Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017d] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <2e3dff6238284b2c86bd4ff8e4b30395>: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 
13:50 [Error] Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017d] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <2e3dff6238284b2c86bd4ff8e4b30395>: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 
13:50 [Error] Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017d] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <2e3dff6238284b2c86bd4ff8e4b30395>:0 
  at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <2e3dff6238284b2c86bd4ff8e4b30395>: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 
Unrelated to the twig changes, but has been rolled back for 0.9.9.
Just tried that newer version and still getting that same console spam.  If I load the previous version (before twig damage) everything is fine

Merged post

Yeah I just reverted back I keep getting massive console spam.  So fast I can barely read it ....

Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017b] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <34766ce71f744c7785a5f7344ce5cb4e>: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
Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017b] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <34766ce71f744c7785a5f7344ce5cb4e>: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
Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017b] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <34766ce71f744c7785a5f7344ce5cb4e>: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
Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.9.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.TruePVE.GetLocationKeys (BaseEntity entity) [0x0017b] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.GetRuleSet (BaseEntity e0, BaseEntity e1) [0x00000] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.CanBeTargeted (BaseCombatEntity target, UnityEngine.MonoBehaviour turret) [0x00068] in <34766ce71f744c7785a5f7344ce5cb4e>:0
at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ad3] in <34766ce71f744c7785a5f7344ce5cb4e>: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​
I cant get twig to be damage, not sure if it actually works. I am not getting any errors either.
It's gotta be something in my flags or settings in TruePVE that used to be ok but no longer is.  Because if I revert back to 0.97 it works flawlessly
If you use the component blocker plugin to block upgrading structures, like "/blocker structures.metal" how come it lets you use the short name for that but not in this plugin? Like creating a family called "twig" and adding "structures.twig" to it and in the ruleset put "anything can damage twig". Is structures.twig not the short name for it? Is it not possible to add this to the TruePVE plugin?
5ba421e536daf.jpg OfficialJaco
If you use the component blocker plugin to block upgrading structures, like "/blocker structures.metal" how come it lets you use the short name for that but not in this plugin? Like creating a family called "twig" and adding "structures.twig" to it and in the ruleset put "anything can damage twig". Is structures.twig not the short name for it? Is it not possible to add this to the TruePVE plugin?

I dont believe that stuctures.twig is an actual prefab. Maybe just an overlay of sorts. Not for sure. But i've tried that too in early development of my server and it didn't work. :D

So any fix for this?  I can cofirm the TWigDamage flag does NOT work at all.  I was really excited too :(
5d6ebc395ad51.png tbird412
So any fix for this?  I can cofirm the TWigDamage flag does NOT work at all.  I was really excited too :(

no fix as far as I have seen yet.

This should probably be marked as UNSOLVED

Merged post


Just an update .... I sent it to my plugin guy I pay to do custom plugins, told him I would pay him if he could make it work.

BOOM, less than an hour, working perfectly.  And that kid just made more per hour than most people in the work force.

Twig is now destructable in my default areas and nothing else is.  LOVE IT!!!

Feel free to share ;)
5d6ebc395ad51.png tbird412
This should probably be marked as UNSOLVED

Merged post


Just an update .... I sent it to my plugin guy I pay to do custom plugins, told him I would pay him if he could make it work.

BOOM, less than an hour, working perfectly.  And that kid just made more per hour than most people in the work force.

Twig is now destructable in my default areas and nothing else is.  LOVE IT!!!

:D lol.... 

Locked automatically