Download
(70Kb)
Download
Updated: 07-04-12 08:36 PM
Pictures
File Info
Updated:07-04-12 08:36 PM
Created:11-03-08 10:40 PM
Downloads:32,273
Favorites:540
MD5:

Swindler Preventer  Popular! (More than 5000 hits)

Version: 5.0.1
by: Thortok2000 [More]

This addon adds information to the tooltip to remind you that you could buy an item from a vendor instead. Never get swindled again!

Currently supports Recipes, Vanity Pets, and Bags!

5.0.1 (15799) BETA - 2012/7/4

Yes, I'm still around. Between having a kidney stone a couple months ago, and playing Diablo 3 and going to school, I haven't been playing WoW much these last few months. But I'm still here. =P

Now that Mists of Pandaria finally decided to turn addons on, we can get down to some beta testing!

I will add MoP Beta recipes to Swindler Preventer, but beware changing prices/locations/data as the beta updates! I'll try to stay on top of it but it's much easier to detect new data than it is to detect old/bad data. When the expansion is released I will wipe all data from the beta and rebuild again to make sure there's no bad data. But in the meantime, feel free to report 'new' data! Wowhead doesn't yet have full data on vendor-sold non-bop recipes yet so reports from users is the only way to build data at this time.

Since the BETA data shouldn't bother live users, I'm marking this version as a 'release' so you can still use it on live. But since the toc is set for the Beta it will show as 'out of date' in 4.3.4 and you will need to use 'load out of date addons' to use it. If you don't want to do this you can manually set the toc to 40300 instead of 50001 in the SwindlerPreventer.toc file.

- BETA: In MoP the game would freeze when talking to a vendor if the data wasn't fully loaded into cache yet. With even a 0.01 second delay it doesn't freeze. I can live with a 0.01 second delay. If you have any WoW API knowledge, take a look at SwindlerPreventer.lua starting at line 288 and feel free to see if you can improve upon my method. I'm still a beginner! But this seems to work for me and stops the freezing.
- Zan Shivsprocket has been corrected to Zan Shivsproket. This should be the last of the typos in pre-Pandaria data. That I know of, nobody has reported any!
- Added some new reported information for vendors and locations for Cataclysm as well. Of note is Enchant Weapon - Executioner, new in 4.3.
- BETA: Added vendor Nam Ironpaw for 2 Cooking recipes and Nat Pagle for a pet. So far that's the only MoP data that's been reported.

... Not to be a beggar, but donations would be *really* useful right now. Rent's gone up, but my income hasn't. Right now my bank account's actually sitting in the negative and the overdraft charges are piling up. I've gotten rid of a few of my bills so I should be good if I can get back in the black, but first I need to pay off what I already owe. =/ Plus I turn 30 on July 15th 2012 and it looks like I won't even be able to afford to celebrate my own birthday! Help a broke college student out? ^_^ (Oh, and if anyone wants to hire a student programmer, feel free to contact me! Right now I'm taking classes in Visual Basic and XHTML/CSS. I'm a straight-A student!)

But enough about my woes. Even if you don't donate, hope you enjoy the addon! ^_^

4.3.3 - 2012/03/03

I've been too busy with schoolwork to play WoW so I didn't get to do any of the Love is in the Air stuff. Sorry for the late update.

- Added Dramm Riverhorn and the four Blacksmith Plans he sells.
- Added the Love is in the Air pet and mount.
- Previously, all vendor-bought mounts in the game were BoP (or BoA). Now that there is at least one that can be put on the Auction House I have added mounts to the 'detection' function. Since I wasn't able to test this during the event we'll just have to see if it works if any other BoE mounts come out.
- Since I have blacklist working, and BoP detection working too, and I was adding mount detection anyway, I re-added bag detection. It'll blacklist the ones that are sold everywhere but in case a new type of vendor-bought non-BoP bag comes out it'll (hopefully) be detected too.

Anything else you think should be detected? I can also add in specific items manually if desired.

I know this is not the most earth-shattering addon in the world but your donations really are appreciated. ^_^ Thanks to the few of you who have donated so far!

4.3a - 2012/01/23

- Added the two new pets for the Lunar Festival. This presented an interesting dilemma: Each faction can only buy one of the items, but they are both sold by the same, neutral vendor.

