Jump to content

AnimalLoot 1.1.1

$6.99
   (0 reviews)

1 Screenshot

  • 28.6k
  • 21
  • 25.52 kB

Recommended Comments

Kk

Posted

 

What happened? The server keeps reporting errors

 

 

Failed to call hook 'OnEntityDeath' on plugin 'AnimalLoot v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.AnimalLoot.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x001a5] in <e3f0b2a8bbc6492c88a3f10a89e884e4>:0

at Oxide.Plugins.AnimalLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b7] in <e3f0b2a8bbc6492c88a3f10a89e884e4>:0

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

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

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

Miho

Posted

3 hours ago, Kk said:

슨 일이에요? 서버에서 계속 오류를 보고합니다.

 

 

'AnimalLoot v1.0.0' 플러그인에서 후크 'OnEntityDeath'를 호출하지 못했습니다(KeyNotFoundException: 지정된 키가 사전에 없습니다.)

System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item(TKey 키) [0x0001e]에서 <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.AnimalLoot.OnEntityDeath (BaseCombatEntity 엔터티, HitInfo 정보) [0x001a5] in <e3f0b2a8bbc6492c88a3f10a89e884e4>:0

at Oxide.Plugins.AnimalLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b7] in <e3f0b2a8bbc6492c88a3f10a89e884e4>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 메서드, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String 이름, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String

Hello, Let me know yours Config?

Kk

Posted

 "Enable Plugin": true,
  "Animal Loot": {
    "chicken": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 20,
      "halloween.candy": 10
    },
    "stag": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 20,
      "halloween.candy": 20
    },
    "boar": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 30,
      "healingtea": 2,
      "halloween.candy": 30
    },
    "wolf": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 50,
      "healingtea": 3,
      "halloween.lootbag.medium": 1
    },
    "bear": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 100,
      "healingtea.advanced": 2,
      "halloween.lootbag.medium": 3
    },
    "polarbear": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 100,
      "healingtea.advanced": 2,
      "halloween.lootbag.medium": 3
    },
    "horse": {
      "Items Per Stash": 3,
      "Luck Loot Probability": 10,
      "scrap": 30,
      "halloween.candy": 20
    }
  },
  "Box Decay Time (in seconds)": 600.0,
  "Show Loot Message": true,
  "Show UI": false,
  "Directly Loot from Animal Corpse": {
    "chicken": false,
    "stag": false,
    "boar": false,
    "wolf": false,
    "bear": false,
    "polarberar": false,
    "horse": false
  },
  "Lucky Loot Enabled": true,
  "Lucky Loot": {
    "diesel_barrel": 2,
    "healingtea.pure": 2
  },
  "Version": "1.0.0"

Miho

Posted

change 'polarberar' to 'polarbear'

will make it work properly

Kk

Posted

Thank you, author. Thank you for your hard work

0g.Ghost.7373

Posted

When I kill a Zombie or Huntsman I get this error.

Failed to call hook 'OnEntityDeath' on plugin 'AnimalLoot v1.1.1' (ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex)
  at System.String.Remove (System.Int32 startIndex) [0x00004] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.AnimalLoot.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0007d] in <03d75f242d5c43008f89e94704d89514>:0 
  at Oxide.Plugins.AnimalLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b7] in <03d75f242d5c43008f89e94704d89514>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Miho's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.