5 Commits

Author SHA1 Message Date
fd15623809 Bump version (using yyyy.mm.dd again) 2026-03-06 14:35:47 +01:00
9cd39a8d2b Make smartstrip and allowattach in the relay menu work 2026-03-06 14:01:17 +01:00
8723466d74 Check if key is empty string too, closes #1 2026-03-05 17:01:29 +01:00
c42b1f028c update version check url 2026-03-02 08:01:44 +01:00
lickx
c58c4634ba Add creatorkit, closes #110 2026-02-22 04:26:43 +01:00
6 changed files with 9 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ OsCollar is a set of gadgets for submission roleplay for use in OpenSim grids
> res: Resource of creative content.
> anims: Motions and Animations as .bvh and .avm binaries.
> creatorkit: Sample collar for creators to use as a base
> models: 3D Models as .dae and .blend binaries.
> sounds: Sounds as .wav and .aup binaries.
> textures: Images as .png and .xcf binaries.
@@ -31,9 +32,7 @@ OsCollar is a set of gadgets for submission roleplay for use in OpenSim grids
#### Requirements
Simulator 0.9.3.1 or newer
or
Dreamgrid 7.04 or newer
Simulator 0.9.3.1 or newer
- Teleporting to a sim running older versions of OpenSim may result in loss of settings (linkset data) and loss of functionality (non-running scripts)
- Teleporting to a hypergrid sim may result in scripts to stop running and/or reset, unless the destination sim is patched

Binary file not shown.

View File

@@ -342,7 +342,7 @@ UserCommand(integer iAuth, string sStr, key kID)
}
}
} else if (llGetSubString(sChangetype, 0, 4) == "smart") {
if (iAuth != CMD_WEARER) RelayNotify(kID, "Only wearer can toggle this, since Smartstrip requires the #RLV folder to be setup in a specific way.", 0);
if (kID != g_kWearer) RelayNotify(kID, "Only wearer can toggle this, since Smartstrip requires the #RLV folder to be setup in a specific way.", 0);
else if (sChangevalue == "off") {
g_iSmartStrip = FALSE;
sText = "Smartstrip turned off.\n\nAttachments and clothing, also if layers are somewhere inside #RLV folder directories, will be stripped normally.\n";
@@ -350,7 +350,7 @@ UserCommand(integer iAuth, string sStr, key kID)
sText = "Smartstrip turned on.\n\nAll smartstrip ready folders in the #RLV directory will be removed as a whole when corresponding clothing layers are stripped.\n";
g_iSmartStrip = TRUE;
}
} else if (llGetSubString(sChangetype, 0, 9) == "allowattach") {
} else if (llGetSubString(sChangetype, 0, 10) == "allowattach") {
if (iAuth != CMD_OWNER) RelayNotify(kID, "Access denied!", 0);
else if (sChangevalue == "off") {
g_iAllowAttach = FALSE;

View File

@@ -265,7 +265,7 @@ SafeWord(key kID)
}
llMessageLinked(LINK_THIS, RLV_CMD, "unsit=force", "");
llMessageLinked(LINK_ALL_OTHERS, RLV_CLEAR, "", "");
if (kID != NULL_KEY) llMessageLinked(LINK_DIALOG, NOTIFY, "1"+"RLV restrictions cleared.", kID);
if (kID != NULL_KEY && kID != "") llMessageLinked(LINK_DIALOG, NOTIFY, "1"+"RLV restrictions cleared.", kID);
}
UserCommand(integer iAuth, string sStr, key kID)

View File

@@ -22,7 +22,7 @@
//on menu request, give dialog, with alphabetized list of submenus
//on listen, send submenu link message
string g_sCollarVersion="2026.02";
string g_sCollarVersion="2026.03.06";
key g_kWearer = NULL_KEY;
@@ -499,7 +499,7 @@ default {
else if (sMessage == "Help") UserCommand(iAuth, "help", kAv, TRUE);
else if (sMessage == "Update") UserCommand(iAuth, "update", kAv, TRUE);
else if (sMessage == "Version")
g_kHttpVersion = llHTTPRequest("https://raw.githubusercontent.com/OsCollar/oscollar-dev/stable/web/device", [], "");
g_kHttpVersion = llHTTPRequest("https://git.lotix.org/lotek/oscollar/raw/branch/master/web/device", [], "");
} else if (sMenu == "UpdateConfirmMenu"){
if (sMessage=="Yes") StartUpdate();
else {
@@ -656,7 +656,7 @@ default {
if (compareVersions(sWebVersion, g_sCollarVersion)) {
llOwnerSay("An update is available!");
// Fetch a list of distribution sites:
g_kHttpDistsites = llHTTPRequest("https://raw.githubusercontent.com/OsCollar/oscollar-dev/stable/web/distsites", [], "");
g_kHttpDistsites = llHTTPRequest("https://git.lotix.org/lotek/oscollar/raw/branch/master/web/distsites", [], "");
} else
llOwnerSay("You are using the most recent version");
} else if (kID == g_kHttpDistsites) {

View File

@@ -1 +1 @@
2026.02
2026.03.06