What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

System.Collections.Generic.KeyNotFoundException: The given key was not present

Gardettos

New Member
Joined
Jun 11, 2012
Messages
522
Reaction score
6
Weird error I have been getting in the Forward Barracks.

Code:
16:50:34.586 D] Generated path to <3942.593, 787.5804, -8.671358> (Stairs to 2nd Forward Barracks-01) with 6 hops.
[16:50:36.436 D] Navigator.Clear
[16:50:36.456 D] Replaced hook [ProfileOrderBehavior_Hook] 8a6afdfd-714f-4ca8-b8d2-4d80d92fd99c
[16:50:36.456 D] Generating path to Stairs to 2nd Forward Barracks-02 - <3958.803, 783.8505, -15.00225>
[16:50:36.476 D] Successfully generated path from {X=315,Y=1481} to {X=314,Y=1487} in 00:00:00.0000864 with 7(3) hops
[16:50:36.476 D] Client path generated.
[16:50:36.476 D] Generated path to <3958.803, 783.8505, -15.00225> (Stairs to 2nd Forward Barracks-02) with 3 hops.
[16:50:36.836 D] Navigation reached current destination. Within 7.147351
[16:50:36.836 D] Navigator.Clear
[16:50:36.866 D] Generating path to Stairs to 2nd Forward Barracks-02 - <3958.803, 783.8505, -15.00225>
[16:50:36.876 D] Successfully generated path from {X=314,Y=1485} to {X=314,Y=1487} in 00:00:00.0000280 with 3(2) hops
[16:50:36.876 D] Client path generated.
[16:50:36.876 D] Generated path to <3958.803, 783.8505, -15.00225> (Stairs to 2nd Forward Barracks-02) with 2 hops.
[16:50:36.966 D] Navigator.Clear
[16:50:36.986 D] Replaced hook [ProfileOrderBehavior_Hook] f5a41869-2707-4b28-a980-4a6c8c16306c
[16:50:37.516 D] Replaced hook [ProfileOrderBehavior_Hook] cc5d155f-252a-4fee-9d61-36f5169ee980
[16:50:37.516 N] Interacting with object g_portal_Ladder_Short_Orange-14948
[16:50:38.526 D] Navigator.Clear
[16:50:38.626 D] [Atom] - Game is loading, sleeping inactivity thread.
[16:50:40.756 D] Replaced hook [ProfileOrderBehavior_Hook] 33fc38a0-db50-47fd-95cf-faacedf05e89
[16:50:41.276 D] Replaced hook [ProfileOrderBehavior_Hook] 463ba17d-8f96-46d9-8b23-09de369a0427
[16:50:41.336 N] ToggleTargeting, new values: Looting:True LootRadius:15 Combat:True KillRadius:15
[16:50:41.336 D] Replaced hook [ProfileOrderBehavior_Hook] a1716605-c95f-4e27-be3b-cfef895a6c92
[16:50:41.396 D] Replaced hook [ProfileOrderBehavior_Hook] d3381128-872a-4622-829b-4dcbf2b4106e
[16:50:41.396 D] Generating path to Forward Barracks:D-01 - <633.7295, 765.1158, 0.1>
[16:50:41.436 D] Successfully generated path from {X=208,Y=229} to {X=210,Y=253} in 00:00:00.0005891 with 25(4) hops
[16:50:41.436 D] Client path generated.
[16:50:41.436 D] Generated path to <633.7295, 765.1158, 0.1> (Forward Barracks:D-01) with 4 hops.
[16:50:43.226 D] Navigator.Clear
[16:50:43.266 D] Replaced hook [ProfileOrderBehavior_Hook] e7dd07f0-4cdb-4105-a293-a34a12b4e30e
[16:50:43.266 D] Generating path to Forward Barracks:D-02 - <611.7056, 668.9324, 0.5993098>
[16:50:43.316 D] Successfully generated path from {X=210,Y=251} to {X=172,Y=245} in 00:00:00.0021754 with 39(6) hops
[16:50:43.316 D] Client path generated.
[16:50:43.316 D] Generated path to <611.7056, 668.9324, 0.5993098> (Forward Barracks:D-02) with 6 hops.
[16:50:43.546 N] ========== Grid segmentation resetting!!! ============
[16:50:46.388 D] Navigator.Clear
[16:50:46.418 D] Replaced hook [ProfileOrderBehavior_Hook] f2a18c30-b14d-408f-91de-54c4bf67ebcc
[16:50:46.418 D] Generating path to Forward Barracks:D-03 - <608.2211, 557.1771, 0.1>
[16:50:46.428 D] Successfully generated path from {X=174,Y=246} to {X=127,Y=243} in 00:00:00.0012586 with 48(7) hops
[16:50:46.428 D] Client path generated.
[16:50:46.428 D] Generated path to <608.2211, 557.1771, 0.1> (Forward Barracks:D-03) with 7 hops.
[16:50:47.698 D] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at GilesTrinity.GilesTrinity.RefreshDiaObjects()
   at GilesTrinity.GilesTrinity.GilesGlobalOverlord(Object ret)
   at Zeta.TreeSharp.Decorator.CanRun(Object context)
   at Zeta.TreeSharp.Decorator..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.CommonBot.BotMain.()
[17:09:46.593 D] Start/Stop Button Clicked!

View attachment 8656 2012-11-17 10.36.txt

This was running the most recent beta. But this error has been happening for weeks now. Seems to only happen in dungeons such as Forward Barracks or Underbridge.
 
for beta builds use beta build thread plz
 
This usually means you or someone you downloaded the plugin from added a SNO Id to one of the Trinity dictionaries, like hashAvoidanceSNOList, hashAvoidanceSNOProjectiles, hashSNOInteractWhitelist, or hashSNONavigationObstacles, without adding a corresponding entry into the other required dictionaries like dictAvoidanceHealthBarbDefaults, dictAvoidanceHealthMonkDefaults, dictAvoidanceHealthWizardDefaults, dictInteractableRange, dictSNOExtendedDestructRange, etc.

Since it happened in GilesGlobalOverlord i'm guessing it was dictAbilityRepeatDelay, which gets its data from dictAbilityRepeatDefaults, which is a bit strange because that one doesn't really need updating.

So this is not a beta or DB problem. Maybe ask from where you got this version of your plugin?

Good luck!
 
This usually means you or someone you downloaded the plugin from added a SNO Id to one of the Trinity dictionaries, like hashAvoidanceSNOList, hashAvoidanceSNOProjectiles, hashSNOInteractWhitelist, or hashSNONavigationObstacles, without adding a corresponding entry into the other required dictionaries like dictAvoidanceHealthBarbDefaults, dictAvoidanceHealthMonkDefaults, dictAvoidanceHealthWizardDefaults, dictInteractableRange, dictSNOExtendedDestructRange, etc.

Since it happened in GilesGlobalOverlord i'm guessing it was dictAbilityRepeatDelay, which gets its data from dictAbilityRepeatDefaults, which is a bit strange because that one doesn't really need updating.

So this is not a beta or DB problem. Maybe ask from where you got this version of your plugin?

Good luck!

I am just using Trinity 1.6.3.4. Like it said I have only seen it happen in the Forward Barracks or Underbridge. It happens both in .284 and beta. I don't think it is avoidance. Maybe a gate?
 
I am just using Trinity 1.6.3.4. Like it said I have only seen it happen in the Forward Barracks or Underbridge. It happens both in .284 and beta. I don't think it is avoidance. Maybe a gate?
that'd be my guess. it seems like it was trying to find something that just wasn't there, or what its expecting. definitely report it in the beta thread as that way if it is a real issue then it can get fixed asap, if not maybe try using a different profile.
 
Back
Top