A) The option I went for is to list the vendor only on the item that can be bought by your faction. The other will say 'seasonal vendor' but not have a vendor listed.
2) Another option would be to list the vendor on both items for both factions, but this might upset people when they realize their faction can only buy one of them. (Imagine someone who sees both listed on the AH, and then buys the one for their faction while expecting to buy the other with the 50 Coins of Ancestry...)
Third) And the final option would be to have a note listed on the item that cannot be purchased by your faction that it can only be purchased by the other faction. I didn't choose this option because it would be the only item in the game where you see a vendor location for the opposite faction.

If I get a lot of comments about the 'seasonal vendor but no vendor listed' note that will appear on the one that cannot be bought by your faction, I may go with the third option anyway. I do not expect it to be a common occurrence, however, but we shall see.

Haven't gotten any donations or ideas/requests/suggestions in a while. Haven't gotten any data reports either, not that there's any data TO report though. Hope people haven't forgotten about this little addon. =(

4.3 - 2011/12/15

- NEW FEATURE! Swindler Preventer now has version checking! It will wipe your saved variables for you whenever a version 4.3 or later replaces a different version. This will fix any errors related to bags that people have reported because they did not delete their saved variables. It will also make sure that any data submissions do not include data that is already included in the addon. Thanks to Gazmik (again) for pointing me in the right direction. ^_^

However, if you find new data and do not submit it, it WILL reset it from displaying in tooltips until you manually go back to the vendor and 'discover' the location again. So always submit data! ^_^ Thanks to blacklist and BoP support, new data should be VERY rare nowadays! ^_^

- Added 'Gingerbread Cookie' to blacklist. Should've been there before, don't know why it wasn't. =P With the new version checking feature, your tooltip should automatically revert to the 'simplified' tooltip and not keep any locations you found. Merry Winterveil!
- Added Plans: Frostguard to database, which has one neutral vendor.
- Added a Darkmoon Faire vendor that is a new location for Brilliant Smallfish and Bristle Whisker Catfish recipes.
- Added a tooltip for the Guardian Cub to indicate it can be bought from the Blizzard Store. I tried really hard to get the € (euro) and £ (pound) symbols to work, but \128 and \163 just returned question marks. Any ideas?
- TOC update to 4.3.

Donations are great, as always, haven't gotten any in awhile. That's fine, though. Any other ideas, requests, or suggestions for new features?

4.2b - 2011/11/22

- Added 'Binds to Battle.net Account' to BoP detection so that Little Tarecgosa (and any future vendor-bought BoA pets/recipes) do not get detected.

4.2a - 2011/11/21

- A little bit of extra data someone reported. Keep up those data submissions!

4.2 - 2011/11/20

- Fixed several typos in the data. Only a couple actual new recipe locations were added. No new recipes or pets were added. Updated toc to 4.2.
- Fixed 'blacklist' support. For recipes that have simplified tooltips, it should not detect new vendors any more. As these recipes are very common, that should significantly reduce the amount of 'recipe found' you find from Cooking and Enchanting supply vendors.
- Bind on Pickup support seems to be working perfectly. Yay for less unnecessary data reports! ^_^ As Blizzard seems to prefer bind on pickup recipes nowadays (at least from vendors), new data should be a rarity, possibly a pet now and then. This addon should be pretty standalone going forward but I will still support it with new data and toc updates and, if necessary, bug fixes. ^_^

Reminder: I have not yet implemented a way to automatically purge your saved variables file for each new version, so remember to delete it yourself, especially if you submit new data using that file, OR if you continue to get errors of 'location not found' or 'item is listed but has no vendors.' If you don't submit data or get errors, then you don't really have to worry about it. ^_^

Another Reminder: As always, donations not required of course, but definitely appreciated! I'll be going to school in January, to get an associate's degree in Computer Programming. Assuming I learn things I don't already know (which is a pretty safe assumption), I might be able to make my own addons from scratch! Wouldn't that be cool? If you wanna donate and help out, you can use the donate button on the page, or paypal to [email protected]. Thanks so much! ^_^

4.1a - 2011/05/11

So, I decided on a different way to re-create the database. By hand! I've hand-inputted all data currently available from WoWhead.com. Enjoy!

- All data up to date as of today using WoWhead's database. Vendors that no longer exist are no longer listed (hopefully...if you see a vendor in a tooltip on any item and you know the vendor no longer exists, report it! Addon can't detect that.) New zone names are used (Barrens and Stranglethorn in particular are now broken down into their subzones). Recipes that no longer exist are no longer in the database (so might run just a tiny bit faster due to smaller database! Probably won't notice though, it's already a small addon.)
- New feature: Recipes with a ton of locations are now simplified! No more gigantic tooltips! This will generally apply to recipes that have more than 15 vendors or so. These are marked as (for example) "Enchanting Supplies Vendors, Everywhere".
- Semi-new feature: Bag support is re-added! New and improved! Simplified tooltips included. 'Equivalent' support is added. When a particular bag is not available for purchase from a vendor but one of the same size is (not counting unique bags that you can only buy one of), it will now say so using the word 'equivalent'. Current Bag sizes with a vendor-sold equivalent are 6, 8, 10, 12, 14, 22, and 24. If you see a bag in the AH that's one of those sizes that doesn't have an 'equivalent' tooltip, let me know! Another thing the addon won't detect.
- Right now bag support is only for default bags. If you want support for 'specialized' bags (like Enchanting/Engineering/etc.) let me know! I don't consider these common enough to be a real source of 'swindling' but I could be wrong.
- Still looking for suggestions for categories and/or specific items that get swindled often!

- An additional reminder: If you continue to experience "Vendor not found" or "Location not found" errors (especially for bags), make sure to delete your SwindlerPreventer.lua file in your WoW/WTF/Account/AccountName/SavedVariables folder! (Again, this is actually a good idea to do every time I release a new version.) I'm tossing around the idea of getting the addon to automatically clear this data on each new version but first I have to figure out how to make it do that. =P

- If you enjoy this addon, please donate! Money's really tight right now and I could really use the help. =(

4.1 - 2011/05/09

- Alright, so my attempt at BoP detection kinda...didn't work. I tried again, more seriously this time. It works now! Promise! If 'binds when picked up' appears on the first 5 lines of the tooltip of the item, Swindler Preventer will now ignore it! It won't store the data and more importantly it will not spam you that it's found something. =P I use only the first 5 lines in case a non-BoP recipe makes a BoP item, couldn't think of any recipes that do that off the top of my head, but just in case.
- Added Winterspring Cub. As far as I know, no other new BoE pets or recipes since last patch!
- Some people are reporting errors for vendors or locations not found. Please keep in mind that bag support was removed for 4.0.3 version of this addon, but if you had 'collected' any data for them in your saved variables lua file, the addon will get confused and error. Simply delete your SwindlerPreventer.lua in your WoW/WTF/Account/AccountName/SavedVariables folder! (This is actually a good idea to do every time I release a new version, just so you know.)

