Has anyone ever managed to put together an EC macro to harvest resources and seeds from plants? It has to be the most click-fest activity I do.
Create Macros with a script command for the following:
Harvest Resources
script GumpsParsing.PressButton(22222,6)
Harvest Seeds
script GumpsParsing.PressButton(22222,7)
Make sure you have the Reproduction/Harvest Gump open, then press the appropriate macro to harvest. You could probably extend the macro with Delays and copy the Command Script multiple times to harvest all resources.
2. I have been through GumpsParsing a bunch of times and totally missed .PressButton. Just did a CRT-F and it pops right up. How did I miss that...... My UO life is now approximately 1 gazillion times easier. Thanks!
3. Just from looking at the pics in the link Petra posted I thought the indices would be 2 and 3. Man I was way off.
Im not sure if you use default EC or if you use Pinco's UI, but I asked and convinced him to add actions in his version for this almost a year ago. I got him to add 3 actions, gather seeds, gather resources and turn plant decorative this one requires to press enter after you use it.
The gather ones harvest everything in one go after you open the plant gump, so basically all you have to do is open the plant gump and press 3 hotkeys, then enter = plant all done, then open the next plant gump and repeat, etc.
Im not sure if you use default EC or if you use Pinco's UI, but I asked and convinced him to add actions in his version for this almost a year ago. I got him to add 3 actions, gather seeds, gather resources and turn plant decorative this one requires to press enter after you use it.
The gather ones harvest everything in one go after you open the plant gump, so basically all you have to do is open the plant gump and press 3 hotkeys, then enter = plant all done, then open the next plant gump and repeat, etc.
Wish I had known about the scripting earlier. I had to get a new mouse last month because the mouse button was going bad because of all the clicking to gather seeds and resources.
A quick question on how to determine the active elements in a window. How do you find out where to tell it to click. The 22222,6 for example.
In the Default UI folder, GGManager.lua has a list of the gumps (22222 is the plant production gump for instance). Well, a list of the gumps when the default folder was built anyway. I would suspect Khyro & co. have a more up to date list.
The instructions for retrieving a table with all components of the gump are in the functions below the gump list.
If you're not into lua and you're just looking to ease your gameplay a bit, you can assign different parameters to the "Command" action scripts and see which buttons get pushed.
Example: "script GumpsParsing.PressButton(22222, 6)" will access the plant production gump (22222) and push the button at index position (6).
"script GumpsParsing.PressButton(x, 4)" would push the button at index position 4 on whatever gump you're accessing (x).
Plant window done, Tending plants just got easier for me. Have a macro that will empty seeds and resources and the go back to the abandon plot. I will try to stream line this. Thanks for the quick information.
hi Dot_Warner where is it in pinco's whats it called? I am not very familiar with EC I usually use CC but on occasion I use EC and this would be another reason that I would use it ty
The entire point of this thread is that putting the two "Command" actions Khyro posted above into an EC macro will let the default EC harvest plants without the button clicking.
So if you want to use Pinco's you can, but the default EC can do it as well.
hi Dot_Warner where is it in pinco's whats it called? I am not very familiar with EC I usually use CC but on occasion I use EC and this would be another reason that I would use it ty
In the Pinco's action menu, go to Items/Abilities and you will find "Gather Seeds" and "Gather Resources." Just have a plant gump open and then use the action and wait while it strips the plant.
Alright, I managed to find the codes in GGManager.Lua as hinted by Arroth Thaiel, and tested the following. Basically I double click a plot, then a single Macro with a series of commands, open the resource gump, harvest (8 + 8 times), return to main gump, open the abandon plot and press yes.
These are all done in one button. Work hard for 10 mins, easy for life.
If you are going to auto abandon the plot I suggest increasing the resource and seed gathering to 10 incase you get the annoying "You must wait to perform another action" message.
Comments
which means 'last object' merely re-opens the gump.
https://uo.com/wiki/ultima-online-wiki/gameplay/crafting/plant-growing/
I hope that someone cleverer than me has devised some way, possible using the 'command' action, to achieve this.
Can you do what you are looking to do with Pinco's?
I know Pinco's is huge...but it if already works....
Harvest Resources
Harvest Seeds
Make sure you have the Reproduction/Harvest Gump open, then press the appropriate macro to harvest.
You could probably extend the macro with Delays and copy the Command Script multiple times to harvest all resources.
Home of the Pet Intensity Calculator, Pet Planner, Trainable Animal Bestiary, and other Tools, Guides, and Information.
1. Nice.
2. I have been through GumpsParsing a bunch of times and totally missed .PressButton. Just did a CRT-F and it pops right up. How did I miss that...... My UO life is now approximately 1 gazillion times easier. Thanks!
3. Just from looking at the pics in the link Petra posted I thought the indices would be 2 and 3. Man I was way off.
4. I don't envy Bleak. At all.
The gather ones harvest everything in one go after you open the plant gump, so basically all you have to do is open the plant gump and press 3 hotkeys, then enter = plant all done, then open the next plant gump and repeat, etc.
I do not know about other users of the Pinco UI but, at least to me, when I use it, my Latency worsens significantly and, thus, I get lagged.
So, I cannot use it rin combat, but only when I do non-combat type of gameplay.
Does anyone else have issue with increased Latency and Lag when using the Pinco UI for the Enhanced Client ?
@Homer I use the default UI.
ESRB warning: Some Blood. LOTS of Alcohol. Some Violence. LOTS of Bugs
The instructions for retrieving a table with all components of the gump are in the functions below the gump list.
If you're not into lua and you're just looking to ease your gameplay a bit, you can assign different parameters to the "Command" action scripts and see which buttons get pushed.
Example:
"script GumpsParsing.PressButton(22222, 6)" will access the plant production gump (22222) and push the button at index position (6).
"script GumpsParsing.PressButton(x, 4)" would push the button at index position 4 on whatever gump you're accessing (x).
Please make the Grizzled Mare a 5 slot mount, it's incredibly rare and deserves it. Some of us have been waiting a long time for this simple addition.
So if you want to use Pinco's you can, but the default EC can do it as well.
Any chance to get fruit off fruit trees and rose of trinsic? lots of clicking involved in that and they have no gump to open.
Last Object
Use Targeted Object
Click on the tree or rose once. Then run the macro. You may need to add a delay after Use Targeted Object.
Sorry did not see this earlier, the macro was meant for "petals" for Trinsic Rose.
I read the title quickly and jumped in assuming it was referring to the petals for Trinsic Rose, didn't read the content of OP. My bad.
ESRB warning: Some Blood. LOTS of Alcohol. Some Violence. LOTS of Bugs
there is also an icon for "Turn Decorative"
These are all done in one button. Work hard for 10 mins, easy for life.
script GumpsParsing.PressButton(29842,1)
Delay 0.5
Manually insert the following 8 times:
script GumpsParsing.PressButton(22222,6)
Delay 0.5
script GumpsParsing.PressButton(22222,7)
Delay 0.5
Resource Gump>Return to Main Gump:
script GumpsParsing.PressButton(22222,1)
Delay 0.5
Main Gump>Activate Abandon Plot
script GumpsParsing.PressButton(29842,12)
Delay 0.5
script GumpsParsing.PressButton(29582,3)
Delay 0.5
ESRB warning: Some Blood. LOTS of Alcohol. Some Violence. LOTS of Bugs