Jump to content

Failed to call hook 'OnEntityDeath' on plugin 'FerryTerminalEvent v1.2.0' (ArgumentNullException: Value cannot be null. Parameter name: key)

Closed 1.2.0 1.2.0

TwoShoes
TwoShoes

Posted

Constant spam in console
 

 Failed to call hook 'OnEntityDeath' on plugin 'FerryTerminalEvent v1.2.0' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0 
  at Oxide.Plugins.FerryTerminalEvent+RewardsManager.AddReward (BasePlayer player, System.Int32 amount) [0x00000] in <9d46381716654f75b56dcce53581174d>:0 
  at Oxide.Plugins.FerryTerminalEvent+RewardsManager.AddNpcKillReward (BasePlayer player) [0x00022] in <9d46381716654f75b56dcce53581174d>:0 
  at Oxide.Plugins.FerryTerminalEvent+EventController.AddKillNpcReward (BaseCombatEntity npc, HitInfo info) [0x0009d] in <9d46381716654f75b56dcce53581174d>:0 
  at Oxide.Plugins.FerryTerminalEvent.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x00021] in <9d46381716654f75b56dcce53581174d>:0 
  at Oxide.Plugins.FerryTerminalEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0048c] in <9d46381716654f75b56dcce53581174d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>: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
(17:44:08) | Sniper[8065044] was killed by autoturret_deployed (entity) at (249.33, 16.22, -1887.28)

 

Yac Vaguer

Posted

Hi @TwoShoes

 

This seems related with a wrong parameter in the configuration  file, most likely in the rewards section, make sure that the values are correct, otherwise you can try re generating the config file 

  • Like 1
Yac Vaguer

Posted

Changed Status from Pending to No Response

Changed Fixed In to 1.2.0

TwoShoes

Posted (edited)

Sorry I didn't respond back right away I was dealing with a Hurricane (In Florida)

 

"Rewards Configuration": {
    "Activate Rewards": true,
    "Reward is Economic, ServerRewards": "ServerRewards",
    "Name of the adapter to show your players for example $ or RP": "RP",
    "Reward to give a player for loot a militar crate/normal crate": 5,
    "Reward to give a player for loot a hackable crate crate": 5,
    "Reward for killing an NPC": 0,
    "Reward for killing a Zombie": 0,
    "Reward for destroying Patrol (Reward will be split for everyone in the event evenly)": 100
  },

the rewards section looks fine I'll delete and reload the config 

Edited by TwoShoes
Yac Vaguer

Posted

1 hour ago, TwoShoes said:

Sorry I didn't respond back right away I was dealing with a Hurricane (In Florida)

 

"Rewards Configuration": {
    "Activate Rewards": true,
    "Reward is Economic, ServerRewards": "ServerRewards",
    "Name of the adapter to show your players for example $ or RP": "RP",
    "Reward to give a player for loot a militar crate/normal crate": 5,
    "Reward to give a player for loot a hackable crate crate": 5,
    "Reward for killing an NPC": 0,
    "Reward for killing a Zombie": 0,
    "Reward for destroying Patrol (Reward will be split for everyone in the event evenly)": 100
  },

the rewards section looks fine I'll delete and reload the config 

Oh wow I hope everything is fine with you and your family there 

take your time to reply or just send me a dm on discord 

 

 

Yac Vaguer

Posted

Changed Status from No Response to Pending

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.