Download
(3 Kb)
Download
Updated: 07/22/22 06:58 PM
Pictures
File Info
Compatibility:
High Isle (8.0.0)
Updated:07/22/22 06:58 PM
Created:07/20/22 08:33 PM
Monthly downloads:103
Total downloads:3,323
Favorites:8
MD5:
Qcell's Repair
Version: 1.0
by: Qcell [More]
A repair addon that doesn't crash.

Dependencies
  • LibAddonMenu-2.0 (link)

Simple light-weight repair addon, it only does two things. It won't crash on you.
  1. You can type /qr or /qrepair to repair all your worn gear with Grand Repair Kits.
  2. Auto-repairs everything you carry with gold when you interact with a merchant. There's a setting to disable this.

Some extra QoL features:
  • You can optionally keybind the /qr command to a key on Controls > Addon Keybinds.
  • You can set a threshold durability % above which the addon won't repair gear. Some people thing kits are wasted when spent repairing gear that still has 80%+ durability, for example. Up to you, repair kits are cheap.


More info:
After using for years Auto-repair addons and functionalities from different addons, I learned that no matter how many checks they do, there are always corner cases where they crash. I decided to write a light-weight simple repair addon that will never make you crash, and save you time rightclicking->repair.

Credit: This addon is based on Kyoma's Repair and Recharge, removing the settings, auto-repair functionality and complexity and having a straight-forward repair-all command.
1.0
Added an optional keybind to repair your worn gear. Controls > Addon Keybinds. It does exactly the same as /qr or /qrepair.


0.5
Removed debug text that showed every time you changed zone.

0.4
Added a setting to disable auto-repairing at merchants.

0.3
Added a "REPAIR ALL" button on the addon settings, for people that don't want to type the command in chat.

0.2
Addon basic version:
- Type in chat /qr or /qrepair to repair all worn gear.
- Interact with a merchant to repair all your gear with gold. Note there's no confirmation window, it costs a few hundreds or thousands normally.
Archived Files (4)
File Name
Version
Size
Uploader
Date
0.5
3kB
Qcell
07/21/22 10:00 AM
0.4
3kB
Qcell
07/20/22 08:57 PM
0.3
3kB
Qcell
07/20/22 08:42 PM
0.2
3kB
07/20/22 08:33 PM


Post A Reply Comment Options
Unread 03/12/24, 04:37 PM  
Awana4kids

Forum posts: 0
File comments: 12
Uploads: 0
Is there a way to include an auto-recharge in this addon. Was using another, but needed to go away from it as it still used libstub.
Report comment to moderator  
Reply With Quote
Unread 08/09/22, 08:32 PM  
Qcell
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 5
Re: Above or below threshold?

Originally Posted by AddonAddict
The info page says, "You can set a threshold durability % above which the addon won't repair gear", but the actual option is, "Do not repair below threshold". These two things seem to be contradictory.
Good Point AddonAddict. I'll double check the phrasing, I typed it late and quickly because I wanted to publish it.

To clarify: when you set a threshold X, it will repair only if it's durability is lower than X.
Last edited by Qcell : 08/09/22 at 08:32 PM.
Report comment to moderator  
Reply With Quote
Unread 07/28/22, 11:17 AM  
AddonAddict

Forum posts: 1
File comments: 4
Uploads: 0
Above or below threshold?

The info page says, "You can set a threshold durability % above which the addon won't repair gear", but the actual option is, "Do not repair below threshold". These two things seem to be contradictory.

The way it is now, if I don't want the addon to repair gear that is above 1% durability, then I would have to enter "99"--is that correct? What I would expect is, if I don't want the addon to repair gear that is above 1% durability, then I would logically and intuitively enter a "1"; thus, the option should be, "Do not repair gear that is above % durability".

EDIT: The setting works as I would expect, but the wording of it is completely confusing, and the 10-100 makes absolutely no sense. At 100, it will attempt to repair gear that is fully repaired, and at 10, the lowest possible setting, it will refuse to repair anything from 0% (completely broken) to 9%. It's likely that a user will only press the key to repair once something is busted, at which point this addon would be useless.

It seems like you're considering the condition of gear as "worn", and not as "durability"--these terms are not interchangeable. If an item is 100% worn, then it is completely broken, but if an item has 100% durability, then it is fully repaired. I don't recall the game itself ever referring an item as "worn", but I have been using addons for so long, that perhaps I have forgotten. Regardless, the terminology used here should be corrected to appropriately reflect what value is expected from the user.

I guess it's also possible that another addon I'm using is interfering with the proper functioning of this addon..? Does anyone else experience the same issue with this?
Last edited by AddonAddict : 07/29/22 at 02:15 PM.
Report comment to moderator  
Reply With Quote
Unread 07/23/22, 04:10 AM  
iFedix
 
iFedix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 241
Uploads: 1
Originally Posted by Qcell
Originally Posted by iFedix

