Jump to content

Killi Cloud

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Killi Cloud

  • Rank
  1. Yeah thanks setting them to floats worked
  2. I am trying to figure out a hit system based on enemy strength with user programmable strength and my code looks a little something like this... integer my_health = 100; // TAKES 10 HITS TO KILL ME IF NUMBER IS 100 integer health = 100; take_hit(integer strength){ integer hit_math = (strength /my_health) * 100; health = health - hit_math; } default{ touch_end(integer num){ take_hit(10); } } but for some reason "hit_math" keeps returning 0. Now maybe I have not had enough coffee yet but the math should work ( (10/100) * 100 = 10 ), what am I doing wrong?
  3. I am looking in to how when using the inbuilt browser on second life pre logs the user in when they visit secondlife.com, I would like to be able to pull the UUID or username from this data to know who is visiting/viewing. I have tried printing out all the headers using php/apache but nothing I know if I use the LSL llHTTPRequest I can use X-SecondLife-Owner-Key is there any way of doing this with the inbuilt browser? Thanks
  4. Hello, I use llHTTPRequest() in allot of my stuff and find that ever I move IP's and change my DNS that second life is so slow at looking up the new DNS to see my new servers IP that is connected to the domain. I am currently having to still run my old server as second life LSL is the only thing still using my old IP and I need to keep this online for my web systems to keep running but now a week of running my old server and second life still don't see my new IP. Is there any way to update this faster for the next time I need to move servers or change my DNS settings?
  5. I am trying to create a script crash to do some testing. Using allot of http responses and at the rare occasion the script can crash and just really needs a reset testing out the idea of report logging the error with what version and the user using llGetScriptState(). Is there a simple line of code or a setting on firestorm to stack heap or crash a script?
  6. Maybe diluting the search is a way to encourage us to pay for listing enhancements as 5% commission is not enough to pay for their badly optimized database server. Would be very easy to make your own marketplace style site if they made an API to login via their openid sign in system and allowed for "llGiveInventoryList" to work gridwide and not just the same sim.
  7. ChinRey wrote: Killian Jayaram wrote: I point blank refuse to change all my titles and descriptions to a one-liner, Makes sense. After all the title is your first sales pitch and it doesn't help much to get a top spot in the search results if people don't actually want to click on that link. Besides, if you focus only on one keyword it means only people who happen to search that specific keyword will ever see the listing. As an example I created (Self Scripted and Meshed) my own "Connect Four" but due to this name being a registered trademark of Hasbro (Milton Bradley (MB)) I can't use
  8. Pamela Galli wrote: ChinRey wrote: Oh yes, the new search algorithm is over-sensitive too keyword dilution and I really hope they'll correct that problem soon. Right now, if you want to rank high on s specific keyword, use that keyword and that keyword only as the title, add a word or two in the description field and upload a picture. Any other content in the listing seems to reduce your rakning. Well crap, that's the kind of thing they are unlikely to care enough about to fix. I have over 70 domiciles, I can't call them all House. There should be some kind of stats with them like a
  9. I would like to make a bit of an observance to the "new" Marketplace Search and just say as a user that buys more than one thing on a daily basis and as a small creator and have some of my items listed on marketplace that this new search is a step backward and does not give relevant results anymore! As someone that is a self-taught web developer and has over ten years experience, I have found that this new search engine uses the "less is more" system as if your item is listed as "Full Prem Hardback Book Mesh w/ AO" or "Book Mesh" the search will rate the
  10. Freya Mokusei wrote: Killian Jayaram wrote: Any idea's how i can get this to make this select the list with out making a if(){} for evey number? While you can't use strings to build variable names, or use arrays in SL, you can use strided lists. From the look of your lists, each 'theme_' is a fixed number of items long? If that stays consistent then you can use strided lists, too! Rather than using ifs or text comparisons you'd be able to iterate through strides using an integer-based index, like an informal array. list lThemes = ["<1.00,1.00,1.00>","<1.00,1.00,1.00>","&
  11. I am tring to make a short script that uses lists to customise the object (IE Themes saved in lists) but tring to slim down the script and make it so you can select themes from dialog but what i am looking to do it create the list name from string. list theme_1 = ["<1.00,1.00,1.00>","<1.00,1.00,1.00>","<1.00,1.00,1.00>"]; list theme_2 = ["<1.00,0.00,1.00>","<0.00,0.00,0.00>","<1.00,1.00,0.00>"]; list theme_3 = ["<1.00,1.00,0.00>","<1.00,1.00,1.00>","<1.00,0.00
  12. I'm a little late jumping on board the mesh train but watching tons of videos and staring to get the hang of it, but I'm finding with a simple shape such as a bevel edge cube the shape can change dramatically upon upload in to second life without any changes. (Left is mesh in blender and right is edges viewed upon upload) If i import the file back into blender it is the same as but only changes when uplading to second life. (Running Blender 2.75 and Second Life 3.7.30 (302599) Any reason for this & a fix?
  13. Problem from when i come from PHP and JS the rules change, I will try making the vector to a list and output based on string and see if that works nay better as if and else make this to long and to much of a lag.
  14. See i thought someone was going to say that and i was tring to take the easy way out as i did not want to have to make 30 or so if and else commands but set the string and then work out from that the vector =p
  15. Maybe it's just getting late and google does not like me, but I am currently trying to use llGetsubstring to get the letter from a string and then add to a vector name. May not make sence, so here... vector texta = <0.0, -0.0, 0.0>; string words = "abc"; (vector)text + llGetSubString((string)words, 0, 0) // THIS LINE NOT WORKING FOR ME How would i go about doing this or am i doing it all wrong? (This is so i can change the texture vector baced on string without each texture change every time i make changes)
  • Create New...