ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Resource Farming => Topic started by: Neo on August 18, 2011, 12:55:24 PM

Title: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on August 18, 2011, 12:55:24 PM
Ok, so I decided to start plantgrowing again. However, the scripts I used weren't working so great for me, and this has been in my plans for some time now... So, here it is:

Code: [Select]
;=======================================================================
; Script Name: neo's Horticulturist
; Author: neo
; Version: 1.2
; Client Tested With: 7.0.16.3
; EUO version tested with: 1.50 199
; Shard OSI / FS: OSI
; Revision Date: 09/22/2011
; Public Release: 08/18/2011
; Purpose: Will tend to plants and gather resources from them. Also has a tools menu
;          to help out with other functions related to plant growing.
;--------------------------------------------------------------------------------
; Url:     http://www.scriptuo.com/index.php?topic=8268.0
;================================================================================
; Thank you goes to:
; TM for his Journal Handle subs which I used here
; Cedryk for writing the tutorial on easyuo on how to test pixels.
;----------------------------------------------------------------------------------
; Version     1.2   - Added wait time. Thank you dxrom for this info. Tell me if it
;                     works properly for you now! :)
;                   - The check boxes for gathering seeds and resources were switched.
;                     Fixed that now.
;                   - A few minor changes (I think)
;----------------------------------------------------------------------------------
; Version     1.1   - Changed wait time after each dirt fill (thx Cerveza)
;----------------------------------------------------------------------------------
; Version     1.0   - Script has gone turbo. :) Everything is (A LOT) faster now
;                   - Fixed 'fill bowl with dirt' sub
;                   - In the mass growing section, if the box you're transfering
;                     plants to gets full, it will automatically select the next box
;                   - Added tool to just gather resources/seeds without tending
;                   - Added tool to unlock and trash all plants. For now it will
;                     trash EVERY plant you have, USE WITH CAUTION
;                   - Added pause button
;                   - Fixed resources issue
;                   - Fixed 'Plant Security' counter issue
;                   - Several minor fixes
;------------------------------------------------------------------------------------
; Version     0.5.1 - Fixed issue that would cause plant that's not really a plant
;                     to break the script.
;-------------------------------------------------------------------------------------
; Version     0.5.0 - Added mass production section to the tools menu. A tutorial
;                     on how to do this and explanation on what this means can be found
;                     here: http://www.scriptuo.com/index.php?topic=8300.0
;------------------------------------------------------------------------------------
; Version     0.4.2 - Fixed set plant security sub. Also changed the click position
;                     slightly to avoid clicking your menu bar, if you use yours at the
;                     top of the screen.
;-----------------------------------------------------------------------------------
; Version     0.4.1 - Fixed water bowls and plant seeds sub. Thanks again MeWonUo. :)
;------------------------------------------------------------------------------------
; Version     0.4.0 - Fixed the tools menu. Thank you MeWonUo for telling me about this.
;                   - Tending sub should be FULLY functional right now. I rewrote how
;                     the gump checks work, there should be no more skipping plants of
;                     any kind now.
;
;                     I'm looking for tips on how to update this any further... If you
;                     have any ideas, please tell me about them, and I'll try and update
;                     the script with it and you will receive credit for it. Thank you! :)
;----------------------------------------------------------------------------------------
; Version     0.3.0 - Fixed issue that was only tending to 1 condition per plant.
;                   - I rewrote the check water sub, and most of the tending code too.
;                     It should be stable enough to give your plants a go.
;                   - Fixed gumpwait sub (I know)
;                   - Added "C2's bowl filler sub" to the tools section
;                   - Added "C2's lockdown all plants" sub to the tools section
;                   Thank you C2 for letting me use your stuff. I appreciate it! :)
;------------------------------------------------------------------------------------
; Version     0.2.1 Added "focus to gump" security to Water Bowl tool.
;                   This may be needed for the tend part as well, I'll test it out
;                   as soon as I get my first grow check.
;----------------------------------------------------------------------------------
; Version     0.2 Features:
;             Added the following "Tools":
;                 - Water bowls and plant seeds in them. Will use OCR for this,
;                 and grab seeds from chosen secure.
;                 - Move bowls to breakable box. It will only move bowls that have
;                   seeds planted in them, so if any bowl was missed during the
;                   'plant seeds' session, they will keep in your backpack.
;                 - Set plant security. I used my old Plant Security script and modified
;                   it a little and added it here. Will set security to plants locked
;                   down around you to your given choice.
;              Also some few minor changes. I'll get to test this with 1500 plants after
;              growth check, and will make adjustments I see fit for v0.3
;-------------------------------------------------------------------------------------------
;             Remember: For OCR things, it's recommended you don't wave your mouse around,
;                       because it will mess up the gump checks, and things can go bad.
;-------------------------------------------------------------------------------------------
; Version     0.1 Features:
;                 - Will water and potion plants, according to the need. Uses
;                   OCR to check the needs of the plant.
;                 - Will gather seeds and resources from plants. I use no OCR for this,
;                   just journal scanning, so I recommend you leaving this for the last
;                   day. It will save you plenty of time. It will recognize and put
;                   away seeds, seeds of renewal, orange petals, green thorns and red
;                   leaves. So any other resources won't be moved to the secure and
;                   just stay in your bag. (I currently don't have the types of those
;                   "peculiar" resources.
;                 - Won't move mouse! :)
;-------------------------------------------------------------------------------------
;                 Things that will be added soon!
;                 - Tools menu. This will have several tool scripts related to plantgrowing.
;                 - Pause option.
;                 - Save settings (secure containers and such)
;                 - Cooler menu! I'll ask Guadah for some pointers! :)
;                 - Suggestions? Any nice suggestions users may have.
;--------------------------------------------------------------------------------------
; Instructions:   - You must have a secure container for you potions, resources and seeds.
;                 Potions must be inside your potion container, and the container must be
;                 within your reach.
;                 - You must have a pitcher of water INSIDE your backpack, preferably an
;                 endless decanter of water.
;                 - You must have a Water Trough near you!
;                 - Plants must be locked down and within 2 tiles of you.
;                 Use the setup menu to set your stuff, and hit Start. The script will
;                 (should) do the rest.
;-----------------------------------------------------------------------------------------
Special thanks to 12timesOver. Version 1.0 uses 12x's Weight Check sub!
Thank you for sharing that man! :)

I wrote the OCR stuff, using Cedryk's tutorial over at easyuo. The code I wrote is pretty simple, but efficient as far as I'm concerned... However, OCR is used for tending only, as of now. Resource gathering is done with journal scanning!

If this works for you, or not, please let me know! I'll definitely keep upgrading this constantly, until it's nice and pretty! :)

Neo

3.1.0 stats pic
(http://img828.imageshack.us/img828/1150/statshy.jpg)

WARNING: YOU SHOULDN'T HAVE ANY POTIONS IN YOUR BACKPACK, ONLY IN YOUR POTION SECURE. The water pitcher, on the other hand, should always be inside your backpack!

You can find a tutorial on how to use the mass plantgrowing feature of version 0.5 here:
http://www.scriptuo.com/index.php?topic=8300.0
(http://img12.imageshack.us/img12/3761/95476807.jpg)

Hope you find this useful!
:)

I found an issue that sometimes there are plants that aren't plants ( I know ) and this would cause the script to break... This should be fixed in version 0.5.1!
Title: Re: frneo's Horticulturist v0.1 out 08/18
Post by: MeWonUo on August 18, 2011, 01:07:45 PM
Sheesh Neo.. Talk about being on a serious roll here.  I'll give it a swing with a few plants this afternoon.
Title: Re: frneo's Horticulturist v0.1 out 08/18
Post by: Neo on August 18, 2011, 04:31:02 PM
Sheesh Neo.. Talk about being on a serious roll here.  I'll give it a swing with a few plants this afternoon.
Great... Tell me how it goes after! :)

neo
Title: Re: frneo's Horticulturist v0.2 out 08/18
Post by: Neo on August 18, 2011, 07:10:02 PM
V 0.2 out... Added a few tools!

V 0.2.1 Added security chk for correct gump
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: MeWonUo on August 18, 2011, 11:58:36 PM
Water Bowls and plant Seeds = Working perfectly
Move Bowls = Works great
Plant Security = Not working.  Mouse just flashes like it is trying to click something, but nothing happens.

Ran the tender with 50 plants.  Other than a little lag spike that I had, and the fact that I forgot about the OCR, it worked quite well so far.

EDIT:  I see what it's doing with the plant security.  I had your menu covering my map so I wasn't able to see that the script was clicking the map button on the top of the page over and over and over.  I moved the bar and it works fine.  Might pick a different contpos to open that first gump.
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 19, 2011, 03:07:35 AM
Water Bowls and plant Seeds = Working perfectly
Move Bowls = Works great
Plant Security = Not working.  Mouse just flashes like it is trying to click something, but nothing happens.

Ran the tender with 50 plants.  Other than a little lag spike that I had, and the fact that I forgot about the OCR, it worked quite well so far.

EDIT:  I see what it's doing with the plant security.  I had your menu covering my map so I wasn't able to see that the script was clicking the map button on the top of the page over and over and over.  I moved the bar and it works fine.  Might pick a different contpos to open that first gump.
Yeah, I forgot to mention it:

Plants security can't have that menu bar on top... I'll try and find a way through this.... Just contpos won't work for this kind of gump...


Thanks for the feedback, I appreciate it...

neo

edit: I forgot to ask, which version? 0.2.1 ?

cheers
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: MeWonUo on August 19, 2011, 11:23:30 AM
Yes, using 0.2.1.  Just waiting for another growth cycle so I can give it another run.
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 19, 2011, 11:57:43 AM
Yes, using 0.2.1.  Just waiting for another growth cycle so I can give it another run.
I missed last night's growth check :( I'll only get one tonight I guess...

Thanks for giving this a go!

Neo
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 20, 2011, 06:21:53 AM
Ok, just got my first plant batch ready to try this out... I will give it a go, and fix the possible issues, and also add some new stuff, and later today, I'll upload v 0.3...

neo
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: camotbik on August 20, 2011, 08:23:16 AM
My friend is a plant addict, she has a house with 3 or 4 floors and all stuffed with plants. Can't wait to tell her about this one and hoping soon you will release the version with more manageable plants.
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 20, 2011, 08:42:57 AM
My friend is a plant addict, she has a house with 3 or 4 floors and all stuffed with plants. Can't wait to tell her about this one and hoping soon you will release the version with more manageable plants.
Nice.

I didn't quite get what you mean by "more manageable plants". Can you explain better to me?

Thanks.

Neo
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: camotbik on August 20, 2011, 08:51:51 AM
Well if i get this right, now you can only manage those plants which are in 2 tiles from you. Just an idea, but if you would preform a search from 1 tile to 16 and go to that found plant to do whatever you are doing with it( i have never managed any plants so i don't really know what you do there with them). e.g.
well it's just a thought..
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 20, 2011, 10:14:01 AM
Well if i get this right, now you can only manage those plants which are in 2 tiles from you. Just an idea, but if you would preform a search from 1 tile to 16 and go to that found plant to do whatever you are doing with it( i have never managed any plants so i don't really know what you do there with them). e.g.
well it's just a thought..
Well, the way this setup works, you need to be close to your secure container to tend to plants...

However, you can set up as many plants as you'd like in 1 or 2 tiles away from you... There's a tutorial on how to do this in the tutorial session...

Neo
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: MeWonUo on August 20, 2011, 10:34:35 AM
Hey Neo,

Finally had another growth on the plants I'm testing with, so I ran this again. 

Today, I noticed something.  Script is only performing one action per plant.  If a plant needs watered, greater poison, and greater heal...it is only applying the poison and then moving on to the next one.  Second time I ran through it would apply the heal.  Third time run it watered. 

Thinking ya just need to cycle back through your plant check after applying something to a plant to make sure there isn't anything else that it needs.

MeWon
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 20, 2011, 11:18:04 AM
Hey Neo,

Finally had another growth on the plants I'm testing with, so I ran this again. 

Today, I noticed something.  Script is only performing one action per plant.  If a plant needs watered, greater poison, and greater heal...it is only applying the poison and then moving on to the next one.  Second time I ran through it would apply the heal.  Third time run it watered. 

Thinking ya just need to cycle back through your plant check after applying something to a plant to make sure there isn't anything else that it needs.

MeWon
Yes, I've noticed this to... I've already fixed this for v 0.3... Now I just need to fix an issue with it stopping to work when targetting a potion inside the potion container... In a few I'll post up v0.3 with some fixes and new stuff :)

Thx for the feedback MeWon
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: MeWonUo on August 20, 2011, 11:46:39 AM
Yes, I've noticed this to... I've already fixed this for v 0.3... Now I just need to fix an issue with it stopping to work when targetting a potion inside the potion container... In a few I'll post up v0.3 with some fixes and new stuff :)

Thx for the feedback MeWon

Great!  Well, great except for the fact that I'll have to wait for my plants to progress another day.

I haven't had it stop on me before by the way. :)
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Neo on August 20, 2011, 01:01:05 PM
Yes, I've noticed this to... I've already fixed this for v 0.3... Now I just need to fix an issue with it stopping to work when targetting a potion inside the potion container... In a few I'll post up v0.3 with some fixes and new stuff :)

Thx for the feedback MeWon

Great!  Well, great except for the fact that I'll have to wait for my plants to progress another day.

I haven't had it stop on me before by the way. :)
It is a lag issue... Good thing about me having high ping is that I can test for lag in all my scripts first hand! :)
Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: MeWonUo on August 20, 2011, 01:28:06 PM
It is a lag issue... Good thing about me having high ping is that I can test for lag in all my scripts first hand! :)

