OSS: Use "\u007F" instead of assigning it at runtime.

This commit is contained in:
Sei Lisa 2017-10-06 18:44:45 +02:00 committed by Sei-Lisa
parent 8a10a36515
commit b191988334
4 changed files with 4 additions and 8 deletions

View file

@ -39,7 +39,7 @@ integer listen_handle;
integer number_per_page = 9; integer number_per_page = 9;
integer menu_pages; integer menu_pages;
string last_text; string last_text;
string SEP = "<22>"; // OSS::string SEP; string SEP = "<22>"; // OSS::string SEP = "\u007F";
integer pass_security(key id) integer pass_security(key id)
{ {
@ -311,7 +311,6 @@ default
{ {
remove_script("Use only one copy of this script!"); remove_script("Use only one copy of this script!");
} }
// OSS::SEP = llUnescapeURL("%7F");
check_avsit(); check_avsit();
notecard_key = llGetInventoryKey(notecard_name); notecard_key = llGetInventoryKey(notecard_name);
Out(0, "Loading..."); Out(0, "Loading...");

View file

@ -46,7 +46,7 @@ list chosen_animations;
string cache; string cache;
string webkey; string webkey;
integer webcount; integer webcount;
string SEP = "<22>"; // OSS::string SEP; string SEP = "<22>"; // OSS::string SEP = "\u007F";
string FormatFloat(float f, integer num_decimals) string FormatFloat(float f, integer num_decimals)
{ {
@ -359,7 +359,6 @@ default
{ {
remove_script("Use only one of this script!"); remove_script("Use only one of this script!");
} }
// OSS::SEP = llUnescapeURL("%7F");
llListen(chat_channel, "", llGetOwner(), ""); llListen(chat_channel, "", llGetOwner(), "");
comm_channel = ((integer)llFrand(99999) + 1) * 1000 * -1; comm_channel = ((integer)llFrand(99999) + 1) * 1000 * -1;
integer i; integer i;

View file

@ -82,7 +82,7 @@ string BRAND;
string onSit; string onSit;
integer speed_index; integer speed_index;
integer verbose = 0; integer verbose = 0;
string SEP = "<22>"; // OSS::string SEP; string SEP = "<22>"; // OSS::string SEP = "\u007F";
Out(integer level, string out) Out(integer level, string out)
{ {
@ -439,7 +439,6 @@ default
{ {
state_entry() state_entry()
{ {
// OSS::SEP = llUnescapeURL("%7F");
SCRIPT_CHANNEL = (integer)llGetSubString(llGetScriptName(), llSubStringIndex(llGetScriptName(), " "), -1); SCRIPT_CHANNEL = (integer)llGetSubString(llGetScriptName(), llSubStringIndex(llGetScriptName(), " "), -1);
while (llGetInventoryType(memoryscript) != INVENTORY_SCRIPT) while (llGetInventoryType(memoryscript) != INVENTORY_SCRIPT)
{ {

View file

@ -48,7 +48,7 @@ string RLVDesignations;
string onSit; string onSit;
integer speed_index; integer speed_index;
integer verbose = 0; integer verbose = 0;
string SEP = "<22>"; // OSS::string SEP; string SEP = "<22>"; // OSS::string SEP = "\u007F";
Out(integer level, string out) Out(integer level, string out)
{ {
@ -242,7 +242,6 @@ default
state_entry() state_entry()
{ {
memory(); memory();
// OSS::SEP = llUnescapeURL("%7F");
SCRIPT_CHANNEL = (integer)llGetSubString(llGetScriptName(), llSubStringIndex(llGetScriptName(), " "), -1); SCRIPT_CHANNEL = (integer)llGetSubString(llGetScriptName(), llSubStringIndex(llGetScriptName(), " "), -1);
if (SCRIPT_CHANNEL) if (SCRIPT_CHANNEL)
main_script += " " + (string)SCRIPT_CHANNEL; main_script += " " + (string)SCRIPT_CHANNEL;