Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script stoped to work at the restarted regions

Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
01-31-2008 17:08
Well...Timeless Door...

It's a scipt on the library...

You can find at // http://www.secondlife.com/badgeo/

The point is...this very populart script cannot works in the regions that has been restarted today after the server update...

probally because something was bad at the llGetObjectName() and llGetObjectDesc() functions....

if U create the script..say /door opened and closed commands...
Yes, works because it's on the memory

if U reset the script this will stops to work because the script cannot read the llGetObjectName() and llGetObjectDesc()


I've bad feelings about it.... :(

BTW..I opened a Jira ! several prefab builders use this script...

Also..if is something bad with the llGetObjectName() and llGetObjectDesc() ...

Well...we are totally in trouble !
Mitzy Shino
can i haz ur stufz?
Join date: 15 Dec 2006
Posts: 409
01-31-2008 17:37
I'm at my home region (which is offline btw, nice to walk around an offline region), anyway its running the update and my cages which use a modified version of this door script are working fine.

They are reading the object description with no problem. (and yes I did reset the script)
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
01-31-2008 18:32
From: Mitzy Shino
I'm at my home region (which is offline btw, nice to walk around an offline region), anyway its running the update and my cages which use a modified version of this door script are working fine.

They are reading the object description with no problem. (and yes I did reset the script)


you perform the modification ?
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
01-31-2008 19:11
I found something...

Debugging in both regions...Very instresting...

Linked Object Name: door;<0.55040, 0.83800, 0.00000>;<0.00000, 0.00000, -0.70711, 0
Linked Object Description: door;<0.10991, 0.38390, 0.00000>;<0.00000, 0.00000, -0.00000, 1.00000>;<0.98058, 0.10000, 0.80000>

At the myGetDoorParams() function there is...

list nameWords = llParseString2List(llGetObjectName(), [";"], []);
list descWords = llParseString2List(llGetObjectDesc(), [";"], []);

In a non restarted and not uptaded region...

llGetListLength(nameWords) returns 3

In a restarted region

llGetListLength(nameWords) returns 4 !!!!

This cause the script to fail when...

if (llGetListLength(nameWords) != 4 || llGetListLength(descWords) != 4)
{
FAIL TRAP
}
Mitzy Shino
can i haz ur stufz?
Join date: 15 Dec 2006
Posts: 409
02-01-2008 03:10
Modification? My script is just modified with some extra stuff that doesn't effect reading the description line.

There is a blog post about this problem now, it seems to be something to do with the length of the description.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
02-01-2008 05:01
This is a MAJOR problem and will break a fair amount of content. A lot of us use the name and description fiellds as permanent storage. SVC-997 doesn't show up in a search of JIRA, so must be secutiry related. This would mean that this is a PERMANENT change. Guess we will have to do some testing to see exactly what the length limits are now. :(
_____________________
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
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
02-01-2008 06:42
Check this...


http://blog.secondlife.com/2008/02/01/fix-may-cause-problems-for-scripts-relying-on-long-object-names-and-descriptions/

But I'm still have problems...
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
02-01-2008 06:45
From: Jesse Barnett
This is a MAJOR problem and will break a fair amount of content. A lot of us use the name and description fiellds as permanent storage. SVC-997 doesn't show up in a search of JIRA, so must be secutiry related. This would mean that this is a PERMANENT change. Guess we will have to do some testing to see exactly what the length limits are now. :(


Yes..to be honest..I will replace my scripts instead read from Name and Description...read from notecard...

But I know that's several ppls really need to read/write list of values on the name and description because LSL is not able to write in notecards :(
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
02-01-2008 07:22
Well...In a chat with my consierge support...

the answer was: This bug was not fixed yet...

It's under investigation of how many effect this will cause...
Storm Thunders
Polyavatarist
Join date: 31 May 2006
Posts: 157
02-01-2008 07:31
If you've been using the name or desc fields for long
term storage, the rules just got changed.

SVC-674
LL will be truncating all object names to 63
characters and descriptions to 127 characters when
1.19 server code is released (originally scheduled for
1/23/2008)

http://jira.secondlife.com/browse/SVC-674
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
02-01-2008 07:38
From: Storm Thunders
If you've been using the name or desc fields for long
term storage, the rules just got changed.

SVC-674
LL will be truncating all object names to 63
characters and descriptions to 127 characters when
1.19 server code is released (originally scheduled for
1/23/2008)

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


yes, Yes...but there is a lot of scripts running on SL that's really depends of long description...

I'm not telling just about my customers....I'm talking about thousands of ppls that's bought something based in scripts like this..

check the example of Timeless Door....It's just s script of the resource library ! So, a public and popular script does not works anymore....Thousands of ppls will freak out !
Storm Thunders
Polyavatarist
Join date: 31 May 2006
Posts: 157
02-01-2008 07:58
Oh I know. :(

I just wish the official blog had explained the limit instead of referring us all to a bug entry that we can't access.
Krstopj Voom
Urban beachbum
Join date: 9 May 2007
Posts: 17
grrrrr!
02-01-2008 08:21
None of the scripts on my land is currently working either. I am not a scripter so I have no idea how to fix this. Can someone kindly direct me to which Jira to report this? I seriously need to voice an opinion here and it aint gonna be good!
Thx.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
02-01-2008 09:43
From: Krstopj Voom
None of the scripts on my land is currently working either. I am not a scripter so I have no idea how to fix this. Can someone kindly direct me to which Jira to report this? I seriously need to voice an opinion here and it aint gonna be good!
Thx.

When it comes to security fixes, we have no say and opinions don't count. Last security change that broke content was last year when LL disabled the ability to reset no-mod scripts.

We are just going to have to work around it as painful as it may be.
_____________________
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
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
02-01-2008 10:20
From: Jesse Barnett
We are just going to have to work around it as painful as it may be.


I know it's true, but damn I'm tired of hearing that :(
_____________________
Krstopj Voom
Urban beachbum
Join date: 9 May 2007
Posts: 17
02-01-2008 10:48
When you're not a scripter .. you're kind of screwed here. Does anyone know a way I can fix this? *shoots himself in the head*
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
02-01-2008 10:59
Yes. Ask Linden labs what is now the preferred way they recommend of storing simple memory parameters in some kind of permanent fashion, and mention that we eagerly await their guidance and enlightenment as we strive to partner with them in creating mission-critical apps that can run on the Second Life platform. (JUST KIDDING>;)
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
02-01-2008 11:20
To be honest, I'd rather they fixed this by making an LSL command to write into notecards than by upping the description/name limits again. If you kept it very very simple, I don't see why this would be so hard to do. Is there something about notecards that makes it impossible?

/me dreams of how wonderful that would be
.
_____________________
.
:) To contact forum folks, join the inworld group "The Forum Cartel". New residents with questions about SL more than welcome! We has parties!

:) To contact forum scripters, join the inworld group "Scriptoratti" (thanks Void!). New scripter questions welcome!
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
02-01-2008 11:34
Oh, no! You've raised the topic of writing to notecards! You're going to be deluged with posts slapping you down :}

Apparently there are a zillion reasons why the Second Life platform is incapable of meeting this basic business need -- and just as many apologists for this glaring weakness. (oops, let my own opinion show just now, grin.)

/54/48/176583/1.html
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
02-01-2008 11:34
FYI: the LSL wiki has been changed to reflect this (llGetObjectName, llSetObjectname, llGetObjectDesc, llSetObjectDesc).
.
_____________________
.
:) To contact forum folks, join the inworld group "The Forum Cartel". New residents with questions about SL more than welcome! We has parties!

:) To contact forum scripters, join the inworld group "Scriptoratti" (thanks Void!). New scripter questions welcome!
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
02-01-2008 11:45
oh? really, it's been updated?

I see the LSL wiki here:
http://wiki.secondlife.com/wiki/LlGetObjectName

saying "The prim name is limited to 255 bytes...."

didn't someone above say " LL will be truncating all object names to 63 chars?" maybe they were wrong, or the wiki page i looked at isn't updated yet.
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
02-01-2008 11:47
lol, Chaz, I and someone else updated the old LSL wiki, e.g.
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llGetObjectName

I don't use the official one much. :o
.
_____________________
.
:) To contact forum folks, join the inworld group "The Forum Cartel". New residents with questions about SL more than welcome! We has parties!

:) To contact forum scripters, join the inworld group "Scriptoratti" (thanks Void!). New scripter questions welcome!
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
02-01-2008 11:50
oh right. Me neither, the official one is *deadly* slow, as though they are trying to bring the SL -inworld experience to the web, LOL!
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
02-01-2008 11:55
From: Chaz Longstaff
Apparently there are a zillion reasons why the Second Life platform is incapable of meeting this basic business need -- and just as many apologists for this glaring weakness. (oops, let my own opinion show just now, grin.)

/54/48/176583/1.html
OK, read the thread, and understand. It might be simpler to create a new editable text object with an asset UUID that is permanent, explicitly as a small data storage/retrieval object. It could have a limited number of lines, each of which is a key/value pair with predefined syntax. Make the keys searchable, even.

/me dreams
.
_____________________
.
:) To contact forum folks, join the inworld group "The Forum Cartel". New residents with questions about SL more than welcome! We has parties!

:) To contact forum scripters, join the inworld group "Scriptoratti" (thanks Void!). New scripter questions welcome!
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
02-01-2008 12:43
From: Jesse Barnett
This is a MAJOR problem and will break a fair amount of content. A lot of us use the name and description fiellds as permanent storage. SVC-997 doesn't show up in a search of JIRA, so must be secutiry related. This would mean that this is a PERMANENT change. Guess we will have to do some testing to see exactly what the length limits are now. :(


the 997 was a typo apparently, they edited the blog to read 674 now. The issues was content loss due to long names/descriptions. It does seem bad for those who relied on these for permanent storage. I wonder if very long strings still work for temporary storage?

EDIT: I just saw from the other thread that it was in fact a security issue, but only UBER l33t ppl are supposed to know that. :rolleyes:
_____________________
1 2