feat: SK backlog from test through 2026.11.22.48 (Trade Shop, Oracle, quests, loot, nav)

Squash of test/main-merge-2026-10-25 onto aelrynth main 2026.11.19.1 for the standing sk PR. Includes Trade Shop, Oracle wiki/ILT tracker, quest runs, loot checklist, RynthNav, VTank import. HandWrittenVersion remains 0.5.0-legacy-ui. See Changelog/2026-11-22-sk-backlog-test-merge.md.
This commit is contained in:
BlankenshipG 2026-11-23 00:08:38 -05:00
commit dc08e1abba
521 changed files with 47247 additions and 795 deletions

View file

@ -40,6 +40,9 @@ namespace RynthOracle.Tests
private static int Main()
{
// Tab clicks save the settings: into a scratch file, never the player's %APPDATA% copy.
// The flag-list tests below were written for the Quests tab before the guide view (2026-11-01): the
// flag list is their default; WikiGuide opens the guide itself.
OracleSettings.DefaultQuestGuideView = false;
OracleSettings.PathOverride = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "RynthOracleTests-" + Guid.NewGuid().ToString("N") + "-settings.json");
Lists();
QuestLines();
@ -57,6 +60,7 @@ namespace RynthOracle.Tests
GoToParsing();
Loaders();
MergedList();
QuestColumnsFollowWidth();
MarkersReachable();
GoToButtons();
Throttle();
@ -65,12 +69,43 @@ namespace RynthOracle.Tests
Refreshes();
SkillsTabs();
ServerMove();
Gear();
AutoRefresh();
Replies();
WikiGuide();
KillTasks();
WikiDynamicStamps();
Fandom();
QuestNamesTests();
QuestDungeonTests();
QuestInsideTests();
T11TrackingTests();
QuestPickupTests();
QuestOfferTests();
SocietyQuestResolveTests();
ReadyEarly();
Console.WriteLine($"{_pass} passed, {_fail} failed");
return _fail == 0 ? 0 : 1;
}
// Silentkelpie 2026-10-23, two days in: the quest pages showed flags frozen at whenever
// something last sent /myquests (RynthOracle only read it at login). Now it reads again once
// the flags are QuestRefreshMinutes old, whoever asked last.
private static void AutoRefresh()
{
var t0 = new DateTime(2026, 10, 23, 7, 49, 0, DateTimeKind.Utc);
Check(new OracleSettings().QuestRefreshMinutes == 10, "auto refresh: on by default, every 10 minutes");
Check(Array.IndexOf(OracleSettings.QuestRefreshChoices, 10) >= 0 && OracleSettings.QuestRefreshChoices[0] == 0,
"auto refresh: the About tab's choices hold the default, and Off first");
Check(!QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(9), false, false, 0), "auto refresh: 9 minutes old, not yet");
Check(QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(10), false, false, 0), "auto refresh: 10 minutes old, due");
Check(QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(16), false, false, 0), "auto refresh: Kelpie's 16 minutes, due");
Check(!QuestFlagStore.AutoRefreshDue(0, t0, t0.AddHours(48), false, false, 0), "auto refresh: Off never sends");
Check(!QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(30), true, false, 0), "auto refresh: not while a reply is coming");
Check(!QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(30), false, true, 0), "auto refresh: not where the server has /myquests off");
Check(!QuestFlagStore.AutoRefreshDue(10, t0, t0.AddMinutes(30), false, false, 20), "auto refresh: not inside the server's minute");
}
private static void Check(bool ok, string what)
{
if (ok) _pass++;
@ -428,6 +463,8 @@ namespace RynthOracle.Tests
private static OracleContext Context()
{
var c = new OracleContext { InWorld = true, NowMs = 10_000_000, UtcNow = DateTime.UtcNow };
// Never the player's own saved AC Community Wiki read (%APPDATA%): a file of the test's own that doesn't exist.
c.Fandom = new FandomFeed(System.IO.Path.Combine(System.IO.Path.GetTempPath(), "RynthOracleTests-" + Guid.NewGuid().ToString("N") + "-no-fandom.json"));
c.Server.Force("aelrynth", "Aeshnidae", "RynthAelrynth");
c.Catalog.Load(TestPacks.Aelrynth, null);
c.Flags.OnChatLine("30minattributes - 4 solves (1719432000)\"x\" -1 1800", 0);