-
Posts
224 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by bobsknief Orsini
-
-
Not sure if llAdjustSoundVolume is script or object based nor do i fully understand the question. Does not rezzing the object solves the problem?
-
Why not email it to yourself and reset after?
http://wiki.secondlife.com/wiki/LlEmail- 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++}
- 2
-
Other option is to skip the timer and get the data from the description when you need it (maybe add it to a function). All depends on what your script does do.
- 1
-
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. -
It would probably be faster just to clear out the inventory and replacing it.
You can skip the listener to.... just load one items into object B..... add a script to object B that clears the inventory on inventory update.
Wait 1 second and load the whole list into object B. -
Haz un ping.
Boton windows + R. CMS. Pon: ping google.com -t
Deja eso como 5 minutos a ver si te da algun "timeout".
Parar lo con ctrl+c. -
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);
Â
-
Not familiar with python but what are you sending with the get request? Any options for additional headers?
-
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 -
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. -
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. -
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. -
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. -
Add a encrypted hash to the message and validate it.
- 1
- 1
-
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.
- 1
-
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. -
When you edit the script itself its relatively easy. And while your at it you might as well comment out all the llSleep()'s so it looks 1000x faster.
- 1
-
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.
-
Seems to be the only way unless you want to make things even more complex and strip them directly from html
-
Firewall
-
Have a look here: https://grimore.org/secondlife/scripted_agents/corrade
It can be done, its just, why would you do something that complicated?
Personally would prefer just storing data in a remote sql database, or even from there post it to a bot to add it to a notecard then to do notecard ping pong with a bot. -
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.
-
For deleting etc you have to use multiple scripts and make them communicate using a linkmessage.
Is using hover text for DEMO items a safe method?
in Merchants
Posted
To me it sounds like a problem with the HUD. Why would it not work when the link numbers change?