
| Key: |
SVC-2440
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Duplicate
|
| Priority: |
Normal
|
| Assignee: |
Unassigned
|
| Reporter: |
Vittorio Beerbaum
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Not Relevant.
|
|
Issue Links:
|
Duplicate
|
|
This issue duplicates:
|
|
SVC-1372
Mono Beta - Duplicate events in Mono script cause compilation failure, while LSL only runs the last duplicate event
|
|
|
|
|
SVC-1359
Failure to compile with redudant state_entry events on Mono
|
|
|
|
|
|
This issue is original of duplicate:
|
|
SVC-2554
a state containing two of the same events will not compile
|
|
|
|
|
Relates
|
|
|
|
This issue is related to by:
|
|
|
|
|
|
|
|
default {
state_entry() {
llSay(0, "entry");
}
state_exit() {
llSay(0, "exit");
}
state_exit() { llSay(0, "exit"); } }
}
As you notice there are two "state_exot", it is an obvious error, but it happens frequently when you have to manage with very long states (code lines), and you don't figure it out since on LSL it compiles and run fine (it just keeps the latest one), while on Mono it fails with a duplicate message error. I'm not sure if it is a feature, but this would potentially cause a malfunction of many scripts, in case the plan will be an "autorecompilation".
|
|
Description
|
default {
state_entry() {
llSay(0, "entry");
}
state_exit() {
llSay(0, "exit");
}
state_exit() { llSay(0, "exit"); } }
}
As you notice there are two "state_exot", it is an obvious error, but it happens frequently when you have to manage with very long states (code lines), and you don't figure it out since on LSL it compiles and run fine (it just keeps the latest one), while on Mono it fails with a duplicate message error. I'm not sure if it is a feature, but this would potentially cause a malfunction of many scripts, in case the plan will be an "autorecompilation". |
Show » |
|
https://wiki.secondlife.com/wiki/Mono#FAQ-Recompile
This was an old LSL bug that was fixed in Mono. I think they also fixed it for LSL-LSO Compiler that runs along side Mono.