Newbie with pottery macro

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Thayne
decaying skeleton
decaying skeleton
Posts: 3
Joined: Tue Nov 11, 2003 9:27 am

Newbie with pottery macro

Post by Thayne » Tue Nov 11, 2003 11:05 pm

Alright I've done my best to read through the read.me file on the terms and have hunted down several TS macro's but they are all very cryptic to me.

I've played with the brewing macro that comes with the program and have come up with this. It will be simple enough for me to work with until i am more comfortable to work on something more complex (judging on how the info that is available isn't really made for people who just want a quick and easy macro)

#turbo
#event CombineFail "You lacked the skills to fashion the items together."
#event CombineSuceed "You have fashioned the items together to create something new!"

Sub Main

/itemtarget Pottery Wheel
/face item
/click left item
/delay 25
/sendkey down ctrl

:MakeKiola

/finditem "Water Flask"
/if $find()==FALSE /goto :Done
/click left enviro 0

/finditem "Small block of Clay"
/if $find()==FALSE /goto :Done
/click left enviro 1

/finditem "Ceramic Lining sketch"
/if $find()==FALSE /goto :Done
/click left enviro 2

|/finditem "Casserole Dish sketch"
/if $find()==FALSE /goto :Done
/click left enviro 3|

:DoCombine
/varset v61 0
/doevents flush
/varset t9 30s
/click left enviro combine
:DropKiola
/doevents
/if n $t9==0 /goto :DoCombine
/if n $v61==0 /goto :DropKiola
/doevents flush
/varset t9 0
:WaitCursor
/delay 0
/if $cursor()!=TRUE /goto :WaitCursor
/click left auto
/goto :MakeKiola

:Done
/sendkey up ctrl
/click left enviro done
/return

Sub Event_CombineFail
/varset v61 1
/return

Sub Event_CombineSuceed
/varset v61 1
/return

My intention is to turn the 4th component into a comment to null the effect when i dont need it. the rest i can just change the name since they are so similar anyways. (i am making casserole dishes if you hadn't noticed)

OK...so, when i run this macro, the pottery wheel vanishes, i get a pop up saying items arent easily found in this zone, and it picks up something in my equiped inventory.

I think maybe it hopes i have a delete command in the script so i'll delete my equipment? *shrug*

I'm at a loss. I cannot find a script where it is obvious where to put in the variables of what i want to combine. And i dont wish to take a course in programming just to get better trade skills.

I dunno, i guess it'd be cool if someone made a tradeskill that said INSERT BAG LABEL HERE or INSERT INGREDIENT 1 HERE. *shrug* but thats just from a newbie's point of view.

Thank you all for your help. :)

(btw how do i shut mq down without EQ crashing? :? )

Scrime
a ghoul
a ghoul
Posts: 86
Joined: Sun Sep 21, 2003 5:48 pm
Contact:

Post by Scrime » Wed Nov 12, 2003 7:58 am

Numero uno, your script is written using the old variable schema.

Maybe get a fresh download, check out some of the updated example scripts, and check some of the newer TS macros in the macro depot.

There is also a newer readme.htm that is VERY helpful.
(judging on how the info that is available isn't really made for people who just want a quick and easy macro)
No offense, but thats kind of a cop out. There are plenty of macros out there for people who want the "quick and easy". Heck, GJ has a macro out there that will play an entire toon for you, other people have written macros where all you do is plug in the combiner and the ingrediants and it will do the rest for you.

Search and the macro depot are your friends.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]asking smart questions[/url]

[40oz]
a hill giant
a hill giant
Posts: 156
Joined: Tue Nov 12, 2002 12:14 pm

Post by [40oz] » Wed Nov 12, 2003 8:04 am

This is a link to my favorite Tradeskill Macro:

http://macroquest2.com/phpBB2/viewtopic.php?t=3318

It's never failed me. Read the instructions up top on how to run it, or just type:

/macro "defaults" "Item One" "Item Two" ..... "Last Item"

Please note, you have to type each item's name in full.

Thayne
decaying skeleton
decaying skeleton
Posts: 3
Joined: Tue Nov 11, 2003 9:27 am

Post by Thayne » Wed Nov 12, 2003 9:20 am

"Numero uno,.."
I downloaded Macroquest and VS 6.0 two days ago. I think it is pretty fresh. Dunno, could be wrong. :roll:
I used the macro's that came with the program for my example as you may have read.

And yes, the readme was helpful, but not enough to help write script in a program where the handy tidbits are found through intensive search through hundreds of posts.. But as i've said i've done plenty of reading up but there are still many things in the more advanced macros in the depot that are difficult to decipher. (yes i have gone through AND through the depot. So, we can move beyond that.)

I would be more than happy to just plug in the variables but, as I have admitted I am a newbie, cannot easily point out where those plugs are supposed to be. Which is why I posted here for help.

I mean that IS what this part of the channel is about right? Post a problem get help? Not post a problem and get told to do the most obvious thing? (which i've mentioned i've done :roll: )


And as far as what i said being a cop out, in a hoby that seems to utilize logic, making something difficult and confusing for those who arent familiar your script, seems to be the least logical thing to do. *shrug*

I mean if you wanted to do that then what'd be the point of making this public at all.

/flame off

Thanks to 40oz for your relevant information. :D

I'll try and check through it and make some sense out of it.

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Post by DekeFentle » Wed Nov 12, 2003 11:05 am

Thayne,

Like most software (professional or otherwise) the documentation and examples tend to lag behind the most current release. Having said that please note the Readme.html included in the zip is VERY up to date and relevant. The examples macros however are dated to the point of being useless other then to provide understanding of the most basic concepts of script structure.

What you want to accomplish has been written and is pretty easy to understand if you peruse this link. http://macroquest2.com/phpBB2/viewtopic.php?t=3479 There is only one section of that macro that really needs to be changed and that’s the portion that points to the INI file it needs to run. That section of the script is commented telling you it needs to be changed. That link will also provide you with example INI files and critical information regarding the use of “environmental” containers verses say a sewing kit that you carry around with you.

I have felt your frustration in dealing with members of the community found here. Posting in the wrong section and or on old threads tends to get you ignored and or scorned. Flaming the deities is a sure way to become persona nongrata. These guys aren’t friendly customer service reps, they do all of this for free and at times it may seen they are copping an attitude. In truth its probably more like frustration in having to deal with village idiots like me. If the small price I pay for their help is a bit of intellectual snobbery now and then **shrug** I adjudge the cost to be equitable.

All in all the task of figuring out how to use this utility can be daunting and fustrating, I’ve been at it for almost a month now and I’m not sure if what I see is a light at the end of the tunnel or a train about to flatten me. I am however convinced that the investment of my time and patience will reap significant rewards in the end.

Hope you found this helpful and I pray that I’ve not overly offended the deities here.
Revelation 6:8

Scrime
a ghoul
a ghoul
Posts: 86
Joined: Sun Sep 21, 2003 5:48 pm
Contact:

Post by Scrime » Wed Nov 12, 2003 4:51 pm

I don't mind helping people at all, as long as those people have at least made some small inkling of effort to help themselves first.

However, people who make little to no effort to help themselves first and then come here looking for macros that already exist really sets me off.

There is a macro that already does what you want in the macro depot, all you have to do is put forth a little personal effort to understand how it works. Or *gasp* even try writing some basic macros of your own. I bet if you really tried, you could be up and writing macros of your own within a week.

When in doubt, click the link in my sig.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]asking smart questions[/url]

Guest

Re: Newbie with pottery macro

Post by Guest » Thu Nov 13, 2003 2:13 am

Thayne wrote: OK...so, when i run this macro, the pottery wheel vanishes, i get a pop up saying items arent easily found in this zone, and it picks up something in my equiped inventory.
(btw how do i shut mq down without EQ crashing? :? )
I'm tired and skimmed the responses. Not sure if anyone answered these two questions...

1) Containers disappear now if you macro too fast. It was added in a recent (nov 5th?) patch.
2) /unload works for me...

