secondlife / secondlife/viewer

`viewer.script.recompile_all` / `reset_all` are unimplemented

Open
#6,191 3 comments 0 reactions 1 assignee View on GitHub

@Rider-Linden is already working on this.

Since Aug 25, 2026.

bug SLua
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Repo: viewer
Labels: enhancement, protocol

Summary

Two viewer commands that appeared in the protocol documentation were never implemented.

Evidence

LLScriptEditorWSServer's constructor makes exactly three registerCommand calls:

Command Line
viewer.teleport 187
viewer.camera.focus 206
viewer.object.save_back_to_contents 224

Calling either missing command raises InvalidParams (-32602) Unknown command: <name>, and
neither appears in command.list.

Impact

Bulk script operations on an object are unavailable to external editors.

Proposed fix

Implement and register both commands. Expected parameters for each: object_id: string.

Notes

Both have been removed from the Known viewer commands table in Message_Interfaces.md and
should be re-added when implemented.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.