✨ Feature Requests

  • Search existing ideas before submitting- Use support.secondlife.com for customer support issues- Keep posts on-topicThank you for your ideas!
new LSL debugging tools request
I would like to request the following: 1) a command to insert a debugging note of the scripter's choice, but prefixed with useful information such as the script, state & event / custom function, and line number. It would chat privately the same way llOwnerSay() does. Example usage in a script: llDebugSay("At this point we are switching modes.") Output would look like: [12:18:33] Test Object: DEBUG [NewScript, default, state_entry (43)]: At this point we are switching modes. Since custom functions are defined prior to the start of the default state, and a function always takes at least the form of functionname(), it should be possible for the compiler to identify the name of the function and use that instead of the state & event, as follows: // this is a custom function that does something string customfunction( integer foo string bar ) { ... a bunch of code... llDebugSay("At this point the framistan should have blogulated."); ... more code... return somestring; } Output would look like: [12:18:33] Test Object: DEBUG [NewScript, customfunction() (12)]: At this point the framistan should have blogulated. Everything from (and including DEBUG) to the colon after the square bracket should be generated by the function itself, not something the scripter has to type in. 2) a command to insert a debugging variable dump of specified variables (up to a reasonable maximum; if more are needed, scripter can always use a second command). It would be able to report any variable known to the script scope at that point. Again, it would chat privately the same way llOwnerSay() does. Example usage in a script: llDebugVarDump([MENU_TIMEOUT, ModifiedColorVal, collar_prefix]); Output would look like: [12:18:33] Test Object: DEBUG variable dump: MENU_TIMEOUT: type=float, value= 15.0 ModifiedColorVal: type=vector, value=<0.72,0.2,1.0> collar_prefix: type=string, value=rh 3) A command or meta-variable or script editor command to enable/disable those commands. The idea is that it would not be necessary to remove the llDebug* commands; they simply would not execute UNLESS a box was checked (similar to the □Run and □Mono checkboxes), or there was a command that had to be the VERY FIRST executable line (so it could follow a bunch of comments, but would have to be before ANY variable declarations, function definitions, or start of the default state); something like this: // initial comments in script DEBUG; // all llDebug* commands will function If that line with the one word, DEBUG, was absent, all llDebug* commands would be treated as comment lines, possibly even to the extent of being coloured the same as comments. If this 3rd part isn't possible, at least the other two commands could be easily found and deleted or commented out just by searching for llDebug
0
·
Content Creation
SL Hidden Gems Category +Explorers Guild Homebase
Right now, SL has great pieces of history and exploration culture scattered around, but nothing that functions as a home for hidden gems, little-known places and especially Mole secrets. Other MMOs have “Explorers’ Guilds” that celebrate discovery and the MMOs history. I’d love to suggest a very lightweight version of that idea for Second Life; something focused entirely on exploration for residents who enjoy wandering off the beaten paths. The talented and busy Moles hide fun details in their work, but there’s no official list, no hints, and no “start here” point. Discoveries spread by word of mouth or Flickr. Some bloggers collect “strange places,” but they’re not maintained long‑term, and none of them are official. Many new and even long-term residents aren't aware that the Moles exist and are a real team with a long history or that SL has lore, inside jokes, and environmental storytelling scattered everywhere. An explorers guild home base would help surface that history in a fun and low-pressure way. There is more to SL than meets the eye! An in‑world Explorers Guild homebase, built by the Moles, could offer clues or hints, giving explorers a place to start. Something that piques interest. No new systems or gamification are required. It might also help to add an “SL Hidden Gems and Little-Known Places" category to the destination guide on SL's website to make this kind of content more visible. Thanks!
6
·
Content Creation
Load More