IndexOutOfRangeException at NameResetCommandFixed
the /resetname doesnt work but it calls a lot of errors in the console.
Please provide any errors when reporting issues, thanks.
This is true, the reset name command just says that the users name you are trying to reset wasnt changed even though it was changed. However i was not getting errors in the console.
nothing in data files, and have the same problem

Same issue. Here is the error from RCON.
/data/Rename.json doesn't contain any data

Failed to call hook 'NameResetCommand' on plugin 'Rename v0.3.0' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at Oxide.Plugins.Rename.NameResetCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00117] in <86de8d2aaa124aadb85d6eb95d34cacc>:0                                  727b/s in, 2kb/s out
  at Oxide.Plugins.Rename.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d0] in <86de8d2aaa124aadb85d6eb95d34cacc>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0

I'm getting these same errors now. The plugin has worked fine in the past and I've made no changes. Previously renamed players are still renamed so the plugin is still functioning with existing names, but no new name changes can be entered.

Merged post

Tried removing data file, still no joy :(

Merged post

Tried unloading all other plugins, still no joy

Merged post

The modify date of my data file is Feb 3rd, so this has started failing at some point during the past month.

Thanks for the additional info! I'll try to take a look at this soon.

Any resolution? I cant undo via command: data/rename file, or by uninstalling

It seemed to be a temporary glitch at the time, it's been working fine for me since.

same error here:

| Failed to call hook 'NameResetCommand' on plugin 'Rename v0.3.0' (IndexOutOfRangeException: Index was outside the bounds of the array.)

at Oxide.Plugins.Rename.NameResetCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00117] in <006c989b343945fabfdd6b0a69158f7e>:0

at Oxide.Plugins.Rename.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d0] in <006c989b343945fabfdd6b0a69158f7e>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

Sorry for the delay, this should be fixed when the next update is posted.

Locked automatically