The paging loop in AdvancedSearchGump.Build assumed a full MaxEntries page: on a partial last page in descending mode, the first iteration's index already overflowed SearchResults.Length, and the break early-out killed the whole loop, rendering zero rows. Add a VisibleCount(total, displayFrom, maxEntries) helper and bound the loop to it instead of MaxEntries, generalizing the descending offset formula (MaxEntries - 1 - i -> visibleCount - 1 - i) so it stays valid for partial pages while being identical to the old formula on full pages. |
||
|---|---|---|
| .. | ||
| AdvancedSearch | ||
| Chat | ||
| Events | ||
| Help | ||
| ML Quests | ||
| Party | ||
| Pathing | ||
| Spawners | ||
| Veteran Rewards/Character Statue Maker | ||