G-Man

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Thu Nov 13, 2003 4:30 pm

Code: Select all

#turbo 
#event CombineFail "You lacked the skills to fashion the items together." 
#event CombineSuceed "You have fashioned the items together to create something new!" 

Sub Main 

/itemtarget Pottery Wheel 
/face item 
/click left item 
/delay 2s 
/sendkey down ctrl 

:MakeDish 

/finditem "Water Flask" 
/if $find()==FALSE /goto :Done 
/click left enviro 0 

/finditem "Small block of Clay" 
/if $find()==FALSE /goto :Done 
/click left enviro 1 

/finditem "Ceramic Lining sketch" 
/if $find()==FALSE /goto :Done 
/click left enviro 2 

/sendkey up ctrl

:DoCombine 
/doevents
/click left enviro combine 
:DropDish 
/doevents 
/if "$cursor()"!="FALSE" /goto :MakeDish 
/if "$cursor()"!="TRUE" {
	/click left auto
	/goto :DropDish
}
/doevents
:WaitCursor 
/delay 0 
/if $cursor()!=TRUE /goto :WaitCursor 
/click left auto 
/goto :MakeDish 

:Done 
/sendkey up ctrl 
/click left enviro done 
/return 

Sub Event_CombineFail 
/if "$cursor()"!="TRUE" {
	/click left auto
	/return
}
/return 

Sub Event_CombineSuceed 
/click left destroy
/return 
Not Sure if this will work, as I haven't tested it.

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

Re: Newbie with pottery macro

Post by Drunkensloth » Fri Nov 21, 2003 12:42 am

Anonymous wrote:
Thayne wrote: 1) Containers disappear now if you macro too fast. It was added in a recent (nov 5th?) patch.
G-Man

only happens when you /tar and then open them apparently... when using TS macro with ini support... and you already have the container open, it doesnt poof~
And here I was clicking like a sucker!

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Nov 21, 2003 10:20 am

DekeFentle wrote:I have felt your frustration in dealing with members of the community found here. Posting in the wrong section and or on old threads tends to get you ignored and or scorned. Flaming the deities is a sure way to become persona nongrata. These guys aren’t friendly customer service reps, they do all of this for free and at times it may seen they are copping an attitude. In truth its probably more like frustration in having to deal with village idiots like me. If the small price I pay for their help is a bit of intellectual snobbery now and then **shrug** I adjudge the cost to be equitable.
A very well written reply DF, thank you. While yes, flaming a dev is a "bad idea (tm)", I do go out of my way as much as possible to help people, and if I come off as "copping an attitude" or exhibit "intellectual snobbery" it's certainly not intentional. Okay, sometimes the attitude is, but only when it comes to attacking people who are sacrificing their free time and play time to work on this project on a daily basis. True, we get a lot of satisfaction out of making things work, but by the same token we like to feel appreciated and respected for the time we put in. That goes not only for the devs, but for people like Amadeus who fixes the structs every patch, MacroFiend who finds and fixes bugs we missed, ap50 and others who work hard on correcting offsets, GrimJack et. al. who write fantastic macros. Sorry if I missed anyone there.

The best way to get help with any problem, program or script related, is first, read everything; second, formulate specific questions; and third, ask in a polite and respectful manner for help. My tolerance for rudeness or disrespect to ANY member of this community (Zerix doesn't count :D ) is probably lower than any other dev due to my military background, and I won't hesitate to lock a post, delete it, or remove a user if I feel he is acting like a jerk.

Thayne is frustrated, understandably so. His first post shows he's making the attempt to learn. It wasn't until he was "attacked" that his second post showed an attitude. We all need to show some patience with new users, and be understanding when their frustration level reaches the boiling point.

Thayne: the macros included with the distribution are probably way out of date. If you get the source for MacroQuest2 you'll notice I removed them all. If I get some free time (in short supply right now) I'll try to throw together some fresh "newbie" macros, fully commented, that you can use as examples. If anyone wants to help me with that I'd appreciate it.