Heh!  I have horrible lag spikes from where I live.  I'm surprised I didn't have it lock up on me then. :D
Title: Re: frneo's Horticulturist v0.3.0 out 08/20
Post by: Neo on August 20, 2011, 03:26:50 PM
Version 0.3.0 out!

Added C2's bowl filler and plant lockdown subs.

Thank you very much C2 for letting me use them...

Fixed some issues, should be working well enough now.

And it's going really fast for me...

I'm going to use this now to tend to my plants, and post the stats once it's done.

If you find any issues, please tell me about them...

Cheers

neo
Title: Re: frneo's Horticulturist v0.3.1 out 08/20
Post by: Neo on August 20, 2011, 04:53:27 PM
Gave v0.3.0 a first run... A little over 1 hour for 1480 plants...

Things I noticed:

- About half a dozen plants didn't get watered. I added a double check on v 0.3.1 while I find what's causing this to fix it.
- If the plant is wilted, and full health check is enabled, I noticed it clicks more than 2 times the Heal Potion button, not a real issue, since it won't use up more potions, but i still need to figure out what's causing this though. (I think I know already)

Anyway, v 0.3.1 should be able to tend to your plants with no issues, other than the second one I listed here. If you give this a go, please tell me how it went...

I should be able to post an update tomorrow for this, with some new features...

Cheers

neo
Title: Re: frneo's Horticulturist v0.3.1 out 08/20
Post by: MeWonUo on August 21, 2011, 01:17:56 PM
Plant tending is looking extremely solid.  Just ran 100 plants in about 6 minutes and didn't miss a thing.

Clicked the tools button to try out the dirt to bowls and lockdown additions... Holy flashing menu batman!  Menu just flashes uncontrollably for me and can't get any of the functions. 
Title: Re: frneo's Horticulturist v0.3.1 out 08/20
Post by: Neo on August 21, 2011, 01:21:52 PM
Plant tending is looking extremely solid.  Just ran 100 plants in about 6 minutes and didn't miss a thing.

Clicked the tools button to try out the dirt to bowls and lockdown additions... Holy flashing menu batman!  Menu just flashes uncontrollably for me and can't get any of the functions. 
Oh, I guess I got something wrong when I added the 2 new subs... I didn't have enough time to try it out....
I have to go out for a sec, as soon as I get back I'll get to fixing it...

Thx for the info MeWon...

neo
Title: Re: frneo's Horticulturist v0.4.0 out 08/21
Post by: Neo on August 21, 2011, 03:16:05 PM
Added version 0.4 guys ! :)

Code: [Select]
;----------------------------------------------------------------------------------
; Version     0.4.0 - Fixed the tools menu. Thank you MeWonUo for telling me about this.
;                   - Tending sub should be FULLY functional right now. I rewrote how
;                     the gump checks work, there should be no more skipping plants of
;                     any kind now.
;
;                     I'm looking for tips on how to update this any further... If you
;                     have any ideas, please tell me about them, and I'll try and update
;                     the script with it and you will receive credit for it. Thank you! :)
;----------------------------------------------------------------------------------------
Title: Re: frneo's Horticulturist v0.4.0 out 08/21
Post by: MeWonUo on August 21, 2011, 04:33:57 PM
Hola again.. :D

Tools menu is working fine now, thanks.  Filled 100 bowls with dirt with no problems at all.  But now there seems to be a hangup with watering the bowls and planting seeds.  When you click "go" the script is opening the first bowl to water it, and just stops there.

Will continue testing...
Title: Re: frneo's Horticulturist v0.4.0 out 08/21
Post by: Neo on August 21, 2011, 06:40:09 PM
Hola again.. :D

Tools menu is working fine now, thanks.  Filled 100 bowls with dirt with no problems at all.  But now there seems to be a hangup with watering the bowls and planting seeds.  When you click "go" the script is opening the first bowl to water it, and just stops there.

Will continue testing...
Why, thanks for this info... I think that I might have broken it once I fixed the tending part... It's all connected! :D

I'll look into this right now!
Title: Re: frneo's Horticulturist v0.4.0 out 08/21
Post by: MeWonUo on August 21, 2011, 06:45:31 PM

Why, thanks for this info... I think that I might have broken it once I fixed the tending part... It's all connected! :D

I'll look into this right now!

Well....Quit breaking stuff..  :)
Title: Re: frneo's Horticulturist v0.4.1 out 08/21
Post by: Neo on August 21, 2011, 07:24:36 PM
Alright guys, fixed the water bowl sub... :) Thanks MeWon!

I'm working on v0.5 already, hopefully I'll have it ready soon with some new stuff! :)

neo
Title: Re: frneo's Horticulturist v0.4.1 out 08/21
Post by: MeWonUo on August 21, 2011, 07:56:04 PM
Alright tested again.  Dirt+Bowl+Seeds = Working great now.  (Side note: Any chance of getting an option to use fertile dirt?)

Secondly, I just went ahead and tried all of the tools to see how they were running.  I think something may have happened to your change security tool.  It was working, but beyond slow.  Was taking around 15 seconds per plant.  Nothing like when I tried it the other day.

And a definite Hi-5 to C2.. That lockdown sub is on both speed and steroids I think.  Insanely fast.. heh
Title: Re: frneo's Horticulturist v0.4.1 out 08/21
Post by: Neo on August 21, 2011, 08:11:38 PM
Alright tested again.  Dirt+Bowl+Seeds = Working great now.  (Side note: Any chance of getting an option to use fertile dirt?)

Secondly, I just went ahead and tried all of the tools to see how they were running.  I think something may have happened to your change security tool.  It was working, but beyond slow.  Was taking around 15 seconds per plant.  Nothing like when I tried it the other day.

And a definite Hi-5 to C2.. That lockdown sub is on both speed and steroids I think.  Insanely fast.. heh
Fixed. And I also changed the click position slightly so that it can avoid clicking the menu bar on top, if it's in it's default position! :)

Thx again mewon

Everything should be up and running as of version 0.4.2, so I removed the previous versions from the first post!

Cheers!
Title: Re: frneo's Horticulturist v0.4.2 out 08/21
Post by: MeWonUo on August 21, 2011, 08:50:06 PM
Great, Sir!  I'll go give it a test right...about....now..

Title: Re: frneo's Horticulturist v0.5.0 out 08/22
Post by: Neo on August 21, 2011, 10:23:12 PM
Added v0.5, and also a tutorial on how to grow massive amounts of plants on 1 tile using it, in the tutorials section.

V0.5.1 fixes weird bug!
Title: Re: frneo's Horticulturist v0.5.1 out 08/22
Post by: MeWonUo on August 22, 2011, 01:14:30 PM
Looks like everything is working flawlessly now Neo.

Only one HUGE problem..  You typo'd Greater Strength on your tending menu!  :P

Oh..and a +1 for your efforts on this tool. :)
Title: Re: frneo's Horticulturist v0.5.1 out 08/22
Post by: Neo on August 23, 2011, 02:50:20 PM
Looks like everything is working flawlessly now Neo.

Only one HUGE problem..  You typo'd Greater Strength on your tending menu!  :P

Oh..and a +1 for your efforts on this tool. :)

Lol, I've actually typo'd it wrong all around the script... I'll have it fixed in v0.6, which I'll have ready later tonight hopefully! :)
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: Neo on August 28, 2011, 04:17:22 PM
Version 0.5.2 out. Fixes the resources container issue.
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: D on September 01, 2011, 03:41:14 AM
What are you guys doing when all of your plants have finished producing seeds? whats the best way to unlock them all so they can decay? or move them to a container?

Cheers
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: Neo on September 01, 2011, 06:22:52 AM
What are you guys doing when all of your plants have finished producing seeds? whats the best way to unlock them all so they can decay? or move them to a container?

Cheers


I was waiting for my plants to finish producing so I could write that part into my Horti...

I also need to study a bit the possibilities on retiring them...

In the next couple of days I'll have a version out to do all that...
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: D on September 01, 2011, 08:48:36 AM
Thx Frneo,

I dont mean to push you on it, i was just interested to see what you were doing with them lol, i look forward to the next version :)
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: Cerveza on September 05, 2011, 12:50:30 PM
Fill bowls with dirt is having some issues for me.

The first run through it works great, then each time reloading with bowls and getting more dirt does the same thing. It does one, then cycles through all the bowls without adding dirt to any of them. The trick then is to do one by hand before using the script to do the rest.
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: Neo on September 05, 2011, 01:28:02 PM
I just finished my current batch of plants, I'm gonna start getting my new one today, so I'll test it thoroughly, hopefully finding the problem...

I'm also working on the new version, which is A LOT faster....

Version 0.5.2 takes me 1h30 min to tend for 1500 plants...

This new version took me 58 minutes... :)
If you have lower ping, and use cacti, I guess this time could be even shorter...

I'll try and get that version up later today...

Thanks for the input Cerveza...
Title: Re: frneo's Horticulturist v0.5.2 out 08/28
Post by: Cerveza on September 06, 2011, 04:02:55 AM
I'll look at the "dirting" to see if I can spot where the error occurs. I think it's with targeting somehow.

One other minor annoyance, when "seeding". After all bowls have been watered and seeded, perhaps have the script check for extra seeds in the backpack and return them to the seed secure?
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: Neo on September 06, 2011, 09:25:16 AM
Version 1.0 out!

Filled with goodies! :)
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: Neo on September 06, 2011, 09:28:49 AM
Reuploaded v1.0, I had uploaded the wrong version with a minor glitch!
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: Cerveza on September 06, 2011, 10:48:28 AM
- Fixed 'fill bowl with dirt' sub
- Fixed resources issue

Not sure if the resources issue was the extra seeds, but I'll definitely be testing out the "dirting" section tonight and let you know. Looks like you got it nailed though.
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: MeWonUo on September 06, 2011, 11:04:09 AM
v 1.0 is working like a champ.  Great work buddy.

@Cerv: The resource thing was regarding dragging and dropping orange petals.  Which is fixed in the current version, just finished testing.
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: Cerveza on September 06, 2011, 04:19:36 PM
V1.0 - getting "you must waits" while dirting. Every 3 or 4 it misses one with the you must wait message.

Changed delay from 15 to 20 in the dirting and it hits them all.
Title: Re: frneo's Horticulturist v1.0 out 06/09
Post by: Neo on September 06, 2011, 04:33:40 PM
V1.0 - getting "you must waits" while dirting. Every 3 or 4 it misses one with the you must wait message.
Damn, that worked great here...

I'll add a longer wait between fills then...

Thank you Cerveza...
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: Neo on September 06, 2011, 04:38:00 PM
Version 1.1 out...

Cerveza, tell me how this works for you!

