I'm getting the same error as RockyRo, I suspect this is related to the Building 3.0 update released today.
Duelist
Moved
Total Downloads: 2,050 - First Release: Jun 15, 2017 - Last Update: Jul 20, 2018
- 5/5, 19 likes
-
-
Thank you, nivex! It's working perfectly again.
Edit: after about 5 matches and 20 minutes the console started printing this error:
Code:Failed to call hook 'CanEntityTakeDamage' on plugin 'Duelist v1.1.5' (InvalidCastException: Cannot cast from source type to destination type.) at Oxide.Plugins.Duelist.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
Last edited by a moderator: Dec 8, 2017 -
Attention! After the last update, the plugin affects the game outside the duel! Players have no damage from falls and under water.
-
With latest version player/s was spawned under the arena, and was able to swim away, put free items in a box, and suicided. At least you need to check, if a player leaves duelling area to prevent him from getting free items
-
In the Duel GrTeleport help to get free weapon and armor. Players just type /go C6, or any other index on map G, and he is teleport out of the duel full armored. How to block use hook on the duel? I block use command "/go" in Duel:
if (arg.Args.Contains("/go"))
{
DuelPlayer dueller = arg.Player()?.GetComponent<DuelPlayer>();
if (dueller == null) return null;
if (dueller.canDoSomeThings) return null;
SendReply(arg.Player(), cantTp);
return false;
}
And command /go not work, but if write /go C6 - its work... How to block all greed index on map when player on duel? -
-
No config. I configure plugin Duel in .cs. Need function to block use GrTeleport, when tou on duels
-
-
I not use Duelist plugin. Jost buy private plugin, ho may low bags, but config is not present with him. Only .cs. My plugin is similar in functionality and even code, just a little modified, and without the config.
-
-
Failed to call hook 'OnEntityTakeDamage' on plugin 'Duelist v1.1.5' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
at Oxide.Plugins.Duelist.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Duelist.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 -
Hey, i have question..
Why can not 2 admins / clan / friends make a duel with another? It seems that then "godmode" is attached -
seems like the whitelist command option is not working. ./ warp to XXX works anyway. so players just warp out of duels and steal the kits.
-
Is it possible to use an own arena with walls and stuff? i'd preferably spawn this high up in the air.
Or does it always create high walls? -
Seems like betting doesnt work, Ive found my winnings once after like 5 minutes of the duel ended, The other time i didnt recieve it at all?
I did,
/duel bet gp 500 [name]
/duel [name]
Am i doing something wrong here?
Post can be deleted i whas stupid enough to not use /bet claim.
This plugin works like a charm i love it.Last edited by a moderator: Feb 23, 2018 -
can this be used in an arena building made by me? like i don't need no walls to be created, only deathmatch with betting, is it possible or this doesnt do that? the plugin seems complex af
-
| Failed to call hook 'OnEntityTakeDamage' on plugin 'Duelist v1.1.5' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at Oxide.Plugins.Duelist.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x0085d] in <5fc6e06d57134d15aa9c26034582bf71>:0
at Oxide.Plugins.Duelist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005a1] in <5fc6e06d57134d15aa9c26034582bf71>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b918fd1a0b65418e85c0cd454ff00f08>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c4760460410a4a11809c1c757af3728a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c4760460410a4a11809c1c757af3728a>:0 -
is there any way to clean the plugin code smaler ?
is it possible that this plugin do laggspikes on the server ? -