Added Mossy tracker, know issue
This commit is contained in:
parent
7eb98491d3
commit
23e33599ca
8 changed files with 3372 additions and 6 deletions
|
|
@ -96,15 +96,15 @@ namespace MosswartMassacre
|
|||
CoreManager.Current.CharacterFilter.LoginComplete += CharacterFilter_LoginComplete;
|
||||
CoreManager.Current.WorldFilter.CreateObject += OnSpawn;
|
||||
CoreManager.Current.WorldFilter.ReleaseObject += OnDespawn;
|
||||
|
||||
// Initialize VVS view after character login
|
||||
ViewManager.ViewInit();
|
||||
|
||||
// Initialize the timer
|
||||
updateTimer = new Timer(1000); // Update every second
|
||||
updateTimer.Elapsed += UpdateStats;
|
||||
updateTimer.Start();
|
||||
|
||||
// Initialize the view (UI) - use tabbed interface by default
|
||||
ViewManager.ViewInit();
|
||||
// Note: View initialization moved to LoginComplete for VVS compatibility
|
||||
|
||||
// Enable TLS1.2
|
||||
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
|
||||
|
|
@ -187,6 +187,8 @@ namespace MosswartMassacre
|
|||
|
||||
WriteToChat("Mosswart Massacre has started!");
|
||||
|
||||
|
||||
|
||||
PluginSettings.Initialize(); // Safe to call now
|
||||
|
||||
// Apply the values
|
||||
|
|
@ -605,7 +607,8 @@ namespace MosswartMassacre
|
|||
WriteToChat("/mm nextwp - Advance VTank to next waypoint");
|
||||
WriteToChat("/mm decalstatus - Check Harmony patch status (UtilityBelt version)");
|
||||
WriteToChat("/mm decaldebug - Enable/disable plugin message debug output + WebSocket streaming");
|
||||
WriteToChat("/mm harmonyraw - Show raw intercepted messages (debug output)");
|
||||
WriteToChat("/mm harmonyraw - Show raw intercepted messages (debug output)");
|
||||
WriteToChat("/mm gui - Manually initialize/reinitialize GUI");
|
||||
break;
|
||||
case "report":
|
||||
TimeSpan elapsed = DateTime.Now - statsStartTime;
|
||||
|
|
@ -797,6 +800,20 @@ namespace MosswartMassacre
|
|||
}
|
||||
break;
|
||||
|
||||
case "initgui":
|
||||
case "gui":
|
||||
try
|
||||
{
|
||||
WriteToChat("Attempting to manually initialize GUI...");
|
||||
ViewManager.ViewDestroy(); // Clean up any existing view
|
||||
ViewManager.ViewInit(); // Reinitialize
|
||||
WriteToChat("GUI initialization attempt completed.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
WriteToChat($"GUI initialization error: {ex.Message}");
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
WriteToChat($"Unknown /mm command: {subCommand}. Try /mm help");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue