Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script missing from database

Agent Revolution
SL addicted
Join date: 31 Jul 2007
Posts: 3
09-08-2007 18:04
Ok so here is the problem : Someone hired me to make a weapon script from him, and he said he would pay me big for it. So, I took my old scripts to modify them heavily. Now thoses script are almost achieved, but since 3 weeks my core script says "Script missing from database" each time I try to open it up, but the gun still acts if the script was okay, so that's why I'm sure there's a way to recover it manually from the database. If I can't edit it, my whole work won't serve to anything. I really need this to be fixed please. Thoses scripts are the result of 9 months of writing, editing, testing, and errors.
I posted the issue too in a Support Ticket since almost 3 weeks, but it's still marked as "New". If a Linden could help me out, it would be very kindly to you. My customers are getting impatient. Thanks for comprehension.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
09-09-2007 08:28
I've got some bad news for you. From experiencing this exact same situation with one of my important scripts, I can tell you that it's very unlikely you'll get your LSL code back.

I've created a JIRA issue about this problem. Please visit here and describe your experience and vote the issue up. The more votes we get, the more likely LL is to actually pay attention and fix the underlying problem.

http://jira.secondlife.com/browse/SVC-553

As to the fact that the script still works, unfortunately this doesn't mean that the LSL code itself is "in there somewhere". Scripts are stored as two distinct assets in the asset server: the LSL code and the compiled bytecode. The compiled bytecode is what's actually run when a script runs, so it's possible for the LSL code asset to be completely missing while the script can still run. That's probably what's happening here.

I hate it. The script I lost was really important, and LL responded to my support request with a couple of form letters that eventually told me there's likely nothing they can do.
Agent Revolution
SL addicted
Join date: 31 Jul 2007
Posts: 3
09-09-2007 09:40
Ok, thanks for the help anyway. I voted on your issue and some others related to it, if it can help.
Robot Foxley
Input Collector
Join date: 9 May 2007
Posts: 113
09-10-2007 10:18
From my experience with this nasty bug, I would advise you to save each script in a notecard on your computer via copy paste. The dude who taught me lots of scripting tips told me to do that, and it has proved to be valuable. Always back up your data when dealing with computers!
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
09-11-2007 08:27
I sponsored a bounty at the LibSecondLife project for a standalone program that backs up all notecards and scripts in your inventory (assuming you can modify them). It's a little rough around the edges right now, but it's a command in the TestClient program if you want to look into it.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
09-11-2007 12:02
When you say back up, do you mean to your local computer, or to another notecard in your inventory. If its to the local computer, i'm going to be all over that. :)
_____________________
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
09-11-2007 12:30
From: Lex Neva
I sponsored a bounty at the LibSecondLife project for a standalone program that backs up all notecards and scripts in your inventory (assuming you can modify them). It's a little rough around the edges right now, but it's a command in the TestClient program if you want to look into it.
Great idea, Lex, thanks for sponsoring that.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
09-12-2007 08:54
It's to my local computer. I now have a folder with a huge heirarchy of folders inside it on my hard drive, containing all of the full-perms notes and scritps that I own. This is available now, though still rough-edged, if you download the libsl distribution and run the testclient program. I believe the testclient command is "textbackup".
Silas Sachs
Registered User
Join date: 21 Oct 2005
Posts: 23
09-12-2007 22:00
This may sound silly, but if it happens to a script your working on in a live object, shift drag the object and the script should be loadable again.