|
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
|
11-04-2008 11:15
I have a book which flips pages when they are touched, This has been working happily for over two months. Coming back from holiday I updated my viewer to the latest 1.21.6.99587 and checked the change log. Noting something about llDetectTouchFace or probably misreading it I went to check in my favorite building place that my book would work under MONO.
I rezzed a copy of the book and checked it worked correctly. Then I selected it and recompiled the scripts in the selection under MONO. When I tested it what a surprise at a point in the script when the first page was touched the whole book moved in all three dimensions. After repeated testing I could not find anything wrong with the code. I rerezzed the book again and again and it continued to do the same after recompiling. I then thought what would happen if I rezzed the book and recompiled under LSL. Woa it started doing the same thing moving in all three dimensions.
What is going on and what part of JIRA should I report the problem?
|
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
11-04-2008 13:42
Post the error.
|
|
Talon Brown
Slacker Punk
Join date: 17 May 2006
Posts: 352
|
11-04-2008 13:59
What happened was when you recompiled the script the data it contained, and obviously required to work, was lost. Same thing would have happened had you reset the scripts. This is hardly worth a JIRA entry as it's not a bug. Contact the creator of the book and hope they will replace it.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-04-2008 16:42
it would go in SVC, since all scripts are interpreted on the server (well except particle displays, but they still go through the server first). make sure you relog and try a different region before reporting, and then search for similar problems.. then post it =)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Imaze Rhiano
Registered User
Join date: 27 Dec 2007
Posts: 39
|
11-04-2008 23:19
Most likely script was storing some configuration values in it's variables. When you recompiled it - script's variables were reseted to initial values.
|
|
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
|
11-05-2008 01:41
From: Void Singer it would go in SVC, since all scripts are interpreted on the server (well except particle displays, but they still go through the server first). make sure you relog and try a different region before reporting, and then search for similar problems.. then post it =) Thanks for that. To Talon Brown who seems to have removed their contribution after the forum sent me the update message. I am the author of the book and its scripts. I was testing the new facilties of the viewer and server which I made clear in my post. I also said that I had checked the content of the scripts and there were no differences between the LSL and the MONO versions. To Brianna dawson who seems to have removed their contribution after the forum sent me the update message. I think I quoted the error in my OP it moves in three dimensions from the original position. Now I could post the exact movements X Y Z but since you have removed the post you made I dont think there would be any point. From: Imaze Rhiano Most likely script was storing some configuration values in it's variables. When you recompiled it - script's variables were reseted to initial values. I believe I said that I had checked the content of the scripts. The variables that the scripts use to move the pages are calculated based of fixed constants in the script so I dont think that is the cause. So I will be following Void's suggestion trying it elsewhere and then reporting the bug. Thanks for all your comments
|
|
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
|
11-05-2008 14:53
I have determined the exact cause of the problem. I had set up a script in the root prim of the multi prim object to contain a copy of the script loaded into every page. This script when changed was propagated to all the book pages using llRemoteLoadScriptPin... Unfortunately there is a bug in the recompilation of scripts in a selection in that non running scripts are set running and this caused the unexpected events I reported.
So HEADS UP if you use the recompilation of all scripts in a selection they will all be marked as running which may not be what you want.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-05-2008 21:06
actually that is VERY good to know, since I do use remoteload alot with sleeper scripts that run and then turn off... thanks
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
|
11-06-2008 03:01
From: Void Singer actually that is VERY good to know, since I do use remoteload alot with sleeper scripts that run and then turn off... thanks You might want to add your comment or support to JIRA SVC-2987.
|