Jump to content

Failed to call hook 'AddOrUpdateMapping'

Closed 1.0.70

saintmichel13

Posted

Failed to call hook 'AddOrUpdateMapping' on plugin 'NextGenPVE v1.0.70' (ArgumentException: An item with the same key has already been added. Key: exclude) at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <fb001e01371b4adca20013e0ac763896>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 at Oxide.Plugins.NextGenPVE.AddOrUpdateMapping (System.String key, System.String rulesetname) [0x0010b] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0172f] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DynamicPVP.CreateMapping (System.String zoneID, System.String mapping) [0x00058] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Plugins.DynamicPVP.CreateDynamicZone (System.String eventName, UnityEngine.Vector3 position, System.String zoneID, System.String[] zoneSettings, System.Boolean delay) [0x0032e] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Plugins.DynamicPVP.HandleParentedEntityEvent (System.String eventName, BaseEntity parentEntity, System.Boolean delay) [0x000ed] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Plugins.DynamicPVP+<OnEntitySpawned>c__AnonStorey8.<>m__0 () [0x00000] in <23bc5867ebd740b9a71773323e1cdfa5>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

saintmichel13

Posted

Failed to call hook 'AddOrUpdateMapping' on plugin 'NextGenPVE v1.0.70' (ArgumentException: An item with the same key has already been added. Key: exclude) at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in :0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0 at Oxide.Plugins.NextGenPVE.AddOrUpdateMapping (System.String key, System.String rulesetname) [0x0010b] in :0 at Oxide.Plugins.NextGenPVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0172f] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DynamicPVP.CreateMapping (System.String zoneID, System.String mapping) [0x00058] in :0 at Oxide.Plugins.DynamicPVP.CreateDynamicZone (System.String eventName, UnityEngine.Vector3 position, System.String zoneID, System.String[] zoneSettings, System.Boolean delay) [0x0032e] in :0 at Oxide.Plugins.DynamicPVP.HandleParentedEntityEvent (System.String eventName, BaseEntity parentEntity, System.Boolean delay) [0x000ed] in :0 at Oxide.Plugins.DynamicPVP+c__AnonStorey8.<>m__0 () [0x00000] in :0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in :0

RFC1920

Posted (edited)

Since DynamicPVP creates zones on the fly, there should be no danger in deleting oxide/data/NextGenPVE/ngpve_zonemaps.json.  After that, reload NextGenPVE and DynamicPVP and it should be recreated.

Also, btw, there have been 3 updates since 1.0.70.  It shouldn't impact this part of the code, but...

Edited by RFC1920
RFC1920

Posted

Changed Status from Pending to Closed

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.