Jump to content

Kostya Noyes

  • Posts

  • Joined

  • Last visited

Everything posted by Kostya Noyes

  1. Thank you, i read this. I understand than need create new object (I is creator, I is owner) which will be have inner_object and will be listen command trouth llSay from main_object (I creator, owner other) and give inner_object with no_copy permission. Maybe I can send item from my invetory? or any ways?
  2. I have main_object (I creator, owner other avatar) on land with `inner_object` into it. How I give `inner_object` (with no copy) to other users same as Royality Vendor? Importart given item `inner_object` must be no copy!
  3. Royality Vendor give no copy item trough llGiveInventory(your_uuid,"The Item"); this is I need! Please, can you give me sample of code?
  4. Can you give me sample code? OK Maybe How can I change PRIM_TEXT, PRIM_NAME, PRIM_DESCRIPTION of "inner_object" (no mod, copy, no transfer) after llGiveInventory(); to avatar?
  5. Hello! http://maps.secondlife.com/secondlife/Tournant/116/135/40\ Look "Edit" menu object "Royalty Vendor" with free Valentine Guitar. It have only script, but it give object many for many people. How? What right solution in my case? - Many 'inner_object in 'main_object'?
  6. In php script you can get data: $data = file_get_contents("php://input");if (!empty($data)) { parse_str($data, $postdata);} else { $postdata = $_REQUEST;}$user_key = $postdata["user_key"]; //incoming userkey$user_name = $postdata["user_name"]; // Incoming user name$URL1 = $postdata["URL1"]; // URL $URL2 = $postdata["URL2"]; // URL$consoleID = $postdata["consoleID"]; // Console ID
  7. llGiveInventory(llDetectedKey(0),"inner_Object"); this function give no copy "inner_object" from "main_object" to avatar, but "main_object" becomes empty. How give no copy "inner_object" many times?
  8. Thank you all! I decided problems 1) Add parameter PRIM_MEDIA_AUTO_PLAY, TRUE 2) Add some prims with transparent background and alpha 0 and link their with main Object
  9. Hello! Yeah, I bad copied. Now final code, I added PRIM_MEDIA_HOME_URL. But users don't see content on face of object, only after click on them. Other question: Object placed on ground, with him interact different users. When user click on button on Web content, how I can detect his ID for permisson function? llRequestPermissions(user_id, PERMISSION_DEBIT); One way is create link objects on buttons in web page?
  10. Hello all! Object with script on ground. Script use function llSetPrimMediaParams for show URL on face object but not work autoplay function init(string scriptUrl) { string url = "https://someurl.com/script.php?url=" + scriptUrl; integer face = 4; llClearPrimMedia(face); llSetPrimMediaParams(face, [ PRIM_MEDIA_HOME_URL, url, PRIM_MEDIA_CURRENT_URL, url, PRIM_MEDIA_AUTO_SCALE, FALSE, PRIM_MEDIA_FIRST_CLICK_INTERACT, TRUE, PRIM_MEDIA_AUTO_PLAY, TRUE, PRIM_MEDIA_PERMS_CONTROL, PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_WIDTH_PIXELS, 608, PRIM_MEDIA_HEIGHT_PIXELS, 454 ]); } key requestID; //ID региона default { state_entry() { requestID = llRequestSecureURL(); } http_request(key id, string method, string body) { llOwnerSay(id); llOwnerSay(method); llOwnerSay(body); if (method == URL_REQUEST_GRANTED) { if (id == requestID) { init(llEscapeURL(body)); } } } But URL show then touch left key mouse on object. How set auto start URL?
  • Create New...