ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Alpha on August 22, 2010, 02:19:38 PM

Title: Question about Plant Tending...
Post by: Alpha on August 22, 2010, 02:19:38 PM
Hey I had a quick Question about plant Tending....    If my plant has a RED + next to say infestation.  I know the appropriate response is 2 Greater poison potions, but what I'm wondering is that When you click the poison potion icon and Target a G. poison bottle will only apply 1 poison or since it's a RED + will it know that it should apply 2 ??   I'm growing a small test group of plants so I can start the process of automating this but nothing I have has a RED + yet lol.
Title: Re: Question about Plant Tending...
Post by: Khameleon on August 23, 2010, 12:53:12 AM
What is Plant Tending?
Title: Re: Question about Plant Tending...
Post by: Alpha on August 23, 2010, 01:11:52 AM
Actually I had another Question.  I'm Diggin around in Cedryk's old Hort-O-Matic & Had a few questions about some of the subroutines.  Is posting the mentioned Subs & asking Questions about them here ok?  Some of his Image Algorithms use some Color Similarity stuff that I'm confused over lol..   Anyway If it's cool to ask away and post em etc.. I will do so just dind't know if it was since it's his work.
Title: Re: Question about Plant Tending...
Post by: Sulter on August 23, 2010, 03:53:03 AM
have you looked at Hort-O-Matic easyuo script have been useing it for a while and it works good.
Title: Re: Question about Plant Tending...
Post by: 12TimesOver on August 23, 2010, 05:03:17 AM
I'm Diggin around in Cedryk's old Hort-O-Matic...

have you looked at Hort-O-Matic easyuo script have been useing it for a while and it works good.

Am I missing something here?

 :P
Title: Re: Question about Plant Tending...
Post by: Alpha on August 23, 2010, 09:52:08 AM
Quote
have you looked at Hort-O-Matic easyuo script have been useing it for a while and it works good.

Well... that's a matter of opinion then.  It's an AMAZING script no doubt, but you have to pull out a bunch of tweaks in a 28 page thread to get it working currently.  It also still Takes over your mouse cursor & wasn't setup to use stacked potions last time I had it working @ the release of SA.  It simply Needs a full rewrite to include the NEW changes.. I mean it was released in what 2003?  Anyway, on a side note apparently Kal released a bunch of Callable Plant tending Files, which I'll have to look at too.
Title: Re: Question about Plant Tending...
Post by: Alpha on August 23, 2010, 11:03:09 AM
Quote
That sounds kinda familiar but I can not figure out why?  
lol All they Veiled references to the SUO-Hort ??   (or am I waaaay off lol ?)  

Ahh Well... nothing like slow painful death from boredom that plant tending will cause, to convince me to attempt to make the process easier on myself lol...  

Anyway I did have a question if Anyone feels up to it..

I'm confused over the RGB color channels that are used in the explantion of #pixcol on the EUO wilki page...Anyone care to take a shot at explaining it somewhat?    example...
Quote
    Holds the color of the last pixel saved using savePix. The colors returned by #pixCol are in the format $BBGGRR (where BB = hex value of blue color channel, GG = hex value of green color channel, RR = hex value of red channel). All colors rendered on the screen are created from these 3 primary colors. Each color ranges from 0 (darkest) to 255 (brightest) -- or $00 to $FF.
http://wiki.easyuo.com/index.php/PixCol (http://wiki.easyuo.com/index.php/PixCol)

I just really don't understand what the TEST code on that link is accomplishing I guess..
Code: [Select]

sub TestColor
; pass   %1   Color to Test
;   %2   Color to Match
;   %3   Channel Similarity
  set %_ct %1
  set %_cm %2
  set %_cs %3
  gosub ColorChannels %_cm
  set %_rm %r
  set %_bm %b
  set %_gm %g
  gosub ColorChannels %_ct
  set %_rd %r - %_rm abs
  set %_bd %b - %_bm abs
  set %_gd %g - %_gm abs
  set %_result ( %_rd <= %_cs ) && ( %_bd <= %_cs ) && ( %_gd <= %_cs )
