Download
(28 Kb)
Download
Updated: 06-12-10 03:34 AM
Pictures
File Info
Updated:06-12-10 03:34 AM
Created:12-13-09 06:08 AM
Downloads:6,041
Favorites:40
MD5:
gMerchant  Popular! (More than 5000 hits)
Version: 1.24
by: Goldpaw [More]
This is a light weight, merchant addon that works in the background, and is configured by default to automatically repair your gear and sell gray items upon visiting vendors who offer these services.

What does it do?
  • Sells gray quality loot automatically
  • Repairs all your gear automatically
    • Can be configured to use guild funds to repair if available

How can I configure it?
  • Access the options from Options -> Interface -> AddOns -> gMerchant
  • Type "/gmerc" or "/gmerchant"

How can I disable the insanely spammy profit/loss report?
  • /gmerchant to configure. It can't be completely disabled, but you can choose to only see the profit/loss report, not the detailed one.

What is the name of your UI?
  • gUI
1.24
- French localization added. Full credits to ckeurk @ WoWInterface for that one! :)

1.23
- German localization added. Full credits to b3n @ WoWInterface for this!

1.22
- Fixed 2 string.format bugs

1.211
- gLib 2.41

1.21
- Now uses gLib 2.4
- Now uses gLib's string.tag() to display money

1.2
- Now uses the gLib localization handler

1.11
- Now embeds gLib

1.1
- Now uses gLib2
- Rewrote the auto-selling function to be more foolproof. Shold now work even if people have hacked into the item quality colors and changed them.
- Removed the "Currently selling..." message on every sold item stack
- Removed the "gMerchant" prefix from all output
- Shortened some of the output messages, to make it less spammy
- Changed the color of the stack count to match that of Auctionator. Reason: Goldpaw uses it and wants it to match...
- Changed the order of the reports; Detailed info first, then total sale profit, then repairs, then the profit/loss report.
- Now uses the new gLib.String:Coin() function to display money

1.051
- gLib updated. Issues with Config menu resolved

1.05
- Minor internal code optimizations

1.04
- Dependant on gLib. Code to create UI elements and Interface Options Panel removed, since gLib does this.

1.03
- Added a fail-check to the guild repair option, should no longer randomly bug out
- Added an option to turn off detailed sales report. Disable to only show profit/loss and repair cost.

1.02
- Settings should now once again be saved between sessions

1.01
- Internal rewrite to fit gUI

1.0b
- Options should now save properly between sessions
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
1.23
28kB
Goldpaw
06-12-10 02:40 AM
1.22
27kB
Goldpaw
06-10-10 03:02 AM
1.211
27kB
Goldpaw
06-09-10 05:14 PM
1.21
27kB
Goldpaw
06-09-10 03:29 PM
1.2
23kB
Goldpaw
05-27-10 04:41 AM
1.11
22kB
Goldpaw
05-13-10 10:50 AM
1.1
11kB
Goldpaw
05-13-10 07:07 AM
1.051
343kB
Goldpaw
03-20-10 03:38 PM
1.03
13kB
Goldpaw
03-14-10 06:01 AM
1.02
13kB
Goldpaw
03-12-10 03:09 AM
1.01
13kB
Goldpaw
03-11-10 01:36 PM
1.0b
12kB
Goldpaw
12-13-09 02:06 PM


Post A Reply Comment Options
Old 10-28-10, 11:34 AM  
spring64783
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
for localization.lua

