Page 1 of 1

Need EasyUO plant type ID's

Posted: Thu Dec 21, 2017 7:38 am
by Luna
If someone could please help me out with the 3-character plant IDs?

I need the following ID's:
  • Snowdrops
  • Bulrushes
  • Pampas Grass
  • Rushes
  • Ponytail
  • Century Plant
  • Barrel Cactus
I need them for two gardening scripts

Re: Need EasyUO plant type ID's

Posted: Thu Dec 21, 2017 9:53 am
by Alamiester
are you making a script for watering, potioning plants? that would be great :D cure and posion sprinklers are way too expensive, lol.

Re: Need EasyUO plant type ID's

Posted: Thu Dec 21, 2017 12:14 pm
by Luna
Unfortunately this is not possible. EasyUO cannot interact with the plant gump directly.

Re: Need EasyUO plant type ID's

Posted: Thu Dec 21, 2017 3:39 pm
by Luna
I was wrong, with both event property and savepix this is possible. However it's so unreliable I won't give it to anyone. I use it for bulk harvesting of plants I have hundreds of seeds for. To make this lag proof this script needs a lot of hardening.

Re: Need EasyUO plant type ID's

Posted: Thu Dec 21, 2017 5:37 pm
by Alamiester
im pretty sure the plant bowls descriptions wording changes by what potions they need, and they always need one water each day. i started doing some research on the different stages of plants. i was gonna make a macro for uosteam, i already posted parts of it i finished. alas, i lost my motivation to finish it. and im not as familiar with easyuo commands to do anything that complicated with it.

Re: Need EasyUO plant type ID's

Posted: Fri Dec 22, 2017 4:50 pm
by Luna
With event property you can read the plant description and extract colour and health, but you cannot see which potions that plant needs. You would have to read the screen pixels and do a character recognition since you not only have to recognize the yellow or red pluses but also the potions that are already applied to prevent the script to add another potion.

My attempt only opens all the plant gumps in reach so you never forget one of the plants. A second script searches for plants that are neither decorative nor have the "Vibrant" in their name and alarms the gardener by opening the gump for immediate treatment which reduces mistakes to a minimum.

This is very easy like

Code: Select all

finditem ABC_DEF_GHI G_2 ; with ABC... being the plant type id's
if #FINDCNT > 0
{
  for #FINDINDEX 1 #FINDCNT
  {
    gosub check_plant_for_vibrant
    if %result = #FALSE
    {
      ...open plant gump with event macro 17...
    }
  }
}

Re: Need EasyUO plant type ID's

Posted: Fri Dec 22, 2017 7:04 pm
by Annachie

Code: Select all

;  QLI Pot with dirt, includes unsprouted seeds
;  OLI Pot with sprouted seed
;  TCF Century Plant
;  BWE Campion
;  IWE  Snowdrop
;  ICF Prickly Pear
;  BXE Pampas Grass
;  CCF Barrel Cactus
;  MWE Bullrushes
;  NWE Elephant Ears
hmm, thought I had them all in there.
The trick is to open easyUO.
Drag what item you're trying to identify, then look at the #LLIFTEDTYPE under Last Action.

Re: Need EasyUO plant type ID's

Posted: Fri Dec 22, 2017 7:09 pm
by Annachie
Alamiester wrote:im pretty sure the plant bowls descriptions wording changes by what potions they need, and they always need one water each day. i started doing some research on the different stages of plants. i was gonna make a macro for uosteam, i already posted parts of it i finished. alas, i lost my motivation to finish it. and im not as familiar with easyuo commands to do anything that complicated with it.
Steam is damn hard because I don't believe you can parse the plant status.
EasyUO can parse the status, but is crap with gumps.

In most cases though, sprinklers will remove the need for checking the status, and then you can just use easyUO to open any plant that isn't healthy if you want to double heal it. (Sprinklers will only ever apply one heal)

Re: Need EasyUO plant type ID's

Posted: Fri Dec 22, 2017 7:31 pm
by Alamiester
have you tried any of the easyuo scripts from the easyuo website? most of them are made for osi, but i saw some references that say they may work on free shards.