From 6d644aede768cd89ff1c829f774023ac291c5d17 Mon Sep 17 00:00:00 2001 From: Medea-Destiny <37522714+Medea-Destiny@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:23:59 +0100 Subject: [PATCH 1/4] OBJECT_TEMP_ATTACHED rejection in oc_API for interface channel --- src/collar/oc_api.lsl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/collar/oc_api.lsl b/src/collar/oc_api.lsl index fb4f8cf67..5538857ce 100644 --- a/src/collar/oc_api.lsl +++ b/src/collar/oc_api.lsl @@ -529,6 +529,7 @@ state active return; } else { + if(llList2Integer(llGetObjectDetails(i,[OBJECT_TEMP_ATTACHED])==1) return; key kAuthKey=llGetOwnerKey(i); integer iAuth=CalcAuth(kAuthKey); if(llGetSubString(m,0,6)=="authas:"){ //messages prefixed authas:(key)=(cmd) will use the auth level of key if LOWER than object owner auth. From a73240a8fbc73963b6a1f6b5cb7579262a62e4ef Mon Sep 17 00:00:00 2001 From: Medea-Destiny <37522714+Medea-Destiny@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:29:36 +0100 Subject: [PATCH 2/4] Update oc_api.lsl --- src/collar/oc_api.lsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collar/oc_api.lsl b/src/collar/oc_api.lsl index 5538857ce..b96e144d0 100644 --- a/src/collar/oc_api.lsl +++ b/src/collar/oc_api.lsl @@ -529,7 +529,7 @@ state active return; } else { - if(llList2Integer(llGetObjectDetails(i,[OBJECT_TEMP_ATTACHED])==1) return; + if(llList2Integer(llGetObjectDetails(i,[OBJECT_TEMP_ATTACHED]),0)==1) return; key kAuthKey=llGetOwnerKey(i); integer iAuth=CalcAuth(kAuthKey); if(llGetSubString(m,0,6)=="authas:"){ //messages prefixed authas:(key)=(cmd) will use the auth level of key if LOWER than object owner auth. From 6eaaea9a4fce77322302dbe18b1ccf7caae0b259 Mon Sep 17 00:00:00 2001 From: Medea-Destiny <37522714+Medea-Destiny@users.noreply.github.com> Date: Mon, 16 Sep 2024 20:35:28 +0100 Subject: [PATCH 3/4] Update oc_api.lsl --- src/collar/oc_api.lsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collar/oc_api.lsl b/src/collar/oc_api.lsl index b96e144d0..770a6a164 100644 --- a/src/collar/oc_api.lsl +++ b/src/collar/oc_api.lsl @@ -46,7 +46,8 @@ Medea (Medea Destiny) the only thing the wearer can do is safeword, which will deactivate it. Any attempt to trigger a menu/command will send the AUTH_WEARERLOCKOUT Link message. Any script setting a wearer lockout should respond to this with a status - update. + update. + *Spet 2024 - Added rejection of interface channel commands from temp-attached objects Yosty7b3 *Oct 2021 - Remove unused StrideOfList() function. From 9c3a2e8e63fb748807a683abb0b159edca74f182 Mon Sep 17 00:00:00 2001 From: Medea-Destiny <37522714+Medea-Destiny@users.noreply.github.com> Date: Mon, 16 Sep 2024 20:36:03 +0100 Subject: [PATCH 4/4] Update oc_api.lsl --- src/collar/oc_api.lsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collar/oc_api.lsl b/src/collar/oc_api.lsl index 770a6a164..073b6f442 100644 --- a/src/collar/oc_api.lsl +++ b/src/collar/oc_api.lsl @@ -47,7 +47,7 @@ Medea (Medea Destiny) Any attempt to trigger a menu/command will send the AUTH_WEARERLOCKOUT Link message. Any script setting a wearer lockout should respond to this with a status update. - *Spet 2024 - Added rejection of interface channel commands from temp-attached objects + *Sept 2024 - Added rejection of interface channel commands from temp-attached objects Yosty7b3 *Oct 2021 - Remove unused StrideOfList() function.