Download
(3Kb)
Download
Updated: 06-26-10 02:47 AM
Pictures
File Info
Updated:06-26-10 02:47 AM
Created:06-23-09 10:52 AM
Downloads:2,019
Favorites:17
MD5:

FactionDiscount AutoRepair

Version: 1.1
by: Nafe [More]

If you're like me, you like to avoid paying unnecessary fees at vendors.
FactionDiscount AutoRepair is an addon that automatically repairs all your gear when you visit a vendor providing a specified reputation level (and hence, a specified Faction Discount). I always avoided AutoRepair addons because they would blatantly repair at any repair merchant, and I'd lose my 20% exalted discount just by visiting a repair bot in a raid. Hence, I decided to write an addon that can be set to repair only when I receive a specified faction discount.
FactionDiscount AutoRepair is a sister addon to FactionDiscount AutoStock!


How is FactionDiscount AutoRepair different from other AutoRepair addons?
As mentioned above, FactionDiscount AutoRepair lets you choose what discount is required before it automatically repairs for you. Don't lose pocket change by repairing at a repair bot when you didn't want to!


What configuration is possible?
I stumbled upon the API function that allows checking of rep levels of merchants, but it is unfortunately unable to differentiate between a Friendly rep, and any NPC that is "Green named."
Therefore there are 4 threshold settings possible:

  • Always Repair (i.e. neutral and above)
  • Repair w/ Honored (and above) discounts
  • Repair w/ Revered (and above) discounts
  • Repair w/ Exalted discounts only
In addition to setting the discount required to AutoRepair, you can set the Enable/Disable state.
Each character will have an independent setting.
Each character defaults to the Enabled state, and the Repair w/ Exalted discount threshold.


Configuring FactionDiscount AutoRepair
Since I've never been very good at GUIs (and in many simple cases, prefer slash-command configuration), configuration is done entirely through slash commands. See below for a list.
What slash commands are available?
Code:
/fdar                                        -   Lists available commands
/fdar enable | disable                       -   Enables/Disables AutoRepair for the current character
/fdar status                                 -   Disables the enable state and discount threshold
/fdar always | honored | revered | exalted   -   Sets the faction discount threshold required to AutoRepair
(See slash commands screenshot)

Example: Enables FDAR and sets the threshold to Revered.
/fdar enable
/fdar revered

I like this addon. Do you have a similar one that autobuys reagents?
Yep, please take a look at FactionDiscount AutoStock, capable of autobuying reagents and configurable for other items, too.


