Failed to call hook 'OnPlayerSleepEnded' on plugin 'Welcomer v1.5.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
FormatException at OnPlayerSleepEndedSolved
Hi not getting any errors with this plugin, I deleted my Congif files from Config folder and the Lang/Eng folder and then put the plugin on and its working perfect for me
(00:25:38) | Welcomer was compiled successfully in 273ms (00:25:38) | Loaded plugin Welcomer v1.5.0 by Tricky
Also are you using this in your startup bat +oxide.directory
Ive just had a message off my hosters saying
For anyone being affected by plugins not working since the latest oxide update, we believe this is due to the commandline variable +oxide.directory not being a valid variable anymore, this is untested, but plugins work again once placed in the root default oxide plugin. Please use this location for oxide from now on and remove the +oxide.directory from your commandlines if you have been Affected by this issue.
thanks
"For anyone being affected by plugins not working since the latest oxide update, we believe this is due to the commandline variable +oxide.directory not being a valid variable anymore, this is untested, but plugins work again once placed in the root default oxide plugin. Please use this location for oxide from now on and remove the +oxide.directory from your commandlines if you have been Affected by this issue."
> The oxide.directory argument is still valid and has no changed in years. Verified to still be working as originally intended.
https://github.com/theumod/uMod/blob/oxide/src/OxideMod.cs#L136-L144
This thread is in regards to a change made in the oxide/lang for the plugin, so you'd need to delete the old and let the plugin re-create it after reload, else manually update the strings in it.
> The oxide.directory argument is still valid and has no changed in years. Verified to still be working as originally intended.
https://github.com/theumod/uMod/blob/oxide/src/OxideMod.cs#L136-L144
This thread is in regards to a change made in the oxide/lang for the plugin, so you'd need to delete the old and let the plugin re-create it after reload, else manually update the strings in it.
@wulf
yes mate i thought that as well as all my servers are running with that no issues but my hosters said they have had alot of issues with server owners saying there plugins are not working so they removed that so oxide goes into its default folder place and them reports back are saying that there plugins are working since they removed the oxide.directory. Not sure its its just the hoster i'm with or not thou
In response to purejaguar ():@wulfyes mate i thought that as well as all my servers are running with that no issues but my hoste...
Not heard any issues with that, tested just now and still working 100%. There is nothing unique about where the files are, that setting just overrides the default location (which it actually does) if set. I think your host is mistaken and guessing, especially since they haven't even verified it.
This specific error has zero to do with the location, and everything to do with the plugin update that was just made for it and existing lang files for the plugin. The fact that you even see an error means that it is looking in the location, you'd see nothing if plugins and files weren't even attempted to be loaded.
This specific error has zero to do with the location, and everything to do with the plugin update that was just made for it and existing lang files for the plugin. The fact that you even see an error means that it is looking in the location, you'd see nothing if plugins and files weren't even attempted to be loaded.
Failed to call hook 'OnPlayerSleepEnded' on plugin 'Welcomer v1.5.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at Oxide.Plugins.Welcomer.Lang (System.String key, System.String id, System.Object[] args) [0x0000e] in <073f0b2e3d2e47e0a31f58045622bb89>:0
at Oxide.Plugins.Welcomer.OnPlayerSleepEnded (BasePlayer player) [0x00028] in <073f0b2e3d2e47e0a31f58045622bb89>:0
at Oxide.Plugins.Welcomer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0014e] in <073f0b2e3d2e47e0a31f58045622bb89>: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 delete the lang file and let it generate it again
same error delete all files restart the server! update server and oxide after a restart same error and now with " Make sure that you are running the latest version of the Rust:IO Oxide extension!"
Merged post
found the problem thx for help
Merged post
found the problem thx for help
The user^^ Lang/eng File! the old file created the server name automatically with the new one i had to enter it manually. just copied a bit too much from the old file
(05:26:52) | Failed to call hook 'OnPlayerSleepEnded' on plugin 'Welcomer v1.5.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at Oxide.Plugins.Welcomer.Lang (System.String key, System.String id, System.Object[] args) [0x0000e] in <4082def82f0948b29b86160854a5a009>:0
at Oxide.Plugins.Welcomer.OnPlayerSleepEnded (BasePlayer player) [0x00028] in <4082def82f0948b29b86160854a5a009>:0
at Oxide.Plugins.Welcomer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0014e] in <4082def82f0948b29b86160854a5a009>: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
1. A request that a seach funtion is add for this community so one can look up and see if a problem they are having already has an answer. Even a simple search via plugin name would be helpful!
2. Anyone else having this error happen with the Welcomer plugin? Yes I replaced it to the new one, and replaced the config and lang files...

Locked automatically