v3.2.6 SENTINEL: Implemented automated Experience Sentinel diagnostic check for Final Girlz I.N.C.
This commit is contained in:
parent
cdad052b89
commit
a110c267b5
2 changed files with 18 additions and 0 deletions
|
|
@ -180,6 +180,17 @@ checkMemoryUsage(string context) {
|
||||||
// REMOVED: emergencyMemoryCleanup() - delegated to Controller_Memory.lsl
|
// REMOVED: emergencyMemoryCleanup() - delegated to Controller_Memory.lsl
|
||||||
// REMOVED: reportMemoryStats() - 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
|
// Send status message to scoreboard using link messages
|
||||||
sendStatusMessage(string status) {
|
sendStatusMessage(string status) {
|
||||||
// LOCKOUT: If victory is in progress, only allow "Victory" or "Title" statuses
|
// LOCKOUT: If victory is in progress, only allow "Victory" or "Title" statuses
|
||||||
|
|
@ -333,6 +344,9 @@ default {
|
||||||
// Initialize channels for external communication
|
// Initialize channels for external communication
|
||||||
initializeChannels();
|
initializeChannels();
|
||||||
|
|
||||||
|
// Experience Sentinel check
|
||||||
|
checkExperience();
|
||||||
|
|
||||||
// Reset the game on startup to ensure clean state
|
// Reset the game on startup to ensure clean state
|
||||||
resetGame();
|
resetGame();
|
||||||
|
|
||||||
|
|
@ -351,6 +365,9 @@ default {
|
||||||
// Re-initialize channels for external communication
|
// Re-initialize channels for external communication
|
||||||
initializeChannels();
|
initializeChannels();
|
||||||
|
|
||||||
|
// Experience Sentinel check
|
||||||
|
checkExperience();
|
||||||
|
|
||||||
// Reset the game to ensure clean state when rezzed
|
// Reset the game to ensure clean state when rezzed
|
||||||
resetGame();
|
resetGame();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ integer LINK_SCOREBOARD = -1; // "Scoreboard:0:0"
|
||||||
integer LINK_DICE_BRIDGE = -1; // "FURWARE text mesh:Dice: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_LEADERBOARD_BRIDGE = -1; // "FURWARE text mesh:Leaderboard:0:0"
|
||||||
integer LINK_STATUS_BRIDGE = -1; // "FURWARE text mesh:Status: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
|
// Macro to discover core links by name
|
||||||
#define DISCOVER_CORE_LINKS() { \
|
#define DISCOVER_CORE_LINKS() { \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue