Download
(2 Kb)
Download
Updated: 02/29/20 07:54 PM
Compatibility:
Harrowstorm (5.3.5)
Updated:02/29/20 07:54 PM
Created:07/07/18 11:56 AM
Monthly downloads:223
Total downloads:52,849
Favorites:57
MD5:
WeaponCharger  Popular! (More than 5000 hits)
Version: 0.2.6
by: zeroIndex [More]
--Weapon Charger--

This addon is meant to be minimal. If you want something simple that auto charges weapons, then this is what you're looking for. There is no need to set up anything after installing the addon. Just install it and ignore the need to ever charge a weapon manually again. It does output what weapon was charged in the chat box, other than that it's quiet.

This addon will use the soul gem setting you have selected under gameplay settings to charge your weapons.

There are other addons that charge weapons along with other added features. If you would rather have all the other functionality, then this addon is not for you and a different addon would better suit your needs. Personally, I didn't need all the other extra stuff with other addons, so I made this one. I thought I would post it incase there are others that feel the same way.
-- Version 0.2.6 --
Fixed a typo causing issues that would impair some functionality.

-- Version 0.2.5 --
Updated API to 100030
Fixed an error that was occurring due to changes in the chat system.

-- Version 0.2.4 --
Updated API info so the addon will no longer be "out of date"

-- Version 0.2.3 --
Updated API to Murkmire

-- Version 0.2.2 --
Updated API to Wolfhunter

-- Version 0.2.1 --
Based the soul gem checks on item id instead of names, since languages vary per client. A thanks to code65536 for pointing that out.
Fixed an issue with the version number

-- Version 0.2 --
Will now consume soul gems based on what you choose for your default setting under the gameplay options.
Removed an extra space in the name so the addon will now appear in the correct order in the addon list.
Optional Files (0)


Post A Reply Comment Options
Unread 03/10/20, 03:20 PM  
Enormous

Forum posts: 0
File comments: 2
Uploads: 0
I have reinstalled the addon and its working again. Thanks!!!!
Report comment to moderator  
Reply With Quote
Unread 02/29/20, 07:59 PM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
Weapons not properly charging

Originally Posted by Enormous
Same problem here, tried reinstalling, didnt work.
Originally Posted by Thyl
Hm-m... thanks for the tip; I will try, definitely. I didn't run into such thing before. Will recharge and keep an eye on whether it'll work.
I found what should be causing this problem. I am uploading a fix as we speak.
Report comment to moderator  
Reply With Quote
Unread 02/29/20, 01:44 PM  
Enormous

Forum posts: 0
File comments: 2
Uploads: 0
Same problem here, tried reinstalling, didnt work.
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 04:51 PM  
Thyl

Forum posts: 1
File comments: 57
Uploads: 0
Originally Posted by zeroIndex
Originally Posted by Thyl
Update rolled in, but now the addon doesn't work at all. When weapon is discharged, it just prints "You Do Not Have Enough Soul Gems" in the chat window (there's ample soul gems in inventory, both crown gems and regular ones).
I hadn't ran into that issue with my testing. I remember a while back, someone reported a strange bug where they were out of soul gems for a while and when they finally had some in their inventory, it wouldn't work until they charged the weapon manually. Maybe if you try charging the weapon once manually, it will fix the issue.
Hm-m... thanks for the tip; I will try, definitely. I didn't run into such thing before. Will recharge and keep an eye on whether it'll work.
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 04:28 PM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
Originally Posted by Thyl
Update rolled in, but now the addon doesn't work at all. When weapon is discharged, it just prints "You Do Not Have Enough Soul Gems" in the chat window (there's ample soul gems in inventory, both crown gems and regular ones).
I hadn't ran into that issue with my testing. I remember a while back, someone reported a strange bug where they were out of soul gems for a while and when they finally had some in their inventory, it wouldn't work until they charged the weapon manually. Maybe if you try charging the weapon once manually, it will fix the issue.
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 04:03 PM  
Thyl

Forum posts: 1
File comments: 57
Uploads: 0
Update rolled in, but now the addon doesn't work at all. When weapon is discharged, it just prints "You Do Not Have Enough Soul Gems" in the chat window (there's ample soul gems in inventory, both crown gems and regular ones).
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 10:17 PM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
Re: Any plans for a update?

I will be looking into this issue and hopefully will have an update out in the next few hours. Thanks for the heads up.

Originally Posted by Thyl
Hm-m, seems like something got broken with Harrowstorm.

Code:
user:/AddOns/WeaponCharger/WeaponCharger.lua:52: function expected instead of nil
stack traceback:
user:/AddOns/WeaponCharger/WeaponCharger.lua:52: in function 'WeaponChargerChargeWeapons'
user:/AddOns/WeaponCharger/WeaponCharger.lua:62: in function 'WeaponChargerInventoryUpdate'


Originally Posted by Majulook
Fix needed for LUA errors when it charges a weapon.
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 10:15 AM  
Majulook

Forum posts: 0
File comments: 97
Uploads: 0
Any plans for a update?

Fix needed for LUA errors when it charges a weapon.
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 10:07 AM  
Thyl

Forum posts: 1
File comments: 57
Uploads: 0
Hm-m, seems like something got broken with Harrowstorm.

Code:
user:/AddOns/WeaponCharger/WeaponCharger.lua:52: function expected instead of nil
stack traceback:
user:/AddOns/WeaponCharger/WeaponCharger.lua:52: in function 'WeaponChargerChargeWeapons'
user:/AddOns/WeaponCharger/WeaponCharger.lua:62: in function 'WeaponChargerInventoryUpdate'
Report comment to moderator  
Reply With Quote
Unread 06/17/19, 08:05 PM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
Re: Weapon Charger .... How Often?

Originally Posted by Shadowshire
Does Weapon Charger wait until all of the charge on the weapon has been used, then recharges it?

Also, I assume that it tracks and re-charges the weapon on the currently active Ability Bar. Is that correct?
The addon recharges with four charges left on the enchant. I wanted to make sure it wouldn't run out and have the possibility of missing a proc.

It will also charge weapons on the back bar. So, if you equip a weapon on the back bar that has no charge, it will charge the weapon when you're still on the front bar.
Report comment to moderator  
Reply With Quote
Unread 06/17/19, 07:43 PM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Question Weapon Charger .... How Often?

Does Weapon Charger wait until all of the charge on the weapon has been used, then recharges it?

Also, I assume that it tracks and re-charges the weapon on the currently active Ability Bar. Is that correct?
Report comment to moderator  
Reply With Quote
Unread 06/17/19, 04:17 PM  
kindredspirit

Forum posts: 3
File comments: 113
Uploads: 0
Thank You

Thank you for the update!
Report comment to moderator  
Reply With Quote
Unread 08/11/18, 05:00 PM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
NAN

Originally Posted by code65536
Thanks for the update. One minor problem: "WeaponCharger.version = 0.2.1" is throwing an error because 0.2.1 is not a valid number; you need to enclose that in quotes.
Whoops, I guess I fixed that after I zipped it up Uploading the fix now, thanks
Last edited by zeroIndex : 08/11/18 at 05:00 PM.
Report comment to moderator  
Reply With Quote
Unread 08/11/18, 03:44 PM  
code65536
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 371
Uploads: 40
Thanks for the update. One minor problem: "WeaponCharger.version = 0.2.1" is throwing an error because 0.2.1 is not a valid number; you need to enclose that in quotes.
Report comment to moderator  
Reply With Quote
Unread 08/11/18, 10:36 AM  
zeroIndex
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 2
Item Id

Originally Posted by code65536
Checking the name of the item is a bit fragile, since the text will vary based on the language of the client.

It's better to check against the itemId instead. 33265 is an unfilled Soul Gem, 33271 is a filled Soul Gem, and 61080 is a Crown Soul Gem. Checking the itemId also allows you to simplify the code significantly.

Warning: Spoiler
I found where to pull the name of the item and thought it was good enough, but I failed to realize that english is not what everyone uses. I feel ignorant for missing that, thanks for pointing it out. I ran it with the code you posted and everything seems to be working fine so I don't see the need to adjust anything further. If you have any other suggestions feel free to let me know.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: