Page 1 of 1

[PET] harvest / manufacture

Posted: Tue Jul 06, 2010 6:37 pm
by xdimanx
Hi

enybody have a script for manufacture a raw materials by pet?
Script must give tool 4 pet, start, harvest and again, and again.

Re: [PET] harvest / manufacture

Posted: Wed Jul 07, 2010 4:05 am
by MrStraatsoldaat
Isn't so hard to make it on your own

Re: [PET] harvest / manufacture

Posted: Wed Jul 07, 2010 6:35 pm
by xdimanx
I don't have eny idea how to make it.
Im realy newb at MM script. If this is easy - can post a script ?

Re: [PET] harvest / manufacture

Posted: Wed Sep 01, 2010 7:19 am
by S3v3n11
I bet rock5 could figure this out! ;)

I would be very interested in this as well.

Re: [PET] harvest / manufacture

Posted: Wed Sep 01, 2010 10:38 pm
by rock5
S3v3n11 wrote:I bet rock5 could figure this out! ;)

I would be very interested in this as well.
I probably could but I'm not inclined to create functions for things I don't use myself. Also my father just passed away so I won't be doing any heavy coding for awhile.

Re: [PET] harvest / manufacture

Posted: Thu Sep 02, 2010 9:44 am
by fred55555
wow sorry to hear that Rock, my condolences

Re: [PET] harvest / manufacture

Posted: Thu Sep 02, 2010 11:52 am
by Starrider
all the best for you an your familiy!

Re: [PET] harvest / manufacture

Posted: Thu Sep 02, 2010 3:38 pm
by taran
I have looked at doing this myself, i am not sure if it is possible to even DO without using leftclick inputs on a createpath. (i sure could be wrong no expert at this at all)..


I dug through the commands that can be sent to the game and i can't find ones to do two things so far,
First is putting tools directly onto the pet to use (the aaxe,spades,picks),
Second is selecting that output to make

I have found ways to start production, stop production and one to harvest the things made....

The way i have it now is i have everything being done by left clicks with 1000MS yrests between the clicks and a 1,090,000 yrest between the start of the production and the harvesting when it finished using 99 tools.

If you wanna make a file simillar to mine i do as follows, i have 1 empty backpack tab (all 30 slots) i put 30 tools in there then i recorded the following left clicks
Left click on tool
Left click tool onto pet production tab adding it to be used
Left click on drop down button for what is being produced
left click on drop down box to select highest level item to be produced
left click start production
*use a yrest 1,090,000 here*
left click on harvest produced items
left click on the sort items in backpack

in that order it works great.. as i said put a yrest of 1 second (1000ms) between each command just to be safe.. and also you might want to had a yrest of 10 or so seconds to the start before
any left clicks just to give you time to get focus back onto the game window once you start the script


This is a VERY dirty method, but it gets the job done :) i am sure one of the better guys here may know a way to add tools to the pet tab and to select what to produce without having to use left click inputs. If that is the case there may be a way to write an Addon for the game and not even use Micromacro, and the addon might be able to do it non-stop in the background as long as you have one type of tool available in the backpack(this is my dream method btw)

*edit*

I am so inconsiderate.. just realized i forgot to say
"condolences to your family and to yourself Rock5, i have used many things you have coded here and love the work you do, thank you very much!"

Re: [PET] harvest / manufacture

Posted: Fri Sep 03, 2010 3:12 am
by rock5
Thanks to all for you kind words.

Re: [PET] harvest / manufacture

Posted: Fri Sep 03, 2010 7:27 am
by S3v3n11
Very sorry for your loss rock5. Your contributions here are very much appreciated!!