No more error from NPC death (bear) or F1->Kill but it did not subtract the RP and gave me the "You are dead poor" message even though I have plenty of RP on this account.
Using the default Config, noticed the Cast error when I was F1 -> Kill'ing, killed by NPC/Animal/Attack chopper. Also using RustRewards, ServerRewards, GatherRewards, etc. so not sure if there is anything conflicting.
{
"Penalty Type (amount or percent)": "amount",
"Penalty Amount": -100.0,
"Use Economics": false,
"Use ServerRewards": true,
"Use Scrap": false
}
Failed to call hook 'OnEntityDeath' on plugin 'DeathPenalty v0.1.5' (InvalidCastException: Specified cast is not valid.)
at Oxide.Plugins.DeathPenalty.DockPlayer (BasePlayer bplayer) [0x000a0] in <dbf3e6052c33413093d0a00dddfa41fd>:0
at Oxide.Plugins.DeathPenalty.OnEntityDeath (BaseEntity entity, HitInfo info) [0x0005f] in <dbf3e6052c33413093d0a00dddfa41fd>:0
at Oxide.Plugins.DeathPenalty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <dbf3e6052c33413093d0a00dddfa41fd>: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 <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
Possibly because of F1->Kill or NPC deaths?
Yeah I already use AlphaLoot and don't like redundant plugins if possible, that's why I like the localized loot profiles from NpcRaiders. No worries, just something to think about for future updates.
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.
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.