A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
LamahHerder
- a hill giant

- Posts: 299
- Joined: Sat Jun 29, 2002 2:37 am
Post
by LamahHerder » Thu Jan 15, 2004 8:56 pm
Code: Select all
#turbo
|===========|
| 01.15.04a |
|___________|
| |
| bts.mac |
| by m0nk |
|___________|
|
| Simple Bazaar Trade Starter
| for when too many traders in bazaar
| /mac bts with mouse cursor over "begin trader" button
|
#event BazMax "The bazaar has reached its maximum number of traders.
Sub Main
/click left
/call loop
/endmacro
sub loop
/delay 2s
/doevents
/endmacro
sub event_bazmax
/click left
/call loop
/endmacro
[/code]
-
Zarnax
- decaying skeleton

- Posts: 1
- Joined: Mon Jan 12, 2004 6:56 pm
Post
by Zarnax » Thu Jan 15, 2004 10:06 pm
Incase you are like me and couldn't figure this out: It is so you can auto click and get into trader-mode as soon as someone else leaves.
The bazaar has a limit? It took me a while to figure out what this was for
I thought it was to scroll to more items when your search fills to the max, but I didn't think you could search for those extras without setting more perams in the search... which you can't
One more thing... which server do you play on that you have a problem so bad you had to make a macro for it?
-Zar
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Fri Jan 16, 2004 1:07 am
Zarnax wrote:One more thing... which server do you play on that you have a problem so bad you had to make a macro for it?

I've seen this on a couple servers. Depends on time of day...nights and mornings are horrid on my server. Everyone sets up for bed and school/work...
[b]- Bad Karma
________________________________________[/b]
In our own quest for excellence, we should strive to take the time to help those who help themselves.
All others should [b]RTFM[/b]!!!!!!!!!
-
BrainDozer
- a lesser mummy

- Posts: 45
- Joined: Sun Aug 03, 2003 2:10 pm
Post
by BrainDozer » Fri Jan 16, 2004 5:03 am
You’re using an indirect recursion approach that could cause performance problems or worse if left running long enough.
Try this:
Code: Select all
#turbo
#event BazMax "The bazaar has reached its maximum number of traders."
Sub Main
/declare bazflag global
:loop
/click left
/delay 2s
/varset bazflag 0
/doevents
/if @bazflag==1 /goto :loop
/return
sub event_bazmax
/varset bazflag 1
/return
-
draco
- a ghoul

- Posts: 145
- Joined: Thu Jan 29, 2004 7:06 pm
-
Contact:
Post
by draco » Sat Jan 31, 2004 9:52 pm
I like it. However,
should be:
Numerical comparison
-
inorpo
- a lesser mummy

- Posts: 31
- Joined: Sat Nov 29, 2003 1:44 pm
Post
by inorpo » Mon Feb 09, 2004 3:25 am
Code: Select all
|**
trader.mac - helps you get in the bazaar when its full.
**|
#event BazaarFull "The bazaar has"
Sub Main
/zapvars
/declare BazaarFull global
/declare Trys local
/varset Trys 0
:loop
/if "$target(name,clean)"=="$char(name)" {
/echo Pausing!! To resume, type /target clear or target something else.
/echo Current Stats: $int($calc(@Trys)).
:HoldingPattern
/delay 5s
/if "$target(name,clean)"=="$char(name)" /goto :HoldingPattern
}
/varset BazaarFull 0
/click left bzrtrader_start
/delay 2s
/doevents
/if @BazaarFull==0 {
/echo Got in the bazaar in $int($calc(@Trys)) trys.
/endmacro
}
/varadd Trys 1
/goto :loop
/return
Sub Event_BazaarFull
/varset BazaarFull 1
/return