Tried testing some changes rrrix made with the getting stuck picking up legendary items. No good. Got stuck again. Rift Guardian dropped a leg (one item, a forgotten soul and a keystone dropped), moved to the item first, tried to pick it up, bags were full, and got stuck. TP was never used and the log shows INFO Logger [Trinity] No more space to pickup item, town-run requested at next free moment. (HandleTarget)
I used the following files from the GIT that were commented as [rrrix1] Bot will no longer stand next to a legendary item and not pick it up:
Cache\TrinityCacheObject.cs
Combat\Weighting.cs
Combat\TargetUtil.cs
Combat\Abilities\CombatBase.cs
19:38:04.069 DEBUG DefaultNavigationProvider Successfully generated path from {X=294,Y=304} to {X=291,Y=309} in 00:00:00.0000271 with 6(3) hops
19:38:04.077 DEBUG DefaultNavigationProvider Client path generated.
19:38:04.078 DEBUG DefaultNavigationProvider Generated path to <772.4084, 968.9164, -1.377712> (Name=GoldLarge Dist=9 IsElite=False LoS=False HP=-1.00 Dir=SW) with 3 hops.
19:38:04.735 INFO Logger [Trinity] No more space to pickup a 2-slot item, now running town-run routine. (TownRun)
19:38:04.737 DEBUG Logger [Trinity] Starting town run timer
19:38:04.739 DEBUG DefaultNavigationProvider Navigator.Clear
19:38:04.739 DEBUG DefaultNavigationProvider Generating path to UNKNOWN - <710.9128, 1009.3, 6.676052>
19:38:04.742 DEBUG DefaultNavigationProvider Successfully generated path from {X=291,Y=307} to {X=308,Y=284} in 00:00:00.0008255 with 26(10) hops
19:38:04.748 DEBUG DefaultNavigationProvider Client path generated.
19:38:04.748 DEBUG DefaultNavigationProvider Generated path to <710.9128, 1009.3, 6.676052> () with 10 hops.
19:38:04.749 DEBUG Logger [MiniMapMarker] Moved to inspect nameHash 1947539564 at <710.9128, 1009.3, 6.676052>, IsPOI: True IsExit: False MoveResult: Moved
19:38:04.784 DEBUG TreeHooks Replaced hook [ProfileOrderBehavior_Hook] 707b40d7-ed4e-4771-8d8f-7b033bc4fdda
19:38:04.795 DEBUG DefaultNavigationProvider Navigator.Clear
19:38:04.795 DEBUG DefaultNavigationProvider Generating path to Name=Legendary Item Minimap Marker Dist=18 IsElite=False LoS=False HP=0.00 Dir=NE - <752.9267, 980.9323, 0.6173865>
19:38:04.800 DEBUG DefaultNavigationProvider Successfully generated path from {X=291,Y=307} to {X=296,Y=301} in 00:00:00.0000262 with 7(2) hops
19:38:04.806 DEBUG DefaultNavigationProvider Client path generated.
19:38:04.807 DEBUG DefaultNavigationProvider Generated path to <752.9267, 980.9323, 0.6173865> (Name=Legendary Item Minimap Marker Dist=18 IsElite=False LoS=False HP=0.00 Dir=NE) with 2 hops.
19:38:05.411 INFO Logger [Trinity] No more space to pickup item, town-run requested at next free moment. (HandleTarget)