Page 1 of 1

Macro assembly web page - opinions?

Posted: Sun Aug 31, 2003 1:21 pm
by MQFan
Having sucessfully compiled MQ a couple of weeks ago, I've been playing around with the idea of a "toolkit" for building macros for tradeskills. The metalrings.mac file is EXCEPTIONAL, and with a few modifications can be made to work with anything.

I've built an asp page (could easily be ported over to php, I just happen to have a W2K3 web server atm) that takes an ingrediant list as input, and generates a macro based on metalrings as output. I've built several macros with it prior to the Aug 26 patch. There are a few more things I want to add to it, but I should be done today.

My first question is, how do the devs feel about this? I know a goal of MQ is to stay as "under the radar" as possible, and I'm not sure that a macro creation station fits within this goal. Second question is does anyone want something like this? I will not be publishing this page on a publically accessible web server, but I would be willing to post the code here.

Bear in mind that this macro is heavily dependent on /click left auto, and currently doesn't work with held containers (fletching kits, etc). I'm working on adding that functionality.

radar

Posted: Sun Aug 31, 2003 10:11 pm
by FlashG
/INC Sam_6, stay low, drop chaff and flares !!!!! :P

Posted: Sun Aug 31, 2003 11:13 pm
by fryfrog
why not just use ts.mac or sits.mac? it works with any trade skill, any combine container, any items and any tools involved (returned or not returned) and is started on the command line using the name (or partial name) of the ingrediants.

Posted: Tue Sep 02, 2003 12:31 am
by Mare
Yeah, I definately have to say that sits.mac probably the best tradeskiller out there...

Posted: Tue Sep 02, 2003 12:13 pm
by Slice
I use SITS as well and it works great for my needs however, I would also encourage you to post your code as well. I always think that there is room for innovation and learning with every script written. Some scripts do duplicate functions already out there but you never know when you'll see a subroutine that you can utilize somewhere else.

Posted: Tue Sep 02, 2003 4:58 pm
by MQFan
Hate to say it, but I'm probably going to abandon this coding effort. I tried sits, and it more-or-less works for me. (I can't get it to do combines in an oven, but that's for me to figure out this afternoon)

Essentially, all I did was put a web front end on metalrings.mac and have it spit out the macro to do whetever combines you need. No error checking or number of combines like in sits, and I don't want to waste the time reinventing the wheel to add them.

Posted: Wed Sep 03, 2003 10:14 pm
by Mare
For sits to work with an oven, you just have to make sure that the container is already open when you start the script if you don't already... if that's not the problem you're having, well, maybe we can help you out anyway.

Posted: Fri Sep 05, 2003 12:17 am
by MQFan
No joy. I have all containers open, non-overlapping, have the combine container (tried on both a oven and a pottery wheel) open. Syntax is:

/macro sits 1 "oven" "small block of clay" "etc" "etc"

I get a message saying "Container Oven targeted". Then the macro ends.

Any suggestions? I haven't pulled the latest CVS. I;m hoping that now that the kinks are worked out after the Aug26th patch, things will start working...

A hearty thanks to the devs who kicked huge chunks of ass making MQ work again.

MQFan

Posted: Fri Sep 05, 2003 12:28 am
by MQFan
Oh, just ignore the hell out of the last message, with the exception of the thanks to the devs.

Issue addressed in the thread for sits.mac. Couple of other people were having EXACTLY the same issue over the past few days. Thread includes a workaround fix for the enviro container code.

sits just plain rocks.