return %_result


Title: Re: Question about Plant Tending...
Post by: _C2_ on August 23, 2010, 02:44:13 PM
Let's play nice here.  Alpha please continue your questions.  Sometimes folks have fun joking about elite scripts or even the possibility of their existence regarless of if they exist or not.  I cannot confirm its existence either way.  It is kind of like area 51 or whatever that alien place is.  Is it there or not?  Some think so.

In all seriousness though, the tone in this thread needs to change or it is getting locked and warnings/bannings are going out.  Anyone that is serious about helping please do so.
Title: Re: Question about Plant Tending...
Post by: Alpha on August 23, 2010, 03:13:39 PM
No problem C2.... off to work atm..  But I'm sure I can think of Question reguarding Cedryk's Hort-O-Matic lol..   That thing impresses me with the OCR and scanned in character patterns etc heh.
Title: Re: Question about Plant Tending...
Post by: Alpha on August 24, 2010, 09:12:17 AM
Ok another Question....   If a plant is Wilted is the correct response to apply 2 Heal pots or 1???  If I apply 2 will that increase the plants vitality back to Vibrant @ the next maintenance or does it only increase it by one stage (Back to Healthy?)
Title: Re: Question about Plant Tending...
Post by: Masscre on August 24, 2010, 09:54:41 AM
Place 2 heal pots.  It will use what ever you place into the flower pot at the next maintenace cycle.
Title: Re: Question about Plant Tending...
Post by: Alpha on August 25, 2010, 11:44:19 AM
Does Anyone know the Percentage chance for an Extra Growth check to be made that using Fertile Dirt gives you?   If I had to guess I'd say somewhere near 10% but wondering if Anyone knows for sure...
Title: Re: Question about Plant Tending...
Post by: Masscre on August 25, 2010, 02:23:16 PM
looked in 5 different places and each mentioned they had a chance to grow two cycles using fertile dirt in a 24 hour period but  did not mention what teh percentage was. Also you can buy fertile dirt in ter mur for 2 gold each so kind cheap to cut your growth time down.
Title: Re: Question about Plant Tending...
Post by: Khameleon on August 25, 2010, 02:56:47 PM
huh.. I did not know that you could buy fertile dirt.. I might try that on my next set
Title: Re: Question about Plant Tending...
Post by: NObama on August 25, 2010, 09:36:09 PM
huh.. I did not know that you could buy fertile dirt.. I might try that on my next set


Fertile dirt is more trouble than it's worth.  you will frequently get multiple growth checks...problem is, if you get two checks in the same day that are 'add a potion', you end up with wilty plants.  Wilty plants are expensive and time consuming to revive.  Not worth it.  Trust me.
Title: Re: Question about Plant Tending...
Post by: Alpha on August 25, 2010, 10:55:51 PM
Nobama Said:

Quote
Fertile dirt is more trouble than it's worth.  you will frequently get multiple growth checks...problem is, if you get two checks in the same day that are 'add a potion', you end up with wilty plants.  Wilty plants are expensive and time consuming to revive.  Not worth it.  Trust me.

Hmm.. Actually can you be more specific in your explanation??  I'm not actually positive what determines the level of change in the Health status of a plant.  For example if a plant is Vibrant and you have one "NEED" (water / cure / poison) will the health level of the plant change to healthy at the next growth check (assuming you don't apply the right potion b4 then) ?

So.. if the above is close to true then I assume that if your plant receives a growth checks and it has multiple "NEEDS" then it's possible for the plant to drop from Vibrant to Wilted??

I guess I just need to clarify What Bad things result in Changes of Health status & how much they change it.
Title: Re: Question about Plant Tending...
Post by: Khameleon on August 26, 2010, 12:53:54 AM
oh.. that sounds like bad codding on UO's Side... what a joke...
Title: Re: Question about Plant Tending...
Post by: NObama on August 26, 2010, 05:33:41 AM
Nobama Said:

