Repository navigation
EN Script Gameplay Settings
Українська · English · Русский · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
The setting belongs to this script execution. A new run copies the independent engine/chat defaults once, not the graphical Profile. A script setter changes neither the GUI nor other runs already executing. Named objects, types, equipment sets, Ignore lists and globals deliberately retain their documented shared scope. The defaults rule applies to an ordinary new launch; nested UO.Exec("exec Name") copies the calling script’s current settings, and an explicitly supplied launch context keeps its captured snapshot.
A standalone chat command changes the lasting engine context: later commands read that value and new runs copy it. Existing runs keep their own values. Chat automation has its own controller and keeps operating after the command returns; GUI automation uses separate settings.
This is a shared host setting for the current character/session. It is an explicit exception to execution-local settings; the script setter and chat command update the same validated host configuration.
The policy belongs to the game session and concrete server windows, not the graphical Profile. It survives script completion and UI detachment; the matching command, window closure or world reset removes it.
The graphical C# IDE checkbox controls the editor, not engine execution. Explicit session-module permission in Manager is a separate control.
New configurations use visibility 18 for GUI and scripts, graphical perimeter 14, IgnoreStamina=true in their separate configurations, IgnoreDistance=false and pause-on-disconnect=false. Explicit saved values remain intact. Explicit command parameters, including moveThroughNPC, retain their own meaning and are not replaced by a GUI setting.
Use the current chat prefix (initially ,). Separate arguments with spaces. A getter prints the current value; a setter returns no output. Bool values accept true/false or 1/0. Quote strings containing spaces and quote the complete JSON argument. C# and chat use the same native registry.
C# uses a typed array: the getter returns a separate copy and the setter replaces the entire array. Editing a returned object alone does not change automation. Chat passes JSON with snake_case field names.
Rules from every enabled list (Enabled=true) are processed, independently of which list the GUI editor displays. The default list is preserved; orphaned list references are recovered as disabled lists.
| UO | Purpose | Default |
|---|---|---|
| UO.AutoloadFile | startup-file selection | "autoload.csx" |
| UO.AutoBuyDelay | automatic-buy delay | 3 |
| UO.AutoBuyEnabled | automatic buying | false |
| UO.AutoBuyLists | buy-rule lists | [{"Id":"default","Name":"Default","Enabled":true}] |
| UO.AutoBuyRules | buy rules | [] |
| UO.AutoCloseDoorDelayMs | door-close delay | 0 |
| UO.AutoCloseDoors | closing doors behind the player | false |
| UO.AutoLootBagSerial | loot destination bag | 0 |
| UO.AutoLootDelay | loot delay | 600 |
| UO.AutoLootEnabled | automatic looting | false |
| UO.AutoLootFromGround | looting from the ground | false |
| UO.AutoLootLists | loot-rule lists | [{"Id":"default","Name":"Default","Enabled":true}] |
| UO.AutoLootRange | loot radius | 2 |
| UO.AutoLootRules | loot rules | [] |
| UO.AutoNavigateAroundObstacles | obstacle avoidance for Step commands | false |
| UO.AutoSellDelay | automatic-sell delay | 3 |
| UO.AutoSellEnabled | automatic selling | false |
| UO.AutoSellLists | sell-rule lists | [{"Id":"default","Name":"Default","Enabled":true}] |
| UO.AutoSellRules | sell rules | [] |
| UO.ObstacleLookAhead | route look-ahead | 3 |
| UO.ObstacleScanDistance | lateral detour budget | 2 |
| UO.ViewRange | requested visibility range | 18 |
| UO.IgnoreDistanceCheck | skipping the local distance check | false |
| UO.IgnoreStaminaCheck | skipping the local stamina threshold | true |
| UO.KeepGumpOpen | keeping a game window open | null |
| UO.YokoAutoloadFile | startup-file selection | "autoload.csx" |
| UO.YokoCommandPrefix | chat-command prefix | "," |
| UO.YokoPauseScriptsOnDisconnect | pause after connection loss | false |
| UO.YokoSingleProcedureExecution | single-procedure admission | false |
| UO.YokoSingleProcedurePerFile | serial procedures from one file | false |
The client sends a 0xC8 range request: the maximum of GUI range, active script ranges and explicitly configured chat range. Finishing an owner releases its request. The server ACK caps retained objects without rewriting GUI/script requests. FindDistance is separate.
For this run, true sets moveCheckStamina=0, false sets 1. Character passage uses the separate moveThroughNPC threshold; its explicit value is not replaced by GUI IgnoreStamina. The server can reject movement.
The controller processes an actual vendor offer received from the server, applies quantity/price limits and sends a buy/sell request. A getter does not open trading. Delay is scheduled after a request; it is not Wait and does not reschedule an existing deadline. Script automation ends when its run completes or is stopped. Keep the run active for the intended actions; a script that only configures rules and returns does not leave a background controller.
The controller records a traversed door and its owner’s settings. Closing targets only an observed open door from a reachable position; Stop cancels pending actions. The delay does not change server rules.
ClassicUO — Bad Newbie & C# Scripts IDE