I'll look into it. Thanks.
NoEscape
Moved
Total Downloads: 12,037 - First Release: Oct 23, 2015 - Last Update: Apr 12, 2018
- 5/5, 33 likes
-
Calytic Community Admin Community Mod
-
[Oxide] 08:38 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NoEscape v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 08:38 [Debug] at Oxide.Plugins.NoEscape.RaiderBlock (System.String source, System.String target, Vector3 position, System.Collections.Generic.List`1 sourceMembers) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.StructureAttack (.BaseEntity targetEntity, .BaseEntity sourceEntity, System.String weapon, Vector3 hitPosition) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
here is the config i run with it aswell, along side building owners.
{
"blockAll": false,
"cacheMinutes": 1.0,
"clanCheck": false,
"clanShare": true,
"combatBlock": false,
"combatBlockNotify": false,
"combatDuration": 180.0,
"combatOnHitPlayer": true,
"combatOnTakeDamage": true,
"damageTypes": [
"Bullet",
"Blunt",
"Stab",
"Slash",
"Explosion"
],
"distance": 100.0,
"duration": 400.0,
"friendCheck": false,
"friendShare": true,
"message": "You may not teleport while a raid is happening nearby",
"ownerBlock": true,
"raidBlock": true,
"raidBlockNotify": true,
"raidDistance": 100.0,
"raidDuration": 400.0,
"raiderBlock": true,
"raiderClanShare": false,
"raiderFriendShare": false,
"unblockOnDeath": true,
"unblockOnRespawn": true,
"unblockOnWakeup": false,
"VERSION": "0.2.8"
}
hope it helps it only gets spammed when a player hits a wall or foundation with a pickaxe or hatchet or anything really. -
it would be really helpful if you block this. -
Calytic Community Admin Community Mod
I can't, sorry. Ask the author of Trade to add NoEscape support.
-
-
I have the same problem as cosmic hax.
[Oxide] 21:22 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'NoEsca
pe v0.2.8' (NullReferenceException: Object reference not set to an instance of a
n object)
[Oxide] 21:22 [Debug] at Oxide.Plugins.NoEscape.RaiderBlock (System.String sou
rce, System.String target, Vector3 position, System.Collections.Generic.List`1 s
ourceMembers) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.StructureAttack (.BaseEntity targetEntity, .BaseEnti
ty sourceEntity, System.String weapon, Vector3 hitPosition) [0x00000] in <filena
me unknown>:0
at Oxide.Plugins.NoEscape.OnEntityTakeDamage (.BaseCombatEntity entity, .HitIn
fo hitInfo) [0x00000] in <filename unknown>:0
at Oxide.Plugins.NoEscape.DirectCallHook (System.String name, System.Object& r
et, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo metho
d, 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 hookname, System.Object[] -
Calytic Community Admin Community Mod
thanks for the report guys. I'll try to track this one down.
-
Calytic Community Admin Community Mod
-
Whats the hook i can call to find out if BasePlayer is near a lastdamage=explosion structure(s)?
-
Hi. The plugin seems to not work good. It blocks everybody except raider with current settings. When blockAll is false, it does not block at all..
Code:{ "blockAll": true, "cacheMinutes": 1.0, "clanCheck": false, "clanShare": false, "combatBlock": false, "combatBlockNotify": false, "combatDuration": 180.0, "combatOnHitPlayer": true, "combatOnTakeDamage": true, "damageTypes": [ "Blunt", "Stab", "Slash", "Explosion" ], "friendCheck": false, "friendShare": false, "ownerBlock": true, "raidBlock": true, "raidBlockNotify": true, "raidDistance": 100.0, "raidDuration": 300.0, "raiderBlock": true, "raiderClanShare": true, "raiderFriendShare": false, "unblockOnDeath": true, "unblockOnRespawn": true, "unblockOnWakeup": false, "VERSION": "0.2.9" }
-
Calytic Community Admin Community Mod
That setting will block the the building owner, raider, and raider clan-mates.
To disable the ownership block:
"ownerBlock": false -
-
kcaper I had the same problem.
Remove the blockall and set true on everything else. -
-
please make a lock for this. A lot of people asking. Thank you! Player Trade for Rust | Oxide
[DOUBLEPOST=1459563124][/DOUBLEPOST]Thank you for your plugin. Everything works fine. I use the old version as I'm afraid that again will cease -
Calytic Community Admin Community Mod
-
Well, from my point of view and according to your code, BlockAll should not block raider, because ShouldBlockEscape return false;
Anyway, I fixed it by this.
Code:bool ShouldBlockEscape(string target, string source, List<string> sourceMembers = null) { if (target == source) { if (raiderBlock) return true; return false; } if (sourceMembers is List<string> && sourceMembers.Count > 0 && sourceMembers.Contains(target)) return false; return true; }
-
Calytic Community Admin Community Mod
BlockAll overrides all the other blocking techniques, as mentioned in the documentation. BlockAll is not really meant to be used in conjunction with raiderBlock, or any other type of blocking. In any case, your point is received, I will consider this for a future version. Thanks for the feedback.
-
-
Calytic Community Admin Community Mod