- Now that BoP support has been 'perfected' (I hope) I'm considering a rebuild of the database. This would purge the database of all data that relates to BoP recipes as unnecessary, and also make the addon run just a tiny bit faster since there's less data to sort through (you probably wouldn't notice it though). Also it would clean the database of everything that was prior to the Shattering so any vendors that no longer exist would be removed.

Basically, I'd hand out copies with no data in them at all and people would report the data fresh again. A clean slate so to speak. If you're interested in using a 'blank' version of Swindler Preventer so as to re-collect data to build a new database with, let me know! Unless I can get a handful of people willing to re-collect data for BoE pets and recipes I will leave it as is.

- Thanks to everyone that has sent me donations! Still job hunting and money's extremely tight right now so it's very much appreciated!

4.0.3 - 2011/01/02

Major update.

- Swindler Preventer now (hopefully) will NOT detect recipes/pets that are BoP! This will create less spam of new recipes, less data for you to let me know about, and less data overall. This feature is new and I'm not sure I got it right (works fine in my testing) so gimme some feedback. I kinda jury-rigged it together. =/ If you use your LUA file to report new data, please delete your current file and only send data from after this version!
- Now that BoP items are no longer reported, you probably won't even notice this, but I've fixed it so items that require an alternate form of currency will correctly report the amount and form of currency required instead of saying '1 honor' every time.
- Bag support has been removed as being unnecessary and too spammy and too much data. Haris Pilton's bags are still in. Any specific item you feel is liable to get swindled on the AH, let me know!
- Now for the tricky part. Now that Deathwing has shown up, there are some vendors that no longer exist. If you should notice a tooltip displaying incorrect information regarding a vendor that no longer exists, the addon won't be able to detect this. You'll have to report it manually. Thank you for doing so!
- I have recently lost my job so donations are welcome while I look for a new one. =( In the meantime, long-desired features (such as BoP detection for instance,) now would be a good time to speak up!

4.0.1a - 2010/10/20

Fixed LUA error in regards to currency changes. Also updated honor cost of the couple of items bought with honor (mostly JC recipes). And this fix I did all by myself! Go me!

4.0.1 - 2010/10/18

Wow, almost a year since this thing has needed either a fix or even so much as a data update! And the only data update is ONE new pet from Dalaran that most of you probably know about by now (Blue Clockwork Rocket Bot.) Well, this is now patched to 4.0.1 (yay). Sorry it took so long, I'm only very slightly less un-awesome at fixing bugs then I was before. This fix was brought to you partly by the original Gazmik Fizzwidget (he helped me on the getglobal issue) and by Maul from the Silver Hand realm who helped me with the this/self stuff on the official UI forums. If any more LUA errors come up, let me know, but it's working for me!

By the way, someone asked me if I've gotten enough donations to make this worth my time. You know how many donations I've gotten? None. Not even a nickel. And that's totally okay. I update this addon because I want to use it and I post it for others because I can.

My plans for the expansion are to totally wipe and rebuild the database, in a large part based on contributions. It's gonna depend on how much the world actually changes. If a lot of vendors go bye-bye, then a rebuild of the database may be in order.

3.3a - 2009/12/28

So yeah, I'm completely un-awesome at fixing bugs. This fix, which restores the options and seems to get rid of all other LUA errors caused by /my/ attempted fix, is brought to you by Sithehenn.

3.3 - 2009/12/27
- TOC Update
- Data update!

There was a bug with the options panel in 3.3. So I removed it. Let me know if this presents a problem. How many people actually use the options anyway?
Sorry for the late update. I took a break from WoW, but I'm back now.

3.2 - 2009/9/01
- TOC Update
- Data update!

Remember, data submission is what causes new versions. No submitted data, no new versions!

3.1.3 - 2009/6/30
- Data update!

3.1.1 - 2009/5/05
- TOC Update
- Data update! All Argent Tournament pets have been added. Remember, Swindler Preventer lists vendors of your faction (Alliance/Horde) and neutral vendors only.

I had to retrieve the Argent Tournament pet data myself. Out of ten pets, only 3 were reported! Your data submission helps maintain the addon for other players. ^_^

3.0.9a - 2009/3/17
- Data update!

3.0.9 - 2009/2/24
- Data update!

3.0.3f - 2009/1/14
- Data update!

Y'know what I noticed about the holiday goblins I never noticed before? Their names are parodies of stores.

Wulmort - Walmart
Hotoppik - Hot Topic
Penney - JC Penny's
Wolgren - Walgreens
Khole - Kohls
Nardstrum - Nordstrom
Seersa - Sears
Eebee - EB (Electronic Boutique, or EB Games)

Wow. I really have never noticed that before. I wonder how many people notice that? Honestly? It doesn't stick out until you're listing all of them from all the cities right in a row. Like if you're maintaining data for an addon like this. =P There may even be more store-named holiday goblins but these are the only ones that have been reported as selling recipes.

I'm also thinking about removing Container support. The vast majority of reported data is vendors, vendors, and yet more vendors, that sell the extremely common items of bags and quivers. In the next version, if I don't hear any requests otherwise, I'm going to change the extremely common items to say 'A lot of vendors, a lot of places' instead of filling your entire screen with vendor locations for that one item. The other option is to list only vendors in capital cities. What are your thoughts?

3.0.3e - 2008/12/24
- Data update!

3.0.3d - 2008/12/02
- Data update!

3.0.3c - 2008/11/25
- Data update!

3.0.3b - 2008/11/17
- Bought a port to Dalaran and added Dalaran Recipe vendors, which were probably the spammiest. Keep the data submission coming!

3.0.3a - 2008/11/10
- Added more data.

3.0.3 - 2008/11/09
- Fixed slash command. Thanks Joel!
- Added Containers of all kinds. Only the exact version that can be bought from a vendor is included, though. For instance, a Small Black Pouch will not list that it can be bought from a vendor, even though it's the exact same size as a Small Brown one. So just be wary, if you don't care about the color of your bag, and only the size, look for the 'brown' color for vendor information.
- Added 'detection' for Vanity Pets, Quivers/Ammo Pouches, and Containers for English localization. This data seems to be incomplete on websites such as WoWDigger, Thottbot, WoWHead, etc., so please report any data you find! You can report any information found to this website! Please include the entire in-game message.

3.0.2a - 2008/11/03
- Added some reported recipes.

3.0 - 2008/10/25
- Took over the addon 'AdSpace' and at original author's request, renamed it. New name is 'Swindler Preventer'! Will include info on tradeable items beyond just recipes. Will start with vanity pets.
Optional Files (0)


Post A Reply Comment Options
Unread 05-12-11, 02:19 AM  
Joschasa
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 20
Uploads: 2
SwindlerPreventer 4.1a error: Can't find location for Ogg'mar. Please report this at the website you downloaded from.
Report comment to moderator  
Reply With Quote
Unread 05-12-11, 04:20 PM  
Thortok2000
A Defias Bandit
 
Thortok2000's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 367
Uploads: 3
@Joschasa

Ah yes, he's supposed to have two r's in his name. Fixed for future versions.
__________________
“I don’t know half of you half as well as I should like; and I like less than half of you half as well as you deserve.” — Bilbo Baggins, from his speech on his eleventy-first birthday.
Report comment to moderator  
Reply With Quote
Unread 05-22-11, 03:12 AM  
Joschasa
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 20
Uploads: 2
Found another NPC in Orgrimmar

Swindler Preventer 4.1a has detected new data! Please report the following message: [Recipe: Rainbow Fin Albacore] [6368] sold for 3s 60c by Shankys (Horde) in Orgrimmar.
Swindler Preventer 4.1a has detected new data! Please report the following message: [Recipe: Mithril Head Trout] [17062] sold for 19s 80c by Shankys (Horde) in Orgrimmar.
(I'll just post a comment, whenever i get these messages again )
Last edited by Joschasa : 05-22-11 at 03:15 AM.
Report comment to moderator  
Reply With Quote
Unread 06-06-11, 05:59 AM  
Thrashfinger
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 14
Uploads: 1
New Data (TOC Version: 4.1a)

This is an excerpt of my SavedVariables\SwindlerPreventer.lua file after some random adventuring:
Code:
SP_NewItemInfo = {
	[4609] = {
		["i"] = "",
		["b"] = 900,
	},
}
SP_NewVendorInfo = {
	["Neutral"] = {
		[21099] = {
			"\"Chef\" Overheat", -- [1]
		},
		[21219] = {
			"\"Chef\" Overheat", -- [1]
		},
		[20758] = {
			"Zurii", -- [1]
			"Enchantress Andiala", -- [2]
		},
		[20752] = {
			"Zurii", -- [1]
			"Enchantress Andiala", -- [2]
		},
		[22307] = {
			"Zurii", -- [1]
			"Enchantress Andiala", -- [2]
		},
		[20753] = {
			"Zurii", -- [1]
			"Enchantress Andiala", -- [2]
		},
	},
	["Alliance"] = {
		[21099] = {
			"Erika Tate", -- [1]
			"Emrul Riknussun", -- [2]
			"Fyldan", -- [3]
		},
		[21219] = {
			"Erika Tate", -- [1]
			"Emrul Riknussun", -- [2]
			"Fyldan", -- [3]
		},
		[20758] = {
			"Apprentice of Estulan", -- [1]
			"Jessara Cordell", -- [2]
			"Vaean", -- [3]
		},
		[20752] = {
			"Apprentice of Estulan", -- [1]
			"Jessara Cordell", -- [2]
			"Vaean", -- [3]
		},
		[22307] = {
			"Apprentice of Estulan", -- [1]
			"Jessara Cordell", -- [2]
			"Vaean", -- [3]
		},
		[4609] = {
			"Narj Deepslice", -- [1]
		},
		[20753] = {
			"Apprentice of Estulan", -- [1]
			"Jessara Cordell", -- [2]
			"Vaean", -- [3]
		},
	},
	["Horde"] = {
		[20753] = {
			"Kithas", -- [1]
			"Thaddeus Webb", -- [2]
			"Lilly", -- [3]
			"Nata Dawnstrider", -- [4]
		},
		[21219] = {
			"Derak Nightfall", -- [1]
			"Naal Mistrunner", -- [2]
			"Xen'to", -- [3]
		},
		[20758] = {
			"Kithas", -- [1]
			"Thaddeus Webb", -- [2]
			"Lilly", -- [3]
			"Nata Dawnstrider", -- [4]
		},
		[22307] = {
			"Kithas", -- [1]
			"Thaddeus Webb", -- [2]
			"Lilly", -- [3]
			"Nata Dawnstrider", -- [4]
		},
		[6368] = {
			"Shankys", -- [1]
		},
		[17062] = {
			"Shankys", -- [1]
		},
		[5788] = {
			"Christoph Jeffcoat", -- [1]
		},
		[21099] = {
			"Derak Nightfall", -- [1]
			"Naal Mistrunner", -- [2]
			"Xen'to", -- [3]
		},
		[20752] = {
			"Kithas", -- [1]
			"Thaddeus Webb", -- [2]
			"Lilly", -- [3]
			"Nata Dawnstrider", -- [4]
		},
		[6054] = {
			"Christoph Jeffcoat", -- [1]
		},
	},
}
SP_NewVendorLocations = {
	["Narj Deepslice"] = "Arathi Highlands",
	["Emrul Riknussun"] = "City of Ironforge",
	["Christoph Jeffcoat"] = "Hillsbrad Foothills",
	["Erika Tate"] = "Stormwind City",
	["Jessara Cordell"] = "Stormwind City",
	["\"Chef\" Overheat"] = "Badlands",
	["Xen'to"] = "Orgrimmar",
	["Zurii"] = "Shattrath City",
	["Fyldan"] = "Darnassus",
	["Enchantress Andiala"] = "Shattrath City",
	["Apprentice of Estulan"] = "Feralas",
	["Vaean"] = "Darnassus",
	["Thaddeus Webb"] = "Undercity",
}
Edit: More items. Updated info above.
Last edited by Thrashfinger : 06-18-11 at 11:19 PM.
Report comment to moderator  
Reply With Quote
Unread 07-19-11, 03:58 PM  
Dahlaine0
A Kobold Labourer
 
Dahlaine0's Avatar

Forum posts: 0
File comments: 14
Uploads: 0
4.2 Update

I know there are no major issues but is there a time frame for an update for 4.2 coming?
Report comment to moderator  
Reply With Quote
Unread 07-31-11, 01:09 AM  
druntar
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 2
Uploads: 1
Here ya go!

[01:05:38] Swindler Preventer 4.1a has detected new data! Please report the following message: [Recipe: Smoked Sagefish] [21099] sold for 4s 50c by Fyldan (Alliance) in Darnassus.
[01:05:38] Swindler Preventer 4.1a has detected new data! Please report the following message: [Recipe: Sagefish Delight] [21219] sold for 45s by Fyldan (Alliance) in Darnassus.
Report comment to moderator  
Reply With Quote
Unread 08-03-11, 12:47 PM  
Naexus
A Kobold Labourer
 
Naexus's Avatar

Forum posts: 0
File comments: 28
Uploads: 0
New Data (TOC Version: 4.1a)

Got some new data to share. Hope there will be an update for 4.2 soon.

Code:
SP_NewItemInfo = {
	[4609] = {
		["i"] = "",
		["b"] = 900,
	},
}
SP_NewVendorInfo = {
	["Neutral"] = {
		[20753] = {
			"Kania", -- [1]
		},
		[18046] = {
			"Dirge Quikcleave", -- [1]
		},
		[21219] = {
			"Kelsey Yance", -- [1]
			"Jim Saltit", -- [2]
		},
		[20758] = {
			"Kania", -- [1]
		},
		[22307] = {
			"Kania", -- [1]
		},
		[17062] = {
			"Kelsey Yance", -- [1]
		},
		[20752] = {
			"Kania", -- [1]
		},
		[21952] = {
			"Mishta", -- [1]
		},
		[21099] = {
			"Kelsey Yance", -- [1]
			"Jim Saltit", -- [2]
		},
	},
	["Alliance"] = {
		[21099] = {
			"Fyldan", -- [1]
			"Erika Tate", -- [2]
			"Craig Nollward", -- [3]
		},
		[21219] = {
			"Fyldan", -- [1]
			"Erika Tate", -- [2]
			"Craig Nollward", -- [3]
		},
		[20758] = {
			"Sarah Lightbrew", -- [1]
			"Jessara Cordell", -- [2]
		},
		[20752] = {
			"Sarah Lightbrew", -- [1]
			"Jessara Cordell", -- [2]
		},
		[20753] = {
			"Sarah Lightbrew", -- [1]
			"Jessara Cordell", -- [2]
		},
		[4609] = {
			"Narj Deepslice", -- [1]
		},
		[22307] = {
			"Sarah Lightbrew", -- [1]
			"Jessara Cordell", -- [2]
		},
	},
}
SP_NewVendorLocations = {
	["Jim Saltit"] = "Shattrath City",
	["Dirge Quikcleave"] = "Tanaris",
	["Erika Tate"] = "Stormwind City",
	["Jessara Cordell"] = "Stormwind City",
	["Craig Nollward"] = "Dustwallow Marsh",
	["Sarah Lightbrew"] = "Blasted Lands",
	["Mishta"] = "Silithus",
	["Fyldan"] = "Darnassus",
	["Narj Deepslice"] = "Arathi Highlands",
}
Report comment to moderator  
Reply With Quote
Unread 11-20-11, 07:23 AM  
Thortok2000
A Defias Bandit
 
Thortok2000's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 367
Uploads: 3
New version uploaded! ^_^
__________________
“I don’t know half of you half as well as I should like; and I like less than half of you half as well as you deserve.” — Bilbo Baggins, from his speech on his eleventy-first birthday.
Report comment to moderator  
Reply With Quote
Unread 11-20-11, 10:16 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
From 4.1a

Code:
SP_NewItemInfo = {
	[44602] = {
		["i"] = "",
		["b"] = 3800000,
	},
	[44709] = {
		["i"] = "",
		["b"] = 20000000,
	},
	[16767] = {
		["i"] = "",
		["b"] = 2400,
	},
}
SP_NewVendorInfo = {
	["Neutral"] = {
		[18046] = {
			"Dirge Quikcleave", -- [1]
		},
		[21099] = {
			"Kelsey Yance", -- [1]
			"KTC Train-a-Tron Deluxe", -- [2]
			"Mrs. Gant", -- [3]
		},
		[21219] = {
			"Kelsey Yance", -- [1]
			"KTC Train-a-Tron Deluxe", -- [2]
			"Mrs. Gant", -- [3]
		},
		[44602] = {
			"Endora Moorehead", -- [1]
		},
		[44709] = {
			"Endora Moorehead", -- [1]
		},
		[16767] = {
			"Mrs. Gant", -- [1]
		},
		[17062] = {
			"Kelsey Yance", -- [1]
		},
	},
	["Alliance"] = {
		[14639] = {
			"Fradd Swiftgear", -- [1]
		},
		[21099] = {
			"Erika Tate", -- [1]
			"Emrul Riknussun", -- [2]
			"Fyldan", -- [3]
			"Nyoma", -- [4]
		},
		[21219] = {
			"Erika Tate", -- [1]
			"Emrul Riknussun", -- [2]
			"Fyldan", -- [3]
			"Nyoma", -- [4]
		},
		[20758] = {
			"Jessara Cordell", -- [1]
			"Apprentice of Estulan", -- [2]
		},
		[20752] = {
			"Jessara Cordell", -- [1]
			"Apprentice of Estulan", -- [2]
		},
		[20753] = {
			"Jessara Cordell", -- [1]
			"Apprentice of Estulan", -- [2]
		},
		[22307] = {
			"Jessara Cordell", -- [1]
			"Apprentice of Estulan", -- [2]
		},
		[16110] = {
			"Malygen", -- [1]
		},
	},
	["Horde"] = {
		[20758] = {
			"Kithas", -- [1]
		},
		[21099] = {
			"Suja", -- [1]
			"Karizi Porkpatty", -- [2]
			"Quelis", -- [3]
			"Naal Mistrunner", -- [4]
		},
		[21219] = {
			"Suja", -- [1]
			"Karizi Porkpatty", -- [2]
			"Quelis", -- [3]
			"Naal Mistrunner", -- [4]
		},
		[17062] = {
			"Shankys", -- [1]
		},
		[20752] = {
			"Kithas", -- [1]
		},
		[22307] = {
			"Kithas", -- [1]
		},
		[20753] = {
			"Kithas", -- [1]
		},
		[6368] = {
			"Shankys", -- [1]
		},
	},
}
SP_NewVendorLocations = {
	["Karizi Porkpatty"] = "Orgrimmar",
	["Emrul Riknussun"] = "City of Ironforge",
	["Quelis"] = "Silvermoon City",
	["Erika Tate"] = "Stormwind City",
	["Jessara Cordell"] = "Stormwind City",
	["Mrs. Gant"] = "The Cape of Stranglethorn",
	["Endora Moorehead"] = "Dalaran",
	["Fradd Swiftgear"] = "Wetlands",
	["Malygen"] = "Felwood",
	["KTC Train-a-Tron Deluxe"] = "The Lost Isles",
	["Suja"] = "Orgrimmar",
	["Apprentice of Estulan"] = "Feralas",
	["Fyldan"] = "Darnassus",
	["Dirge Quikcleave"] = "Tanaris",
}
Thank you.
Last edited by Jaim Sandar : 11-20-11 at 10:27 AM.
Report comment to moderator  
Reply With Quote
Unread 11-21-11, 06:50 AM  
Thortok2000
A Defias Bandit
 
Thortok2000's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 367
Uploads: 3
Re: From 4.1a

@Jaim Sandar

Some of that data is new and has been added to the next version. ^_^

Some of that data are items that should have been blacklisted. Blacklist was fixed in 4.2. Please delete your saved variables after downloading 4.2a (should be released shortly.) ^_^
__________________
“I don’t know half of you half as well as I should like; and I like less than half of you half as well as you deserve.” — Bilbo Baggins, from his speech on his eleventy-first birthday.
Report comment to moderator  
Reply With Quote
Unread 11-22-11, 07:58 PM  
Longarms
A Murloc Raider
 
Longarms's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 36
Uploads: 1
BoA Items

What I'd like to see is a tooltip saying (e.g.):

Guardian Cub
Sold for $10 Blizzard Pet Store

Or somesuch, as it would not at all surprise me if there were more of these coming. This way you can at least decide if that much gold is worth that much money to you
__________________

(click for Armoury)
Report comment to moderator  
Reply With Quote
Unread 11-23-11, 11:59 AM  
Gazmik
A Cobalt Mageweaver
 
Gazmik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 245
File comments: 44
Uploads: 18
deleting saved variables

If you're looking for a way to detect when a new version is installed and purge old stuff from SavedVariables, here's a tip or two:

1. Set up a way for the addon to know its own version number. (For ease of comparisons, this shouldn't be a complicated human-readable version like "4.3.1b2" but a simple number that always increases with each release.) I use Subversion for source control, so in my addons I can put a $Rev$ anywhere in the code and SVN will automatically expand it when I commit to something like $Revision: 729 $ -- I stick that in a string and use string library functions to extract the number:
Code:
local _, _, version = string.find("$Revision: 1337 $", "(%d+)")
2. Store that version number in saved variables. (e.g. SP_LastVersionUsed = 123)

2. In ADDON_LOADED, or whenever you first consult saved variables which might have problems from old versions, check the saved version number against the current version number. If the latter is greater, set your problem variables to nil (or wipe them if they're tables).
__________________
Gazmik Fizzwidget's UI Addons: www.fizzwidget.com
Report comment to moderator  
Reply With Quote
Unread 11-25-11, 08:17 AM  
Thortok2000
A Defias Bandit
 
Thortok2000's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 367
Uploads: 3
Thanks Gazmik! When I've got the spare time, I'll try to get that feature working for 4.3. ^_^

@Longarms - That shouldn't be too hard to add. I'll see what I can do.
__________________
“I don’t know half of you half as well as I should like; and I like less than half of you half as well as you deserve.” — Bilbo Baggins, from his speech on his eleventy-first birthday.
Last edited by Thortok2000 : 11-25-11 at 08:20 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-12, 02:45 AM  
JohnDoe03
A Kobold Labourer

Forum posts: 1
File comments: 81
Uploads: 0
Hi Thortok2000,

just want to say "thank you" for updating this add on and for keeping it alive - still helps a lot.

Re the Lunar Festival pets: Most of the people who are in colleting pets should know that one can only buy the pet from your faction.

John
Report comment to moderator  
Reply With Quote
Unread 01-24-12, 12:53 AM  
hjp426
A Kobold Labourer
 
hjp426's Avatar

Forum posts: 0
File comments: 44
Uploads: 0
Just wanted to say I have not forgotten about this little addon... it's one of my absolute favorites. Thank you for creating & maintaining it. <3
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: