Jump to content

bobsknief Orsini

Resident
  • Posts

    224
  • Joined

  • Last visited

Posts posted by bobsknief Orsini

  1. Go over your script and check the wiki for every command that is in there so you have a better idea what you are doing.
    And plz remove that listener, its bothering the hell out of me 😛

    To keep it simple and to get you started use a timer and do something like.....
    string i = 1;
    llSetTimerEvent(48.125);  
    timer(){

       if(i == 1){play_animation a}
       if(i == 2){play_animation b... stop animation ax++}
       i++

    }

    • Like 2
  2. Check out some shops, pick a scripter you like and ask them if they do custom work (mentioning at-least in some detail what you want). That way you can at least judge them on there work.
    There are also a bunch of groups you can find in-world.

  3. On 7/26/2021 at 7:02 PM, Laranjinha Broome said:

    hey @bobsknief Orsini for now, i am sending nothing in the header. Empty. 

    Do you have any working example of this outside call to http-in? 

    Only in PHP.

    First of do try changing to HTTPS. And in LSL use llRequestSecureURL.
    You may also try using a different get command that uses a different port. 
    Do you have an equivalent of the PHP command curl_init(); in python? (if yes, give that a go).

    My PHP, maybe it helps:

    curl_setopt($ch,CURLOPT_POST,1);
    curl_setopt($ch,CURLOPT_POSTFIELDS,$post_str);
    curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($ch,CURLOPT_HEADER,0);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);	
    curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);	

     

  4. On 7/25/2021 at 12:43 AM, Xander Lopez said:

     I usually connect to my external database via setting up something like this:

    list httptype = [HTTP_METHOD, "POST", HTTP_BODY_MAXLENGTH, 16384];
    requestKey = llHTTPRequest(URL, httptype, body);

     

    Of course.. i have to make the request first in order to receive some response from my website.

    However, I am trying to see if there is an way that i click a button on my website and it sends a message to second life inworld object to trigger some function?

    If this is possible, anyone got some documentation I can refer to?

    You first need to store the url of the SL script in for example your database.
    Then if you are using PHP use curl().. and semi ignore the outdated wiki.
    Make sure you set the following on your curl():
    CURLOPT_HEADER,0;
    CURLOPT_RETURNTRANSFER,1   
    CURLOPT_SSL_VERIFYPEER,0

  5. 10 hours ago, Quistess Alpha said:

    As I understand the spec as in Rider's OP, only one of the two parties needs to be present for it to work. Another way to mitigate the abuse potential would be to have it on;y work on avatars who are in-region. As I understand it llIsFriend(bob's key); would tell you if the object owner is friends with bob, whether or not bob is in the region. if bob has to be in the region for it to return TRUE, that basically crumbles the "abuse scenario" I put forward in my last post.

    If both parties need to be present then the function would become kind of useless.
    Lets not forget the positive sides of this function instead of just the "abuse options". Just to name one, you could have a security system that detects if people are on your friends list.

  6. Looks like a good addition to me. Make me think of LLSameGroup.

    Don't really see and issues with it. Sure all functions can be abused. And yes, one could use a experience to force attach objects to avatars and then check if they are friends with other avatars that are present. On the other hand, one could also track location, local chat etc using the same technique.

    Guess the question would be, is it worth for it not to work on attachments or no? To be honest i think the usefulness of this function outweighs the possible abuse. And the abuse would be limited by a permissions requests, and you kind of want to leave that responsibility to the users themself. Its like, just cause i could post a harmful link on this form doesn't mean LL should remove the link function.

  7. 2 hours ago, Quistess Alpha said:

    in LSL? I don't see how a 'propper implementation' is possible; although it might be slightly more so now with llOrd and llChar and llHash.

    Neither of those are needed. The point of a encrypted hash is that you cant decrypt it, nor would you want to. You create a hash with for example llSHA1String that is always different, pick your parameters. Then ones the other object gets this hash you let it create a hash using the same parameters and simple see if its the same. In addition to that you also want to "salt" your hash.

    You would do the same if you validate a password on a website or if you want to validate (token) a sensitive web form. Those same techniques you would use in for example web development and are not to complicated to implement in LSL with some workarounds.

  8. 13 hours ago, Quistess Alpha said:

    That would cause a lot of lag. maybe for some very specific things that happen rarely (IDK, 'going up a level' perhaps) it might be ok, but but I think for most things on SL that don't involve large amounts of money and such, 'security through obscurity' (only the HUD creator knows which out of 4 billion+ private channels is being used) is sufficient.

    A proper implementation of encryption barely causes any overhead. But anyways, agree that a region say would probably be the best implementation.
    Or one could completely forget about the HUD and just rez a box that people can click.

  9. 3 minutes ago, Quistess Alpha said:

    It's rather easy IMO. although you (or the scripter) need an experience to make it work seamlessly, and you need to be careful to explain how to take off a temp-attach item (it's not always intuitive) or provide a detach button on the demo HUD or something. I have a very basic implementation in my store that's not-yet-open.

    Yes the rez and temp attach is the easy part. Was more referring to making it manageable for none-scripters and end users as you still have to deal with the whole "who has what body" thing, what if some crazy clicks all the boxes, etc, etc.

    • Like 1
  10. Timed demo, or in other words people get the full version for a x amount of time. Have a script for that in my store. Other options are available to of course.
    Temp attach also is quite a good idea. Implementing it however is something else.

  11. You are probably stuck in having to implement a database solution and use some PHP, how else are you going to implement the Google Sheets API authentication part. I am assuming you eventually want to store data to instead of just reading it and that is something totally different (and to my knowledge you still need a other script outside of SL to do the authentication part).

    You are limited in the amount of data you get, so you want to get a specific set of data based on some parameters. If you have control over this, you can get your data in multiple steps and store this data in multiple scripts working around the script memory limit.

  12. Yo recomiendo ni tocar a los applier's. Si tu cuerpo y cabeza tiene BOM (Baked on Mesh) activa lo. Normalmente atreves un boto en el HUD incluido o te dan 2 versiones.
    En súper silencio: BOM = cambiar tu cuerpo por un cuerpo Mesh. NO-BOM = llevar un prim y poner tu cuerpo invisible.

    Es decir con BOM todo es igual al avatar por defecto (es decir sin Mesh cuerpo) y puedes poner "Skins" etc.

×
×
  • Create New...