From 7f13a852743fbff5a4d01508ffe183b87d304f68 Mon Sep 17 00:00:00 2001 From: RebeccaNod1 Date: Sun, 14 Sep 2025 09:52:35 -0500 Subject: [PATCH] fix: replace unicode characters causing syntax error in Controller_MessageHandler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed syntax error on line 324,19 caused by unicode emoji characters - Replaced all emoji characters with plain text equivalents: - 🎮 -> [GAME] - 👋 -> [JOIN]/[LEAVE] - ⚠️ -> [ERROR] - ✅ -> [SUCCESS] - 🔧 -> [DEBUG] - 🔄 -> [WELCOME] This resolves LSL compilation issues while maintaining functionality. --- Controller_MessageHandler.lsl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Controller_MessageHandler.lsl b/Controller_MessageHandler.lsl index 2910212..5e4226c 100644 --- a/Controller_MessageHandler.lsl +++ b/Controller_MessageHandler.lsl @@ -295,20 +295,20 @@ handleOwnerMessage(string messageData) { string msgType = llList2String(parts, 0); if (msgType == "JOIN") { string playerName = llList2String(parts, 1); - llOwnerSay("👋 " + playerName + " joined the game!"); + llOwnerSay("[JOIN] " + playerName + " joined the game!"); } else if (msgType == "LEAVE") { string playerName = llList2String(parts, 1); - llOwnerSay("👋 " + playerName + " left the game."); + llOwnerSay("[LEAVE] " + playerName + " left the game."); } else if (msgType == "ERROR") { string error = llList2String(parts, 1); - llOwnerSay("⚠️ " + error); + llOwnerSay("[ERROR] " + error); } else if (msgType == "SUCCESS") { string msg = llList2String(parts, 1); - llOwnerSay("✅ " + msg); + llOwnerSay("[SUCCESS] " + msg); } else if (msgType == "DEBUG") { string component = llList2String(parts, 1); string msg = llList2String(parts, 2); - llOwnerSay("🔧 [" + component + "] " + msg); + llOwnerSay("[DEBUG] [" + component + "] " + msg); } } } @@ -322,7 +322,7 @@ handlePublicMessage(string messageData) { string msgType = llList2String(parts, 0); if (msgType == "GAME") { string state = llList2String(parts, 1); - llSay(0, "🎮 " + state); + llSay(0, "[GAME] " + state); } } } @@ -343,7 +343,7 @@ handleRegionMessage(string messageData) { string msgType = llList2String(parts, 1); if (msgType == "WELCOME") { string msg = llList2String(parts, 2); - llRegionSayTo(playerKey, 0, "🔄 " + msg); + llRegionSayTo(playerKey, 0, "[WELCOME] " + msg); } } }