Jump to content

error in console Failed to call hook 'OnUserRespawned'

Closed 1.0.5 1.0.6

Atope89

Hi, error in console Failed to call hook 'OnUserRespawned' on plugin 'AcidRain v1.0.5' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)

Share this comment


Link to comment

A couple of things to check:

  1. Make sure there is a numerical value in your config for "protectionTimer".  The default is "protectionTimer": 300.0
  2. Delete the oxide/lang/en/AcidRain.json file and reload.

Share this comment


Link to comment

Hi, I have tried this and the error continues. is when the player dies.

 

was suicide by Suicide
(01:38:33) | Failed to call hook 'OnUserRespawned' on plugin 'AcidRain v1.0.5' (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 <fb001e01371b4adca20013e0ac763896>:0
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <fb001e01371b4adca20013e0ac763896>:0
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0
  at Oxide.Plugins.AcidRain.Lang (System.String key, System.String id, System.Object[] args) [0x0000e] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.Message (Oxide.Core.Libraries.Covalence.IPlayer player, System.String key, System.Object[] args) [0x00009] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.OnUserRespawned (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00014] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002b1] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 was killed by Cold
(01:42:57) | Failed to call hook 'OnUserRespawned' on plugin 'AcidRain v1.0.5' (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 <fb001e01371b4adca20013e0ac763896>:0
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <fb001e01371b4adca20013e0ac763896>:0
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0
  at Oxide.Plugins.AcidRain.Lang (System.String key, System.String id, System.Object[] args) [0x0000e] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.Message (Oxide.Core.Libraries.Covalence.IPlayer player, System.String key, System.Object[] args) [0x00009] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.OnUserRespawned (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00014] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.AcidRain.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002b1] in <b2d5ff5ac09c4e8d81f13e7618161cd1>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Edited by Atope89

Share this comment


Link to comment
437.9k

Downloads

Total number of downloads.

2.3k

Customers

Total customers served.

32.3k

Files Sold

Total number of files sold.

526.2k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.