Commit graph RynthSuite/Plugins/RynthCore.Plugin.RynthLua
Author SHA1 Message Date
Daniel Wallace
536bbf5aa5 RynthLua: run script commands as /lua <name> [args]
In a Decal (bridge-mode) client the engine only forwards a fixed list of
chat-bar commands to plugins (/rc /ra /rv /rn /rnav /lua), so a script's
game.RegisterCommand("/demo") never ran there. When the /lua subcommand is
not a built-in verb, try it as a script command via the existing queue, so
/lua demo status runs the /demo handler once with args "status". Usage text
is shown only when no script owns the name, and lists the registered
commands. Built-in verbs always win. Docs: RegisterCommand in
rynthlua.d.lua.

- "/lua /demo status" works too: one leading slash on the subcommand is
  stripped, and the usage lists names without the slash, the form the
  fallback takes ("/lua demo").
- A script command named like a built-in verb (list, exec, start, ...) can
  never be reached through /lua, so the usage summary leaves it out. One
  BuiltInLuaVerbs set gates the fallback and filters the summary.

Tests (CompatTests luacmd.lua): plain and slash forms, case, spacing and
quotes, unknown command usage, summary form and filtering, a script /exec
not run by /lua exec, stopped owner gives usage, none-registered branch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 16:45:15 -07:00
5416e8066a Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
6847868401 RynthSuite as of 2026-10-05 evening (internal a078b8e): release 2026.10.5.20 - healing delay fixes, stuck-cast safeguards, buffs over items, slayers recognised and chosen first, recover my corpse, /ub give and /mt give, Mana Tap skips wands, dungeon floor-plan bake, heal latency log 2026-10-05 14:59:43 -04:00
12ca25f911 RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:34:29 -04:00