Code:
-- zhTW
-- credits to ckeurk @ WoWInterface for providing this
L = {
	------------------------------------------------------------
	--		GUI Options
	------------------------------------------------------------
	["TITLE"] 						= "|cFFFF7D0Ag|r|cFFFFBB00Merchant|r";
	["GUI_OPTIONS"] 					= "選項";
	["GUI_OPTIONS_DESCRIPTION"] 				= "從左邊的設定選單裡面選擇設定";

	["SETTINGS_LOADED"] 					= "設定加載 %s - %s";
	
	["GUI_VENDOROPTIONS"]					= "Merchant 設定";
	["GUI_VENDOR_AUTOSELL"] 				= "自動賣出灰色物品";
	["GUI_VENDOR_AUTOREPAIR"] 				= "自動修理裝備物品";
	["GUI_VENDOR_GUILDREPAIR"] 				= "使用公會資金修理裝備";
	["GUI_VENDOR_DETAILEDREPORT"] 				= "顯示出售的灰色物品資料清單;禁用:只顯示盈餘、虧損及維修費用";

	------------------------------------------------------------
	--		Vendor Messages
	------------------------------------------------------------
	["MESSAGE_AUTOSELLING_START"] 				= "出售的物品項目清單:";
	["MESSAGE_AUTOSELLING"] 				= "-%s|cFF00DDDDx%d|r %s";
	["MESSAGE_SELLVALUE"] 					= "利潤: %s";
	["MESSAGE_REPAIRCOST"] 					= "維修費用: %s";
	["MESSAGE_REPAIRCOST_USING_GUILD"] 			= "公會銀行資金提出 %s 用來維修裝備";
	["MESSAGE_NOT_ENOUGH_TO_REPAIR"]			= "你沒有足夠的資金可以使用來修理裝備!";
	["MESSAGE_VENDORPROFIT"] 				= "盈餘: %s";
	["MESSAGE_VENDOREXPENSE"] 				= "支出: %s";
}
gLib:AddLocale( "gMerchant", nil, L );
spring64783 is offline Report comment to moderator  
Reply With Quote
Old 06-12-10, 03:29 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by ckeurk
french localization:

Code:
L = {
	------------------------------------------------------------
	-- GUI Options
	------------------------------------------------------------
	["TITLE"] 									= "|cFFFF7D0Ag|r|cFFFFBB00Marchand|r";
	["GUI_OPTIONS"] 							= "Options";
	["GUI_OPTIONS_DESCRIPTION"] 				= "Choisissez vos options dans le menu sur la gauche";

	["SETTINGS_LOADED"] 						= "Paramètres chargé pour %s - %s";
	
	["GUI_VENDOROPTIONS"]						= "Marchand Options";
	["GUI_VENDOR_AUTOSELL"] 					= "Vend automatiquement les objets gris";
	["GUI_VENDOR_AUTOREPAIR"] 					= "Répare automatiquement vos objets en visitant un marchand réparateur";
	["GUI_VENDOR_GUILDREPAIR"] 					= "Utiliser les po de la guilde pour réparer lorsqu'il sera disponible";
	["GUI_VENDOR_DETAILEDREPORT"] 				= "Voir le rapport détaillé de la camelote vendue, désactiver pour n'afficher que les profits/pertes et les coûts de réparation";

	------------------------------------------------------------
	--		Vendor Messages
	------------------------------------------------------------
	["MESSAGE_AUTOSELLING_START"] 				= "Vendre des articles de qualité mauvaise:";
	["MESSAGE_AUTOSELLING"] 					= "-%s|cFF00DDDDx%d|r %s";
	["MESSAGE_SELLVALUE"] 						= "Obtenir %s";
	["MESSAGE_REPAIRCOST"] 						= "Vous réparer vos objets pour %s";
	["MESSAGE_REPAIRCOST_USING_GUILD"] 			= "Vous réparé vos articles pour %s en utilisant la banque de guilde";
	["MESSAGE_NOT_ENOUGH_TO_REPAIR"]			= "Vous n'avez pas assez de fonds disponibles pour réparer!";
	["MESSAGE_VENDORPROFIT"] 					= "Votre bénéfice est de %s";
	["MESSAGE_VENDOREXPENSE"] 					= "Vos dépenses sont de %s";
}
gLib:AddLocale("gMerchant", "frFR", L );
I

LOVE

YOU

!!!

__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 06-12-10, 03:10 AM  
ckeurk
A Murloc Raider
 
ckeurk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 16
Uploads: 2
french localization:

