Jump to content

errors in console / failed to call hook / timer fail

Pending 1.2.7

GreenCardPVE
GreenCardPVE

Posted

Hey Zeode! 

I'm getting these errors in console.  Plugin seems to be working, regardless of the errors its throwing to the console -- but, causes a lot of consolespam.   This was a heavynpc grenade toss - standard config (i've made no changes yet).

 

(02:27:56) | Failed to call internal hook 'OnEntitySpawned' on plugin 'NPCGrenades v1.2.7' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.NPCGrenades.OnEntitySpawned(DroppedItemContainer bag) in C:/servers/green/carbon/plugins/NPCGrenades.cs:line 542
   at object Oxide.Plugins.NPCGrenades.InternalCallHook(uint hook, object[] args) in NPCGrenades.cs/Internal:line 273

(02:28:50) | Failed to call internal hook 'OnEntitySpawned' on plugin 'NPCGrenades v1.2.7' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.NPCGrenades.OnEntitySpawned(DroppedItemContainer bag) in C:/servers/green/carbon/plugins/NPCGrenades.cs:line 542
   at object Oxide.Plugins.NPCGrenades.InternalCallHook(uint hook, object[] args) in NPCGrenades.cs/Internal:line 273
   
(02:29:56) | Failed to call internal hook 'OnEntitySpawned' on plugin 'NPCGrenades v1.2.7' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.NPCGrenades.OnEntitySpawned(DroppedItemContainer bag) in C:/servers/green/carbon/plugins/NPCGrenades.cs:line 542
   at object Oxide.Plugins.NPCGrenades.InternalCallHook(uint hook, object[] args) in NPCGrenades.cs/Internal:line 273
   
(02:31:09) | Timer of 0.2s has failed in 'NPC Grenades v1.2.7 by ZEODE' [callback] (Value cannot be null.
Parameter name: key)
   at int System.Collections.Generic.Dictionary<string, Oxide.Plugins.NPCGrenades+NPCPlayerData>.FindEntry(string key)
   at bool System.Collections.Generic.Dictionary<string, Oxide.Plugins.NPCGrenades+NPCPlayerData>.ContainsKey(string key)
   at void Oxide.Plugins.NPCGrenades.GiveGrenadeNpcKit(NPCPlayer npc, Item npcNade) in C:/servers/green/carbon/plugins/NPCGrenades.cs:line 1241
   at void Oxide.Plugins.NPCGrenades.SpawnScientist(BasePlayer player, Item npcNade, Vector3 position, NPCPlayerData settings)+() => { } in C:/servers/green/carbon/plugins/NPCGrenades.cs:line 746
   at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { } in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 50

ZEODE

Posted

I will look into this once the Bradley Drops re-write update is out and I have my PC back online after completing a house move.

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.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.3k
Total sales
Payments
3.4m
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.