(really weird that wait issue, I'm using the same wait times as previous versions, and this never happened before)

EDIT: I didn't change the seed thing, because it's always nice to have the initial seed stack inside your backpack... If you don't have any seeds in your backpack and your backpack get's full, the script will brake trying to get seeds from secure...
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: Cerveza on September 06, 2011, 05:05:59 PM
I know it'll work, I already made the change on my end.

You caught me at the last group to dirt LOL, soon as the next patch hits and EUO is updated I'll start growing crops.
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: dxrom on September 20, 2011, 01:38:23 AM
I increased the wait timer at line 381 by 5, noticed it would get hit with the "You must wait, blah." message and hanging up for a couple seconds. Other then that, run very well. Most excellent script sir. :>

I look forward to pumping out massive orange petals to support my pvp shenanigans.  :>
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: Neo on September 20, 2011, 05:36:29 AM
I increased the wait timer at line 381 by 5, noticed it would get hit with the "You must wait, blah." message and hanging up for a couple seconds. Other then that, run very well. Most excellent script sir. :>

I look forward to pumping out massive orange petals to support my pvp shenanigans.  :>
Thank you for telling me about this...

You have low ping right?

I find that I have to place extra delays for people with low ping, as to avoid those "you must wait" messages.... It's hard to guess where to put those delays sometimes though, since with my 200 ping, everything seems to work well without them...

I'll add that to the next update....

Cheers!

neo
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: dxrom on September 20, 2011, 10:46:15 AM
I increased the wait timer at line 381 by 5, noticed it would get hit with the "You must wait, blah." message and hanging up for a couple seconds. Other then that, run very well. Most excellent script sir. :>

I look forward to pumping out massive orange petals to support my pvp shenanigans.  :>
Thank you for telling me about this...

You have low ping right?

I find that I have to place extra delays for people with low ping, as to avoid those "you must wait" messages.... It's hard to guess where to put those delays sometimes though, since with my 200 ping, everything seems to work well without them...

I'll add that to the next update....

Cheers!

neo

Np :>

I run typically, 55ms to my server, so yeah, somewhat low ping. Something you might do, is set a user-defined variable for that wait. But just make sure you clarify how to properly set it, and what it's fixing. That way anyone who might run into it, can tweak it on their own without having to troubleshoot it to find the right wait.
Title: Re: frneo's Horticulturist v1.1 out 06/09
Post by: Neo on September 21, 2011, 07:21:15 PM
I increased the wait timer at line 381 by 5, noticed it would get hit with the "You must wait, blah." message and hanging up for a couple seconds. Other then that, run very well. Most excellent script sir. :>

I look forward to pumping out massive orange petals to support my pvp shenanigans.  :>
Thank you for telling me about this...

You have low ping right?

I find that I have to place extra delays for people with low ping, as to avoid those "you must wait" messages.... It's hard to guess where to put those delays sometimes though, since with my 200 ping, everything seems to work well without them...

I'll add that to the next update....

Cheers!

neo

Np :>

I run typically, 55ms to my server, so yeah, somewhat low ping. Something you might do, is set a user-defined variable for that wait. But just make sure you clarify how to properly set it, and what it's fixing. That way anyone who might run into it, can tweak it on their own without having to troubleshoot it to find the right wait.
The thing is, it's hard to know where those waits should be... In certain cases, having a lower ping makes it necessary to have a wait where a higher ping wouldn't be necessary. And it can happen the other way around too...

I'm gonna try and make that change you talked about, and upload it here with the next version...

thx again...

neo
Title: Re: neo's Horticulturist v1.2 out 09/22/2011
Post by: Neo on September 22, 2011, 03:12:10 PM
Updated! A few minor fixes...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Adenocard on September 27, 2011, 05:10:55 PM
I am not sure if there was a change in the last patch or if I am just missing something, But I cannot get it to water the plants, It will pull the plant gump up but then just sit there... Does the samething on my old script I would use too, that one use to work fine but for some reason it just wont water now.. Any ideas?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on September 28, 2011, 07:09:10 AM
I am not sure if there was a change in the last patch or if I am just missing something, But I cannot get it to water the plants, It will pull the plant gump up but then just sit there... Does the samething on my old script I would use too, that one use to work fine but for some reason it just wont water now.. Any ideas?

Well, I don't know... I'm gonna have to get myself some plants to try it out...

Thank you for the feedback...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Adenocard on September 28, 2011, 06:45:44 PM
Not a problem, I did think it was odd it was happening with both scripts specially one that worked at one time too. :D
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Tidus on September 28, 2011, 08:43:23 PM
If you want to keep consistent in your timing for everyone you could always make a speed selection.  Low Ping, Med Ping, High Ping.  Then all you have to do is use a variable for the timer. (just my thoughts)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 02, 2011, 07:12:42 PM
If you want to keep consistent in your timing for everyone you could always make a speed selection.  Low Ping, Med Ping, High Ping.  Then all you have to do is use a variable for the timer. (just my thoughts)
Yeah, that's a good thought... Although in certain cases it can be confusing to know what kind of wait times to use for each type of ping... I found for instance that, there are things that require a longer wait for higher ping, and there are situations in which lower ping requires longer wait times... Don't really know what to do with that by myself, I can only fix those with user's feedback so far heh...

@Adenocard, are you sure it's not an issue at your end? I've just tried the last horti right now and it worked perfectly here...

Could you maybe describe a little better in what situation you're finding the issues? I could maybe try and recreate your situation to fix it for you!

If anyone else's having some issues, please let me know too...

Cheers...

neo
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Adenocard on October 04, 2011, 04:36:50 AM
I do think it is an issue on my end but Im just unsure what it could be.  I'm noticing that scripts that once worked with no issues at all like watering hard dirt, or library donation are suddenly having issues, weird ones too.  Like my library donation script worked fine, but then suddenly started trying to recall to rune location 125, then it would recall everywhere fine but never buy anything.
The watering part of this script was fine, now suddenly it will bring up the plant gump but never water anything, it will go through like 10 of the 500 plants I have and then say its done.
My taming script in sanctuary is now acting weird too, it will walk to one bull tame it, and then walk to the middle and stop do nothing more then sit there.  Not sure what Im missing or what happened to cause this but I have other friends with the same issues, scripts that once worked fine don't.  Any idea's ?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 04, 2011, 02:34:12 PM
Well, it's hard to tell with just that info... If you want, you can add me on ICQ, and I can try and help you debug what issues you're having with your scripts, and we could try and find a solution for them...

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enrod on October 24, 2011, 09:02:33 AM
Wow man for gardening this is revolutionary. I have one question for my setup, does this script work with potion kegs? Or I will I have to fill bottles for my potion container?

The script never opens up the stack of 100 plants 1 tile next to me, but goes through all 100 in the "current plant" section of the menu. It does not open up any plants, and does no tending. This is with v1.2 btw. Tried a few other versions, also had no luck. Please help! Would really love to get this one working :D
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 27, 2011, 06:52:27 AM
Wow man for gardening this is revolutionary. I have one question for my setup, does this script work with potion kegs? Or I will I have to fill bottles for my potion container?

The script never opens up the stack of 100 plants 1 tile next to me, but goes through all 100 in the "current plant" section of the menu. It does not open up any plants, and does no tending. This is with v1.2 btw. Tried a few other versions, also had no luck. Please help! Would really love to get this one working :D
The only time I remember this happened was when my plants were Owner only, and I tried to tend with a co-owner... If that's not your case, I'm really not sure... I would need a little more info to investigate the cause a little further...

Thanks for the feedback, I'll try and look into it to see what could be the cause....

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enrod on October 27, 2011, 12:47:45 PM
I am the owner in the house. I have the whole setup one tile from me with 100 plants on top of each other in bowls. I used the lock down pots method on the script, so I don't believe they've been secured down. I've ran the script to find itemid's on the pots as well, and the id's do match up in the script. I figured that's a possibility, as I have ran into itemid issues as I play on a RunUO, non-osi shard. Any info you need, feel free to contact me here or on icq.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 27, 2011, 01:25:24 PM
I'm not sure, but if the plant is only locked down, I don't think you can open up their gumps, or can you? I would recommend you using the securing options of the script to secure all the plants, and then try again...

If it's still a no go, please tell me about it here...

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enrod on October 27, 2011, 08:24:57 PM
I am able to bring up the gump by double clicking on the first plant. I tried using your security feature as well, and am getting the same results. I guess the problem I'm having is the script isn't opening up the gumps, pulling out potions, or even watering the plants. One thing I noticed was your mass plantgrowing preparation. I didn't select the box, and break it through this menu. I did the setup prior to using this. Do you think this could have affected my current outcome?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 28, 2011, 02:05:14 AM
No, not at all... I'm sure it must have something to do with it being RunUO or with the setup... Can you tell me what shard it is? Maybe I could create an account there to check out for myself...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enrod on October 28, 2011, 07:45:57 AM
Sure, I play on PandoraUO.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enrod on October 28, 2011, 02:53:07 PM
Another little bug I noticed is during the plant and watering tool. On my shard, once a plant has been watered, the plant gump is closed. This leaves the script in what seems like a loop until I open another plant gump. It only does this when a plant requires the first two waterings. If it only requires one watering, it will water, plant a seed, then go on to the next plant to potentially get stuck if it requires more than one water. I'm sure this is a fairly simple fix, just need to tell the script to bring up another plant gump after using the water pitcher. If only I knew a tad bit more scripting myself :P
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Noobie on November 03, 2011, 08:42:44 AM
I have a problem with my plant bowls going empty! I planted 625 plants yesterday and triple checked that they were all good to go and today I go to tend them and about 275 of them are now empty! Is anyone else having this bug issue with UO?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on November 04, 2011, 10:28:40 AM
I water and seed the blow without a problem,  All my 400 plant still there.  Only issue I have is  my own fault.  I  was away and didn't tent the plant. so now I have lot of Wilted,  I use the max health but it required lot of health and Strong potions, is there a way to only add one of each instead of 2.     BTW,  I once again love doing plant :)  nice work Neo's
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: slyone on November 21, 2011, 06:38:49 PM
I just set up 1579 plants.  You are awesome!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: littleman on November 22, 2011, 06:47:18 AM
Just wanted to say THANK YOU! Amazing script! I just did 3k plants worked perfectly. A+++
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on November 22, 2011, 01:57:04 PM
I'm really happy to see this working so well for all you guys!

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: slyone on November 24, 2011, 06:10:06 AM
I forgot to tend my plants yesterday!  Most of the plants are now wilted hopefully they recover.  After about an hour and a half, 800 plants done 700 to go.  Used about 1500 of each pot so far with the exception of only using 400 cures.  I think I had 1 lag spike and the script had a hiccup but I escaped out of the cursor and it kept moving along.  So it probably missed watering 1 plant.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on November 24, 2011, 07:03:03 AM
I forgot to tend my plants yesterday!  Most of the plants are now wilted hopefully they recover.  After about an hour and a half, 800 plants done 700 to go.  Used about 1500 of each pot so far with the exception of only using 400 cures.  I think I had 1 lag spike and the script had a hiccup but I escaped out of the cursor and it kept moving along.  So it probably missed watering 1 plant.
That's odd... Are you using the latest version? That's really slow compared to the speed I have here...

Here it takes around 50 minutes to take care of 1500 plants... Using the latest version of course... The previous ones were slower...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: slyone on November 24, 2011, 07:30:46 PM
I'm using v1.2.  I attribute the longer time to the fact that all my plants were wilted and I check the max health box.  So for each plant it had to water twice, apply 2 heals, 2 poisons, sometimes a cure, and 2 strengths.  When the plants are vibrant, I expect it to take closer to 50 minutes.  I'll post the stats when my plants recover.  This script is awesome!

Edit:
My plants are vibrant again.  Here are my results...not sure if the bmp will show up
1579 plants in 1 hour and 13 minutes
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 06, 2011, 08:47:57 AM
I'm using v1.2.  I attribute the longer time to the fact that all my plants were wilted and I check the max health box.  So for each plant it had to water twice, apply 2 heals, 2 poisons, sometimes a cure, and 2 strengths.  When the plants are vibrant, I expect it to take closer to 50 minutes.  I'll post the stats when my plants recover.  This script is awesome!

Edit:
My plants are vibrant again.  Here are my results...not sure if the bmp will show up
1579 plants in 1 hour and 13 minutes
I see... Well, that's a more decent run I'd say... :)

