Jump to content

Failed to call hook 'OnPlayerDeath' on plugin 'RandomRaids v1.0.15'

Closed 1.0.15

nashslash
nashslash

Posted

Failed to call hook 'OnPlayerDeath' on plugin 'RandomRaids v1.0.15' (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.RustPlugin.PrintToChat (BasePlayer player, System.String format, System.Object[] args) [0x0000e] in <b3c786758786469b81b2b30f54cf55c5>:0

at Oxide.Plugins.RustPlugin.SendReply (BasePlayer player, System.String format, System.Object[] args) [0x00000] in <b3c786758786469b81b2b30f54cf55c5>:0

at Oxide.Plugins.RandomRaids.CallRaidOnNpcKills (BasePlayer p, System.String Rtype) [0x00378] in <f10ad2f3acc245b183898f91ca74c876>:0

at Oxide.Plugins.RandomRaids.OnPlayerDeath (BasePlayer player, HitInfo info) [0x001ae] in <f10ad2f3acc245b183898f91ca74c876>:0

at Oxide.Plugins.RandomRaids.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00751] in <f10ad2f3acc245b183898f91ca74c876>:0

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

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

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

Razor

Posted

Almost looks like something may be messed up in the language file? 

nashslash

Posted

i did edit it  here it is

 

{
  "warningRevengeGrid": "<color=red>[Incoming Transmission]</color> So you Raided a {0} Base. Now we are coming for You at {1}",
  "warningRevengeGridNpc": "<color=red>[Incoming Transmission]</color> You keep Killing Scientists!  Now we are Coming for You at {0}",
  "gridMessageDirection": "<color=red>[RANDOM RAID DETECTION]</color> In Grid {0}, {1} of you {2} yards!",
  "RaidersLeaving": "<color=red>[Incoming Transmission]</color> We are leaving, Do Not make us Come Back Here!",
  "msgNorth": "North",
  "msgNorthEast": "NorthEast",
  "msgEast": "East",
  "msgSouthEast": "SouthEast",
  "msgSouth": "South",
  "msgSouthWest": "SouthWest",
  "msgWest": "West",
  "msgNorthWest": "NorthWest",
  "usageHere": "/randomraid here <raid type>",
  "NoConfigType": "You do not have a config type of {0}",
  "BaseToSmallYet": "This base is to small yet!",
  "AdminRaidStarted": "You just started a raid here!",
  "terrainBlocked": "This base in on unradable terrain!",
  "usageChatAdmin": "/randomraid <here/random/reload>"
}

Razor

Posted

i would delete it and reload so it creates a new lang file and see if error goes away.

Razor

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.