Difference between revisions of "Agents"
ArrothThaiel (Talk | contribs) (Created page with "{{tocright}} Agents are tools to help you reduce the amount of button-click, click-drag, and other repetitive tasks within the Enhanced Client UI. Agents process UI controls a...") |
ArrothThaiel (Talk | contribs) |
||
| Line 83: | Line 83: | ||
<NumberVar name="OrganizerOrganizers" value="1.000000" /> --Total number of organizers for this character | <NumberVar name="OrganizerOrganizers" value="1.000000" /> --Total number of organizers for this character | ||
<NumberVar name="OrganizerActiveOrganizer" value="1.000000" /> --Active organizer for this character | <NumberVar name="OrganizerActiveOrganizer" value="1.000000" /> --Active organizer for this character | ||
| − | The first of these lines is the most important. This is the total number of organizers that will be displayed in the UI. If a | + | The first of these lines is the most important. This is the total number of organizers that will be displayed in the UI. If a character has six organizers, but "OrganizerOrganizers" value="3.000000", only three organizers will be displayed. If you are importing organizers, you must manually update this line to reflect the appropriate number of organizers. The second line, the ActiveOrganizer line, sets the organizer that will be run when you click on the organizer icon, it is not critical. You can update it by the selecting the desired organizer within the game. |
As the gem organizer above uses generic settings with no destination container, you can import it to any character you like. Simply copy the blockquoted text and paste it into the <UIVariables> section of a [[Enhanced Client Character File |character file]]. Once imported, don't forget to change the "OrganizerOrganizers value= " to correspond with the number of organizers for that character. | As the gem organizer above uses generic settings with no destination container, you can import it to any character you like. Simply copy the blockquoted text and paste it into the <UIVariables> section of a [[Enhanced Client Character File |character file]]. Once imported, don't forget to change the "OrganizerOrganizers value= " to correspond with the number of organizers for that character. | ||
Revision as of 08:28, 12 March 2026
Agents are tools to help you reduce the amount of button-click, click-drag, and other repetitive tasks within the Enhanced Client UI. Agents process UI controls at the same speed as a mouse click or button press, but can dramatically reduce the amounts of those types of user inputs needed to interact with the game. For things you have to do over and over again as a player, which is most of UO's inventory management, agents help you get back to playing the game, instead of playing the UI. If you find yourself constantly having to bother with item management and are feeling less enjoyment for UO because of it, try setting up an agent or two. Agents can make a world of difference in your engagement and happiness with UO.
If on the other hand, you really enjoy the fine control of moving each item from one place to another, you are free to continue doing so! Agents do not replace the basic discrete control over every item in the game, but instead provide a way to scale that control so that those players who do not enjoy moving each piece again and again, do not have to.
Six Agents are present in the Enhanced Client, each with a unique function. The Enhanced Client Guide has a tutorial for each:
Agent backups and porting
Each character has their own unique agents. So, your fisher can have a different set of agents than your scribe. This is wonderful for customizing agents to fit each character's tasks, but also means there are no "global" agents. You will need to build each agent for each character. Building an agent once, or even a couple of times isn't bad. However, as you build more complex agents, or want to use the same agent on multiple characters, the task of building agents can become daunting. What follows is a set of instructions for finding your character's agent information. Once you know where the information is, you can back up an agent or agents to a .txt file, or export the agent to other characters.
Every character has a unique character file. Within each character file is a set of data which record all of the information about that character's agents. Each agent has a unique set of data. The data is contained in the last section, <UI Variables>, of the character file. The <UI Variables> section has four subsections. Some agents have data in each section, some do not. Let us go through each agent's data, so you can see how it is stored.
Organizer Agent
An organizer agent stores data in all four subsections of <UI Variables>: StringVar, WStringVar, BoolVar, and NumberVar. Here is a commented example of an organizer to move gems.
<UIVariables>
<StringVar name="Organizer1it1Name" value="Amber" /> --Item in Organizer <StringVar name="Organizer1it2Name" value="Amethyst" /> --Item in Organizer <StringVar name="Organizer1it3Name" value="Citrine" /> --Item in Organizer <StringVar name="Organizer1it4Name" value="Diamond" /> --Item in Organizer <StringVar name="Organizer1it5Name" value="Emerald" /> --Item in Organizer <StringVar name="Organizer1it6Name" value="Ruby" /> --Item in Organizer <StringVar name="Organizer1it7Name" value="Sapphire" /> --Item in Organizer <StringVar name="Organizer1it8Name" value="Star Sapphire" /> --Item in Organizer <StringVar name="Organizer1it9Name" value="Tourmaline" /> --Item in Organizer <StringVar name="Organizer1it10Name" value="Amethyst" /> --Item in Organizer <WStringVar name="OrganizerOrganizers_Desc1">Gems</WStringVar> --Name of Organizer <BoolVar name="OrganizerOrganizers_CloseCont1" value="false" /> --Do not close container when organizer completes <NumberVar name="Organizer1it1Type" value="3877.000000" /> --Item 1 icon <NumberVar name="Organizer1it1Hue" value="0.000000" /> --Item 1 color <NumberVar name="Organizer1it1Id" value="0.000000" /> --Item 1 objectID <NumberVar name="Organizer1it2Type" value="3862.000000" /> --Item 2 icon <NumberVar name="Organizer1it2Hue" value="0.000000" /> --Item 2 color <NumberVar name="Organizer1it2Id" value="0.000000" /> --Item 2 objectID <NumberVar name="Organizer1it3Type" value="3861.000000" /> --Item 3 icon <NumberVar name="Organizer1it3Hue" value="0.000000" /> --Item 3 color <NumberVar name="Organizer1it3Id" value="0.000000" /> --Item 3 objectID <NumberVar name="Organizer1it4Type" value="3878.000000" /> --Item 4 icon <NumberVar name="Organizer1it4Hue" value="0.000000" /> --Item 4 color <NumberVar name="Organizer1it4Id" value="0.000000" /> --Item 4 objectID <NumberVar name="Organizer1it5Type" value="3856.000000" /> --Item 5 icon <NumberVar name="Organizer1it5Hue" value="0.000000" /> --Item 5 color <NumberVar name="Organizer1it5Id" value="0.000000" /> --Item 5 objectID <NumberVar name="Organizer1it6Type" value="3859.000000" /> --Item 6 icon <NumberVar name="Organizer1it6Hue" value="0.000000" /> --Item 6 color <NumberVar name="Organizer1it6Id" value="0.000000" /> --Item 6 objectID <NumberVar name="Organizer1it7Type" value="3857.000000" /> --Item 7 icon <NumberVar name="Organizer1it7Hue" value="0.000000" /> --Item 7 color <NumberVar name="Organizer1it7Id" value="0.000000" /> --Item 7 objectID <NumberVar name="Organizer1it8Type" value="3855.000000" /> --Item 8 icon <NumberVar name="Organizer1it8Hue" value="0.000000" /> --Item 8 color <NumberVar name="Organizer1it8Id" value="0.000000" /> --Item 8 objectID <NumberVar name="Organizer1it9Type" value="3864.000000" /> --Item 9 icon <NumberVar name="Organizer1it9Hue" value="0.000000" /> --Item 9 color <NumberVar name="Organizer1it9Id" value="0.000000" /> --Item 9 objectID <NumberVar name="Organizer1it10Type" value="3874.000000" /> --Item 10 icon <NumberVar name="Organizer1it10Hue" value="0.000000" /> --Item 10 color <NumberVar name="Organizer1it10Id" value="0.000000" /> --Item 10 objectID <NumberVar name="OrganizerOrganizers_Items1" value="10.000000" /> --The number of items in Organizer 1 <NumberVar name="OrganizerOrganizers_Cont1" value="0.000000" /> --No destination container for Organizer 1
</UIVariables>
If a default container was set for this organizer (a container into which the organizer placed the gems), the final line would have a number instead of 0's.
<NumberVar name="OrganizerOrganizers_Cont1" value="1111521078.000000" /> --Destination container objectID for Organizer 1
You will find two other lines of data in NumberVar that you must account for if importing organizers into a character file.
<NumberVar name="OrganizerOrganizers" value="1.000000" /> --Total number of organizers for this character <NumberVar name="OrganizerActiveOrganizer" value="1.000000" /> --Active organizer for this character
The first of these lines is the most important. This is the total number of organizers that will be displayed in the UI. If a character has six organizers, but "OrganizerOrganizers" value="3.000000", only three organizers will be displayed. If you are importing organizers, you must manually update this line to reflect the appropriate number of organizers. The second line, the ActiveOrganizer line, sets the organizer that will be run when you click on the organizer icon, it is not critical. You can update it by the selecting the desired organizer within the game.
As the gem organizer above uses generic settings with no destination container, you can import it to any character you like. Simply copy the blockquoted text and paste it into the <UIVariables> section of a character file. Once imported, don't forget to change the "OrganizerOrganizers value= " to correspond with the number of organizers for that character.