Powerarrows.mac The original. Use powerarrows2

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Sun Nov 24, 2002 5:13 pm

To add!
The reason your probably buying more than one could be lag. Stick another delay in there to see if that helps when buying an item.

User avatar
Morath
a lesser mummy
a lesser mummy
Posts: 41
Joined: Tue Oct 22, 2002 3:09 pm

Selling problem...

Post by Morath » Tue Nov 26, 2002 11:13 am

I'm still having a problem with getting mine to sell back to the vendor...

It will buy and combne fine, but once there is a success it places the arrows in the combiner and then gives me a "can't find 'class'" error...

Can someone who has this thing working please hook me up with the proper script to get it to sell before moving back to the buying components...

Thx...

Mor-ath

Bonker
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Nov 26, 2002 11:01 pm

Almost got it

Post by Bonker » Tue Nov 26, 2002 11:12 pm

I've added in a few delays and it will buy and combine just fine.

However when it comes to selling I get an error:

Usage: /finditem [similar] itemname

I added a sell item call to the macro that consists of this:

Code: Select all

Sub SellItem 
   /sendkey down shift 
   :SellItem 
      /finditem similar "arrow"
      /if $find()==FALSE /goto :DoneSellItem 
      /varcalc p2 $char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper) 
      /click left merchant sell 
      :SellItemLoop 
         /delay 10 
      /if n $calc($char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper))==$p2 /goto :SellItemLoop      
   /goto :SellItem 
   :DoneSellItem 
   /sendkey up shift 
/return 


So why am I getting this error when the arrows are placed back in the fletching kit. Again, I've got some large delays in there to make sure its not lagging. I think its a delay 50 between the call for making arrows and selling arrows.

I can manually /finditem similar arrow and it will select those items in the fletching kit.

Any ideas?

Bonker

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Re: Almost got it

Post by macrotoon » Wed Nov 27, 2002 12:04 am

Bonker wrote:I've added in a few delays and it will buy and combine just fine.

However when it comes to selling I get an error:

Usage: /finditem [similar] itemname

I added a sell item call to the macro that consists of this:

Code: Select all

Sub SellItem 
   /sendkey down shift 
   :SellItem 
      /finditem similar "arrow"
      /if $find()==FALSE /goto :DoneSellItem 
      /varcalc p2 $char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper) 
      /click left merchant sell 
      :SellItemLoop 
         /delay 10 
      /if n $calc($char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper))==$p2 /goto :SellItemLoop      
   /goto :SellItem 
   :DoneSellItem 
   /sendkey up shift 
/return 


So why am I getting this error when the arrows are placed back in the fletching kit. Again, I've got some large delays in there to make sure its not lagging. I think its a delay 50 between the call for making arrows and selling arrows.

I can manually /finditem similar arrow and it will select those items in the fletching kit.

Any ideas?

Bonker

Try putting a /delay 5 after the /finditem similar arrow

Might not have time to find it.

Bonker
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Nov 26, 2002 11:01 pm

Got it working

Post by Bonker » Wed Nov 27, 2002 1:40 am

:D

I've got the fletching macro working. I ended up redoing the sellitem call that I put into the fletch macro and made it like the example that is in the readme file.

Code: Select all

Sub SellItem 
   /sendkey down shift 
   :SellItem
      /varset v99 $char(plat)
      /varset v98 $char(gold)
      /varset v55 $char(silver)
      /varset v56 $char(copper)
      /finditem similar "arrow"
      /delay 5
      /if $find()==FALSE /goto :DoneSellItem 
      /click left merchant buy 
      :SellItemLoop 
      /if n $v99!=$char(plat) /goto :SellItem
      /if n $v98!=$char(gold) /goto :SellItem
      /if n $v55!=$char(silver) /goto :SellItem
      /if n $v56!=$char(copper) /goto :SellItem   
   /goto :SellItem 
   :Done SellItem 
   /sendkey up shift 
I also added delays in to each sub call inbetween buying each item, combining and selling. This is what I did for the bone arrows, but the changes can be made to all.

Code: Select all