Code:
L = {
	------------------------------------------------------------
	-- GUI Options
	------------------------------------------------------------
	["TITLE"] 									= "|cFFFF7D0Ag|r|cFFFFBB00Marchand|r";
	["GUI_OPTIONS"] 							= "Options";
	["GUI_OPTIONS_DESCRIPTION"] 				= "Choisissez vos options dans le menu sur la gauche";

	["SETTINGS_LOADED"] 						= "Paramètres chargé pour %s - %s";
	
	["GUI_VENDOROPTIONS"]						= "Marchand Options";
	["GUI_VENDOR_AUTOSELL"] 					= "Vend automatiquement les objets gris";
	["GUI_VENDOR_AUTOREPAIR"] 					= "Répare automatiquement vos objets en visitant un marchand réparateur";
	["GUI_VENDOR_GUILDREPAIR"] 					= "Utiliser les po de la guilde pour réparer lorsqu'il sera disponible";
	["GUI_VENDOR_DETAILEDREPORT"] 				= "Voir le rapport détaillé de la camelote vendue, désactiver pour n'afficher que les profits/pertes et les coûts de réparation";

	------------------------------------------------------------
	--		Vendor Messages
	------------------------------------------------------------
	["MESSAGE_AUTOSELLING_START"] 				= "Vendre des articles de qualité mauvaise:";
	["MESSAGE_AUTOSELLING"] 					= "-%s|cFF00DDDDx%d|r %s";
	["MESSAGE_SELLVALUE"] 						= "Obtenir %s";
	["MESSAGE_REPAIRCOST"] 						= "Vous réparer vos objets pour %s";
	["MESSAGE_REPAIRCOST_USING_GUILD"] 			= "Vous réparé vos articles pour %s en utilisant la banque de guilde";
	["MESSAGE_NOT_ENOUGH_TO_REPAIR"]			= "Vous n'avez pas assez de fonds disponibles pour réparer!";
	["MESSAGE_VENDORPROFIT"] 					= "Votre bénéfice est de %s";
	["MESSAGE_VENDOREXPENSE"] 					= "Vos dépenses sont de %s";
}
gLib:AddLocale("gMerchant", "frFR", L );
ckeurk is offline Report comment to moderator  
Reply With Quote
Old 06-10-10, 03:08 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by Sir Punky
Error:
Code:
.\AddOns\gMerchant\gMerchant.lua line 180:
   bad argument #1 to 'format' (string expected, got no value)
Fixed in 1.22 which should be available shortly.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 06-10-10, 02:29 AM  
Sir Punky
A Kobold Labourer
 
Sir Punky's Avatar

Forum posts: 0
File comments: 17
Uploads: 0
Error:
Code:
.\AddOns\gMerchant\gMerchant.lua line 180:
   bad argument #1 to 'format' (string expected, got no value)
Sir Punky is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 11:23 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by Wazman
I'm getting the following error:



This happened on both the last version and the new version that was just uploaded. I have the newest available versions of gMedia, gBags, gMerchant, and gChat. I haven't changed any of the options in the config.
Update again. All my addons have been updated to deal with this issue, which was an issue with their embedded version of gLib. Or you could download the stand-alone version of gLib which should deal with it as well. gLib 2.41 is good, 2.4 is bugged.
__________________
http://www.friendlydruid.com/
Last edited by Goldpaw : 06-09-10 at 11:23 PM.
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 11:22 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: Suggestion

Originally posted by ffcloud2000
This is just something i thought that might be nice for your addon... Tekability does it.. What it does is add durability display to the items on the character pane that i thought might be nice to have

It's a good idea, but I'm not sure it would fit in gMerchant, since this is meant to be an addon that automates a few tasks when and only when visiting a merchant.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 07:02 PM  
Wazman
A Murloc Raider

Forum posts: 5
File comments: 44
Uploads: 0
I'm getting the following error:

