Jump to content

gwenavive

Resident
  • Posts

    89
  • Joined

  • Last visited

Everything posted by gwenavive

  1. Wondering which section would be the best place to post that my fashion store I've built over the last 4 years is for sale? RL means I'm unable to give it the attention, it and my customers deserve.
  2. Thanks Jewell. I found that one after posting but couldn't delete this message. Appreciated
  3. Does anyone know of a product on MP that can let group members on site with a first name starting with "n" to be able to click for their free gift and keep changing the first letter every so often? I hope i explained that OK.
  4. Thanks everyone. I think i'll use a cover prim and animate the width with old texture, set under with new texture and slide out.
  5. Hi I'm trying to use llSetTextureAnim to slide the next texture in from a list made from the contents and i can't find a way to have it stop once the texture is in full view. setTexture() { currentTexture++; if (currentTexture >= inventoryNumber-1) { currentTexture = 0; } llSetTexture(llList2String(inventoryItems,currentTexture),1); //llSetTextureAnim(ANIM_ON | SMOOTH , 1, 1, 1, 1.0, 1.0, 1.0); //llSetTextureAnim(FALSE | SMOOTH , 1, 1, 1, 1.0, 1.0, 1.0); } Stopping straight after setting it is like not having it at all. Appreciate any ideas.
  6. Thanks Tessa, I did try that but caused issues, "URL passed to llHTTPRequest is not valid". for now until i find a way if at all, i'm using llGetUsername() instead of llGetDisplayName() Not ideal but works for now
  7. I'm using the llHTTPRequest and the error comes up "control code" in string which i found is people's unicode names like this. ŠÖraya Anyone have any idea on how i can conver that back to normal string like Soraya?
  8. Thanks Tessa it does look a lot neater as well Interesting Fenix. I was using the AVSitter object before my code and was able to attach 7 objects that i added the script to each object and linked them all into 1 object and attached just the 1 object with linked objects. Seemed to work with their script but not mine so i wasn't sure but interesting to note and remember the max num of attachments. They must have a more efficient way of attaching multiple objects. I'll study their code and see if i can find the main differences?
  9. Wondering if anyone has experienced this or has any information about it? I'm using llRequestExperiencePermissions() and attaching multiple objects. It's working fine for any number of objects up to 4 so calling this 4 times is fine: experience_permissions(key target_id) { if (llGetAttached()) { llDetachFromAvatar(); } else { llAttachToAvatarTemp(attach_point); } } experience_permissions_denied(key agent_id, integer reason) { llRequestPermissions(agent_id, PERMISSION_ATTACH); } If i try to attach lets say 5 tiems, only the first 4 attach so: 3 = 3 attach, 4 = 4 attach, 5 = 4 attach and so on. I'm not sure if this is related to the attach request permissions event or in the listen event where that object is receiving to call the llRequestExperiencePermissions() function? listen(integer channel,string command,key id,string message) { list messagelist = llParseString2List(message,["|"],[]); string commandStand = llList2String(messagelist,0); if (commandStand == "ATTACH" && canAttach && id_key != "00000000-0000-0000-0000-000000000000") { if (!isAttached) { isAttached = TRUE; owner_key = llList2String(messagelist, 1); if (owner_key != NULL_KEY || owner_key != "00000000-0000-0000-0000-000000000000") { if (llList2String(messagelist,1) != "0") { llRequestExperiencePermissions(owner_key, ""); } } } } }
  10. Sorry. Ariu's llRegionSayTo is perfect showing back in chat thanks.
  11. Quistess, do you have an example on that []. Seems the llDialog wants everything in quotes and just a bigger mess lol
  12. Thanks everyone, This is actually for the purchaser of my system to configure their system from my website. Kind of like caspervend so that's not an issue. I'll do the dialog with []. I just want it to look pretty
  13. Just wondering if there ways around showing a rather long URL in the dialog for a user to open a web page? Here is the command i'm calling and a pic of the messy dialog box. string animations = getAnimations(); llLoadURL(llDetectedKey(0),"Try Me On Website.","https://www.xest.com/trymeon.php?t="+llGetObjectName()+"&a=" + animations); https://gyazo.com/09c0253830ea6cddfba6f1f5391a5124
  14. Thanks Molly, I'll remember that for sure. I ended up just having the 2 seperate and working well. Appreciated.
  15. Good point they don't need to be linked to chat to each other Thanks i'll try that
  16. Hi, i'm using llSetParcelMusicURL on a DJ Tip Jar which works when i deed the Tip Jar to the land of course but then all tips made to the jar go to the land group. I tried to add a box that was deeded without deeding the tip jar and it doesn't like that so looks like the whole tip jar need to be deeded for the stream change to work. Does anyone have any ideas on how a tip jar can change the stream and also give the tips to the person logged in?
  17. Thanks Xiija, big help. I've managed to mod the LSL and PHP and now i'm able to isolate calls from LSL in the PHP and split up the information i need to then send back what i need yay The saving to text file works as well so that may help others who are looking to store data. I'll be using MongoDB myself but great idea. Thanks for sharing and appreciated.
  18. I just changed another state after it's rented to PAY_DEFAULT to show the enter amount after that. The renter will get a message if they try and pay less
  19. Thanks Molly. I was trying to avoid any "nothing up my sleeves" type things as they would have to know to do that and most people just right click and expect everything to work but i see your logic. that would work for sure. I was just hoping very much there was a more user friendly way to achieve this I miss .NET with "pre" events lol
  20. Wondering if there's an event that is triggered before the pay dialog opens where i can use llSetPayPrice and change the values depending on who is going to pay. For example: A rented box with the renewal prices for the current renter and different prices for another person who wanted to tip the current renter? I see i can change those on the money() event but the tipper prices are only there after that event has been fired.
  21. Current LSL now is: key myKey; default { state_entry() { myKey = llRequestURL(); } touch_start(integer total_number) { //Asking for Server URL at database/////////// //Packing info// string URL = "http://xest.com/trymeon.php"; // list parameters = [HTTP_METHOD,"POST",HTTP_MIMETYPE, "application/x-www-form-urlencoded"]; // string bodySend = "objectName="; //End packing info// //send the request key kSentRequest =llHTTPRequest(URL, [HTTP_METHOD, "POST"], (string)myKey); //llOwnerSay("Debugging: Send html-request" + (string)URL + (string)hudName); //End of asking for Server URL///////////////// } /*http_response( key request_id, integer status, list metadata, string body ) { list msgList = llParseString2List(body,["|"],[]); llOwnerSay("meta = " + (string)metadata); llOwnerSay("Received from the Server: " + body);// llList2String(msgList, 1)); }*/ http_request(key id, string method, string body) { //llOwnerSay("body = " + body); //llOwnerSay("method = " + method); if ((method == URL_REQUEST_GRANTED)) { llOwnerSay("URL: " + body); } else if (method == "POST") { llOwnerSay("PHP script sent say: {" + (string)myKey + "}"); llHTTPResponse(id, 200, "PHP script sent response: {" + (string)myKey + "}"); } } } and the PHP is the same as in my first post. When i refresh the webpage or touch the prim inworld i see: PHP script sent say: {6b07cd6b-0b02-853f-ce83-e393e9f7aee8} which is a different UUID than the one set when the script is reset in the if ((methos == URL_REQUEST_GRANTED)) section. I also see the PHP on the webpage say the same but unless in PHP i hardcode: echo Advanced_HTTP_Request("http://simhost-0923742528556b07e.aditi.secondlife.io:12046/cap/10fbfe0a-fff7-85cc-7114-c5e7bc324bf4", "Hello script, let's try this again."); it won't work trying to set a variable with $PostData.
  22. Thanks Ariu, Back to my original PHP and LSL, when i refresh the webpage i see the LSL llOwnerSay reports "Hello script, how are you ?" and when i touch the prim inworld, it just comes back with all the HTML code as the body but i can't see anything getting called on the webpage. i do see the php echo at the top of what comes back same as just refreshing the webpage then the HTML codes. Wouldn't the LSL Script need to call the Advanced_HTTP_Request function in the PHP code and parse the new key to the php code? I'm obviously not fully understanding the process and flow yet but getting there i feel.
  23. I opened port 12046 and that's working now. Getting somewhere and thanks. 3 questions now. 1. i see on my web page the value that's showing is "thank you for calling all of our opperators are busy". not sure where that's coming from in the php code? 2. now when the prim is reset and llRequestURL is called again, it gets a new URL and this breaks the connection. How would i go about being able to reach out from the prim to the website to let it know the new URL? 3. how can i post data from the prim to my website?
  24. I added the url that the prim generated. http://simhost-0923742528556b07e.aditi.secondlife.io:12046/cap/70926866-e1d2-5270-a340-7b8bad8aba6e and still nothing. does the 12046 after secondlife.io: mean it's using port 12046? it must be a port setting on my server that is the issue then i expect.
  25. Thanks Xiija, I'm seeing on my webpage that result is false on refreshing the webpage and nothing received by the prim. I'm testing in the aditi beta grid would that make any difference? I copied and pasted the url generated by the LSL script as well.
×
×
  • Create New...