Different style combine macro -- any mistakes here?

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Aug 20, 2004 5:32 pm

JP, no matter the usefulness of this due to that new combine delay time it is still a good learning process. Think about how much you learned doing it.

I'd say it's quite a step if you have limited coding/scripting experience.

Kudos to you for getting it together.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Aug 21, 2004 12:18 am

One other note, this would save fingers of anyone wanting to do the direct shot up to 248 in brewing, by running the 9 part combine until it "hits" and gets added to the list in the "new" combine window.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

JP5
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jul 06, 2004 10:32 pm

Post by JP5 » Sat Aug 21, 2004 2:17 am

Thanks AC1.

As a tradeskiller I recommend doing items that are near your trivial.

The chance of a skillup is much more if you succeed with the combine.

. . . but here's a factorial macro I wrote . . .

Code: Select all

Sub Main

/call Factorial

/return

Sub Factorial

	/declare Number int outer
	/declare i int outer
	/declare istart int outer
	/varset Number 0
	/varset istart 6
	
	/for i ${istart} downto 1
		/if (${Number}==0) {
			/varset Number ${istart}
			}
		/varcalc Number ${Number}*${i}
		
	/next i
	/echo ${Number} <--- Factorial of ${istart}
        /endmacro
	/return

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Aug 21, 2004 7:50 am

Oh, I understand that, but there are many who would prefer, due to the simplification of it all, doing one single combine from bottom up. It may take 20 tries to get it in the new tradeskills list, but from then on it's a 2 click macro to do it, other than buying and selling.

It cost me under 1kpp (hell, I think it was under 500pp) to go from 0 to 248 in brewing just doing the Minotar Hero's Brew.

Baking to 135 with fresh fish and batwings, too easy.

Now, for the rest... that's another story.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!