What could make my run under 1 hour for this same amount of plants, is maybe because I started using Cacti after reading Cerveza's post. I think that uses up less potions and water, thus less tending time... I'm not sure if that's it though...

Anyway, glad to see this working well for most, I'm really happy about it... Even though I'm a little away at the moment, keep any suggestions coming, I'll be sure to try and add them as soon as I find the time to do so!

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 06, 2011, 10:21:14 AM
How hard will it be to add a option to add a Heal and Strength potion when ur plant are Wilted.  Right now I have to make a small helper to help me find them and add potion by hand.   It only happen when EUOX go down and need to stores all my plant. :(    I know about max Health but it put 2 potion to all plant and it to much.  Thx

P.S. It take 4 to 5min to do 120 plant, depending on their needs.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 06, 2011, 11:58:39 AM
How hard will it be to add a option to add a Heal and Strength potion when ur plant are Wilted.  Right now I have to make a small helper to help me find them and add potion by hand.   It only happen when EUOX go down and need to stores all my plant. :(    I know about max Health but it put 2 potion to all plant and it to much.  Thx

P.S. It take 4 to 5min to do 120 plant, depending on their needs.
Well, the way I have the script configured, it should give 1 Heal and Strength if the plant is Healthy, and below Healthy 2 Heal and Strength potions... Isn't that the proper way to deal with Wilted plants? Is just 1 potion enough for wilted?

Anyway, you can manually edit this. Around line 330 you should find:

Code: [Select]
if wilted in #property
{
   set %yesplant #true
   set %wilted_cnt %wilted_cnt + 1
   menu set wilted_cnt %wilted_cnt
   set %str_need1 2
   set %heal_need1 2
}
You can change this to use only 1 potion like this:
Code: [Select]
if wilted in #property
{
   set %yesplant #true
   set %wilted_cnt %wilted_cnt + 1
   menu set wilted_cnt %wilted_cnt
   set %str_need1 1
   set %heal_need1 1
}
That way it will only use 1 of each potion for wilted plants... You can also edit the amount of potions for other plant states like this... Hope this helps...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 06, 2011, 03:51:39 PM
The reason I was asking is that no potions get use when the plant are Wilted.  I try using max health but all the plant get max :)    Not sure if I do something wrong, but only the Wilted don't get the right amount of heal and strength.  the poison and cure get apply.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 06, 2011, 04:14:48 PM
The reason I was asking is that no potions get use when the plant are Wilted.  I try using max health but all the plant get max :)    Not sure if I do something wrong, but only the Wilted don't get the right amount of heal and strength.  the poison and cure get apply.
Oh, I think I get it... But what do you mean "but all the plant get max" ? Do you mean that if a plant is Wilted, it's not getting any heal and strength potions to get her back to full health?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 06, 2011, 04:33:08 PM
Correct.  if the plant is Wilted, no Heal and strength get add when in basic mode ( target bag and hit start).  I have been trying to fine where the problem is and can't fine it.   The plant went Wilted when EUOX was down for 4 days :(
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 06, 2011, 04:49:04 PM
Correct.  if the plant is Wilted, no Heal and strength get add when in basic mode ( target bag and hit start).  I have been trying to fine where the problem is and can't fine it.   The plant went Wilted when EUOX was down for 4 days :(
I think now I finally REALLY understood what you meant... If you check the Maximize box, even if the plant is Vibrant, it's getting Str and Heal twice? If that's the case, it REALLY shouldn't be happening... This didn't happen last time I used this script, at least for me...

If that's really the case, I'd have to check it and fix it asap...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 07, 2011, 06:23:08 PM
I just try to used Max Health again, with Bowl of Soft Dirt. Plant are 5 days old.     

plants Watered 67
Vibrant 36
Healthy 84
Wilted 0
dying 0

Potions Used                 Other info
GP 41                            Total 120
GC 27
GH 84
GS 84

Seen to work on healthy plant correctly, Don't waste ur time on this, I will tested and let you know how it turn on.

Thx again.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 07, 2011, 06:25:30 PM
Well, that's good to know... Tell me how your future testing goes, if you still have any issues... I do want to make this flawless before I try and get the next version out!

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: NObama on December 07, 2011, 07:57:37 PM
For the record, I've always found that it's simply not cost/time effective to waste effort reviving a wilted plant.  Chuck it and focus on a plant that is growing every day.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 09, 2011, 09:37:49 AM
Ok, so after making the change in line 330, remove the + 1 ( in the Healthy property).  Find out  you need the Max Health to treat the Wilted plant.  So your script run flawless when I find out what all the option do.  Look like the problem log once again between the chair and the monitor :))  The good thing about all this, is I figure out why I was losing plants.  Thx for the help and sorry for my misstake.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: slyone on December 11, 2011, 11:52:26 AM
My first batch of plants just got trashed!  This script is awesome.  I thought I might post some stats:

# of Plants:  1579
Average Time to tend (on a good day):  58 minutes
# of Orange Petals:  11792
# of Green Thorns:  688
# of Seeds of Renewal:  514

I did a mixture of different kinds of plants.  The next batch I plan to do half green snake plant and half orange.

Thanks Neo!

A couple comments:
1)  I ran the gather seeds and resources (no tending) in the tools menu and I kept getting "you must wait to perform..." message.  I do not get this message when tending and collecting resources.  Not sure if this is my connection or something in the code.
2)  I noticed a couple times that the script paused itself when running the tend and gather together after about 900 plants.  I didn't see exactly why this occurred and since I haven't seen anyone else make a comment about this occurring I think it may be a issue with my connection or euo.

Did I mention how awesome this script is?  Thanks again Neo!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on December 12, 2011, 10:22:01 AM
Sometime, the script pause for some odd reason,  for this reason I stack only 120 plants.   Sometime I need to log off to fix the problem, so it just the way it is.    Neo may one addition u can made is to set plant do deco and clip them.   I have a few friend that wanted the clips.  Not sure if it hard to add.  just asking :)

and to quote Slyone" Did I mention how awesome this script is?  Thanks again Neo! "
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on December 12, 2011, 12:19:33 PM
Great feedback and suggestions guys... And also thank you for the compliments regarding the script! :)

I'm trying to find some time here to set up a few plants, so I can work a little on the next version... As soon as I do, I'll be sure to try and add those suggestions and take a look at what may be causing the issues you guys talk about, so I can make this more stable for everyone's use...

I'm gonna be on vacation soon, hopefully I can update a few scripts then!

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Cerveza on January 08, 2012, 04:41:17 AM
Runs good. One suggestion - a checkbox for DO NOT TEND.

When plants have 2 days left on them it's a waste of resources and time to water/tend. Collect the seeds/resources and don't water or potion them at that point.

Also, a popup when you run out of a type of potion would be better then it constantly cycling one plant gump and adding to the potion count. Pause the script, allow the user to get more potions, then resume the script instead of having to stop and restart the script. This can be a little annoying when you are at plant 1999 out of 2000 and have to start over.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on January 08, 2012, 04:53:38 AM
Runs good. One suggestion - a checkbox for DO NOT TEND.

When plants have 2 days left on them it's a waste of resources and time to water/tend. Collect the seeds/resources and don't water or potion them at that point.

Also, a popup when you run out of a type of potion would be better then it constantly cycling one plant gump and adding to the potion count. Pause the script, allow the user to get more potions, then resume the script instead of having to stop and restart the script. This can be a little annoying when you are at plant 1999 out of 2000 and have to start over.
In the tools section, there's an option to just harvest resources/seeds, without tending... I added that in the last version, to stop wasting potions on the last couple of days...

About the potions running out, you're right, it's really annoying... I'll definitely try and add a pause as soon as I get back to work on my stuff... Appreciate the feedback...

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Cerveza on January 08, 2012, 05:05:18 AM
Nice thanks. I'll use that instead! I kept assuming that the check boxes on the main were the only choice.

*Note: I got constant "you must wait" messages... tracked it down to this

Code: [Select]
sub gumpwait
namespace push
namespace local gumpwait
set !name %1
set !size %2
set !timeout #SCNT + 5
repeat
wait 5 ; Cerveza addition

Running smooth. Might be able to change that to a 3 or something but 5 is flowing nicely.

**Last note: any reason this isn't ready for full submission?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on January 08, 2012, 03:24:59 PM
**Last note: any reason this isn't ready for full submission?
I don't know... It just never made it to the library for some reason... Maybe because I haven't updated it in a while, I'm not sure... But at my end, I think it's stable enough as is... Of course, in either case,  I plan on keeping improving this script as I can, like with the rest of my stuff...

The "you must wait" messages is apparently an issue for people with lower ping, it's been stated before, I just never had it happen to me... Once I update this I should maybe put a !wait var in there that can be changed to suit everyone's need as well... Thanks for telling me about this too...

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Endless Night on January 18, 2012, 07:53:51 AM
Script Moved to script library.
Thank you for your submission.


Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: dxrom on January 30, 2012, 03:59:51 PM
Pub 74 "Bugfix"

Gardeners can now open the plant gump when the plant is in secured containers.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Kherkus on February 22, 2012, 09:04:55 AM
Not sure what's happening, but it started recently.  It tries to tend the plants, but it cannot find the potion containers.  It will sit there trying to apply the poison potions first, it never does.  It just sits there for who knows how longs trying to find and apply a potion.  I believe it is something to do with recognizing the potion kegs.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Cerveza on February 22, 2012, 10:28:30 AM
Kegs? This works with Kegs?

Wow, I never knew that... bottles are oh so much quicker ;)

When you are applying hundreds of potions, do you think double clicking a keg for each one is a speed enhancement?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on February 22, 2012, 01:05:16 PM
 @ Kherkus
Have you try to put only potions in the container instead of kegs.   I used this with potion and I have no problem. All the ID are for  potions I beleive.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Kherkus on February 23, 2012, 07:55:42 AM
I'll give a shot with bottle as I'm sure that it will work after having read the code for them.  However, I can say that it used to work with kegs.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on February 23, 2012, 08:31:57 AM
Same here, but now that you can stack 60k potion it just awesome. If you are tending to 1500 plant, that lot of kegs to have and only 4 stack of bottles are required that less lockdown  and less refilling kegs . that how I see it :)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hoby on February 23, 2012, 09:08:35 AM
I was gonna say i get the "you must wait" alot, but i will add cerv's fix to it and see how it goes.  Awesome script, luv it.  10's for you!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on March 29, 2012, 08:17:21 AM
Glad to see this can still work... Man, I miss my plants, hopefully I'll be able to get back to UO soon enough, and update this as well...

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hoby on March 29, 2012, 08:25:52 AM
Still using it with no issues, got 1500+ plants going now.  Awesome!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Magier on April 24, 2012, 02:09:52 PM
Im kinda new on this one, but when i try to get the water and plant seed part to work it acts like its working then tells me it's done, Ive had bowls on me and in other containers and seeds on me or in a container, and can't seem to get it to work correctly, i do have an other SUO script that does do dirt and plant seeds, but would like to get this to work.

another issue i have is it collects seeds,resources but doesn't show them as collected  :(

I did have to make a change to the max weight as it wasn't unloading the resources or seeds

This is original seting::::::

     set !MaxWeight !MaxWeight + 60

   if !MaxWeight > 550
      set !MaxWeight 550 ;Backpack maximum

Changed to:::::::

     set !MaxWeight !MaxWeight + 40

   if !MaxWeight > 500
      set !MaxWeight 500 ;Backpack maximum
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Magier on April 25, 2012, 09:20:52 AM
I did notice that there isn't a gather option for cocoa or cyprus trees, these do give resources. Bark and cocoa butter.

I know the Cocoa isnt a much used item but for some it maybe something cool to grow.

the bark from Cyprus is a used item tho.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: splinanteras on June 30, 2012, 10:16:30 AM
great one script...i test it no problems at all...i got 300 plants now!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: rgrpltn on October 04, 2012, 02:43:36 AM
The tools section of this script makes life so much easier - thanks Neo
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Ultima on January 01, 2013, 10:32:36 AM
Thankgod for this script Neo!

