New error in consoleSolved

console error

 

[Timed Permissions] POWER SLUT OwO (76561############) - Removed from group: failedexperiment
Failed to call hook 'OnCupboardAuthorize' on plugin 'Headquarters v0.1.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at Oxide.Plugins.Headquarters+<OnCupboardAuthorize>c__AnonStorey2.<>m__0 (System.String memberId) [0x00000] in <819a5d0532274543a0fafb450858c0e1>:0
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0                                                                                                                                              35kb/s in, 258kb/s out
  at Oxide.Plugins.Headquarters.OnCupboardAuthorize (BuildingPrivlidge privilege, BasePlayer player) [0x000d4] in <819a5d0532274543a0fafb450858c0e1>:0
  at Oxide.Plugins.Headquarters.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009e4] in <819a5d0532274543a0fafb450858c0e1>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
'WaterBases v1.0.4' is using deprecated hook 'OnRecycleItem', which will stop working on Saturday, 31 December 2022. Please ask the author to update to 'OnItemRecycle(Item item, Recycler recycler)'
[Death Notes] Risky became just a touch too radioactive.

log error

Failed to call hook 'OnCupboardAuthorize' on plugin 'Headquarters v0.1.7' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.Headquarters+<OnCupboardAuthorize>c__AnonStorey2.<>m__0 (System.String memberId) [0x00000] in <819a5d0532274543a0fafb450858c0e1>:0 
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.Headquarters.OnCupboardAuthorize (BuildingPrivlidge privilege, BasePlayer player) [0x000d4] in <819a5d0532274543a0fafb450858c0e1>:0 
  at Oxide.Plugins.Headquarters.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009e4] in <819a5d0532274543a0fafb450858c0e1>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Thanks for all your help LizardMods, I dont have my own server to do thorough testing with other players so this is very helpful.  This one is a little bit harder to figure out though.. I'm not quite sure why its failing other than the fact that it can't find an entry in a dictionary. 

In this particular case is it possible that you have created a new language file and forgot "Headquarter_Founder_Quit_Promoted" or "Headquarter_Founder_Quit_Empty"?  If you delete the old language file does it stop showing that error?  It should be located in oxide/lang/en/Headquarters.json.

If not, it seems to be related to cupboard authorization.  Do you by any chance know what could have happened to cause this?  

might be because there were more then one HQ per group.

{
  "AvailableHeadquarters": {
    "76561############": {
      "FounderId": "76561############",
      "Name": "Big",
      "StorageSlots": 0,
      "PositionX": 967.9471,
      "PositionY": 1.62603366,
      "PositionZ": -1276.08313,
      "IsActive": true,
      "MemberIds": [],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 1.0,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:47:29.7550999Z",
      "LastDamaged": "2022-05-10T23:17:27.9702944Z"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "WeEatAss",
      "StorageSlots": 723,
      "PositionX": -180.455551,
      "PositionY": 7.75440836,
      "PositionZ": 724.2192,
      "IsActive": true,
      "MemberIds": [
        "76561############"
      ],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 0.1,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:47:29.7561017Z",
      "LastDamaged": "2022-05-10T23:08:08.8586178Z"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "dETROIT",
      "StorageSlots": 70,
      "PositionX": 650.926147,
      "PositionY": 1.72218573,
      "PositionZ": 120.9759,
      "IsActive": true,
      "MemberIds": [
        "76561############",
        "76561############",
        "76561############"
      ],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 1.0,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:57:26.0839687Z",
      "LastDamaged": "2022-05-11T01:51:23.3450545Z"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "austin",
      "StorageSlots": 132,
      "PositionX": 621.1019,
      "PositionY": 4.58658648,
      "PositionZ": 171.724945,
      "IsActive": true,
      "MemberIds": [],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 1.0,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:56:00.9385267Z",
      "LastDamaged": "2022-05-11T01:44:46.0816236Z"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "FreedDull",
      "StorageSlots": 236,
      "PositionX": -368.681427,
      "PositionY": 3.388799,
      "PositionZ": -655.4511,
      "IsActive": true,
      "MemberIds": [],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 0.77,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:47:29.7561017Z",
      "LastDamaged": "2022-05-10T22:08:13.3204585Z"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "Dady",
      "StorageSlots": 46,
      "PositionX": -50.5464058,
      "PositionY": 0.9970751,
      "PositionZ": 1098.26477,
      "IsActive": true,
      "MemberIds": [],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 1.0,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:52:14.7380596Z",
      "LastDamaged": "2022-05-09T15:14:59.91003-07:00"
    },
    "76561############": {
      "FounderId": "76561############",
      "Name": "G",
      "StorageSlots": 46,
      "PositionX": 1035.86377,
      "PositionY": 6.70264435,
      "PositionZ": -913.4286,
      "IsActive": true,
      "MemberIds": [],
      "DisbandedAt": "0001-01-01T00:00:00",
      "LastKnownProtectionPercent": 1.0,
      "MapMarkerEnabled": true,
      "LastMarkerRefresh": "2022-05-11T01:47:29.7571006Z",
      "LastDamaged": "2022-05-09T16:33:12.6485941-07:00"
    }
  },
  "MemberPlayers": {
    "76561############": {
      "UserId": null,
      "FounderId": "76561############"
    },
    "76561############": {
      "UserId": null,
      "FounderId": "76561############"
    },
    "76561############": {
      "UserId": null,
      "FounderId": "76561############"
    }
  }
}


Merged post

so I deleted the data file and lang and i thing that fixed it. funny thing is the dubble HQ was resolved but the lugitamit ones were stored back in the data file. 0_o     :) 

Awesome, that was probably it then.  

Locked automatically