|
Dina Vanalten
Registered User
Join date: 24 Dec 2006
Posts: 268
|
02-27-2008 09:32
The problem is that I have a device I've bought that doesn't seem to have the "on rez reset script" code in its scripts. So I thought I could force the scripts to reset. This is what I am doing. ---------------------- string script = "The Script"; float sleep_time = 5.0; llResetOtherScript( script ); llSleep( sleep_time ); if (llGetScriptState( script ) ) llOwnerSay("Script " + script + " is running"  ; --------------------- It seems to work when I use it in an object I've made with my own scripts. It doesn't seem to work with objects I've bought containing other people's scripts. Does anyone know more about the llResetOtherScript function? Or how to force all the scripts in an object to reset? Thanks - Dina
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
02-27-2008 09:55
There was an exploit tied into resetting no-mod scripts a year ago and it was disabled at that time. As you have noticed, you can only reset your own scripts now or scripts that you have mod rights for.
Any means used to circumvent this protection would also be classified as an exploit and couldn't be duscussed anyway.
Sorry.
Best you could do is contact the creator and have them correct thier scripts.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Dina Vanalten
Registered User
Join date: 24 Dec 2006
Posts: 268
|
02-27-2008 11:08
Thanks. I thought it used to work.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
02-27-2008 12:13
It did, until they changed it. 
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
02-28-2008 09:57
Wait, what was the exploit? I understand that there might be exploits in certain scripts because they were written with the expectation that the user could never reset them (which is not the case), but isn't that a bug in the script itself, and not an exploit in llResetOtherScript()?
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
02-28-2008 14:19
From: Lex Neva Wait, what was the exploit? I understand that there might be exploits in certain scripts because they were written with the expectation that the user could never reset them (which is not the case), but isn't that a bug in the script itself, and not an exploit in llResetOtherScript()? It wasn't just llResetOtherScript, it was using any kind of reset function including from the drop down menu. The exploit was that someone could actually see the contents of the no-mod script. As far as scripters are concerned, it was the biggest, baddest bug ever. To jog everyone's memory. It was discovered and they promptly shut down the grid until they had a fix in place. This happened a couple of weeks(maybe a month) before there was a change in the bytecode that affected llTargetOmega and everything was spinning out of control all over the grid. They fixed that problem but the only way to stop something from spinning wildly was to reset it. In many cases, because we had lost the ability to reset scripts, the Lindens themselves had to go around and reset spinning objects.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
02-28-2008 15:09
You sure? I thought that was for re-COMPILING scripts, not resetting them....
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
02-28-2008 15:45
From: Hewee Zetkin You sure? I thought that was for re-COMPILING scripts, not resetting them.... yep, although recompiling may have been the same exploit.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|