This saved me an untold amount of time and energy. Even using Garden Beds which require no maintenance this script is a gem when it comes to extracting resources and seeds. Super Fast and efficient.

I changed the tile range to scan for plants to 4 since I'm using Garden Beds.

Without this script I wouldn't have the patience to Garden and I know I'd end up giving it up.

So thanks to you I can finally harvest some seeds of renewal! 8)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on February 02, 2013, 03:22:13 AM
Thankgod for this script Neo!

This saved me an untold amount of time and energy. Even using Garden Beds which require no maintenance this script is a gem when it comes to extracting resources and seeds. Super Fast and efficient.

I changed the tile range to scan for plants to 4 since I'm using Garden Beds.

Without this script I wouldn't have the patience to Garden and I know I'd end up giving it up.

So thanks to you I can finally harvest some seeds of renewal! 8)
Nice, I'm happy to see this is still working well for everyone!

Let me know if anything goes wrong :)

Cheers!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: madatu on February 07, 2013, 06:08:00 PM
Neo,  You are a genius! this works awesome. Is there a way to get this to use fertile dirt ?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hoby on February 08, 2013, 09:57:00 AM
just ran a batch of plants, 2100 of em and it worked fine!  No hiccups!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hrafn on February 11, 2013, 05:07:57 AM
A totaly awesome and well documented script. Runs like a charm. Just done a test batch of 300 plants that netted around 60 seeds of renewal. After winter holiday next week, i will start a batch of a thousand.

Curious as to how one could change the tile range to 4 so as to work with garden beds as well? Any pointers to what lines to edit?

Funny thing with this script: Its less hassle to plant in bowls than garden beds having this cool piece of tool doing all the work :)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: MeWonUo on February 12, 2013, 12:03:41 PM

Funny thing with this script: Its less hassle to plant in bowls than garden beds having this cool piece of tool doing all the work :)

And you can't run 1500-2000 plants at a time with garden beds. :D
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Ultima on February 12, 2013, 06:18:47 PM
A totaly awesome and well documented script. Runs like a charm. Just done a test batch of 300 plants that netted around 60 seeds of renewal. After winter holiday next week, i will start a batch of a thousand.

Curious as to how one could change the tile range to 4 so as to work with garden beds as well? Any pointers to what lines to edit?

Funny thing with this script: Its less hassle to plant in bowls than garden beds having this cool piece of tool doing all the work :)

Find all of the instances where it says finditem %plant G_2 and change it to finditem %plant G_4. That's what I did and it's working more or less. You may get a message here and there that it's out of reach but just move your character closer and it'll grab it.

You guys who aren't using Garden Beds... your logging in everyday running this script in order to keep plant maintenance? I imagine this script takes a long time to cycle through large volume of plants.

Hafrn I have a couple of other Garden Beds Subs that I've sown together if your interested. One for planting and one for cross pollinating. It's not pretty code by any means but it does work. I've considered posting them but it's really just code I put together looking at other people's code.

It's too bad there aren't any Garden Beds scripts that plant, cross pollinate and gather seeds.

I like the Garden Beds...I'm all about low maintenance.

 
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: timewalker on February 12, 2013, 08:22:05 PM

It's too bad there aren't any Garden Beds scripts that plant, cross pollinate and gather seeds.

I like the Garden Beds...I'm all about low maintenance.

 

Now that I am up to 8 beds I was thinking the same thing, its too bad there isn't a script.  I primarily use mine for orange petals and seeds of renewal so I would just need to plant, harvest, & empty.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Ultima on February 12, 2013, 08:56:26 PM
There is this script you may want to check out: http://www.scriptuo.com/index.php?topic=9863.0;highlight=harvest

I'll try and put together those Garden Bed Subs for planting and cross-pollinating and post them tomorrow for those who may want them. It's ugly code but it seems to do the job!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on February 13, 2013, 06:06:14 AM
here a little snippet I put together few weeks ago to help me, nothing fancy.

http://www.scriptuo.com/index.php?topic=10887.msg92022#msg92022
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hrafn on February 14, 2013, 02:30:37 PM
Thank you for the references to what and where to change Ultima, i would never have cracked that on my own!

I am going to test the garden bed routines from Ultima & Ghost during weekend: This looks so great, got 4 beds now ready to plant.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on February 21, 2013, 07:58:32 PM
Hey guys... Now that I'm back, I'm willing to update all my scripts that might need it. Should I add garden bed related stuff to this? If yes, what kind of things would be useful? I have no experience in using garden beds myself, so any help regarding that would be appreciated.

Also, if there's other stuff you guys would like to see in here, please let me know!

PS: I was writing version 2.0 before I quit playing, which was supposed to add cross-pollinating and full automatic setup of your plants (recalling, buying bowls, getting dirt, etc) but I think I lost all of that code. If I'm not mistaken, I left most of the code for cross-polli in version 1.2, although it's not being used for now. So I need to check that to see if I can continue from where I stopped. The biggest priority for me now would be the full automated setup though, I'll see about the cross-polli later.

Anyway, if there's suggestions about stuff that should be added, I will try my best to implement them in v 2.0

Let me know! :)

Title: Re: frneo's Horticulturist v0.2.1 out 08/18
Post by: Nouveau on February 21, 2013, 11:17:11 PM
I'm the same way.  I have 4 raised garden beds at the moment.  I'm on day 8 of my first batch of seeds.  I'd like to get another 2 beds, but I'm not sure I can fit them in the house, it's just a little one.  I'd like to try this script out too.  Do you do the plants out of your backpack or lock them down?


My friend is a plant addict, she has a house with 3 or 4 floors and all stuffed with plants. Can't wait to tell her about this one and hoping soon you will release the version with more manageable plants.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Ultima on February 22, 2013, 12:14:24 PM
Garden Bed functionality would be nice. Ghost is working on a GB which we're testing when we can. I tossed in my working GB subs that I used when I do my GB'ing.

What I look for in a GB script is:

1) Plant the seeds
2) Cross Pollinate
3) Extract the Seed or Resource
4) Set to Deco mode and cut up the plant

We have some subs and scripts that will do a little of each but no AIO.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on March 03, 2013, 07:02:53 PM
Garden Bed functionality would be nice. Ghost is working on a GB which we're testing when we can. I tossed in my working GB subs that I used when I do my GB'ing.

What I look for in a GB script is:

1) Plant the seeds
2) Cross Pollinate
3) Extract the Seed or Resource
4) Set to Deco mode and cut up the plant

We have some subs and scripts that will do a little of each but no AIO.

I'm actually (slowly) working on a tending script for Stealth, among other projects, but that would probably be just for tending, and maybe resource gathering.

I'll see if I can update this guy soon though to add some of the functions you guys have been talking about!

[]s
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 02, 2013, 03:09:23 PM
Okay love the script used Ced's for a long time then used the one Neo revamped from Ced's. Now I have 472 plants locked down. Does this script happen to unlock them also? LOL or it is a macro for I wish to release this :) BTW did I mention I love this script and all the hints you guys shared lol.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on April 02, 2013, 03:21:02 PM
Okay love the script used Ced's for a long time then used the one Neo revamped from Ced's. Now I have 472 plants locked down. Does this script happen to unlock them also? LOL or it is a macro for I wish to release this :) BTW did I mention I love this script and all the hints you guys shared lol.
Actually, this has none of Cedrik's code in it. I just learned how to do proper pixel scanning reading his unrelated tutorial lol...

Anyhow, thank you for your feedback!

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 02, 2013, 04:25:02 PM
No I'm using yours and  was talking about the one I thought you revamped that was Ced's on the EUO site I think.

Once again I love the script but still wondering how do you unlock all the plants lol one at a time I guess?

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: slyone on April 02, 2013, 04:33:00 PM
No I'm using yours and  was talking about the one I thought you revamped that was Ced's on the EUO site I think.

Once again I love the script but still wondering how do you unlock all the plants lol one at a time I guess?



Check out the tools menu.  There is an option to trash plants which I think is what you are looking for.  See the attached picture.  Hopefully Neo does't mind me attaching it.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 02, 2013, 04:35:43 PM
:) Missed it Thanks
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on April 02, 2013, 05:48:54 PM
Oh, sorry, I had missed your question hehe!

Thanks slyone, of course I don't mind!

[]s
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: dxrom on April 02, 2013, 07:00:44 PM
Neo, when you gonna port your scripts over to Stealth? :>

I'm waiting on new release, ability fix for stealth and then am gonna work on porting LAME over, and possibly a LAME4 throwers variant.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on April 02, 2013, 07:15:55 PM
Neo, when you gonna port your scripts over to Stealth? :>

I'm waiting on new release, ability fix for stealth and then am gonna work on porting LAME over, and possibly a LAME4 throwers variant.
Well, as soon as I finish this current project I'm working on, I'll see what to do next hehe.

I was actually thinking of porting at least the tending part of this guy here, over to stealth. Since no pixel scanning would be needed there, it would definitely be sweet!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Hoby on April 02, 2013, 09:02:09 PM
If you convert this to stealth then i will have to start using stealth.  I can't say it enough this script is amazingly simple to use! 
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: dxrom on April 02, 2013, 10:48:30 PM
Neo, when you gonna port your scripts over to Stealth? :>

I'm waiting on new release, ability fix for stealth and then am gonna work on porting LAME over, and possibly a LAME4 throwers variant.
Well, as soon as I finish this current project I'm working on, I'll see what to do next hehe.

I was actually thinking of porting at least the tending part of this guy here, over to stealth. Since no pixel scanning would be needed there, it would definitely be sweet!

Hellz yeah. Create a profile to login tender and auto load tender. Bam.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 24, 2013, 06:25:26 AM
Okay I have a question lol I'm needing to move and have plants down. With the script lockdown  grown plants or just bowls with seeds in them?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on April 25, 2013, 06:49:17 AM
Okay I have a question lol I'm needing to move and have plants down. With the script lockdown  grown plants or just bowls with seeds in them?
Sorry, I don't understand your question.

What are you trying to do ?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 26, 2013, 06:30:55 AM
I'm moving from one keep to another, I have a ton of day 8 or better plants I'd love to take with me but I see the script only locks down the Q### whatever plant bowls,  Is there something I can modify so it will do the other plants,
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on April 26, 2013, 11:38:06 AM
Well, in theory you could add the item types for plants to the plant bowl var used in the tools section, and use that as if they were "plant bowls".
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 27, 2013, 07:28:34 AM
Thanks thats what I figured but wasn't sure.  I'll try to figure it out I found the sub will see about dropping the Item Id in there one I figure out how to find it lol
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 27, 2013, 11:26:10 AM
Thanks a ton to all that have a hand in this script :) . Changed the lockdown ID from the plant bowls to the plants and worked like a champ. Saved me from throwing out a ton of plants. Next is trying to see if I can add the vanilla and sugar cane plants so it will collect the resources:) Thank again guys.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: gimlet on May 15, 2013, 11:50:55 AM
Was this ever updated for garden beds - or - is there  another script around to get resourse pick and cut from garden beds?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Sulter on May 16, 2013, 06:18:14 AM
I have been using your plant script and I have to tell you it is great could not raise plants without it. Thank you again and good luck to you.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Bookwyrm on June 07, 2013, 09:26:18 PM
Was this ever updated for garden beds - or - is there  another script around to get resourse pick and cut from garden beds?
What he said. ;)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on September 13, 2013, 12:23:17 PM
Okay to set it to use kegs I'd just need to change the ID from Pot bottle to the Keg Id right?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: dxrom on September 13, 2013, 01:21:19 PM
Okay to set it to use kegs I'd just need to change the ID from Pot bottle to the Keg Id right?


No, because kegs are not infinite nor are they distinctive. A keg could be a keg of night sight, poison, agility, etc etc. You would have to create a sub to filter through the kegs and locate the correct type via the name as well as determining whether or not that keg is an empty keg or not.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on September 26, 2013, 03:56:57 AM
Well I found a Keg Emptier somewhere so it's all good but damn having to buy Bottles from non faction vendors suck. Makes me miss Baja lol
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on October 01, 2015, 02:47:18 PM
say ran this scrip works awesome , But
it doesn't count seeds , resources and renewal
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 02, 2015, 03:27:29 PM
say ran this scrip works awesome , But
it doesn't count seeds , resources and renewal
Are you playing in OSI? I haven't played UO in a long time. Maybe item types changed?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on October 03, 2015, 04:51:20 AM
yes I play on osi. I checked items still the
same anything else to look for . also can I slow the scrip down a bit
it is missing plants. thx
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on October 03, 2015, 08:29:16 AM
yes I play on osi. I checked items still the
same anything else to look for . also can I slow the scrip down a bit
it is missing plants. thx
I don't know then, I'd have to check myself at some point and see if some part needs updating.

About it missing plants: I doubt it has anything to do with the speed. It's probably plant gumps not being opened due to type difference.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on October 13, 2015, 05:54:47 AM
say scrip work great again ,But I get
you don't have that strong potion in you pack
Any ideas thx.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on December 22, 2015, 05:46:31 AM
Say any way to slow down scrip a little it is missing plants ? Thx.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on December 22, 2015, 07:21:32 AM
Well he answered this for you a few replies ago. It shouldn't miss that many really. mine misses maybe ten out of 1500 at a shot or so and normally catches it the next day. I mean that's less then 1% . I just hit thre Maximize Plant health each time as whats a few pots.  As long as the are healthy they are still producing :) .
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on December 22, 2015, 08:29:43 AM
well it missed 198 out of 1000
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on December 22, 2015, 09:39:54 AM
lag maybe?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on December 26, 2015, 03:10:05 PM
Neo or anyone else for that matter if Neo is busy. As the choco nut crackers have arrived. I'm needing massive amounts of Vanilla.

The script seems to not like the plants. Item ID is MSCB and I added it to all the places that I saw plant IDs. It work to lock them down with the C@ lockdown sub. Just really doesn't tend them. Some are Vibramt others are Healthy as it missed them yesterday. It seems like it gets the vibrant ones but not the healthy ones??

Any thoughts
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on October 09, 2017, 07:07:09 AM
Started to run scrip and it keep saying you you
must wait to perform another action
Any ideas
just to let you this started happening
when easyuo was updated
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on January 07, 2018, 09:05:24 PM
As this is one of my favorite scripts I have a problem lol. It's not tenind the Vanilla Plants unless the pots are in my pack. Could it have something to do with the 4 letter Item ID?  MSCB is the ID
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on February 21, 2018, 12:59:10 PM
Hey all, I am trying to get this script working.  The first main issue is im on a free shard not OSI, now will this script not function on freeshard?  Also I'm using a new version of EASYUO then the script calls for.  The entire script seems to not be working at all.  Anyone with any knowledge able to take a look at this and see if its salvagble I don't mind attempting to learn to fix it but my knowledge is new :) The pic shows that it says all done but the actualy tending process never started whows 0 plants out of 31.  Also when it attempts to tend plants for resources it will spam on the first plant it touches and won't continue further lags out the system and eventually crashes uo.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Crisis on February 21, 2018, 02:20:44 PM
I would start with the itemid for the different items. Many times they are different on freeshards from OSI.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on February 21, 2018, 03:17:15 PM
Done they are the same as OSI just double checked.  I am just growing green thorns so there are no new plants ect.
I would start with the itemid for the different items. Many times they are different on freeshards from OSI.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Crisis on February 21, 2018, 08:08:17 PM
The next thing I would check is the gump sizes and where it clicks on them. Some freeshards use different sized gumps and have extra things added to them.
Title: Re: neo\'s Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on February 25, 2018, 11:50:07 PM
I see I will take a look into it if I can figure out where gumps sizes ect are.

Post Merge: February 26, 2018, 11:46:20 AM
Well looked it over couldn't find anything to help me change edit gumps.  I play on uogamers hybrid if that helps anyone with figuring out how to fix it. 
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on February 28, 2018, 01:14:14 AM
I would like to ask do you think its because my client is fully patched that it may not work.  I need to find a client that fits the scripts? Client Tested With: 7.0.16.3, do you think that would be a solution? and if so do you know how I could get equivalent patch version.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: valen2.0 on February 28, 2018, 04:14:13 AM
All gump sizes and such can be found in the right hand window of EUO you are running.
Title: Re: neo\'s Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on March 05, 2018, 04:39:11 PM
Well the root problem is that it won't open the gump in general.  So it doesn't recognize the plant bowls.

Post Merge: March 05, 2018, 04:43:40 PM
I personally don't have a clue where to begin.  The only thing I really want is something to tend to my plants cure/poison/water.  No matter how I set this up plants in out locked down, it shows they exist in the completion log say 50-100 plants found, but wont attempt to open look at them, almost immediately as well locks up the program. 
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: valen2.0 on March 06, 2018, 03:23:27 AM
#raisedgardenbedsftw

 :laugh: :laugh:

I will see if I have time to take a look at this but, I haven't been able to even work on my own as of late so we shall see!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on March 06, 2018, 12:56:47 PM
They don't have raised garden beds on the free server im on, so unfortunately its only the old fashioned way of raising plants.  I have another script I found that works every day but 1-3 which is odd.  I will prolly just ask if anyone can help me figure out what to change to get it to run 1-3, as it always will do plants on days 4-9 but never 1-3.  Since this script seems just dead since its used for a specific server I think.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Crisis on March 06, 2018, 02:22:02 PM
It was made for official servers which means many itemids may be different. Did you compare the itemids of the bowls, potions, etc to make sure that they are the same?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on March 06, 2018, 08:16:16 PM
Ya I did check the item ID's, I didn't find any that were different, added a few plant types of course that were missing.  But the item ID's were the same.  It does find the actual items and counts them so that leads me to believe the script is finding them,  but it won't open their respective gump.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on March 06, 2018, 08:28:53 PM
Just double checked all the ITEM Id's they are all the same OLI,QLI ect same as official.  Just looked again the script doesn't call for specific id's but only the types, so all the type are correct.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: enditys on March 13, 2018, 01:28:57 AM
Well I've spent a few days now trying to figure this script out, I just cant understand why it won't do anything ;/.  All id's are the same, all gumps seem to be the same.  *Cries*
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on March 13, 2018, 02:30:29 AM
I wonder if the new build have something to do with it,   We know that old script had been having issue with menu,  no one test it out after Cheffe release it few month ago.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Crisis on March 13, 2018, 02:32:16 AM
I don't play free shards but maybe it is a timing issue, check the waits or see if there is an overall speed setting. Maybe you need to slow it down to adjust for lag/connection. It was written for OSI, not free shards.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on April 12, 2018, 09:19:56 AM
well the scrip works ,but it misses a lot of plants I started with 500
but now I have 194 left any ideas thx.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on April 12, 2018, 12:20:27 PM
I only stack 125, this way I can monitor status and numbers.  I can be that  u lag or how know
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on June 18, 2018, 03:55:50 AM
Having trouble filling water picture said can't find that
and about 10 second it fills it any ideas . thx
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on November 20, 2020, 05:00:50 AM
Can someone tell me why the scrip stop  before finishing plants like I have 1500 plants it will do 700 then scrips stops scrip still running but doing nothing
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on November 20, 2020, 05:37:53 AM
As you step (F7) through the script, what is happening?

