-
Posts
242 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Everything posted by Laufiair Hexicola
-
Unable to make heads or tails of this...
Laufiair Hexicola replied to Laufiair Hexicola's topic in LSL Scripting
Wow, I can't believe I overlooked this - ok, so when I just went to go put the http_response in, it calls for a key of the http_request, so I added that back in(I took it out for some reason but is present in the touch_start), and now everything is working how it should. llHTTPRequest("", [HTTP_METHOD, "GET"], ""); should be call1 = llHTTPRequest("", [HTTP_METHOD, "GET"], ""); where call1 is the key name. Thanks for giving this a looksy to see what I missed -
Unable to make heads or tails of this...
Laufiair Hexicola replied to Laufiair Hexicola's topic in LSL Scripting
This is for the Nexus Roleplay money system. Basically a credit system of sorts. I did try this using a touch_start and it works as it should(debt permissions, paying, giving the credit, etc..) only you can't have multiple amounts on a touch_start and too many buttons increases script/instance load. I also did test this using a dialog menu and that failed also, leading to using LLSetPrice, which does work for debt permissions and taking money, just not executing the LLHTTPRequest for some reason(I didn't think to test https since it worked as it was in the touch_start). I also did try moving LLDetectedKey(0) to it's own call but that didn't change anything. I don't mind exposing the api key, when this is fixed i'll go in and delete this one and make another one. About to go add a http_response and see what it does. -
Hello everyone, I can usually figure out what's up with a script but this one has my puzzled. The point is a patron right-click and pays a kiosk this script is in and in turn it makes a web connection to connect to a in-world server to complete the connection. The issue I think is in the http request but unable to determine what it is because it'll pay myself and that part works, and fires off the in-world message that it's been complete but the server never gets the message. Possible reasonings? integer p1 = 2; default { state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_DEBIT); } run_time_permissions(integer perm) { if(perm & PERMISSION_DEBIT) state cash; } } state cash { state_entry() { llSetPayPrice(PAY_HIDE, [p1 ,PAY_HIDE, PAY_HIDE, PAY_HIDE]); } money(key id, integer amount) { if(amount == p1) { llHTTPRequest("http://rolepay.nexus-sl.net/api/action/give_money/api_key/AE50314C-8AF1-2F03-7179-B4D927A99B94/to/" + (string)llDetectedKey(0) + "/am/1", [HTTP_METHOD, "GET"], ""); llInstantMessage(id, "You paid the right price"); } } }
-
Afternoon everyone. On the hunt for either affiliate vendors already made or creators willing to put one together so I can put it in my Furry Space Station(I know some of them peruse the forums from time to time). I already have ones from Furry Fashion, Stud Dogz, DarkFury, Spider Productions, Sugarfluff, Puchimono, and Novatech but looking for more. Revosa also has her shop over here so that's out of the question. I did try to get the OpenPony folks in to putting one up but they danced around it, as did KZK. I have reached out to a couple of stores for one without a reply yet but posting this in case anyone sees this and wants to help. No bad comments please. Thanks, Logan
-
Looking fro bookstores or newsstands in SL
Laufiair Hexicola replied to Xyntia Amore's topic in Wanted
At one time I wanted to open a comic book & magazine store in-world and was doing what you're doing and the census was that material just don't exist no more unless you want to go through the process of doing it yourself. Some creators were kind but others told me to get lost. Hope that gives you an idea of what's what. -Logan -
I was reading about that. I ended up hotlinking the image by way of picture-service.secondlife.com using my image uuids. I'm sure their's a cleaner method but it works.
-
Got a reply back from the owner of the scripts and what i'm looking for isn't possible since there's no mime-type in SL for images to serve and I don't think there's a workaround for that. This can be deleted since I'm unable to do it myself. Thanks, Logan
-
I recently purchased an item called Prim-DNS Server which creates a mini web server on your land(which is perfect for what i'm looking to do with it). However, I'm finding it difficult to display internal images with it and was curious if anyone had any experience with this or could point me in the right direction. The main file uses xhtml format however there's no way to refrence an uploaded image by name or UUID. I did attempt to reach out to the creator but never heard back. Thanks to anyone in advance, Logan
-
Came across this in my inventory and may help you. You drop this into a prim and put the group's uuid into the prim's description(or you can hard code it if you're knowledgable enough to). -Logan findgroupkey() { list TempList = llGetObjectDetails(llGetKey(), [OBJECT_GROUP]); key groupkey = llList2Key(TempList, 0); if (groupkey == NULL_KEY) { llWhisper(0, "Set the Group for this object in EDIT under the GENERAL tab and be sure your Group is Open Enrollment."); } else { llWhisper(0, "Click the link from Chat History (Ctrl+H) and then click on JOIN button! secondlife:///app/group/" + (string) groupkey + "/about"); } } default { state_entry() { llSetText("Touch to Join\nour Group", <1, 1, 1>, 1.0); // white and opaque floating text, optional findgroupkey(); } touch_start(integer total_number) { findgroupkey(); } }
-
I'll just dress a bot at that rate, thanks though.
-
Morning everyone, on the hunt for a posable mesh figure I can add mesh clothes and avatar stuff to, does such a thing exist? Thanks, Logan
-
So I am looking to get my fursona made on second life
Laufiair Hexicola replied to Piratecoral's topic in Wanted
Firstly welcome to SL - secondly I don't think there's a species that comes close unless you're up to modifying an existing one(that's a pirate manokit, yeah?). Could see if there's something on the marketplace - https://marketplace.secondlife.com/ Anything else feel free to reach out to me inworld -Logan -
That solved what I was missing, thanks Rolig - changed the url to a giver for those curious.
-
Many years ago I put together a giver script(user clicks on it, it gives an item) that only needed to be two menu's and is considered to be dirty because of the calls. I'm looking to expand the script beyond two menu's and can't seem to figure out how to script a Next Button that scales with the menu's beyond two menu's. If someone could point me in a direction i'd appreciate it. -Logan string mainMenuDialog = "Choose a 45 to be given ^_^\n\n1. Carameldansen by Little V\n2. She Wants Revenge - Tear You Apart\n3. Pegboard Nerds & Redless - Cheat Code\n4. Kate Bush - Running up that Hill\n5. Memory Cassette - Asleep at a Party\n6. AronChupa - I'm an Albatraoz\n7. Statler Brothers - Flowers on the Wall"; list mainMenuButtons = ["1", "Close", ">", "2", "3", "4", "5", "6", "7"]; string subMenu_01_Dialog = "Choose a 45 to be given ^_^\n\n8. Shirk & TLM - Things Fall Apart\n9. ArunChopa - Little Swing\n10. Hello Meteor - Ever\n11. Psy - Daddy\n12. BTSM - Destroy It(Drivepilot remix)\n13. Band-Maid - Dice"; list subMenu_01_Buttons = ["Previous", "Close", "Next", "8", "9", "10", "11", "12", "13"]; string subMenu_02_Dialog = "Choose a 45 to be given ^_^\n\n14. Stained - Outside\n15.\n16.\n17.\n18.\n19."; list subMenu_02_Buttons = ["Previous", "Close", "Next", "14", "15", "16", "17", "18", "19"]; //-------------------------------------------------------------// integer dialogChannel; integer dialogHandle; open_menu(key inputKey, string inputString, list inputList) { dialogChannel = (integer)llFrand(DEBUG_CHANNEL)*-1; dialogHandle = llListen(dialogChannel, "", inputKey, ""); llDialog(inputKey, inputString, inputList, dialogChannel); llSetTimerEvent(30.0); } close_menu() { llSetTimerEvent(0); llListenRemove(dialogHandle); } default { on_rez(integer start_param) { llResetScript(); } touch_start(integer numDetected) { key id = llDetectedKey(0); close_menu(); open_menu(id, mainMenuDialog, mainMenuButtons); } listen(integer channel, string name, key id, string message) { if(channel != dialogChannel) return; close_menu(); if(message == "Ok")open_menu(id, mainMenuDialog, mainMenuButtons); else if(message == "Previous")open_menu(id, mainMenuDialog, mainMenuButtons); //Previous Button // else if(message == "Next")open_menu(id, subMenu_01_Dialog, subMenu_01_Buttons); //Next Button else if(message == "1")llGiveInventory(id,"Carameldansen (Little V Metal Cover)"); else if(message == "2")llGiveInventory(id,"She Wants Revenge - Tear You Apart"); else if(message == "3")llGiveInventory(id,"Pegboard Nerds & Redless - Cheat Code"); else if(message == "4")llGiveInventory(id,"Kate Bush - Running up that Hill"); else if(message == "5")llGiveInventory(id,"Memory Cassette - Asleep at a Party"); else if(message == "6")llGiveInventory(id,"AronChupa - I'm an Albatraoz"); else if(message == "7")llGiveInventory(id,"Statler Brothers - Flowers on the Wall"); else if(message == "8")llGiveInventory(id,"Shirk & TLM - Things Fall Apart"); else if(message == "9")llGiveInventory(id,"ArunChopa - Little Swing"); else if(message == "10")llGiveInventory(id,"Hello Meteor - Ever"); else if(message == "11")llGiveInventory(id,"Psy - Daddy"); else if(message == "12")llGiveInventory(id,"BTSM - Destroy It(Drivepilot remix)"); else if(message == "13")llGiveInventory(id,"Band-Maid - Dice"); else if(message == "14")llGiveInventory(id,"Stained - Outside"); } timer() { close_menu(); } }
-
I did, first time i quoted the whole script then realized didn't need to post the whole thing. I thought I had that fixed when I started messing with it the first time but because of another error I casted it aside. LLGetListLength goes in there. Thanks again for the help
-
Thanks Rolig, that fixed that. Went back to the original script since it has the timers in it however there's a new issue i've come across. The line totrack states mismatch but works everywhere else(one of a few reasons why I went to a new script instead of attempting to fix this one). PlaySong() { integer i; g_iPlaying = 1; llWhisper(0,"Playing..."); llSetSoundQueueing(TRUE); tottrack = llList2String(vhrw,i); llPlaySound(llList2String(vhrw,i),VOLUME); llPreloadSound(llList2String(vhrw,1)); // tottrack = llGetInventoryNumber(INVENTORY_SOUND); // llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0),VOLUME); // llPreloadSound(llGetInventoryName(INVENTORY_SOUND, 1)); llSetTimerEvent(5.0); // wait 5 seconds before queueing the second file g_iSound = 1; // for ( i = 1; i < tottrack; i++ ) // { // llPreloadSound(llGetInventoryName(INVENTORY_SOUND, i)); // } }
-
As the title suggests, I'm attempting to script a jukebox. The script I found works great as a standalone as it reads the clips from inventory, however i'd like it to read the clips from UUID so I took the play part and the string part and put it into a new script but it's still only playing the first sound in the list, not the entire list. Even converted the list to CSV thinking that was the issue and that didn't solve anything. Scratching my head over this one. If I can sort this, I can add it to a menu to make my jukebox. Here's what I conjured together. If someone could point me in the right direction I'd appreciate it. list vhrw = ["79a4b43c-327b-e2f8-f097-4b67da062d97","6f4731b9-da1f-c08b-2c95-4abbc570fd41","e3c4616f-5142-3901-c8f0-1ab5e0fc2a7b","c487408c-4435-5195-ad64-1536e80fced1","586ede60-7988-3eea-06f5-2fca196c9c29","1e877354-ad94-971d-b6e9-a81b6f6cd475","85a7e84d-0536-e11b-20b4-1ef71c87c2a1","88f2bf12-e3a6-f5ec-b9cb-97ec2e32e2ba","e4a849d8-be82-d650-2189-bf0a2411464c","1b938e62-277d-95c3-4644-d3349f982144","9f0d454b-a114-659a-d4dd-261d3436e126","f27075a3-f6bb-a831-733f-a0b1e20d650f","e5e54027-e51b-bc97-cff5-1574b8416c03","704e3268-ba50-1694-6670-7c1fdd8d30f4","ebd0b2e8-8192-660b-3351-61251f6dc27a","6df41651-9085-f26d-dcd1-4083364cf3dd","ef53e923-c008-8c38-f882-eff9f88dd330","760abd78-36a0-c2d7-13db-04bf8b99291e","d2c04e99-cb2a-5053-90e3-e0933f6233d8","483764c8-9f95-3e38-82e5-fa3d7fed64ee","a693bd6d-23e8-d1cf-5e68-8bcc1f6ecc00","c86fcfa8-4153-e006-75cd-65aa8bda7020","828f56a3-9a69-539a-cc60-050808bd02c4","b5b293b1-67cf-d7e8-c798-10e61688549f","0c29dc9a-ae4f-0493-ed7e-f7e985d49b79","4777f854-4e40-c137-5f2e-bb3cb3017f3e","da8cc0de-4ca7-45e1-87e6-39401c045f19","2d943ff6-9c33-212d-2582-74cff041e213","b339d36e-1eee-483d-21aa-e3f9be81c2c8","52979b32-2529-c6fa-a86f-5365d331b578","8b9a5cf2-9011-b114-ca13-36dc5a09472f","7c1988dc-ac17-e774-2c39-56d867e7cdec","a506d3a0-b48d-c0de-b5fb-448ba6c47727","ee7e7647-df8a-b551-7c86-37c63ddc2953","570a97fb-5d1f-0733-2e38-76ffffcf0a4a","43544308-5503-1e58-08ca-4f9456710238","8c51afab-47a8-5da2-ada7-4b1f23d60699","a637f007-e053-197b-c369-e1f9b3eacde5","f4464134-61e2-8761-c471-e644680dab1b","703ae665-9514-609a-861f-377ad42f062e","42cc7090-a828-b850-8790-d136c783e903","0397c99b-db85-d30a-6cb0-63cabc7faa93","eddead31-8835-fe27-5e8a-a260fa646916","80c74c04-cc79-b58f-7bfc-423cf6ab95d6","dd98fc97-64ac-87fb-0d77-96cabfe1ab39","038a225e-be0e-80db-d983-9b591ece68fa"]; default { state_entry() { } touch_start(integer total_number) { integer i = 0; integer end = llGetListLength(vhrw); for (; i<end; ++i) llPlaySound(llList2String(vhrw, i),1.0); } }
-
Looking for a full region, doesn't have to be grandfathered. Looking to pay $150 plus transfer. Let me know. -Logan
-
Looking for a grandfathered full region dated 2005 to help put a community back together. Looking to spend no more then $150/usd on this. Let me know whatcha got. -Logan
-
I think this goes here. Offering my services as a document translator between English and Japanese. I charge L$50(less then $0.30usd)/word and there's no min or max. This service is perfect for those that are making their own manga/translating a manga, submitting a report somewhere, or just want to know what words or pages are. I don't do to well on the spoken parts of Japanese but I can translate other things then listed, just shoot me a PM in world. I don't use any web-based translator as their all inaccurate and instead use my knowledge from DuoLingo. Those interested should look up my alt Rycona Bamaisin as that's the name i'm on the most. Arigatoukazaimasu ^_^
-
- translator
- japanese
-
(and 4 more)
Tagged with:
-
pity you folks aren't in opensim where I could help you out. Anyhow, good luck in your search
-
Looks to be one of two types of store: Brick&Morter(yes, that's the company name) or something from Slum City(but doubt).
-
while very oldskool, I fixed it using a script called menu that tells the other scripts general and halloween to turn on or off using llSetScriptState. To be honest I was not able to figure out how to set global variables so when I click the menu button for the theme it goes to that list. The script and display is for myself to control so I don't mind it being this way. When my fox mind stops being derpy long enough i'll probably return here to everything is one script but it works for now so i'm ok with it. Thanks Fenix for your input, Logan
-
Morning everyone, I'm usually competent enough to figure out most scripting on my own but this one has me scratching my head. I took a slideshow script and added it to a menu so I could decide what list to use only for some reason it doesn't. If I choose halloween, it'll slide through the images then revert to images for general, not reslide the halloween images. I've played with index numbers, renaming the slides, putting the clauses itself in the button action... nothing seems to correct it so I figured I'd call out to others for a second look, see what I'm missing. Thanks in advance, Logan The script i'm using: list general = ["ec73e727-a351-c10f-924c-47f9c8a2a733", "26f73387-08fa-f712-60ac-02aa4e953571"]; list hween = ["bd24a835-db24-f6ff-1ef3-1c9c14b9ea38", "cddcce41-2f24-ebb6-0337-503572751714"]; integer index; string mainMenuDialog = "\nCommission Menu, choose a theme to display."; list mainMenuButtons = ["General", "Halloween", "Close"]; integer dialogChannel; integer dialogHandle; open_menu(key inputKey, string inputString, list inputList) { dialogChannel = (integer)llFrand(DEBUG_CHANNEL)*-1; dialogHandle = llListen(dialogChannel, "", inputKey, ""); llDialog(inputKey, inputString, inputList, dialogChannel); llSetTimerEvent(30.0); } close_menu() { llSetTimerEvent(0); llListenRemove(dialogHandle); } newSlide() { string texture = llList2String(general,0); llSetTexture(texture,1); index++; if(0>=llGetListLength(general) ) index = 0; } newSlide2() { string texture2 = llList2String(hween,1); llSetTexture(texture2,1); index++; if(1>=llGetListLength(hween) ) index = 0; } default { on_rez(integer start_param) { llResetScript(); } touch_start(integer total_number) { key id = llDetectedKey(0); close_menu(); open_menu(id, mainMenuDialog, mainMenuButtons); } listen(integer channel, string name, key id, string message) { if(channel != dialogChannel) return; close_menu(); if(message == "General") { llSetTimerEvent(10); index = 0; newSlide(); } else if(message == "Halloween") { llSetTimerEvent(10); index = 0; newSlide2(); } } timer() { close_menu(); newSlide(); newSlide2(); } }
-
it went offline because Foxkin passed away.