Quote
Fertile dirt is more trouble than it's worth.  you will frequently get multiple growth checks...problem is, if you get two checks in the same day that are 'add a potion', you end up with wilty plants.  Wilty plants are expensive and time consuming to revive.  Not worth it.  Trust me.

Hmm.. Actually can you be more specific in your explanation??  I'm not actually positive what determines the level of change in the Health status of a plant.  For example if a plant is Vibrant and you have one "NEED" (water / cure / poison) will the health level of the plant change to healthy at the next growth check (assuming you don't apply the right potion b4 then) ?

So.. if the above is close to true then I assume that if your plant receives a growth checks and it has multiple "NEEDS" then it's possible for the plant to drop from Vibrant to Wilted??

I guess I just need to clarify What Bad things result in Changes of Health status & how much they change it.


- Fertile Dirt gives up to two growth checks
- During a growth check, a plant can have a RED PLUS, or an extra bad infestation of something
- If you get two growth checks simultaneously with RED PLUSes, it's like you didn't tend the plant for two days while it was infested
- Plant will be wilty, or at least at the low end of Healthy.

I found it annoying, and figured it wasn't worth the hassle and expense of the extra pots.
Title: Re: Question about Plant Tending...
Post by: Alpha on September 05, 2010, 09:39:59 AM
Ok I have another question....


I know you can have your plants in a characters backpack and you will receive a growth check when you log in if enough time has passed...  What I wasn't sure about was if the plants could be in a Sub container in your backpack and still receive the growth check?  Anyone know?
Title: Re: Question about Plant Tending...
Post by: Oracle on September 05, 2010, 10:33:30 AM
There have been a couple of changes to Plant Tending in the last couple of publishes.  You may still be able to put plants in a sub container and still get growth checks, but personally I have not tried that because Hort-O-Matic does not like to tend plants in sub containers.  Easy to find out!  Put a handful of plants in a sub container and try it for a few days.

Title: Re: Question about Plant Tending...
Post by: Sulter on September 07, 2010, 03:18:24 PM
I have used the hort-O-matic2 for a while now and I grow plants on my Players pouch, I put 20 bowls in a pouch with seed placed in them, I have 4 to 6 bags of pouchs in my backpack and the script works fine.
Title: Re: Question about Plant Tending...
Post by: Khameleon on September 08, 2010, 01:45:42 AM
I don't think Bag tending is allowed.. the only way this works is if the bag is on your character.. if it is locked down in your house they plants go into a standby mode, meaning they will not grow.
Title: Re: Question about Plant Tending...
Post by: Oracle on September 08, 2010, 11:30:10 AM
I have used the hort-O-matic2 for a while now and I grow plants on my Players pouch, I put 20 bowls in a pouch with seed placed in them, I have 4 to 6 bags of pouchs in my backpack and the script works fine.

Why waste the space to put more pouches in your backpack?  On characters I seldom use, I fill their backpack with 120 bowls.  Hort-O-Matic will take care of each and every bowl.  It doesn't need to look pretty or be organized.   :)

Title: Re: Question about Plant Tending...
Post by: Khameleon on September 08, 2010, 02:19:48 PM
or you can do what the rest of us do.. put 125 plants into a wooden crate, put it on the ground then smash it. run a quick script to lock down all your plants and viola... you have 125 plants sitting on one tile.....
Title: Re: Question about Plant Tending...
Post by: Oracle on September 08, 2010, 04:30:14 PM
or you can do what the rest of us do.. put 125 plants into a wooden crate, put it on the ground then smash it. run a quick script to lock down all your plants and viola... you have 125 plants sitting on one tile.....

Well, for those of us who are Junk Collectors and/or badly organized, then the backpack is best, as it doesn't take any lock down space...!

Title: Re: Question about Plant Tending...
Post by: Adenocard on September 09, 2010, 12:12:18 PM
Or be well thought out like myself and have a house made just for plants  ;D