Jump to content

Rhiannon Arkin

  • Content Count

  • Joined

  • Last visited

Everything posted by Rhiannon Arkin

  1. Thanks that's all helpful. Is it then correct to assume that clearing a list actually frees up memory during operation?
  2. Hi I was wondering how to measure speed and efficiency in more complex scripts. I am mostly curious about the usage of many individual variables vs lists. Is there empirical data available which of the two is more efficient ? speed and memory wise. curios..
  3. Thanks for all the input! The issue was that I still had a timer running in the script. and that was causing the script to go somewhere else instead of to the listen for the dialog. doh. Steph: what kind of clean up operation would you need there?
  4. Hi. I'm not finding what i'm doing wrong. So i have to ask here for some advice. I'm working on a hud that pings a http server for data, and that server, on my domain, pings back and it all seems to work. If that player does not exist, the server returns a string with a command "fnop" and I want to open a menu with some additional choices, which I then will send back to the server. So far so good. Not sure if these snippets are enough information. There's not much to the script, I have a few states and this happens in a state dedicated to that server interaction. http_request(key id, string method, string body) { if (method=="POST") // incoming from server { list temp=llParseString2List(body,["&"],[""]); //server says nope if (llList2String(temp,0)=="fnop"){//--> menu llListenRemove(menu_listener); menu_listener=llListen(hudchan_menu,"",playerID,""); llDialog(playerID,maintext,menu_list,hudchan_menu); } }} and in the same state I have the listen: listen( integer chan, string name, key id, string message ) { if (chan==hudchan_menu){ llOwnerSay(message); }} It all works up to the dialog box, the http server responds, I receive the "post" and the dialog opens. i can click on the choices and expected the listen on the same channel to hear it. but it just doesn't. It doesn't hear the dialog box. So i wonder if there is an issue with the dialog being inside the http_request event? well, maybe somebody has an idea about this. thanks in advance R.
  5. That makes sense of course. in a way. Maya doesn't 'like' these tiny scales SL is working in. So it is better to rig and animate in cm/unit which is 100 times bigger than what SL expects. I couldn't find a scale while export setting in maya exporter of DAE/fbx, which would be even cooler since I wouldn't have to rig in mini-scale. Maybe there is a way around that. I have my workflow down now of creating big then scaling it down, then skin it, then export it.
  6. as so often in my case i find the answers soon after I post a question. Issue is that my maya scene is 100 times bigger then the default sl avi template. I didn't think that would matter. since it's getting scaled down during import. BUT it makes all the difference. If I export from maya 100 times smaller, import it into SL as 100 times bigger. then it works. If I am too big in maya then import it as 100 times smaller into sl it does not work. i'm sure there's a logic to it.
  7. hi I am experimenting with a mesh body. I model it in maya, skin it to the skeleton then export it as dae. I can upload it in sl, click the include skin weights option, scale is set to 1. When I rez the mesh onto the ground it has the correct scale. When I add it to my avatar, it is GIGANTIC! I tried different scales and orientations but it always results in the same result. huge, and completely distorted. what is the secret here ?? thanks a lot R.
  8. wow. i have the exact same result when exporting from maya to sl. even just exporting the base bento skeleton as it is provided with the mel script posted on the wiki results in the distortion you have. impossible to use. Has anybody out there any advice on how to use maya for animations for sl ? seems so strange that this doesn't work.
  9. Thanks Klytyna, that makes perfect sense. I was afraid that I now have to switch to blender/maya for animations on the bento rig. I'll research that then.
  10. Hi I can't find a bento skeleton for poser. I am running into many strange issues with my current setup, which is based on the pre-bento skeleton. hints and links greatly appreciated R.
  11. thanks it's getting a bit clearer and clearer. I understand the first part where it sends the string 'send' to the google form. that makes sense. for the 'get' part, well, i have to understand how this works a bit more. Seems like one of these sl scripting things that seems very strange and then suddenly, after deep studies and experiments, start to make sense. thanks R.
  12. ok thanks for the info. That makes it a lot more complex. Couldn't they just send the url with the header ? Seems all initiative needs to start at the object in world. the server can't just start doing things. (maybe a good thing. ) interesting R.
  13. Hi One rhia-question: I'm exploring this whole http command structure. Here's where I am stuck. How do I know the url for the object in world I want to send stuff to ? The object already sent info to the off world server, but now this off world server wants to send things back to that same object. I know i have the key of the object through the headers. but how do i get the http/.... address so the php can send things? And, is that object always 'listening' to such pings ? thanks for any insight R.
  14. Thank you very much. That helps indeed. I'll explore this options. yay R.
  15. Google sheets! Lol. Brilliant. Probably a lot easier to set up then actual mysql databases. I wonder if you have resources to share on how to access google sheets on that level. Found the info, they have a api for python.
  16. Interesting solutions. Maybe having an external server is a good solution, but is also a lot of work to set up properly. I was mostly wondering how user settings and preferences can be managed. I hardly need huge amouts of data, so maybe all the other solutions are more valid. It's a mostly theoretical exploration for now. I'll see if i can experiment with experiences too. They are still a bit mysterious to me.
  17. Hi I saw a few huds that store data, user settings. How do they do that? We can't write into a notecard so I assume the data is kept somewhere in memory. And if i detach and re-attach the hud, doesn't it reset it's memory? Is setting up a external server /database still the most reliable option ? thanks for suggestions R.
  18. yes, thanks that works. All good.
  19. ok never mind. I just found the flag in the llTakeControl command. I had it set to FALSE for the pass_on.
  20. Hi I'm stuck thinking. I am trying to use the control event to trigger animations for a weapon. (left mouse down+ control key). But obviously that takes away the control over the avi. Is there a way to have the regular key input plus whatever i want to do by taking away the controls. Like triggering the weapon AND still moving forward as before. ?? thanks R.
  21. i tend to make lots of meshes and animate the transparency. but i wish there was more tools available. I haven't seen those dinos. so what does puppeteer do?
  22. is there anything like animesh already available ? i thought it's an announcement for something in the future. curious !
  23. Thanks Ela, i did end up using this idea and first tp to a spot just 10 meters before the target then again to the target. But for other reasons, the reason for my imprecision was that my sittarget has an offset so the avatar briefly appears away from the target in the moment of arrival, which looks like the setRegionPos misses, but it actually is pretty much where it should be. thanks!
  • Create New...