Gaderian
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on November 20, 2020, 02:07:01 PM
this is were it stops
  scanjournal !temp_jindex
      str pos #JOURNAL !charname 1
      set !namepos #STRRES
      str count #JOURNAL !charname
      set !namecnt #STRRES
      str pos #JOURNAL :_ 1
      set !smcpos #STRRES
      str pos #JOURNAL !text 1
      set !textpos #STRRES
      if !textpos < !smcpos && !smcpos <> 0 || !smcpos = 1 || :_ notin #JOURNAL || VALID notin !args
        set !pass #TRUE
      else
        set !pass #FALSE
      if ( !text in #journal && ( ( !namepos = 1 && !namecnt <= 1 ) || !pass ) )
      {
        set !temp_jindex !temp_jindex + 1
        if ADVANCE in !args
          set !_jindex !temp_jindex
        set #LPC !temp_lpc
        namespace pop
        set !TM_FunctionCalled #TRUE
        return #TRUE
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on November 20, 2020, 06:45:45 PM
I am looking at version 1.2 (the latest one). If you are using a different one, please say so.

If it really stops on that return statement, then there is probably a really ugly logic issue where subroutines are not cleanly returned.

There is a limit to how many gosub/return pairs can be left open. I do not know the number, but it definitely has a limit. Maybe this is being reached.

There is a known issue with your character name, where you need to filter out Lord/Lady if your fame reaches that level that has shown up in other scripts. If your character is Lord/Lady... maybe that needs to be changed, but I would expect it to fail earlier.

I would be curious about some variable values when it is looping:
!temp_jindex
!temp_index
%0
%1
%2
%3
%4
#menubutton

There are 2 routines that use TM_AdvJournalScan: gather and movebowls_button. The movebowls_button sub looks pretty clean and will tell you that your container is full, if it runs into an issue dropping your bowls into a secure.

The gather routine is collecting from plants.

So which is it trying to do? move bowls to your secure or gather plant resources?

 Gaderian
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on November 21, 2020, 04:19:19 AM
I am using v1.2 I have a total of 1500 plants here is my set up
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on November 21, 2020, 11:05:55 AM
ran today here is what i Have
scanjournal !temp_jindex
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on November 21, 2020, 11:39:04 AM
So the variable values I asked for would indicate how it got to the journal scan subroutine. It would also show what the values are so we know how it walks through the sub.

A simple way to get those values:
easyuo menu tools->vardump

Gaderian
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gandolf on November 22, 2020, 04:53:31 AM
ok here is the var dumo
Code: [Select]
#AR: 49
#BACKPACKID: ABDCEFG
#CHARDIR: 0
#CHARGHOST: no
#CHARID: ABCDEF
#CHARNAME: Player
#CHARPOSX: 2272
#CHARPOSY: 1066
#CHARPOSZ: 7
#CHARSTATUS:
#CHARTYPE: IS
#CLICNT: 1
#CLILANG:
#CLILEFT: 15
#CLILOGGED: 1
#CLINR: 1
#CLITITLE: Ultima Online - Player(Baja)
#CLITOP: 41
#CLIVER: 7.0.87.11
#CLIXRES: 800
#CLIYRES: 600
#CONTHP: 0
#CONTID: YIUXJPD
#CONTKIND: AMI
#CONTNAME: container_gump
#CONTPOSX: 320
#CONTPOSY: 610
#CONTSIZE: 180_240
#CONTSIZEX: 180
#CONTSIZEY: 240
#CONTTYPE: IKF
#CR: 57
#CURPATH: C:\Users\Bert54\Desktop\
#CURSKIND: 1
#CURSORX: 1148
#CURSORY: 555
#DATE: 201122
#DEX: 15
#DISPRES:
#DOT: .
#ENEMYHITS: N/A
#ENEMYID: BJVBID
#ER: 67
#EUOVER: 1_50_00
#FALSE: 0
#FINDBAGID: YIUXJPD
#FINDCNT: 1
#FINDCOL: 0
#FINDDIST: N/A
#FINDID: XEYGIOD
#FINDINDEX: 1
#FINDKIND: 0
#FINDMOD: 0_0
#FINDREP: 0
#FINDSTACK: 56416
#FINDTYPE: XUF
#FINDX: 412
#FINDY: 716
#FINDZ: 0
#FOLLOWERS: 3
#FR: 56
#GOLD: 0
#HITS: 112
#INT: 115
#JCOLOR: 995
#JINDEX: 5420
#JOURNAL: You_see:_sandstone_paver
#LHANDID: YC
#LLIFTEDID: WVJVFPD
#LLIFTEDKIND: 0
#LLIFTEDTYPE: VGJ
#LOBJECTID: ESATITD
#LOBJECTTYPE: BWE
#LPC: 10000
#LSHARD: 0
#LSKILL: 0
#LSPELL: 32
#LTARGETID: XEYGIOD
#LTARGETKIND: 3
#LTARGETTILE: 1181
#LTARGETX: 2265
#LTARGETY: 1067
#LTARGETZ: 7
#LUCK: 95
#MANA: 115
#MAXDMG: 6
#MAXFOL: 5
#MAXHITS: 112
#MAXMANA: 115
#MAXSTAM: 15
#MAXSTATS: 255
#MAXWEIGHT: 477
#MENUBUTTON: N/A
#MENURES: -1
#MINDMG: 1
#NEXTCPOSX: 768
#NEXTCPOSY: 768
#NSNAME: GUMPWAIT
#NSTYPE: local
#OPTS: SYS_DMC_EXEC_SEND
#OSVER: 2_5_1
#PIXCOL: 524288
#PR: 70
#PROPERTY: A Wilted Plain Campion Flowers Plant$Weight: 1 Stone$Locked Down$
#RANDOM: 326
#RESULT: 0
#RHANDID: YC
#SCNT: 63720
#SCNT2: 637202
#SENDHEADER:
#SEX: 0
#SHARD: Atlantic
#SHOPCNT: 0
#SHOPCURPOS: 0
#SHOPITEMID: YC
#SHOPITEMMAX: 0
#SHOPITEMNAME:
#SHOPITEMPRICE: 0
#SHOPITEMTYPE: YC
#SKILL: 0
#SKILLCAP: 0
#SKILLLOCK: up
#SMC: ;
#SPC: 
#STAMINA: 15
#STR: 125
#STRRES: 0
#SYSMSG: N/A
#SYSMSGCOL: 0
#SYSTIME: 1290520217458
#TARGCURS: 0
#TILECNT: 0
#TILEFLAGS:
#TILENAME:
#TILETYPE: 0
#TILEZ: 0
#TIME: 085017
#TP: 0
#TRUE: -1
#WEIGHT: 198
%0: 2
%1: generic_gump
%10: gather_5
%2: 255_231
%3: This_plant_has_no
%4: Mutated_plants
%B: 8
%BTNX: 235
%BUTTONX: 215
%CHK_A: 191
%CHK_B: 194
%CHK_X: 223
%CHKX: 151
%CHKY: 71
%CLK: 191
%CLOSEX: 130
%CLOSEY: 120
%CLSEX: 150
%CLSEY: 140
%CONTPOSX: 20
%CONTPOSY: 20
%CURE_A: 123
%CURE_ADDED: 2
%CURE_B: 126
%CURE_BUTTON: 123
%CURE_CNT: 65
%CURE_NEEDED: 0
%CURE_POTION: NUF
%CURRENT_CNT: 555
%CURRENTPLANT: ESATITD
%D_B: 190
%D_G: 189
%D_R: 189
%DIRTBOWL: QLI
%DRAGWAIT: 10
%DROPWAIT: 10
%DYING_CNT: 0
%EMPTYPITCHER: WYF
%FAKE: 10
%FOCUS_X: 170
%FOCUS_Y: 140
%FULLHEALTH: -1
%G: 0
%G_CLICKX: 241
%G_CLICKY: 192
%GATHER_SEEDS: -1
%GATHER_X: 98
%GATHER_Y: 95
%GREENTHORN: GSF
%GREENTHORN_CNT: 0
%GUMP_B: 8
%GUMP_G: 8
%GUMP_R: 8
%GUMPSUM: 4
%HEAL_A: 147
%HEAL_ADDED: 2
%HEAL_B: 150
%HEAL_BUTTON: 147
%HEAL_CNT: 235
%HEAL_NEED1: 2
%HEAL_NEEDED: 2
%HEAL_POTION: UUF
%HEALTHY_CNT: 134
%INITLPC: 10000
%LPC: 10000
%OK: 0
%ORANGEPETAL: RFG
%ORANGEPETAL_CNT: 0
%PA_LPC: 10000
%PITCHER: VBM
%PIX1: -1
%PIX2: 0
%PLANT: QLI_OLI_BCF_VWE_BWE_UAF_JWE_IWE_EXE_UWE_ICF_BXE_YVE_CCF_NWE_MWE_DXE_TCF_NXE_BKP_ZJP_MKP_AKP_CKP_OKP_NKP_LKP_TXE_ZBF_AIF_GWE_VWE_WTE_ZBF_BWE_BCF_CCF_SVE_IWE_MWE_YVE_REK_QVE_BFK_WTE_FWE_NXE_CYE_JDF_WWE_ISN
%PLANTCOUNT: 0
%PLANTQTY: 0
%PLANTS_RESOURCES: 0
%PLANTS_SEEDS: 0
%PLANTS_TENDED: 552
%POISON_A: 100
%POISON_ADDED: 2
%POISON_B: 103
%POISON_BUTTON: 100
%POISON_CNT: 245
%POISON_NEEDED: 2
%POISON_POTION: AVF
%POTION_CONTAINER: YIUXJPD
%R: 0
%RED_B: 90
%RED_G: 49
%RED_R: 231
%REDLEAF: BRL
%REDLEAF_CNT: 0
%RENEWAL: IDHB
%RENEWAL_CNT: 17
%RESOURCE_X: 150
%RESOURCE_Y: 172
%RUNNING: -1
%SAFETYCNT: 0
%SCK_X: 119
%SCK_Y: 193
%SEED: PDF
%SEED_CNT: 438
%SEED_CONTAINER: BSGPLND
%SEED_X: 221
%SICK_CURE: 125
%SICK_HEAL: 149
%SICK_POISON: 102
%SICK_STR: 173
%SICK_X: 99
%SIMILARITY: 7
%SPOT_X: 221
%SPOT_Y: 98
%START: 37
%STARTTIME: 62175
%STR_A: 171
%STR_ADDED: 2
%STR_B: 174
%STR_BUTTON: 171
%STR_CNT: 232
%STR_NEED1: 2
%STR_NEEDED: 2
%STRENGTH_POTION: XUF
%STRING: 24
%T_CRATE_CNT: 0
%TKIND: strength
%TOTAL_CNT: 1396
%TOTALSUM: 0
%TREAT_X: 203
%VIBRANT_CNT: 376
%W_B: 198
%W_G: 189
%W_R: 189
%WATER_BUTTON: 75
%WATER_CNT: 713
%WATER_NEEDED: 0
%WATERTROUGH: TEE_WEE_QEE_VEE
%WILTED_CNT: 42
%X: 132
%Y: 51
%YELLOW_B: 49
%YELLOW_G: 231
%YELLOW_R: 231
%YESPLANT: -1
!L~GUMPWAIT~NAME: generic_gump
!L~GUMPWAIT~SIZE: 255_231
!L~GUMPWAIT~TIMEOUT: 63721
!L~NSXIIXMAXWEIGHT~MAXWEIGHT: 537
!L~NSXIIXMAXWEIGHT~OFFSET: 0
!L~STD~TM_FUNCTIONCALLED: -1
!L~TM_ADVJS_DIRTBOWLS~_JINDEX: 5408
!L~TM_ADVJS_DIRTBOWLS~LPC_SET: 100
!L~TM_ADVJS_GATHER~_JINDEX: 5415
!L~TM_ADVJS_GATHER~ARGS: VALID_ADVANCE
!L~TM_ADVJS_GATHER~CHARNAME: Goatman
!L~TM_ADVJS_GATHER~FIRST_ARG: 3
!L~TM_ADVJS_GATHER~INDEX: 5
!L~TM_ADVJS_GATHER~LPC_SET: 100
!L~TM_ADVJS_GATHER~NAMECNT: 0
!L~TM_ADVJS_GATHER~NAMEPOS: 0
!L~TM_ADVJS_GATHER~NUM_ARGS: 4
!L~TM_ADVJS_GATHER~PASS: -1
!L~TM_ADVJS_GATHER~SAMPLED_JINDEX: 5420
!L~TM_ADVJS_GATHER~SMCPOS: 8
!L~TM_ADVJS_GATHER~TEMP_JINDEX: 5421
!L~TM_ADVJS_GATHER~TEMP_LPC: 10000
!L~TM_ADVJS_GATHER~TEXT: Mutated_plants
!L~TM_ADVJS_GATHER~TEXTPOS: 0
!L~TM_ADVJS_TREAT~_JINDEX: 5408
!L~TM_ADVJS_TREAT~LPC_SET: 100

Edited to add code box

Edited TM: Removed player information
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on November 22, 2020, 11:35:22 AM
So the variables indicate it actually processed the journal entries.

The #FIND variables indicate it has arrived at the last plant - it seems. Your picture doesn't look like you have 1500 plants. Do you have plants on other floors of the home? Do you need to approach the other plants? Even the variable counts looks like you have < 600 plants.

Gaderian
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on November 26, 2020, 10:24:12 PM
So one of the issues happening in the script is that finditem locates anything on the facet within the range you specify - without regard for the Z axis.

So version 1.2 of this script if finding plants on other floors of the house and trying to include those in the count.

The fix is not to rely solely on #FINDCNT for the quantity, but actually process the returned list from FINDITEM and test that it is within range for Z.

Here is an example on how to fix it - there would be several places in this script where such a solution model needs to be applied:
Code: easyuo
  1.     finditem %plant G_2
  2.     set %total_cnt 0
  3.     if #findcnt > 0
  4.      {
  5.      for #findindex 1 #findcnt
  6.       {
  7.       if #findz >= #charposz && #findz < #charposz + 20 ; each level of a house is 20 Z 'levels' - so you are testing anything from the current floor, but below the next higher floor
  8.        set %total_cnt %total_cnt + 1
  9.       }
  10.      }
  11.     ;set %total_cnt #findcnt

Event property takes time to fill data into #PROPERTY
There is a "repeat...until weight in #PROPERTY sequence" which has ignored the the ID for the plant. The repeat block is not repeated when #PROPERTY is not finished filling it's value. This is skipping processing plants. #PROPERTY gets populated with a single '$' and then gets set to whatever the value is.

Sometimes you can get a #PROPERTY description that has it's name and "no significant properties". Here is one method to verify that the #PROPERTY variable is populated without a hardcoded wait by checking for a 2nd '$' character:
Code: easyuo
  1.       event property #findid
  2.       while ( ( str count #property $ ) < 2 )
  3.         wait 1
  4.     until weight in #property
  5.  

Currently seeing plants in the count skipped. I have 702 plants, but anywhere from 495 - 566 get processed (gathering seeds). Have you experienced this before? My guess is lag issues where the script assumes success. Maybe an action takes place before the required cool down between actions, so the 2nd action actually fails, but the script doesn't have any catch on the failed action.

I believe this to be the culprit in start_button. It will issue the event property and immediately check for the results of #PROPERTY in the until statement. It needs something like the above example to guarantee #PROPERTY has a valid value:
Code: easyuo
  1.       set %currentplant #findid
  2.       ignoreitem #findid
  3.       event property #findid
  4.       while ( ( str count #property $ ) < 2 )
  5.         wait 1
  6.     until weight in #property
  7.  

It ignores this plant, issues the event property and if #PROPERTY is not finished populating it's text, it repeats the loop and never processes this plant.


Gaderian
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 11, 2023, 04:48:10 AM
Currently have 1500 growing. Set up went amazing, caring for plants I think 2x in 7 days i had to restart it because something bugged and it didn't finish. All in all I have cared for 1500 plants by clicking play 10 times so taking that as a huge win.

I will be getting seeds and thorns for the first time on mon/tuesday of this week and report back. The plants will not be finished but I want to grab 2000 seeds for a 2nd grow. 

Anyone thinking of doing this you are going to need a buttload of potions. I underestimated this 1500 plants will use right under 1000 potions a day. Poisions and Cures running it daily i have not used 1 heal or strength.

1 question. When the plants are done and picked clean is there an easy way to unlock/dispose of 1500 plants on 1 tile. This seems like its going to be a pain to do.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on March 11, 2023, 07:39:41 AM
Currently have 1500 growing. Set up went amazing, caring for plants I think 2x in 7 days i had to restart it because something bugged and it didn't finish. All in all I have cared for 1500 plants by clicking play 10 times so taking that as a huge win.

I will be getting seeds and thorns for the first time on mon/tuesday of this week and report back. The plants will not be finished but I want to grab 2000 seeds for a 2nd grow. 

Anyone thinking of doing this you are going to need a buttload of potions. I underestimated this 1500 plants will use right under 1000 potions a day. Poisions and Cures running it daily i have not used 1 heal or strength.

1 question. When the plants are done and picked clean is there an easy way to unlock/dispose of 1500 plants on 1 tile. This seems like its going to be a pain to do.


All in the the script under tools.  Just make sure if you put more down they are 2-3 tiles away for the onbes you want to trash.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 11, 2023, 08:41:11 AM
I have not looked @ the tools since i locked them down guess i missed that. Thank you!!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on March 12, 2023, 07:50:04 AM
Hey, yesterday I started gathering information for a new plant tender written in OrionUO, and decided to read through this topic for information. I'm surprised this still works to some degree... This was one of my first scripts, and writing this is how I started learning EUO... Got a nostalgic vibe reading through this... There was so much information about plants and everything that I used to know that I don't remember anymore... Such a weird feeling...

Anyway, thank you everyone for the testing and all the changes suggested throughout the topic. Will come back here after I finish the OrionUO script...

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: jenovauh on March 13, 2023, 07:46:25 AM
Hey, yesterday I started gathering information for a new plant tender written in OrionUO, and decided to read through this topic for information. I'm surprised this still works to some degree... This was one of my first scripts, and writing this is how I started learning EUO... Got a nostalgic vibe reading through this... There was so much information about plants and everything that I used to know that I don't remember anymore... Such a weird feeling...

Anyway, thank you everyone for the testing and all the changes suggested throughout the topic. Will come back here after I finish the OrionUO script...

Yes it is still a great tool till now, thank you so much. I did some further improvement to be able to use potion kegs and also moving bowl with dirt to backpack. I am trying to check for emptied resources and seeds plant then turn them into decorative, pick up and cut with clipper. Had tried using kalocr but it couldnt recognize 0/0 for resources and seeds. Not sure if anyone have done that portion.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Neo on March 13, 2023, 01:48:16 PM
Hey, yesterday I started gathering information for a new plant tender written in OrionUO, and decided to read through this topic for information. I'm surprised this still works to some degree... This was one of my first scripts, and writing this is how I started learning EUO... Got a nostalgic vibe reading through this... There was so much information about plants and everything that I used to know that I don't remember anymore... Such a weird feeling...

Anyway, thank you everyone for the testing and all the changes suggested throughout the topic. Will come back here after I finish the OrionUO script...

Yes it is still a great tool till now, thank you so much. I did some further improvement to be able to use potion kegs and also moving bowl with dirt to backpack. I am trying to check for emptied resources and seeds plant then turn them into decorative, pick up and cut with clipper. Had tried using kalocr but it couldnt recognize 0/0 for resources and seeds. Not sure if anyone have done that portion.
That's good news, thank you for letting me know.

I haven't done plants in ages, and don't remember much about it, so I'm just writing the new script for Orion as the situations present themselves here...

Still in day 2 of tending, so I still don't know how I'm gonna handle resources and retiring plants when it comes to that... Will make it up as I go along...
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 14, 2023, 04:29:19 PM
I am starting a 2nd grow so i wanted to pull 1500 seeds off my plants today. I set it to pull thorns and seeds and it seemed the menu does not know you picked up thorns. The seeds were going into storage every plant but the thorns were remaining in pack. I was @ work and could not monitor it so I swaped it to seeds only. In 7 days all plants will be done and I will be stripping them so I will watch and see what happens when i go overweight and try to track down item id and such.

Me reading Neo's script language is like a 2rd grader trying to translate ancient Greek but I will try my best  ;D
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 16, 2023, 05:48:05 AM
Working on why green thorns do not move into the secure container. I think I have it narrowed down, can anyone tell me if im on the right track before I start testing stuff and mess it up worse lol.


Code: [Select]
if #findkind <> -1
   {
   set %greenthorn_cnt %greenthorn_cnt + #findstack
   menu set greenthorn_cnt %greenthorn_cnt
   exevent drag #findid #findstack
   wait %dragwait
   exevent dropc %resource_container
   wait %dropwait
   ignoreitem #findid
   }



It seems the menu is not counting the thorns. So I am assuming the problem is in the code above where I believe is the sub to move the thorns. But possibly it would be in the counting of the resources. Let me know what you think and I will look into it.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on March 17, 2023, 11:58:13 AM
Hi Piller,
That code looks correct to add the stack that is in your backpack to the count, then update the menu and move it to the %resource_container. It doesn't look like there is anything wrong with this code snippet.

I would look at the potential failures.
Is it possible that %resource_container is not set to the ID of a container?
Could %resource_container be out of reach - more than 2 tiles from your character?
Is %resource_container hidden in another container level (a bag in a bag, for instance)?
Is this block of code even being executed?
Is this block of code being executed the first time while %resource_container is not valid for one of the above reasons, but later it is fine? The ignoreitem will not allow the stack to be found going forward when more are collected - as the stack of green thorns would have the same initial #findid.



Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 18, 2023, 05:42:09 AM
TY Galderia for helping me think this out. I also did not see anything wrong with the area of code I posted. I am new to this so I was confused.

I replayed it and watched it like a hawk.
It pulls the seeds from 1 plant then the thorns   (Works perfect)
It puts the seeds in the secure you set on start up menu  (works perfect)
It picks up the thorns and sets them back in backpack  (leads me to believe its with the secure)

The secure is the same as the seeds so distance/blockage should not be an issue.

You do set them separately in the menu options so I am going to try:
    -Setting separate secures for seeds/thorns even though i don't think this would be a problem.
     -Look into the start of the code when the menu sets the secure ID
     - Report results

Currently I am thinking it is an issue with the secure id
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on March 18, 2023, 04:24:41 PM
If the exevent dropc statement fails, it drops whatever was being carried in the source location (your backpack in this case). So that would make sense. You can share the same container, but more than likely it was setup incorrectly for the failed run. The ignoreitem would have now made the finditem no longer include that in the list for the next time. So the error would only activate on the first time through the script.

I am curious what you will find is really the issue.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on March 20, 2023, 05:05:01 AM
This is way above my pay grade but I am determined to figure this out  ;)

Code: [Select]
sub getchks
if %potion_container = N/A
   {
   display You need to set a potion container
   return #false
   }
menu get seed_chk
if #menures
   {
   set %gather_seeds #true
   if %seed_container = N/A
      {
      display You chose to gather seeds. You need to set a container for them.
      return #false
      }
   }
menu get resource_chk
if #menures
   {
   set %gather_resources #true
   if %resource_container = N/A
      {
      display You chose to gather resources. You need to set a container for them.
      return #false

When I set the potion container it opens the container. When I set the resource container it does not am I missing something the code looks the same.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on March 21, 2023, 08:51:17 AM
Hi Piller,
That isn't the code where the containers are defined by you, but the transfer of items to the containers. What it is doing is testing if the various containers have been defined already or not (not defined will have the value N/A).

So what you are describing and the code you have selected are not the same place in the script. If you are unsure how to locate the code, then learn to use the commands in EUO to step through the code to find it:
F7 = advance 1 line and pause
F8 = step over a line (usually used for call or gosub statements, where you want to have it run the whole subroutine because you have already cleared it to not have your issue)
F6 = run to the end of the current routine and pause when you get to the next line after the call/gosub statement to execute this routine

Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 17, 2023, 08:20:06 PM
I'm going to download this and try it out.

Do potions all need to be in bottles or does it make use of kegs?

Also, how do you set up thousands of seeds? Doesn't that take tons of housing space? (I know nothing about gardening)
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 18, 2023, 07:23:14 AM
I'm going to download this and try it out.

Do potions all need to be in bottles or does it make use of kegs?

Also, how do you set up thousands of seeds? Doesn't that take tons of housing space? (I know nothing about gardening)

Bottles The good thing is they can be refilled :)

Yes you can do thousands of seeds and all on one tile. But remember you are limited by lockdowns.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 18, 2023, 05:32:33 PM
Can someone walk me through using this?

I'm having problems and I'm not sure where I've gone wrong.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 18, 2023, 05:53:02 PM
For example, do you have to fill the bowels with dirt from the ground? Can you not buy dirt and use that? Because when I try to use the dirt I bought it does it once then keeps trying to fill from somewhere it cannot reach.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: The Ghost on April 18, 2023, 06:36:51 PM
Forget how I use it.   I when to Trinsic to fill the plant blow.  after I use the option Water plant, and seed.   move  125 plant into a create and chop create so the all stack.  Run the lock down option,   and repeat.    Run the Horto to care of the plant
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 18, 2023, 06:37:56 PM
Sounds like a lot of back and forth to do it that way. Shame you can't just target the dirt in your pack.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Gaderian on April 18, 2023, 07:31:34 PM
You could also use fertile dirt to fill the plant bowls.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 18, 2023, 08:15:20 PM
You could also use fertile dirt to fill the plant bowls.

But does this script allow that? That's what I'm wondering. Because when you select "Fill bowls with dirt" and choose your dirt in your bag it only does it once and then says you are too far away over and over.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 18, 2023, 08:36:56 PM
Also, it seems like when your bowls are watered it sometimes doesn't plant the seed. If this happens it won't plant the seed if you try to run through it again since the bowl has already been watered.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 18, 2023, 09:08:29 PM
Also, it seems like when your bowls are watered it sometimes doesn't plant the seed. If this happens it won't plant the seed if you try to run through it again since the bowl has already been watered.

Sometimes it misses a few. What Do in that case is move the plants with seeds to my crate. Then go back and plant the seeds manually. Takes a few extra clicks but works.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 19, 2023, 07:47:17 PM
I'm trying to figure this out and fix the code for it but my knowledge is very limited...

When you press "Water Bowls" to water bowls and plant seeds it will say "you must wait to perform another action" when all the bowls are already watered and it won't plant the seed.

It seems like the transition between attempting to water and planting the seed is too fast.

If anyone has any idea what to change to alleviate this particular part the effectiveness of this script would increase greatly.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 21, 2023, 09:07:15 AM
I've come across another issue when I'm caring for the plants it says, "You dont have any strong potions of that type in your pack."

It uses the other potion types and it does use the strength potions sometimes but for some reason isn't always recognizing the strength potions.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 21, 2023, 01:05:53 PM
I just realized it didn't mean potions of strength but whatever potion is was trying to use at the time.

I guess the potion needs to be in your bag even though the script just calls for them to be in your box.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on April 22, 2023, 05:25:42 PM
i am running this on 1500 plants. Keep all potions in 1 container in reach and 0 potions or bottles in your pack. The message will say "you have no potions of this type" but uses them out of the secure.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 22, 2023, 07:16:28 PM
i am running this on 1500 plants. Keep all potions in 1 container in reach and 0 potions or bottles in your pack. The message will say "you have no potions of this type" but uses them out of the secure.

Ah, good to know. I thought maybe part of the job wasn't getting done. This is my first time doing anything related to plants and I've played on and off since 1997.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 23, 2023, 07:46:57 AM
So, as I'm learning things about plants...

Does this script cross pollinate?

I didn't see any mention of it nor did I see a script that does.

Anyone know of one or if this does?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Insideout on April 23, 2023, 08:52:19 AM
So, as I'm learning things about plants...

Does this script cross pollinate?

I didn't see any mention of it nor did I see a script that does.

Anyone know of one or if this does?

There is a script I use is kaliex cross polinator I think it's called. Not sure where I picked it up here or on the EUO site
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on April 23, 2023, 12:42:25 PM
So, as I'm learning things about plants...

Does this script cross pollinate?

I didn't see any mention of it nor did I see a script that does.

Anyone know of one or if this does?

There is a script I use is kaliex cross polinator I think it's called. Not sure where I picked it up here or on the EUO site

Awesome found it!
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on April 23, 2023, 05:25:04 PM
I have only used this to grown thorns but never cross. I was thinking of learning to cross to make the natural dyes. I will check out the script you sugested.
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on May 01, 2023, 08:32:45 AM
Anyone have issues with having to press "resume" over and over when gathering seeds and resources and caring for plants?
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: Piller on May 02, 2023, 04:08:45 AM
use tools -> collect withount tending to plants
Title: Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
Post by: TrackStar on May 02, 2023, 03:21:36 PM
Thank you!

Seems slow but better than stopping!