Repository navigation
v26.11.16
Added
scangumps: see every gump window that is open, not only the one on top.scangumpslists the open windows front to back, and#GumpIndexwalks them like#FindIndexwalksfinditem's results. For each one, the new#Gump…variables give its name, position, size, graphic (#GumpArt: the backpack isYE), whether it is minimized and the container or character it belongs to. A gump the server sent also has#GumpTypeID, which is the same every time the server opens that gump, so a script can tell which one is open.scangumps T_JHEIIPIorA_YEkeeps only matching windows. It only reads the client. A line starting with the wordscangumpsused to be ignored and is now this command. Seescangumps.exevent GumpReply: answer a gump the server sent without clicking.exevent GumpReply JHEIIPI 1presses button 1 of the open gump with that type ID, andexevent GumpReply %menu 2 3/7 5:Iron_Golemalso ticks checkboxes 3 and 7 and fills text field 5. The server gets the same answer as for a click, with the serial the gump has now, and the window closes.#GumpReplyRessayssent,nogump(not open: nothing sent) orerror, and#GumpReplykeeps the answer, soexevent GumpReply #GumpReplysends it again the next time that gump opens. It also records the answers you click yourself, and#GumpReplyCntgoes up with each: to learn what a gump expects, click once and read#GumpReply. Old EasyUO ignored this sub-command and still does. Seeexevent GumpReply.moveitem: move an item into a container and know whether it arrived.moveitem #FindID %bagpicks the item up, drops it into the bag, waits for each step, tries again when that is safe, and sets the new#MoveRestook, or says why not (refused,nolift,left,noitem,nodest,held,error). Without an amount it moves the whole stack;moveitem %id %bag 10 40 40moves 10 to a place in the bag. It checks the client's item list, never the journal, so it works whatever the client's language. It replaces the drag, wait, drop and retry subs scripts write by hand. A line starting with the wordmoveitemused to be ignored and is now this command. Seemoveitem.log: follow a script while it runs.log The sum is %sumwrites a line to the editor's new Output panel, with the time, and the script goes on. Unlikedisplayit never waits for a click, so it can go in a loop, and unlikeevent sysmessageit needs no client and the lines stay. The panel opens by itself at the first line; Control → Show Output and Clear Output show, hide and empty it. A line starting with the wordlogused to be ignored and is now this command. Seelog.EUOCli run: run a script from the command line. It runs a script with nobody watching and prints what it logs, what itsdisplayboxes would have shown, and why and where it ended. It is made for scripts nobody has read yet: it uses no UO client unless you add--client 1, it always ends (after a timeout, or when a script withouthaltstarts over), andexecute,shutdown,terminate,uoxlandsendstop the run unless you allow them.EUOCli vars #CharPosX #ContNamereads variables from a client without a script, andEUOCli clientslists the clients. See Run a script.EUOCli mcp: tools for AI agents, and a script they can step through. Agent programs that take tools (the Model Context Protocol) startEUOCli mcpand geteuo_check,euo_run,euo_vars,euo_docsand the rest without a shell. A run now stays alive between calls, so the agent can follow it, pause it, set breakpoints, step line by line and read its variables, as you do in the editor. The tooleuo_runcan't reach a UO client or run a blocked command, whatever is passed to it, so it is safe to allow for good;euo_run_liveis the only tool that acts on your character, and asks for its own approval. The script stops when the agent closes. See Tools for an agent.EUOCli init: set a script folder up for an AI agent in one step.EUOCli init C:\Games\UO\Scriptscopies the agent pack there as a Claude Code skill, writesAGENTS.mdfor other agents and adds the.mcp.jsonentry for the tools. AnAGENTS.mdor.mcp.jsonthat is already there keeps what it holds. Run it again after an update to replace the pack. See Set a folder up for an agent.EUOCli docs: the documentation in the terminal.EUOCli docs finditemprints the page of a command or#variablefrom the files that came with the program, andEUOCli docs --search journallists what mentions a word. See Look up the documentation.EUOCli check: find the mistakes EasyUO never reports. EasyUO skips a line it can't understand without any error, so a typo shows up only as a script that does nothing. The newEUOCli.exein the release zip reads a script without running it and lists them with line and column: a word that is not a command, a#variablethat doesn't exist, a wrong sub-command, a missing space in a condition, braces orrepeat/untilthat don't pair up, agosuborgototo nowhere, and a script that restarts because it has nohalt. It needs no client, and--jsongives the findings to a program. See Check a script with EUOCli.- An agent pack, so AI coding agents can write EasyUO scripts for you. The new
agentfolder of the release zip holds the language rules, every command and#variableon one line, and a reference page for each, as plain files that Claude Code, Codex, Cursor and other agents read, so they look names up instead of inventing commands that EasyUO would skip without an error. For Claude Code it is a ready-made skill; other agents read itsAGENTS.md; a chat can read https://ilpersi.github.io/EasyUOReforged/llms.txt. The agent writes and changes scripts, checks them withEUOCli checkand tries their logic withEUOCli run, without a client; it runs a script on your character only after you say yes. See Write scripts with an AI agent. menu Memocan wrap its lines. With the 1.6menu,menu SetProp notes wordwrap #truebreaks a memo's long lines at its right edge instead of letting them run past it, andmenu SetProp notes scrollbars 2keeps only the vertical scroll bar (0 none, 1 horizontal, 2 vertical, 3 both). A new memo looks as before, andmenu Getstill returns the text as written, with no$where a line was only wrapped. The MENU Designer has both as rows of a memo. See menu Memo.- Three new documentation pages for writing scripts that work. Common mistakes lists the rules scripts break most often, such as spaces around every word,
-1for true andhaltat the end, each with an example whose result is checked against the interpreter. Common patterns shows how to find and use an item, target, move items, wait for a gump or a journal line, walk and loop. Finding IDs and types shows how to read the values a script needs from your own game.
Changed
- A new icon. EasyUO Reforged, the MENU Designer,
EUOCliand the documentation site now share one icon: the EasyUO emblem, its ring turned into a gear with a run button in the middle, engraved in black and cream on a green tile. The small sizes of the taskbar and title bar are drawn pixel by pixel so they stay sharp.
Fixed
client_beta.exe7.0.118.132 reads the last target, the lifted item, the hands and the game area height right. On this beta#LTargetID,#LTargetKind,#LSkill,#LSpell,#RHandID,#LHandID,#LLiftedKind,#LLiftedType,#NextCPosX,#CliLangand#CliYResread the wrong place, soevent Drag, Last Target,moveitem(which answeredheld) andnextcposdid not work, and setting#CliYRescrashed the client.event macroalso stopped doing anything once the client had played one of its own macros, such as Alt+J for the journal. They now read where this build keeps them, andevent macroworks whatever the client played before. See Known limitations.- Stop now stops at once during a wait. When you pressed Stop while a script was inside a
wait,target,waitforor another waiting command, the line after it could still run once, about one time in four. The original EasyUO did the same. Stop now ends the wait and runs nothing more. exevent Equipsends the right request. In EasyUO Reforged the command built its request with the length and every item ID written backwards, so the server could not read it and nothing was equipped. It now sends the same request as the original EasyUO and asuo.dll'sEquip, which was not affected. See exevent Equip.#CliLangreads the client language onclient.exe7.0.117.1 and 7.0.117.33. On these clients it was always empty, because EasyUO Reforged looked for the language where the client keeps something else. It now readsENU, or your client's own language code, as on older clients and onclient_beta.exe.uo.dll'sCliLangis fixed the same way. See #CliLang.#EnemyHitsreads the enemy's health in percent on every shard. EasyUO multiplied the client's number by 4, which is right only on shards that send health out of 25 (RunUO), so on ModernUO shards it read 4 times too high, up to 400. It now divides by the maximum the shard sent: on shards that count out of 25 the numbers are the same as before. Onclient_beta.exe7.0.117.31 it readN/Ain combat, or the maximum after you selected a mobile with the targeting macros: it now follows the enemy you attack.uo.dll'sEnemyHitsis fixed the same way. See #EnemyHits.event Dragpicks items up again onclient_beta.exe7.0.117.31, and#LLiftedKindand#LLiftedTypefollow the item on the cursor. On this client#LLiftedKindread 65536 with nothing on the cursor, soevent Dragbelieved you already held something and did nothing, and#LLiftedTypenever changed. Both now read the client's own values:#LLiftedKindis 1 while an item hangs on the cursor and 0 otherwise.uo.dll'sLLiftedKind,LLiftedTypeandCliDragare fixed the same way. See event Drag.#FindRepreads the notoriety onclient_beta.exe7.0.117.31. It read 255 for every character found. It now reads 1 to 7 as on the other clients. See #FindRep.#ContHPreads health bars onclient_beta.exe. It read 0 on your own health bar and meaningless numbers such as 43338 on a pet's. It now reads the health in percent, as on the other clients.uo.dll'sGetContis fixed the same way. See #ContHP.
Full list of commits: v26.11.09...v26.11.16
Automated Windows x64 build of v26.11.16, produced by .github/workflows/release.yml from the tagged commit -- nothing is uploaded by hand.
Zip contents: EasyUOReforged.exe, uo.dll, EUOUpdtr.exe, EUOMenuDesigner.exe + LICENSE / NOTICE / README.md / CHANGELOG.md.
Antivirus / SmartScreen: this program reads and writes another process's memory and patches small code hooks into it (the same techniques a debugger uses), so Windows may flag it heuristically. This is expected for this class of tool. Verify your download against EasyUOReforged-v26.11.16-win64.zip.sha256 (and SHA256SUMS.txt for the extracted files), scan it yourself, or build from source. See https://ilpersi.github.io/EasyUOReforged/guide/install/#smartscreen-and-antivirus
Drives both 32-bit and 64-bit Ultima Online clients.