Known Quirks/Issues
  • Latency can cause the repair not to be processed if the player does not wait at the merchant long enough. (Unfixable, sorry!)
  • Friendly discount threshold is not a selectable configuration.
    (I chose to forego this because the API does not support it conveniently; instead I'd have to use Tooltip Scanning - a higher memory footprint and a workaround that sometimes fails. I figured most people interested in this mod would want an Honored or above discount anyways.)
  • Some messages indicate you received a Honored/Exalted discount instead of an Honored/Exalted discount. This is just a linguistic defect that I consider low-priority.


Possible Future Features
  • Chose whether to repair using Guild Bank funds or your own funds
  • Slash command to set the threshold to the highest reputation level you have on that character
  • Lower the memory footprint when this and FactionDiscount AutoStock are used together.


Want to help?
I'm always interested in Bug Reports and Feature Requests. I try to keep this addon lightweight and simple, so in some cases I may turn down extensive requests.
I'm also a recent college graduate paying off my loans from undergraduate+graduate school. Any donations you feel like sending my way would be gratefully appreciated and allow me more time to work on addons

Version 1.1 released

In this version:
  • New features:
    • Now outputs the repair cost when AutoRepairing at a vendor.
      Format: [FactionDiscount AutoRepair] Repaired at NPCNAME for COST with a REPLEVEL discount.
      Thank you speak and trclocke for the feature suggestion. Sorry it took so long.
  • Patch-compatibility Fixes:
    • Updated TOC file to work with patch 3.3.*
Optional Files (0)


Post A Reply Comment Options
Unread 07-07-11, 04:29 PM  
Chisato
A Defias Bandit
 
Chisato's Avatar

Forum posts: 2
File comments: 4
Uploads: 0
This addon (and the reagent one) is working perfectly for me in 4.2
Report comment to moderator  
Reply With Quote
Unread 06-11-11, 04:48 PM  
Nafe
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 35
Uploads: 12
Originally posted by speak
not sure this works in 4.1, i disabled it along with FDAS. i do have a feature request though can you add in some options to auto repair using guild funds if possible? an on/off toggle would be sweet
Sorry for such a slow response.
I actually don't have an active account anymore, as "real life" has been keeping me quite busy.

Judging by your comment, they've changed the way the UI works.

I'll be willing to put in some time to update this if someone is willing to test the updates for me. Please contact me via here or IM (if you prefer).
I should also be able to add in a feature to use the guild funds instead.
Report comment to moderator  
Reply With Quote
Unread 04-27-11, 04:40 PM  
speak
A Wyrmkin Dreamwalker
 
speak's Avatar

Forum posts: 57
File comments: 186
Uploads: 0
not sure this works in 4.1, i disabled it along with FDAS. i do have a feature request though can you add in some options to auto repair using guild funds if possible? an on/off toggle would be sweet
Report comment to moderator  
Reply With Quote
Unread 06-29-10, 12:30 AM  
trclocke
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 108
Uploads: 1
Re: Version 1.1 released

Originally posted by Nafe
Version 1.1 released

In this version:
  • New features:
    • Now outputs the repair cost when AutoRepairing at a vendor.
      Format: [FactionDiscount AutoRepair] Repaired at NPCNAME for COST with a REPLEVEL discount.
      Thank you speak and trclocke for the feature suggestion. Sorry it took so long.
  • Patch-compatibility Fixes:
    • Updated TOC file to work with patch 3.3.*
Wow. I fail at reading for not noticing that my suggestion was mentioned right beneath me. Either way, thank you for adding this! Great addon
Report comment to moderator  
Reply With Quote
Unread 06-26-10, 02:48 AM  
Nafe
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 35
Uploads: 12
Thumbs up Version 1.1 released

Version 1.1 released

In this version:
  • New features:
    • Now outputs the repair cost when AutoRepairing at a vendor.
      Format: [FactionDiscount AutoRepair] Repaired at NPCNAME for COST with a REPLEVEL discount.
      Thank you speak and trclocke for the feature suggestion. Sorry it took so long.
  • Patch-compatibility Fixes:
    • Updated TOC file to work with patch 3.3.*
Last edited by Nafe : 06-26-10 at 02:48 AM.
Report comment to moderator  
Reply With Quote
Unread 05-25-10, 09:24 PM  
trclocke
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 108
Uploads: 1
Would it be possible to add the amount of gold spent on the repair to the chat message AutoRepair gives? e.g.:
[FactionDiscount AutoRepair] Repaired at someguy for 14g 11c with a Revered discount.
Report comment to moderator  
Reply With Quote
Unread 07-15-09, 06:08 PM  
speak
A Wyrmkin Dreamwalker
 
speak's Avatar

Forum posts: 57
File comments: 186
Uploads: 0
Re: Re: Love It!

awesome, thanks yeah, i moved the comment once i saw the "feature request" button

I would prefer simply letters, g,s,c - maybe color coded. Either way is cool though!
Report comment to moderator  
Reply With Quote
Unread 07-13-09, 07:08 PM  
Nafe
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 35
Uploads: 12
Re: Love It!

It seems the original comment is no longer here, but here's a quote:
Originally Posted by speak
Love this mod, and your autostock one too. I use them both to autorepair/autostock me up no matter what rep level i'm at.

One feature request though In the notification when autorepair happens, can you specify the cost of the repair too? Or add an option that will display the cost of the repair? Even a notification as simple as "FDAR 27g 55s" would suffice.

Same for the autostock, "FDAS 4g 17s" would be helpful.

Thanks much!
Thanks for the suggestion. I will likely be implementing this soon.
To you and anyone who wants to comment: Do you prefer letters (i.e. g,s,c) or icons to be displayed?
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.