ArgumentOutOfRangeException at cmdChatFixed
I'm very interested in using this plugin as i could do some really cool things with it but it just wont work for me. It will not enter the chat.say command when entering a zone. It will not clear the data file, you can not edit the data file as it will just remember everything you entered, error or not. For an example. If you type /zcmd clear, or /zcmd list here is the errors. Please Help.
Failed to call hook 'cmdChat' on plugin 'ZoneCommand v0.1.1' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.ZoneCommand+QueryLanguage+Parser.ParseCommand () [0x0002c] in <2886dcaa70d24e4fb2b6e6437af159f8>:0
at Oxide.Plugins.ZoneCommand.cmdChat (BasePlayer player, System.String command, System.String[] args) [0x00041] in <2886dcaa70d24e4fb2b6e6437af159f8>:0
at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002e6] in <2886dcaa70d24e4fb2b6e6437af159f8>: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 have created zone with zone manager and created a command with Zone Command. As a test my command was env.time 23
When I entered or exited the zone nothing happened.
Also when using /zcmd list nothing happens.
But when using /zcmd add it added the zone with command to the ZoneCommand.json
it appears to be broken ive looked in support section and others have stated the same
ive edited the plugin somewhat to remove most of the errors of ZoneManager Not being present ,however im still stuck with cmdChat Error in console i cannot save any values to cfg it erases each time
Would love to have this working again for my servers such an important piece of the puzzle
Error Below
Any help would be Great guys im just starting on oxide Plugins so still finding my way
id also like to add i run my rust servers on linux Boxes using a mixture of Debian / Ubuntu Newest Distros available
Failed to call hook 'cmdChat' on plugin 'ZoneCommand v0.1.1' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <a8ed250850854b439cedc18931a314fe>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <a8ed250850854b439cedc18931a314fe>:0
at Oxide.Plugins.ZoneCommand+QueryLanguage+Parser.ParseId () [0x0002c] in <449705156b0d4b488dba0700ba4a7ded>:0
at Oxide.Plugins.ZoneCommand.cmdChat (BasePlayer player, System.String command, System.String[] args) [0x00048] in <449705156b0d4b488dba0700ba4a7ded>:0
at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00285] in <449705156b0d4b488dba0700ba4a7ded>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <efb9a8684e344ecfa065c7b416e6d2fd>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0 Failed to call hook 'cmdChat' on plugin 'ZoneCommand v0.1.1' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <437ba245d8404784b9fbab9b439ac908>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.ZoneCommand+QueryLanguage+Parser.ParseCommand () [0x0002c] in <3697b8d86d1943cbbd322ceea7688b39>:0
at Oxide.Plugins.ZoneCommand.cmdChat (BasePlayer player, System.String command, System.String[] args) [0x00041] in <3697b8d86d1943cbbd322ceea7688b39>:0
at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002e6] in <3697b8d86d1943cbbd322ceea7688b39>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 see new version :)