RynthSuite as of 2026-09-27 (internal 1816d05): AutoVendor (UtilityBelt port), missile/magic facing and arc line of sight, nav waypoint skipping, rebuff batch and item-enchant fixes, crafting fallback, Loot Editor AutoVendor folder and command-line open, release 2026.9.27.2

This commit is contained in:
Tom Bohar 2026-09-27 20:25:46 -04:00
commit d55ffda4ed
33 changed files with 4364 additions and 207 deletions

View file

@ -903,7 +903,11 @@ public class WorldObjectCache
float dx = gx1 - gx2;
float dy = gy1 - gy2;
float dz = z1 - z2;
return Math.Sqrt(dx * dx + dy * dy + dz * dz);
double d = Math.Sqrt(dx * dx + dy * dy + dz * dz);
// A garbage position read (NaN/∞) must read as out of range. NaN fails every
// "dist > limit" test, so it passed both the scan's range gate and Think's
// disengage drop, and a target could be kept at any real distance.
return double.IsFinite(d) ? d : double.MaxValue;
}
/// <summary>Enumerate objects in player's inventory (no physics position).</summary>
@ -1547,7 +1551,7 @@ public class WorldObjectCache
// ── Type-flag item classification ─────────────────────────────────────
private static AcObjectClass ClassifyByItemType(uint typeFlags)
internal static AcObjectClass ClassifyByItemType(uint typeFlags)
{
// Most specific / unambiguous types first
if ((typeFlags & ItemTypePromissoryNote) != 0) return AcObjectClass.TradeNote;