Anyone else's scripts got reverted to previous versions while scripting?
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
05-18-2005 23:52
These few days, something odd and frustrating has happened. I've been scripting, saving (waited till save completed), detached the object with the script, then reattached and continued scripting. Ocassionally, I'd find that when I opened up the script, it was some previous version (in the same session), minus all the improvements or mods of the last, say, 5 minutes to 30 minutes. Anyone's had the same experience? What gives? 
|
Kris Ritter
paradoxical embolism
Join date: 31 Oct 2003
Posts: 6,627
|
05-19-2005 01:12
yup. all the time. fun, isnt it?
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
05-19-2005 02:51
I haven't had this happen that I know of. Are you doublesure that it's the same object, it compiled successfully, and saved?
Could be asset failure. My advice is if this persists, store a copy to a text editor every major save.
_____________________
---
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
05-19-2005 03:38
This happens if you don't wait for compilation to fully complete before closing the script editor window. It's easy to get impatient and close the window too early. I've done it many times.
|
Kris Ritter
paradoxical embolism
Join date: 31 Oct 2003
Posts: 6,627
|
05-19-2005 04:11
From: Laukosargas Svarog This happens if you don't wait for compilation to fully complete before closing the script editor window. It's easy to get impatient and close the window too early. I've done it many times. Nope. That's not what is happening to me. I always see 'compilation successful'. Doesn't mean its the same script when I reopen it.
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
05-19-2005 04:27
Oh yes, this has happened hundreds of times.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
05-19-2005 04:30
This OFTEN happens if you don't wait for compilation to fully complete before closing the script editor window. It's easy to get impatient and close the window too early. I've done it many times. I save 100s of compilations almost every day I can't remember ever losing any to the asshat siever, if that was to happen regularly I'd be worried and I'd file a bug report, nothing else you can do about it.
Jeffreys advice to save to an external file is very good advice. Also it's much faster to script in a text editor than it is in the SL edit window.
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
05-19-2005 06:41
From: Laukosargas Svarog This OFTEN happens if you don't wait for compilation to fully complete before closing the script editor window. It's easy to get impatient and close the window too early. Nope. I've done that before, so now I make sure it says Save Successful before I minimize it (and I seldom even close it). The only other thing different I can think of is that sometimes I rename the script, like "scriptA 0.901" becomes "scriptA 0.902" or something like that. Both times it happened, I have renamed the script, though I don't recall the loss as happening immediately after renaming and storing into inventory. This is horrible.
|
Jon Marlin
Builder, Coder, RL & SL
Join date: 10 Mar 2005
Posts: 297
|
05-19-2005 07:29
From: Lulu Ludovico Anyone's had the same experience? What gives?  Nope, never had it happen. I do a lot of scripting, too, although not in attachments. Are you changing the script while it is attached to you? - Jon
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
05-19-2005 07:33
From: Jon Marlin
Are you changing the script while it is attached to you?
- Jon
Yes, as a matter of fact, I am. And then sometimes I drop it onto the ground and script. And then wear it back again. Perhaps that's the problem?
|
Jon Marlin
Builder, Coder, RL & SL
Join date: 10 Mar 2005
Posts: 297
|
05-19-2005 07:41
From: Lulu Ludovico Yes, as a matter of fact, I am. And then sometimes I drop it onto the ground and script. And then wear it back again. Perhaps that's the problem? I don't do much in the way of scripting attachments, but any that I have done I assume when I detach any changes I made are lost. I always rez it onto the ground if I'm going to change the script. - Jon
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
05-19-2005 08:52
Probably happening because... When you save a script it gets a new asset key, so the asset keys in the inventory of the object have to be replaced with the new ones after the script has been fully uploaded.
Nicely put your dettaching before the inventory of the object can update.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Trifen Fairplay
Officially Unofficial
Join date: 19 Jul 2004
Posts: 321
|
05-19-2005 09:00
I concure with the following: dont edit the script while its attacked to you avatar. dont close the edit window untill its compiled and saved. like mentioned there is a delay between being updated on screen, and being updated on the asset server. you detaching and such seems to be confusing the system. try ONLY editing the script while on the ground and then attack and observe, any changes should be done with the item detached, on the ground. save changes to a text editor (or write the whole thing there, then copy paste) this will help prevent data loss from an overloaded asset server. i love offering no NEW info  but i do agree!
_____________________
Shops for rent, search for the Fairplay Shop Network in the find menu. Most shops only 1.5$L per prim! Come visit Fairplay Community Center location in my picks.(still under construction)
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
Thanks!
05-19-2005 19:33
Wow, thanks for all the info, guys.
I've had no problems before editing while attached - maybe the lag these few days really screwed things up when I detached and reattached or when I dropped and re-wore. So, perhaps what I'll do is *not* to detach or drop till a while later, and if I really can't resist doing so, to copy out the script onto Notepad or something.
But thanks for all the help - I think this should work now!
|