Message: Interface\AddOns\gMerchant\gMerchant.lua:180: bad argument #1 to 'format' (string expected, got no value)
Time: 06/09/10 19:59:31
Count: 1
Stack: [C]: in function `format'
Interface\AddOns\gMerchant\gMerchant.lua:180: in function `?'
Interface\AddOns\gBags\lib\gLib\gLib.lua:130: in function <Interface\AddOns\gBags\lib\gLib\gLib.lua:122>

Locals: (*temporary) = "You repaired your items for %s"
(*temporary) = "string expected, got no value"
This happened on both the last version and the new version that was just uploaded. I have the newest available versions of gMedia, gBags, gMerchant, and gChat. I haven't changed any of the options in the config.
Wazman is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 06:38 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 22
File comments: 111
Uploads: 0
Suggestion

This is just something i thought that might be nice for your addon... Tekability does it.. What it does is add durability display to the items on the character pane that i thought might be nice to have

__________________
ffcloud2000 is offline Report comment to moderator  
Reply With Quote
Old 03-21-10, 01:53 PM  
Purity
A Deviate Faerie Dragon

Forum posts: 16
File comments: 177
Uploads: 0
I really like your UI. Do you have it uploaded here on WoWI? I saw a link to another UI on your portal but it does not look like the UI in the pictures for your updated addons.

Thanks!

I saw on your other addon page that gUI is not available yet. I will be looking for it.
__________________
Last edited by Purity : 03-22-10 at 12:10 PM.
Purity is offline Report comment to moderator  
Reply With Quote
Old 03-20-10, 03:37 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by Guardix
You can use MerchantGuildBankRepairButton:IsEnabled() together with ...:IsShown() to determine whether it is active or not.
I do now.

I must admit I dodged this issue for a long time, since it wasn't anything I was experiencing myself. But now that I'm getting closer and closer to the release of my UI, which features this as well as other addons by me, I figured it was about time I started giving priority to these kinds of bugs.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 03-11-10, 02:09 PM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 115
Uploads: 3
You can use MerchantGuildBankRepairButton:IsEnabled() together with ...:IsShown() to determine whether it is active or not.
Last edited by Guardix : 03-12-10 at 01:01 PM.
Guardix is offline Report comment to moderator  
Reply With Quote
Old 12-16-09, 06:10 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by damodar
All is simple,
he does not have rights to use guild bank to be repaired.
Therefore there is such message.

Check on presence of such right is necessary.
I think he's saying that the addon attempts to use guild bank funds even when not configured to do it, therefore automatic repairs doesn't work.

But I can't figure out why that is happening, because whether or not the use of guild funds is activated, it will still attempt to repair using player funds if the guild bank funds didn't cover it. If automatic repairs AND guild fund usage are both activated, it first checks how much the player is allowed to repair for, and if that amount is available. If not, then it precedes to using player funds instead.

In other words, there is no way I can figure out what is causing his error. The only thing that can cause it, is by NOT having automatic repairs activated at all.

Still, I keep looking into it, since maybe there's something I've missed somewhere.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Old 12-16-09, 03:01 AM  
damodar
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 1
Originally posted by Goldpaw
Yeah, I still can't figure out why this is happening to you, but I'll keep looking into it, but I'll have to try gMerchant on several accounts/computers first, both with characters in a guild and without one, and with guild repair options and not, and so on.
All is simple,
he does not have rights to use guild bank to be repaired.
Therefore there is such message.

Check on presence of such right is necessary.
damodar is offline Report comment to moderator  
Reply With Quote
Old 12-14-09, 10:39 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by Stratosfear
I even tried to disable all of addons except gmerc and the problem still persists.

Let me try clarifying the problem. If a) Use Guild Funds to repair when available is checked and b) Guild Funds is not enabled by the Guild Master, then I will get the message printing out "You repaired all your items for a total of #g#s#c using Guild Bank funds" and "Your total expenses are #g#s#c". And then I get a yellow printed text after that saying "You don't have permission to do that."

And that leaves me with no auto repair.
Yeah, I still can't figure out why this is happening to you, but I'll keep looking into it, but I'll have to try gMerchant on several accounts/computers first, both with characters in a guild and without one, and with guild repair options and not, and so on.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.