v3.2.6 SENTINEL: Implemented automated Experience Sentinel diagnostic check for Final Girlz I.N.C.

This commit is contained in:
RebeccaNod1 2026-04-05 11:15:27 -06:00
parent cdad052b89
commit a110c267b5
2 changed files with 18 additions and 0 deletions

View file

@ -180,6 +180,17 @@ checkMemoryUsage(string context) {
// REMOVED: emergencyMemoryCleanup() - delegated to Controller_Memory.lsl
// REMOVED: reportMemoryStats() - delegated to Controller_Memory.lsl
// Experience Sentinel - Checks if the required experience is enabled on the parcel
checkExperience() {
list parcelXps = llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_EXPERIENCE_LIST]);
if (llListFindList(parcelXps, [EXPERIENCE_ID]) == -1) {
llOwnerSay("⚠️ [Peril Dice] SYSTEM WARNING: The 'Final Girlz I.N.C.' Experience is NOT active on this parcel!");
llOwnerSay("🛡️ [Peril Dice] Auto-HUD attachment will FAIL. To fix: Open 'About Land' -> 'Experiences' -> 'Add' and search for 'Final Girlz I.N.C.'");
} else {
dbg("✅ [Peril Dice] Experience Sentinel: Land is ready for Final Girlz I.N.C. features.");
}
}
// Send status message to scoreboard using link messages
sendStatusMessage(string status) {
// LOCKOUT: If victory is in progress, only allow "Victory" or "Title" statuses
@ -333,6 +344,9 @@ default {
// Initialize channels for external communication
initializeChannels();
// Experience Sentinel check
checkExperience();
// Reset the game on startup to ensure clean state
resetGame();
@ -351,6 +365,9 @@ default {
// Re-initialize channels for external communication
initializeChannels();
// Experience Sentinel check
checkExperience();
// Reset the game to ensure clean state when rezzed
resetGame();

View file

@ -8,6 +8,7 @@ integer LINK_SCOREBOARD = -1; // "Scoreboard:0:0"
integer LINK_DICE_BRIDGE = -1; // "FURWARE text mesh:Dice:0:0"
integer LINK_LEADERBOARD_BRIDGE = -1; // "FURWARE text mesh:Leaderboard:0:0"
integer LINK_STATUS_BRIDGE = -1; // "FURWARE text mesh:Status:0:0"
key EXPERIENCE_ID = "06926390-26e6-11f1-a452-0242ac110003"; // Final Girlz I.N.C.
// Macro to discover core links by name
#define DISCOVER_CORE_LINKS() { \