Sub BoneShaft 
      /for v2 1 to 20 
      /delay 10
      /click left merchant up 
      /click left merchant up 
      /click left merchant up    
      | ------"field point" 
      /click left merchant 0 
      /call BuyItemSingle 
      /delay 5
      | ---------- "bone arrow shaft" 
      /click left merchant 4 
      /call BuyItemSingle 
      /delay 5
      | ---------- "round cut" 
      /click left merchant 7 
      /call BuyItemSingle
      /delay 5 
      | -------Large Groove Nock-------- 
      /click left merchant down 
      /click left merchant down 
      /click left merchant down 
      /click left merchant 8 
      /call BuyItemSingle 
      /delay 5
      /call MakeArrows 
      /delay 5
      /call SellItem 
      /next v2 
      /return 
I hope this will work for others :)

Bonkers

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Fri Nov 29, 2002 1:09 am

Hell I cant get the macro running for more than a few combines without crasing me to desktop now /boggle

Glad you got it working bonker. i might try some of your changes at a soon and update the original post.

Space-Boy
a hill giant
a hill giant
Posts: 242
Joined: Wed Dec 04, 2002 12:53 pm
Contact:

Post by Space-Boy » Sat Dec 07, 2002 7:58 pm

Nerf or no? after a success the arrow wont appear on cursor unless you exit merchant mode
You have gotten better at Carpal Tunnel! (247)

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Sun Dec 08, 2002 1:24 am

was like that before, try clicking your auto-drop after combining, item is there

woodcraft
orc pawn
orc pawn
Posts: 10
Joined: Tue Jan 14, 2003 10:39 pm

Post by woodcraft » Tue Jan 14, 2003 10:46 pm

Can someone post a complete macro for this. Tried the macro with the fixes here. Shut down EQ.



Regards

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

Post by SingleServing » Tue Jan 14, 2003 11:09 pm

woodcraft wrote:Can someone post a complete macro for this. Tried the macro with the fixes here. Shut down EQ.



Regards
This won't work at the moment because clicks do not work =)

Patience is something you admire in the driver behind you, but not in one ahead.
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]

dones
orc pawn
orc pawn
Posts: 25
Joined: Fri Mar 21, 2003 10:13 pm

Post by dones » Sat Jun 07, 2003 11:27 pm

i crash to desktop if aneyone can help me please PM me

Shark
a lesser mummy
a lesser mummy
Posts: 47
Joined: Wed May 21, 2003 12:23 pm

Post by Shark » Sun Jun 08, 2003 9:14 am

Great idea. Didn't realize combine button would work while trading with merchant.

In your macro you have several instances of:
/click left merchant up
/click left merchant down

As far as I can tell, the ParseMouseLoc routine just discards these because up is not a recognized value for merchant. What were these lines supposed to be doing? And do they do anything with your setup?

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Mon Jun 23, 2003 12:04 am

Code: Select all

ub MedGroveNock 
      /for v2 1 to 20 
      /click left merchant up 
      /click left merchant up 
      /click left merchant up    
      /delay 5 
      | ------"field point" 
      /click left merchant 0 
      /call BuyItemSingle 
      | ------ "wooden arrow shaft" 
      /click left merchant 3 
      /call BuyItemSingle 
      | ---------- "round cut" 
      /click left merchant 7 
      /call BuyItemSingle 
      | -------Medium Groove Nock-------- 
      /click left merchant down 
      /click left merchant down 
      /click left merchant down 
      /click left merchant 9 
      /call BuyItemSingle 
      /call MakeArrows 
Im not sure how these work with the new ui and the clicky being different, but in the day the /click left merchant up/down would click the up down arrow in the merchant window so you can see all the stuff for sale. Im sure it works very different now.

SynMonger
decaying skeleton
decaying skeleton
Posts: 2
Joined: Tue Apr 29, 2003 12:44 am

Post by SynMonger » Thu Jul 10, 2003 12:01 am

running this macro as it is on page 1 of this post ends with me looking at a nice desktop :shock:
What does THIS button do??

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Thu Jul 10, 2003 10:21 pm

This macro is at least 7 months old. It would take alot of work to get it up to date.

The merchant window doesnt work the same any more. Sony put in a delay as to how often you can combine. Theres alot of variables that need to be looked into.

Now that my fletcher is at 235 i have no need for it anymore. Although im about to let that account go, I might have to refresh this so i can have me another fletcher.