Ye, I get your point, they are basically free. My worry is not the cost at all tho, it's the fact that I could finish them sooner than expected and having none in bank/character. Let's say you only need to repair one piece, with this add-on you repair all the gear instead (6 repair kits "wasted"). And anyway is a check on a threshold causing a potential disconnect? I mean, it's not automatic anyway, you still decide when to repair.. but ye, I get your point anyway, to have an add-on that repair gears but have 0% risk of disconnects. And I have been basically looking for this add-on, since I uninstalled all the repair add-ons cause they were causing me crashes (I don't crash now but repairing manually is meh). Ty!
@iFedix good news, I added the keybind and the threshold on version 1.0! Give it a try!
Thank you!
Report comment to moderator  
Reply With Quote
Unread 07/22/22, 07:00 PM  
Qcell
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 5
Originally Posted by iFedix

Ye, I get your point, they are basically free. My worry is not the cost at all tho, it's the fact that I could finish them sooner than expected and having none in bank/character. Let's say you only need to repair one piece, with this add-on you repair all the gear instead (6 repair kits "wasted"). And anyway is a check on a threshold causing a potential disconnect? I mean, it's not automatic anyway, you still decide when to repair.. but ye, I get your point anyway, to have an add-on that repair gears but have 0% risk of disconnects. And I have been basically looking for this add-on, since I uninstalled all the repair add-ons cause they were causing me crashes (I don't crash now but repairing manually is meh). Ty!
@iFedix good news, I added the keybind and the threshold on version 1.0! Give it a try!
Report comment to moderator  
Reply With Quote
Unread 07/22/22, 04:41 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Just a heads-up: Might we (Kyzeragon) have found the reason why Auto recharge and repair) addons crash, at least I was informed about this post by Kyzeragon today:

funny thing about that, it did crash when i first made it. i discovered that calling the gear repair while dead is what causes the weird delayed disconnect. i was checking if the player was dead and all that, but i think what happens is the gear breaks as you die, and calling IsUnitDead at that exact moment doesn't yet return true, so the addon attempts to repair, but by that time the player is actually dead. it was fixed easily by delaying the check and repair by 1 second. i can't speak for whether other repair addons have fixed it though
So it seems the IsUnitDead("player") API returns false allhough you are dead already and thus the addons try to repair while you are dead already -> disconnect.
I'll see if we can fix this, and hopefully (after talking to Kyzeragon) we can make ZOs fix the API to return proper values...

Just adding a delay of 1 second to all checks, as the is dead check is not the only one those addos need to do, will be a mess. e.g. checking for IsInCombat etc. also needs to be taken into account and if you delay the one by 1 second but the other is not delayed, you need to cache the undelayed results to make the checks "combine delayed later on".

Oh man, I guess the 1 keybind to repair all solution is more attractive then rewriting whole addons because of API shortcomings
But knowing the reason finally is a step forward.
Last edited by Baertram : 07/22/22 at 04:45 AM.
Report comment to moderator  
Reply With Quote
Unread 07/22/22, 01:32 AM  
iFedix
 
iFedix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 241
Uploads: 1
Originally Posted by Qcell
I'll likely add a keybind in a future version, good idea, thanks.

As per reducing the threshold, I don't have plans to customize it since the goal for this addon is to just repair everything and I don't know if it would work at lower values. It's targeted at players who don't want to use auto-repair addons that crash on some occasions. Repair kits are essentially free, and I'd much rather pay some extra than risk a 0.1% chance of crashing mid-raid. You can change the threshold on your local version by editing line 72 on QcellRepair.lua (version 0.5) IF I see it's a common request and I end up add a threshold setting it will come with a large warning.

In EU, the cost of a Grand Repair kit is 19 to 24 gold. Even if it uses 7 every time you repair, that's 168g.

Cheers, glad you like it!
Ye, I get your point, they are basically free. My worry is not the cost at all tho, it's the fact that I could finish them sooner than expected and having none in bank/character. Let's say you only need to repair one piece, with this add-on you repair all the gear instead (6 repair kits "wasted"). And anyway is a check on a threshold causing a potential disconnect? I mean, it's not automatic anyway, you still decide when to repair.. but ye, I get your point anyway, to have an add-on that repair gears but have 0% risk of disconnects. And I have been basically looking for this add-on, since I uninstalled all the repair add-ons cause they were causing me crashes (I don't crash now but repairing manually is meh). Ty!
Report comment to moderator  
Reply With Quote
Unread 07/21/22, 10:14 PM  
Qcell
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 5
I'll likely add a keybind in a future version, good idea, thanks.

As per reducing the threshold, I don't have plans to customize it since the goal for this addon is to just repair everything and I don't know if it would work at lower values. It's targeted at players who don't want to use auto-repair addons that crash on some occasions. Repair kits are essentially free, and I'd much rather pay some extra than risk a 0.1% chance of crashing mid-raid. You can change the threshold on your local version by editing line 72 on QcellRepair.lua (version 0.5) IF I see it's a common request and I end up add a threshold setting it will come with a large warning.

In EU, the cost of a Grand Repair kit is 19 to 24 gold. Even if it uses 7 every time you repair, that's 168g.

Cheers, glad you like it!
Report comment to moderator  
Reply With Quote
Unread 07/21/22, 02:45 PM  
iFedix
 
iFedix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 241
Uploads: 1
Hello! Thanks a lot for the addon, that's what I was waiting for! Is it possible tho to set a threshold so only the worn gear below it gets repaired (to save some kits )? And could you add a keybind pls? So I can repair all the worn gear below a certain threshold by only pressing a key (lazy mode)
Thanks!
Last edited by iFedix : 07/21/22 at 02:45 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: