- Requirements
- XML Spawner2
The Server Assistant Engine is a 100% server-side, plug-and-play system that brings the most beloved assistant features directly into the core game. Complete with a beautiful, tabbed UI, players can configure Auto-Healing, Scavenger agents, Dress sets, and even build their own Macro sequences right inside the UO Client!
Core Features
️ Survival & Combat Agents- Auto-Bandage (Self & Pets): Automatically applies bandages from anywhere in your inventory (even deep inside nested bags). It uses native NPC BandageContext hooks—meaning it bypasses the target cursor entirely and will never interrupt a spell you are currently aiming!
- Auto-Potions: Automatically drinks Cure potions when poisoned, or Heal potions when health drops below 30% (smartly pausing if the player is Paralyzed).
- Auto-Weapon Abilities: Actively checks if the player is in melee combat and automatically primes their Primary or Secondary weapon abilities, pausing instantly if they start casting a spell.
Item Management Agents
- The Scavenger: Highly optimized using EventSink.Movement. Players can target item types (like Gold or Bandages), and as they walk, the engine instantly vacuums those items from the ground AND from nearby corpses you have looting rights to.
- The Organizer: Funnel specific item types from your main backpack into a designated "Hot Bag" with a single command.
️ The Armory (Dress Agent)
- Save up to unlimited sets of gear right from the UI.
- Deep Inventory Scanning: The engine natively supports equipped containers (like Treasure Troves or Quivers) and will safely unequip old gear into designated target bags before equipping the new set.
- Assign sets to 3 Active Macro Slots for instant hot-swapping in the heat of battle.
Smart Targeting & Macro Engine
- Smart Targets: Save targets to memory ([ASetTarget1) and execute spells on them later using [ATarget1 without ever having to click on their character model!
- Macro Sequencer: A built-in macro builder! Players can chain together Spells, Skills, Pauses, and Smart Targets. (Example: Cast Greater Heal -> Pause 2000ms -> Invoke Smart Target 1).
️ The UI
- Players access the engine by typing [Assistant.
- Features a heavily polished, translucent dark-fantasy tabbed interface.
- Includes a built-in Paginated Help Guide that teaches players exactly how to link the server commands to their classic UO Client's "Say" macros for seamless, hotkey-driven gameplay.
⚙️ Installation & Requirements
Requirements:- XmlSpawner2 (The engine uses XmlAttachment to safely save player setups across server restarts).
Installation:
- Drop ServerAssistant.cs and ServerAssistantMacro.cs into your custom scripts folder.
- Restart your server.
- Type [Assistant in-game and enjoy!
How Players Use It
Because the server cannot read a player's physical keyboard, this system bridges the gap using the UO Client's native macro system.Players configure their setup in the Gump, and then bind a key in the UO Options (e.g., F1 -> Action: Say -> [ADress1) to instantly trigger the server-side agents!
(Feel free to modify, expand, or adjust to fit the specific needs of your shard!)
This is inspired by Razor, for those shards that want to have some of its features without the requirement of using the third party application entirely. This was tested and confirmed working on a older RUNUO 2.0 core, however its code should be acceptable for ServUO. As its said, if you do not like it, don't use it.
(I considered create a hidden item in the bank to keep track of data instead of an xml attachment, or even a perm item in the backpack, only reason i did not is i didn't want to take up item space. I might consider that in the future for this.)