Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > WoW Community Forums > UI Customisation > UI/Mod Developer Forum

Reply
 
Thread Tools Display Modes
Old 14-02-2006, 04:29 AM   #1
Mulsiphix
WorldofWar.Net Member
 
Join Date: Dec 2004
Location: United States
Posts: 4
"Auction Item Has Sold" Notification

When in battle I often miss the "Your auction item has been sold" message. It would be awesome if this message could be displayed on screen, like the "No fish are hooked." or "You do not have enough mana" messages, so I don't risk missing it. Alternatively it would be awesome if I could bind a sound to the event so I would know this way. Either way, as long as it is brought to my attention I would be extremely content. Anybody think they have the time to throw this one together?
Mulsiphix is offline   Reply With Quote
Old 14-02-2006, 05:43 PM   #2
Athame
WoW: IncGamers Member
 
Athame's Avatar
 
Join Date: Feb 2006
Location: Netherlands
Posts: 608
You could try it like this..

Step 1. Make a directory in your AddOns folder called 'AuctionAlert'

Step 2. Create a textfile in AuctionAlert called 'AuctionAlert.toc' with something along the lines of:
Code:
## Interface: 10900
## Title: Auction Alert
## Notes: Displays auction sold in error frame and plays a sound
## Author: Mulsiphix
## OptionalDeps:
## SavedVariables:
AuctionAlert.xml
Step 3. Create a textfile in AuctionAlert called 'AuctionAlert.xml' with:
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
   <Frame name="AuctionAlert" hidden="true"> 
      <Scripts> 
         <OnLoad> 
		this:RegisterEvent("CHAT_MSG_SYSTEM")
         </OnLoad> 
         <OnEvent> 
		if string.find(arg1, "Your auction of .+ sold%.") then
			-- show the message on the error frame
			UIErrorsFrame:AddMessage(arg1, 1.0, 1.0, 0.0, 1.0, UIERRORS_HOLD_TIME)
			-- play a sound
			PlaySound("MapPing")
		end
         </OnEvent> 
      </Scripts> 
   </Frame>
</Ui>
Athame is offline   Reply With Quote
Old 14-02-2006, 06:11 PM   #3
Tuplad
Banned
 
Tuplad's Avatar
 
Join Date: Aug 2005
Location: Belgium
Posts: 789
ZOMG, this replaces my Titan[Auctions] ! /bow
Tuplad is offline   Reply With Quote
Old 15-04-2006, 07:13 PM   #4
Phazer
WorldofWar.Net Member
 
Join Date: Apr 2006
Posts: 1
This is great, but if I want it to catch "you have been outbid" messages too, how would I add that in there?
Phazer is offline   Reply With Quote
Old 15-04-2006, 08:03 PM   #5
inkmva
WoW: IncGamers Member
 
Join Date: Jun 2005
Location: Europe
Posts: 1,087
I've never done anything in LUA but I'd presume the following could work:

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
   <Frame name="AuctionAlert" hidden="true"> 
      <Scripts> 
         <OnLoad> 
		this:RegisterEvent("CHAT_MSG_SYSTEM")
         </OnLoad> 
         <OnEvent> 
		if string.find(arg1, "Your auction of .+ sold%.") then
			-- show the message on the error frame
			UIErrorsFrame:AddMessage(arg1, 1.0, 1.0, 0.0, 1.0, UIERRORS_HOLD_TIME)
			-- play a sound
			PlaySound("MapPing")
		end
		if string.find(arg1, "You have been outbid on .+ sold%.") then
			-- show the message on the error frame
			UIErrorsFrame:AddMessage(arg1, 1.0, 1.0, 0.0, 1.0, UIERRORS_HOLD_TIME)
			-- play a sound
			PlaySound("MapPing")
		end
         </OnEvent> 
      </Scripts> 
   </Frame>
</Ui>
Again; No idea if this works and I'm at work so cant test.
inkmva is offline   Reply With Quote
Old 17-05-2006, 07:58 PM   #6
djIgneo
WoW: IncGamers Member
 
djIgneo's Avatar
 
Join Date: Aug 2004
Posts: 100
Is there a way to repost the chat messages to a different chat window, so I could have a tab that says "auctions" and it would only post auction messages in my chat interface?
djIgneo is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden