BosslandGmbH / BuddyWing

BuddyWing is the bot for Star Wars: The Old Republic. This repository contains the open-source components that power the bot.
4 stars 2 forks source link

"None of your items need to be repaired" #42

Open pjmagee opened 8 years ago

pjmagee commented 8 years ago

Buddywing is constantly trying to repair items. The repair all button is greyed out, so it cannot be clicked. All it tries to do is go to the medical droid and repair.

aevitas commented 8 years ago

Sounds like the expression used to determine repairs isn't evaluating properly. We've had this in the past when one or more items didn't have durability - I'll have a look into it.

pjmagee commented 8 years ago

I'm not sure what is currently being done, but a solution might be to check the state of the "Repair all" button, if its greyed out, then don't do anything and then you are offloading more logic to the client?

Just an idea.

CryoGenesisX commented 8 years ago

Hmm, if the bot thinks it needs repairs, but my gear is 100%, I don't think you want that check at the vendor. You want that to happen in every x cycles. Also I don't know what the current min value is for repair. I'd say yellow armor?

pjmagee commented 8 years ago

Yeah I like that idea, checking to see if the Yellow Armor "buff" icon is on the player.

pjmagee commented 8 years ago

However, maybe as a fall back option as a fail safe, there could be a "verification" check. If the bot does go to the vendor and it IS greyed out after attempting a repair. It should log this so that an investigation can be made as to why the first logic to determine if a repair was needed has now started to fail?