Greedy Goblin

Sunday, August 30, 2009

Undercutting macro

While I don't make Sunday posts, I got a mail from Chris Casey about macros that cancel your auctions if they are undercut. I don't camp the AH, don't relist so I don't use them myself, but if you have the free time for the 1s war, here is a weapon. Again, I advise against 1s wars as camping AH wastes your time.

This macro requires Auctioneer to be installed and a fresh scan.
/run i,k,o=1,1,"owner";while k do k=GetAuctionItemLink(o,i);if k then _,_,_,_,_,m=AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(k);n,_,c,_,_,_,_,_,b,d=GetAuctionItemInfo(o,i);if m and d<1>m*c then CancelAuction(i);end;end;i=i+1;end

Another macro just lists auctions, doesn't cancel:
/run i,k,o=1,1,"owner";while k do k=GetAuctionItemLink(o,i);if k then _,_,_,_,_,m=AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(k);n,_,c,_,_,_,_,_,b,d=GetAuctionItemInfo(o,i);if m and d<1>m*c then print(k,b,m);end;end;i=i+1;end

22 comments:

Wooly said...

Very Nice. Personally I would never give up a gem like this if I made it, but I appreciate, thanks Chris!

I don't camp AH because of the simple reason that it takes too much time (and lately I hardly trade anway, because I have more then enough gold), but with stuff like this, a quick in-between check is hardly time consuming (and since I'm not into glyphs I don't have a million separate sales anyway).

Of course, there's another reason... If competition is going to use this weapon now, you can't stay behind.. that's simply how business works, standing still is moving backwards..

Kevin Marquette said...

Here is one to cancel short and medium auctions.

/script local o="owner" p=GetNumAuctionItems(o) i=p while (i>0) do local _,_,c,_,_,_,_,_,_,b,_,_=GetAuctionItemInfo(o,i) t=GetAuctionItemTimeLeft(o,i) if((c>0)and(b==0)and(t<3))then CancelAuction(i) end i=i-1 end

If it looks like something will expire shorly after I log off, I use this macro to quickly cancel them.

goth said...

These macro's have been out for a while and they are on the auctioneer website. You can specify what you want cancelled vice cancelling everything. For glyphs there would be a line "glyph of" to cancel all glyphs. My mule deals in glyphs and gems - auction fees for gems are pretty high compared to glyphs so this macro is good for me.

Pangoria Fallstar said...

I only play WoW once every 4 days, so I don't spend my time canceling while I'm on. Works out fine. I was making alot of money with Dalaran Clam Chowder, but a bunch of people finally caught on. It's still making money, but they get into silly undercut wars, and I just wait it out. I had one guy yell at me in trade chat to post more up.

Degini said...

The addon Quick Auctions has a feature that will cancel any auction you have been undercut on with the click of a button.

Just one of its many features.

Tilman said...

...what Jason said.
I tried a lot addons to streamline my glyph industry and by far the best addon I found is QuickAuctions. I don't even have auctioneer installed anymore.
Besides crafting, the click of two buttons is all that's needed to always have the cheapest glyphs in the ah.
You can set all the parameters yourself, so if you don't want do to the 10s-undercut-routine just set the maximum posting price to 5g or whatever.

Basis said...

True, Quick Auctions 2 is a great mod. But it's only a tool. It's how you use it that matters. If you just press two buttons to do all of your thinking for you, it's pretty easy for your competition to learn your modus operandi.

Quick Auctions 2 doesn't allow you to undercut by a percentage, for example. Only a fixed amount of gold and silver. If you are competing with a goblin, or undercutters, you'll end up giving your hand away very fas.

Good luck figuring out how to avoid this, and still keep your profits up. Gevlon's blog is about learning to think smart, not a guide to 'do this 1 thing' and make money. If such a guide were to exist, it would immedieately cease to be relevant.

As Wooly said: Standing still is moving backwards.

If you want to learn anything from this website, assume everything posted here is common knowledge, and think ahead.

Euripides said...

For what it's worth, on mature markets with competitors, not cancelling your auctions and relisting will mean no sales. Every time you list, you have a window to sell your products (say, glyphs) that will last until someone else uploads a batch. While you might be lucky enough to have no or few competitors, many realms have over 15 scribes with every glyph in the game who log on periodically to relist their undercut auctions.

psxanarchist said...

I have been waiting SO LONG for exactly this macro for only canceling those auctions being undercut (currently use mass cancel macro) - sadly, I can't get it to work & auctioneer just gives me an error message:

Date: 2009-08-30 10:31:00
ID: 1
Error occured in: Global
Count: 1
Message: [string "i,k,o=1,1,"owner";while k do k=GetAuctionItemLink(o,i);if k the..."] line 1:
'end' expected near '< eof >'
Debug:
(tail call): ?
[C]: ?
[C]: RunScript()
..\FrameXML\ChatFrame.lua:1879: value()
..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:3176: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:2274:
..\FrameXML\ChatFrame.lua:2267
[C]: UseAction()
..\FrameXML\SecureTemplates.lua:277: handler()
..\FrameXML\SecureTemplates.lua:487:
..\FrameXML\SecureTemplates.lua:445

HALP plz & ty in advance!!!

psxanarchist said...

Well, I goofed in my post...I had deleted an "end" which gave me that error message - I appologize...the real error message I get is as follows:

Date: 2009-08-30 11:16:20
ID: 1
Error occured in: Global
Count: 1
Message: [string "i,k,o=1,1,"owner";while k do k=GetAuctionIt..."] line 1:
attempt to compare number with boolean
Debug:
(tail call): ?
[C]: ?
[string "i,k,o=1,1,"owner";while k do k=GetAuctionIt..."]:1: in main chunk
[C]: RunScript()
..\FrameXML\ChatFrame.lua:1879: value()
..\FrameXML\ChatFrame.lua:3526: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:3176: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:2274:
..\FrameXML\ChatFrame.lua:2267
[C]: UseAction()
..\FrameXML\SecureTemplates.lua:277: handler()
..\FrameXML\SecureTemplates.lua:487:
..\FrameXML\SecureTemplates.lua:445

Thanks again for help

Anonymous said...

I am surprise that "Quick Auctions 2" addon hasn't been mention at all in the glyph/gem industry.

As someone said above, this addon cancel every auction that have been undercut. It also post the items in your bag (you setup which one to post) with some pre-setup information like prices, minimun prices, how much undercut, etc.

But one of the most valuable features is the scan of the action house for specific things. In this case let's say GLyphs.

It will give you a result of every glyph, their current price, and how many of each are in the AH at that specific moment.

This list type result can be used in many ways, one way is to click on the glyphs that you don't have post yet, the ones that are in the crazy 120g each, or the ones that are profitable.

The cool thing now is that when you click on the glyphs in the glyphs list it will add them to you trade skill in a separate tab/list. When you are done you will a list of glyphs to make and a list of materials needed to make them. Get the materials/ink and click on the new tab/window next to your trade skill and it will create them automaticly.

Hope this make sense. It's easy, one button cancel, one button post.

Anonymous said...

or you just use auctionator inbuilt undercut funtionality and cancel the auctions pretty easily.

Archangel said...

Mentioned Quick Auctions since June on Gevlon's post "Worst tradeskill design". As I said then : it's only a matter of time 'till it will reach a great popularity among businessmen. It's just that good in my opinion.

Anonymous said...

Interesting, first time i see if and while conditions in wow macros, didnt think it was possible.

Anonymous said...

How to set Quick Auctions tradeskill so that it will automaticly make the glyphs i lack in my inventory ?
example:
i want to always have 5 glyphs of corruption, i have 3 it makes- or at leats queues to make 2more

?

goth said...

psxanarchist

http://forums.norganna.org/discussion/9729/macro-to-cancel-all-auctions-in-one-click-not-working/#Item_0

This is the cancel all glyph auctions that do not have a bid on them. To make this macro work copy and paste to notepad delete all next lines so that the macro will all be on one long line. Copy macro from notepad and paste it into a new macro. Go to auctions U/i and open window that has all of your auctions and click the macro. Now I'm helping M&S see what you started Gev

/run local i=1;local n=1;while n ~= nil do local b=0;n,_,_,_,_,_,_,_,b=GetAuctionItemInfo("owner",i);if n~=nil and strfind(n,"^Glyph of") then CancelAuction(i) end i=i+1 end

G said...

Won't be long until someone makes an addon that completely automates the glyph industry for the average M&S.

SoD said...

While the goblin does not re-list items, i think he can only do this on servers where they are not many goblins and players that are not frequently on. This is a good macro if you are constantly having items return to you in the one copper war.

Always remember that one will buy at the lowest price.. you better have that price.

Anonymous said...

Honestly, I've been finding undercutting low is pointless because people will just undercut you again.

The thing is, is this expected? Am I supposed to post more than 3?

I'm using Quick Auctions. I swear to god this add-on is the killer of goblins. However, I STILL don't get what the hell I'm supposed to do.

Anonymous said...

Sorry to be critical, but it seems this blog focuses on how to beat the "M&S" but not other goblins. On my server I can see who has recently read this blog because prices will crash all at once. Of course, then the undercutting starts until all the profit has been wrung out. Then it's a matter of seeing who will exit the market and who settles for miniscule profit.

If Gevon (or anyone) is so helpful, why doesn't he show us what to do when there are several "goblins" on the server. Telling me how to beat uninformed or lazy people isn't news anymore.

Chris said...

Hi! I wrote this macro. It looks like some of the code got clipped out due to html parsing.

/run i,k,o=1,1,"owner";while k do k=GetAuctionItemLink(o,i);if k then _,_,_,_,_,m=AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(k);n,_,c,_,_,_,_,_,b,d=GetAuctionItemInfo(o,i);if m and d<1 and b>m*c then print(k,b,m);end;end;i=i+1;end

Try that, it should work. It's the "print" version of the macro; replace the print statement with a CancelAuction statement if that's what you want!

Bill said...

@Basis Actually Gevlon undercuts 60s. However, his "threshhold" (in QA speak) is 40% below the market rate. Whatever that is.

The advantage QA has is with glyphs, they have two price points: 1 ink and 2 ink. I set my threshold to my maximum ink price * number of inks I need to make the glyph. I can cut right down to the bone and guarantee that no glyph will ever be sold for less than a profit. I don't think auctioneer can do that. But I'm no auctioneer expert.

The advantage of auctioneer is once competition dies down, prices go back to their market values on a per glyph basis. QA only allows one fallback per "group" (I use two, 1 ink and 2 ink). And it has nothing to do with the market value.

Either addon can be used by a deep undercutter. QA and auctioneer may not do it exactly the same, but they both can be used. Just like they both can be used to play the AH campers game.