Script Errors

From CT Design Wiki

Jump to: navigation, search

Related to recent Collar Scripting problems

About January of 2009 Linden Research pushed to a new sim version of 1.25. It was later found that this sim version did not allow scripts to run to their full potential. Any script that was created before or during this sim version was succeptable to getting Script Errors (Stack-Heap Collision Errors, etc). A bug report was filed with LL's JIRA system reporting this usage in regards to the use of lists in a script (JIRA Bug Report). (A "list" is a variable type used in LSL that assist with organizing a group of values, used in the collar scripting for owner management)

This issue was raised to a priority of Show Stopper because it was breaking scripts that were running fine before the update. Linden Research plan on having this corrected with sim version 1.26 or greater. There is currently no estimated time in which they expect for this version to roll out.

Present Day
I have gone through every script that would make up a CTD collar and edited as much of the non-required information out of it as best as I can. The amount of remaining memory left is over 8kb (12% of total capacity), or 6kb when the script's variables are purposely filled. There should be absolutely no issues with collar scripts as to why they are producing script errors. This has all been traced back to sim version 1.25.

If you collar is frozen, which includes non-responsive menus, not syncing with a holder, or simply functions not working; then it will need to be reset manually. I have found that after a collar has been reset by the new owner, it works well after that.

Run through the following steps to Manually Reset your collar:

  1. Go into the Build (or Edit) menu (Ctrl-3). Make sure you are using the Edit menu, the mouse cursor should be an Arrow and not a Wand.
  2. Select (or Click) on the object that you want to reset. You will know it is selected because it will be highlighted.
  3. Once highlighted, use the Tools drop-down menu at the top of your Second Life Viewer Client.
  4. Then select Reset Scripts in Selection near the bottom of the Tools dropdown.


This will reset the scripts to being brand new again. If there are any pets or owners stored in the database, they will be downloaded again. No information should be lost.

If this does not fix your issue, please submit a description of the issue in the format of a notecard to Cryas Tokhes. Also check the CTD Blog for updates and contact hours. You should receive a response within 48 to 72 hours.