RynthCore as of 2026-09-27 (internal d359eee): items past the old object-id range, no idle logoff, overlay popups without the panel flash, UI hidden at character select, vendor trading (API 67), Settings rows and Vendoring tab, release 2026.9.27.2
This commit is contained in:
parent
f407326377
commit
9b5e2765b7
43 changed files with 4216 additions and 62 deletions
|
|
@ -23,6 +23,7 @@ internal static class EngineSettings
|
|||
private static bool _enableImGuiBackend = true;
|
||||
private static bool _enableHangMinidump = true;
|
||||
private static bool _drawCustomVitalBars = true;
|
||||
private static bool _preventIdleLogoff = true;
|
||||
private static bool _loaded;
|
||||
|
||||
public static IReadOnlyList<string> PluginPaths
|
||||
|
|
@ -178,6 +179,20 @@ internal static class EngineSettings
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>When true (default), the engine keeps the retail client's idle clock fresh
|
||||
/// while in the world, so ClientUISystem::UseTime's 20-minute idle auto-logoff
|
||||
/// (InactiveTimeBeforeLogout) can't log off a character a bot is playing: the bot's
|
||||
/// actions aren't keyboard/mouse input, so the client counted it as idle. Set false in
|
||||
/// engine.json to get the retail behaviour back.</summary>
|
||||
public static bool PreventIdleLogoff
|
||||
{
|
||||
get
|
||||
{
|
||||
EnsureLoaded();
|
||||
return _preventIdleLogoff;
|
||||
}
|
||||
}
|
||||
|
||||
public static void AddPluginPath(string path)
|
||||
{
|
||||
EnsureLoaded();
|
||||
|
|
@ -287,6 +302,12 @@ internal static class EngineSettings
|
|||
{
|
||||
_drawCustomVitalBars = cvbEl.GetBoolean();
|
||||
}
|
||||
|
||||
if (doc.RootElement.TryGetProperty("PreventIdleLogoff", out var pilEl) &&
|
||||
(pilEl.ValueKind == JsonValueKind.True || pilEl.ValueKind == JsonValueKind.False))
|
||||
{
|
||||
_preventIdleLogoff = pilEl.GetBoolean();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -319,6 +340,7 @@ internal static class EngineSettings
|
|||
w.WriteBoolean("EnableImGuiBackend", _enableImGuiBackend);
|
||||
w.WriteBoolean("EnableHangMinidump", _enableHangMinidump);
|
||||
w.WriteBoolean("DrawCustomVitalBars", _drawCustomVitalBars);
|
||||
w.WriteBoolean("PreventIdleLogoff", _preventIdleLogoff);
|
||||
w.WriteEndObject();
|
||||
}
|
||||
File.WriteAllBytes(SettingsPath, ms.ToArray());
|
||||
|
|
|
|||
Loading…
Reference in a new issue