Macro depository for macros written before the user variable changes that broke all of them.
Moderator: MacroQuest Developers
-
Phantal
- orc pawn

- Posts: 18
- Joined: Tue Aug 13, 2002 7:57 pm
Post
by Phantal » Thu Oct 17, 2002 4:36 am
um ... well uh ... the useage section really tells you how to use it. It's not restricted for use with red wine, in fact if you don't supply an argument it won't work.
Just uh ... stand next to the npc you wanna do the trade(s) with, and follow the instructions.
Code: Select all
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Useage:
| /macro macroname "red wine"
|
| Stand next to an npc, make sure you already have the items you want to hand
| to said npc on you (they need to be stackable), then call this macro.
| It's designed to automatically grab 4 of the item supplied as argument 0
| and place it in the available trade slots.
|
| Yes yes, I realize it looks sloppy, but I didn't feel like cleaning it up much.
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#include routines.mac
#turbo
#define temp v0
#define temp2 v1
#define ctr v2
#define ctdown v3
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Method: Main
| Use: Umm ... duh?
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sub Main
/if "$p0"=="" /goto :End
/if "$p0"=="NULL" /goto :End
/target npc
/face
:Begin
/mouseto 100 100
/press i
/call ch4 "$p0"
/press i
/if "$invpanel()"=="TRUE" {
/click left 75 450
/press esc
/goto :Begin
}
| /if "$find()"~~"FALSE" /goto :End
:WaitTrade
/click left 200 200
/delay 0
/if "$invpanel"!="TRUE" /goto :WaitTrade
/call ch4 "$p0"
/click left npctrade 1
/call ch4 "$p0"
/click left npctrade 2
/call ch4 "$p0"
/click left npctrade 3
/click left npctrade give
/delay 30
/if n "$count("$p0")">3 /goto :Begin
:End
/return
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Method: ch4
| Use: Grabs 4 from a stack of $p0's
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sub ch4
/varset ctdown 16
:TryAgain
/mouseto 100 100
/finditem "$p0"
/if "$find()"~~"FALSE" /end
/varset temp $mouse(x)
/varset temp1 $mouse(y)
/varadd temp 44
/varadd temp1 17
| /mouseto $temp1 $temp
/for ctr 1 to $ctdown
| /echo $ctdown
/click left $temp1 $temp
/next ctr
/varsub temp 24
/varadd temp1 63
/click left $temp1 $temp
/if "$cursor()"=="NULL" {
/varsub ctdown 4
/if n $ctdown>3 /goto :TryAgain
/sendkey down shift
/finditem "$p0"
/sendkey up shift
}
/if n $cursor(stack)>4 {
/click left 550 116
/varset ctdown 16
/goto :TryAgain
}
/return
-
Fippy
- a snow griffon

- Posts: 499
- Joined: Tue Jul 16, 2002 10:42 am
Post
by Fippy » Thu Oct 17, 2002 5:21 am
Not tried this yet (Patching woes) but I was gonna do this myself in a couple of days. I have the Backpacks full of bonechips all ready and waiting.
No not lame power leveling. Pally faction :-)
Fippy
-
Lurker_005
- a lesser mummy

- Posts: 51
- Joined: Thu Oct 17, 2002 12:08 pm
Post
by Lurker_005 » Thu Oct 17, 2002 12:11 pm
Havn't done it in a while, but you could do 4 stacks of 4 items at once (4 quest turn ins at the same time) I don't think you can do more than that, but you may want to check.
Should work with any quest that takes 4 of teh same stackable item
-
macrotoon
- a ghoul

- Posts: 106
- Joined: Wed Sep 18, 2002 4:38 pm
Post
by macrotoon » Fri Oct 18, 2002 2:52 am
I done this way back when...this was over a year ago, but you could give this guy 4 stacks of 20 and get faction/exp on all of them. the first set of stacks took my level 1 necro to level 4 then next set took him to lebel 6 the next set was like 6.7 or so. was great. then I deleted him and took my character there for the faction
-
lifewolf
- a ghoul

- Posts: 143
- Joined: Fri Oct 18, 2002 6:29 pm
Post
by lifewolf » Fri Oct 18, 2002 6:31 pm
macrotoon wrote:I done this way back when...this was over a year ago, but you could give this guy 4 stacks of 20 and get faction/exp on all of them. the first set of stacks took my level 1 necro to level 4 then next set took him to lebel 6 the next set was like 6.7 or so. was great. then I deleted him and took my character there for the faction
Currently, you can only hand in 4x4 (16) of any stacked item at a time to NPCs.
Example:
Give window has 4 slots:
Slot1: 4 Bonechips.
Slot2: 4 Bonechips.
Slot3: 4 Bonechips.
Slot4: 4 Bonechips.
If you put more than 4 per slot, Nada return. Atleast i beleieve.. Someone try 16 in one slot. I may be wrong. Been a bit.
-
Digitalxero
- a ghoul

- Posts: 129
- Joined: Tue Sep 10, 2002 5:01 pm
Post
by Digitalxero » Sun Oct 27, 2002 8:23 am
Anything over 4 in one slot is not counted, you still get xp/faction hits for the first 4 though
-
macrotoon
- a ghoul

- Posts: 106
- Joined: Wed Sep 18, 2002 4:38 pm
Post
by macrotoon » Tue Oct 29, 2002 1:56 am
guess they changed that in the past year or so. you could knock out faction in a short time handing in junk to NPCs.
-
gingertips
- a hill giant

- Posts: 230
- Joined: Wed Jun 26, 2002 3:47 am
- Location: Tseu-Qorcam
Post
by gingertips » Tue Oct 29, 2002 7:27 am
Confirmed - Stacks of more than 4 DO NOT WORK - I was trying to be clever about a month ago raising pally faction - i wrote a macro that was giving 4 stacks of 20 - and anythin over 4 does not count - wasted a huge amount of bone chips on this!!!
Make backups of your personal data - dont rely on external drives alone - make regular backups to reliable media. take it from someone who knows...
-
Phantal
- orc pawn

- Posts: 18
- Joined: Tue Aug 13, 2002 7:57 pm
Post
by Phantal » Sat Nov 02, 2002 8:02 am
Oh, it already hands 4 stacks of 4 to the npc. That was one of the more annoying things to figure out.
Since /click doesn't work in new ui, had to use old ui ... and hslider doesn't seem to work, so I was having to set the current mouse position to a certain spot, then click in locations that were offsets of the mouse position at the time that i /clicked on a stack of whatever argument you supplied, so that it could count down to 4, click 'done' and then put it in a trade window.
Everything is setup to work in a VERY static fashion, it's not what you might call modular (unfortunately).
Anyway...
-Phantal
-
Grumpy
- a hill giant

- Posts: 167
- Joined: Sun Nov 10, 2002 4:22 pm
Post
by Grumpy » Sun Nov 10, 2002 4:25 pm
Actually, they "broke" this recently, you can now only hand in 1 unstacked item per slot, items after the first don't count. Handing in 4 stacks of 4 bone chips wasn't annoying enough to make me get MacroQuest and write a macro to handle it, having to hand in 1 bone chip at a time very much WAS annoying enough though. I'll post the macro after I've debugged it.
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Tue Nov 26, 2002 3:33 am
wheres the macro grump?
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
Grumpy
- a hill giant

- Posts: 167
- Joined: Sun Nov 10, 2002 4:22 pm
Post
by Grumpy » Wed Dec 04, 2002 2:48 pm
Been polishing it, it's mostly done now. There are still a few glitches in it though.
Posting it in the Depot, message subject Kaladim Bone Chips