Jump to content

error in console Failed to call hook 'OnUserRespawned'

Closed 1.0.5 1.0.6

Atope89

Posted

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.)

RFC1920

Posted

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.
Atope89

Posted (edited)

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
Guest

Posted

Changed Status from Pending to Closed

RFC1920

Posted

Changed Status from Closed to Pending

Changed Fixed In to Next Version

Atope89

Posted (edited)

thanks, you're very kindly

Edited by Atope89
Guest

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.7k
Customers served
Files Sold
155.1k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.