|
|
|
[
Permlink
| « Hide
]
Strife Onizuka added a comment - 03/Jul/08 11:50 PM
Could you post the script here?
It's a big script. I can let you have it in SL though.
Sounds like one of the cases of undefined behaviour in LSL that we had to fix.
Please paste the smallest part of the script which can demonstrate your problem. Here is the script I was sent, I am confident this is just another example of
It isn't that, Strife.
integer chat = 1; default { state on } I have a test object in a non-mono sim in the beta grid, with that code in it. It produces the error, saying about the variable 'chat' (line 11), "Name not defined within scope". As far as I know, when a variable is declared as global, as 'chat' is, it is available everywhere - in all states. If I'm mistaken about that, then it's the main grid that's wrong, because the whole script compiles ok there. Ah excellent - thats just what I need to fix this problem.
It's probably caused by the fix to http://jira.secondlife.com/browse/SVC-1372 For some unknown legacy reasons 'listen' is actually compiled to 'chat' That's looks like the answer, Scouse. I tried it with the varbiable's name changed, and it compiled ok. I've no doubt that it will be the same for the whole script, but I have to get back to the Wimbledon final, so I'll check that shortly
The whole script now compiles fine in LSL on the beta grid. I haven't been able to check it in mono yet because there haven't been any mono sims running since I wanted to test it - sometime yesterday (Sunday).
The Mono sims are back up, and I've tested the whole script. With that variable name changed, it compiles ok in both LSL and Mono.
Thank you for the help, Scouse and Strife. resident confirmed fix, resolving
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||