its cool man, great plugin by the way!
Duelist
Moved
Total Downloads: 2,050 - First Release: Jun 15, 2017 - Last Update: Jul 20, 2018
- 5/5, 19 likes
-
Dont know how it happened but.. https://steamuserimages-a.akamaihd....554/BCBEE267B47413CD188DD7086208C2DF6715094C/ My best guess is maybe the crash plane crashed on it?
-
For authors you can exclude by checking for ownerid > 0 and !IsSteamId() -
Any chance to be able to specify in a chat command which arena you want to be in? like say you do just /duel.. you go into a randomly created regular arena.. but make it possible to create custom arenas as well.. that can be joined by doing /duel "name" "arenaname" for example.. or TDM.. We have a few arenas created on our server we would like to use.. but also dont want to lose the option of using your regular arena as they are fun.
-
-
-
-
-
People getting DC with red errors on the screen when they hit the arena wall or get close to arena wall (while outside of the arena)
-
-
-
-
[DOUBLEPOST=1503926876][/DOUBLEPOST] -
-
-
Code:
(19:13:13) | [Oxide] 19:13 [Error] Failed to call hook 'OnServerInitialized' on plugin 'Duelist v1.1.0' (NullReferenceException: ) (19:13:13) | [Oxide] 19:13 [Stacktrace] at (wrapper managed-to-native) UnityEngine.Object:get_name () at Oxide.Plugins.Duelist.<SetupZones>m__14 (.BaseNetworkable e) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BaseNetworkable].MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateCastIterator>c__Iterator0`1[BaseEntity].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[BaseEntity].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[BaseEntity]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[BaseEntity] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Duelist.SetupZones () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Duelist.OnServerInitialized () [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 (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
-
/duel remove causes this and leaves the walls
Code:21:32:17) | [Oxide] 21:32 [Error] Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3448' (NullReferenceException: ) (21:32:17) | [Oxide] 21:32 [Stacktrace] at (wrapper managed-to-native) UnityEngine.Object:get_name () at Oxide.Plugins.Duelist.<RemoveZoneWalls>m__15 (.BaseNetworkable e) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BaseNetworkable].MoveNext () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateCastIterator>c__Iterator0`1[BaseEntity].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[BaseEntity].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[BaseEntity]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[BaseEntity] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Duelist.RemoveZoneWalls (UInt64 ownerId) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Duelist.RemoveDuelZone (Oxide.Plugins.DuelingZone zone) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Duelist.cmdDuel (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Command+ChatCommand.HandleCommand (.BasePlayer sender, System.String name, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Command.HandleChatCommand (.BasePlayer sender, System.String name, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
@MeatCircus Looks like both of these exceptions are from entities being null. I'm already checking if the entity is null so I'm not sure what else could be causing it. Does this still persist?
-
Happens when I try to do /duel remove Usually what I do once a night is jump on and /duel off then duel tp /duel remove /duel tp to my 2nd one and /duel remove then I use object remover to clean up all wood and stone walls outside cupboard range and after I do that I do /duel new twice and /duel on and that's all done but the last few time when I do /duel remove is seems to remove the zone but not the walls and gives that error then it wont make new zone until the next server restart