AG007
Authorized
- Joined
- Aug 16, 2015
[FONT="]Hello!
I've recently started using ItemRack and I must say it has some potential for being a very nice addon, however some of its features doesn't work properly which is quite annoying imo. I've tried to fix it myself but unfortunatly i'm a noob when it comes to scripting. Therefore I seek someone who is experienced with addon scripting to help me out.
[/FONT]
[FONT="]First of all a quick explanation of what ItemRack is, for those of you who aren't familiar with it:
ItemRack is an addon that lets you swap gear faster. Whats interesting about it is that it has a queue function and can equip items automatically, pretty much similar to TrinketMenu. With ItemRack you can use wow's API events to set a "trigger event" for a set of gear that you've made and also make it run a script when that trigger event is met. To give a quick example:[/FONT]
[FONT="]
Trigger: PLAYER_REGEN_ENABLED
Delay: 0.5 sec
Script: EquipSet("PvP Gear")
So what that tells me is that it should automatically equip my set "PvP Gear" 0.5 seconds after PLAYER_REGEN_ENABLED (i.e. when i'm out of combat).[/FONT]
[FONT="]
Now this feature allows for some interesting stuff. For example what i'm trying to do:
Trigger: ITEMRACK_ITEMUSED
Delay: 0.5
Script: if arg1=="Goblin Rocket Helmet" then EquipSet("PvP Helm") end
What this does is, equipping my set "PvP Helm" 0.5 seconds after I have used Goblin Rocket Helmet. Unfortunatly this works in an awkward way, because if I click my equipped Goblin Rocket Helmet, ItemRack will register it as the item being used even though it isn't, and equip my PvP Helm right away. I basically have to target an enemy, be in range, and be able to use Goblin Rocket Helmet BEFORE I click it, in order to make it work.
[/FONT]
[FONT="]So what I need help with is to make this work properly. ItemRack should only register an item being used, when its actually used.
Another thing is (not as important though), as stated, ItemRack is meant to read API events for its trigger function, however it doesn't seem to work for all API events.
[/FONT]
[FONT="]I've already talked to Bit aka. shirsig about this issue. He told me that the addon is missing a verification step to tell when something has actually been cast/used, however there's no need to detect if the spell actually went through, so a solution would be to check cooldown.
[/FONT]
[FONT="]I hope someone can help me with this, I would really appreciate it and i'm sure others would too!
Thanks in advance!
TL;DR: ItemRack not working properly - it registeres items being used even though they aren't. Need help from experienced addon developer to fix problem.[/FONT]
[FONT="]
ItemRack v1.975 : https://wow.curseforge.com/projects/itemrack/files?sort=game-version[/FONT]
I've recently started using ItemRack and I must say it has some potential for being a very nice addon, however some of its features doesn't work properly which is quite annoying imo. I've tried to fix it myself but unfortunatly i'm a noob when it comes to scripting. Therefore I seek someone who is experienced with addon scripting to help me out.
[/FONT]
[FONT="]First of all a quick explanation of what ItemRack is, for those of you who aren't familiar with it:
ItemRack is an addon that lets you swap gear faster. Whats interesting about it is that it has a queue function and can equip items automatically, pretty much similar to TrinketMenu. With ItemRack you can use wow's API events to set a "trigger event" for a set of gear that you've made and also make it run a script when that trigger event is met. To give a quick example:[/FONT]
[FONT="]
Trigger: PLAYER_REGEN_ENABLED
Delay: 0.5 sec
Script: EquipSet("PvP Gear")
So what that tells me is that it should automatically equip my set "PvP Gear" 0.5 seconds after PLAYER_REGEN_ENABLED (i.e. when i'm out of combat).[/FONT]
[FONT="]
Now this feature allows for some interesting stuff. For example what i'm trying to do:
Trigger: ITEMRACK_ITEMUSED
Delay: 0.5
Script: if arg1=="Goblin Rocket Helmet" then EquipSet("PvP Helm") end
What this does is, equipping my set "PvP Helm" 0.5 seconds after I have used Goblin Rocket Helmet. Unfortunatly this works in an awkward way, because if I click my equipped Goblin Rocket Helmet, ItemRack will register it as the item being used even though it isn't, and equip my PvP Helm right away. I basically have to target an enemy, be in range, and be able to use Goblin Rocket Helmet BEFORE I click it, in order to make it work.
[/FONT]
[FONT="]So what I need help with is to make this work properly. ItemRack should only register an item being used, when its actually used.
Another thing is (not as important though), as stated, ItemRack is meant to read API events for its trigger function, however it doesn't seem to work for all API events.
[/FONT]
[FONT="]I've already talked to Bit aka. shirsig about this issue. He told me that the addon is missing a verification step to tell when something has actually been cast/used, however there's no need to detect if the spell actually went through, so a solution would be to check cooldown.
[/FONT]
[FONT="]I hope someone can help me with this, I would really appreciate it and i'm sure others would too!
Thanks in advance!
TL;DR: ItemRack not working properly - it registeres items being used even though they aren't. Need help from experienced addon developer to fix problem.[/FONT]
[FONT="]
ItemRack v1.975 : https://wow.curseforge.com/projects/itemrack/files?sort=game-version[/FONT]