Fix delivery problems
This commit is contained in:
parent
f6902fefd5
commit
623966b907
5 changed files with 255 additions and 20 deletions
|
@ -187,9 +187,19 @@ string SERVER_PSK = "8597f-f19f0eec-cc526aa87-152ac84-326";
|
|||
|
||||
string g_sServerID = "";
|
||||
|
||||
requestProductForDelivery(string sProduct, string sID) {
|
||||
requestProductForDelivery(string sProduct, string sID, string sCallback) {
|
||||
llEmail(g_sServerID+"@lsl.secondlife.com", "RequestProductDelivery", "S;;" + xtea_encrypt_string(llList2Json(JSON_OBJECT, [
|
||||
"item", sProduct,
|
||||
"id", sID
|
||||
"id", sID,
|
||||
"callback", sCallback
|
||||
])) + ";;X");
|
||||
}
|
||||
|
||||
altRequestDelivery(string sURL, string sID, string sProduct) {
|
||||
llHTTPRequest(sURL, [HTTP_METHOD, "POST", HTTP_MIMETYPE, "text/plain"], xtea_encrypt_string(
|
||||
llList2Json(JSON_OBJECT, [
|
||||
"item", sProduct,
|
||||
"id", sID
|
||||
])
|
||||
));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue