Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion

Reply
 
LinkBack Thread Tools
Old 02/08/07, 4:04 PM   #1
Cat Astrophy
Glass Joe
 
Troll Mage
 
Darkspear
How does one create a new event for a set of gear to swap in ItemRack?

Here is my goal:

Have gear (trinket) swap while I am in invis status and I have dropped combat. With the Alch trinket now in hand, pop a potion (Fel Mana/Super Mana). The server should then attempt to pull me out of invis for the "hostile" potion action, but often there are ways to get things done within the fraction of a second of a server changing its mind on what's allowed to occur. That being said, I'd like ItemRack to immediately swap the alch trinket back into another trinket (preferably to any one that TrinketMenu has queued) just before I re-enter combat.

Thanks in advance for providing your expertise.

I must be cruel only to be kind;
Thus bad begins, and worse remains behind.
--William Shakespeare (The Drama King)

Offline
Reply With Quote
Old 02/08/07, 7:52 PM   #2
Renaldo
Von Kaiser
 
Renaldo's Avatar
 
Dwarf Paladin
 
Kil'Jaeden
That sounds pretty cheesy.

But regardless, the only way I would see that working is using some kind of trinket swapping mod so that once you use a trinket (so that it's on cooldown) it would swap to whatever trinket is queued up next. I'm not sure it would be able to do all of that in a fraction of a second though, especially if you're getting even a little bit of lag.

Offline
Reply With Quote
Old 02/08/07, 8:01 PM   #3
Cat Astrophy
Glass Joe
 
Troll Mage
 
Darkspear
I use TrinketMenu if you look more closely at my post. The trick that I don't have the experience for is coding the event much like Evocation. I simply need a set to swap when my mage gains 'Invisibility' and reverts back to previous set via potting or worst case, after losing invis.

I've noticed that I don't immediately re-enter combat after coming out of invis. I must either engage or wait for the next combat pulse. Which can take up to almost an entire second.

This method seems feasible to try, but I need a coding expert to help me with a custom event.

I must be cruel only to be kind;
Thus bad begins, and worse remains behind.
--William Shakespeare (The Drama King)

Offline
Reply With Quote
Old 02/09/07, 2:44 AM   #4
Cel
Great Tiger
 
Cel's Avatar
 
Night Elf Rogue
 
Ysera
Without doing the math, I have a feeling this won't be worth doing unless you have to invis anyway, or it's a very long fight.

"There is much pleasure to be gained from useless knowledge." - Bertrand Russell

Alpha is recruiting... go go.

Offline
Reply With Quote
Old 02/09/07, 6:08 AM   #5
 sp00n
banned
 
Night Elf Rogue
 
Wrathbringer (EU)
There's an addon ZAutoStrip which automatically, well, strips you (places all equipment with durability into your bags) as soon as you drop combat. It doesn't always work (especially since the infamous combat pulses in raid dungeons), but it saved quite a lot of my repair bills.
I guess one could alter this or use some code to do what you desire.

IIRC it didn't work in WoW2, but with the "standard" changes (ipairs etc) it does now for me.


Offline
Reply With Quote
Old 02/09/07, 12:22 PM   #6
Apate
POWER = MEAT + OPPORTUNITY = BATTLEWORMS
 
Apate's Avatar
 
ChickenArise
Night Elf Warlock
 
No WoW Account
Does invis give you a buff?

I'm at work right now, and IIRC ItemRack 2.0 that I just downloaded doesn't have event support yet, but I think that the included text file with itemrack was pretty helpful. I think you create a new event, attach it to a game event (from wowwiki or an itemrack event), specify args, and associate it with a set.

See you, auntie.

United States Offline
Reply With Quote
Old 02/09/07, 12:56 PM   #7
Cat Astrophy
Glass Joe
 
Troll Mage
 
Darkspear
Originally Posted by Apate
Does invis give you a buff?

I'm at work right now, and IIRC ItemRack 2.0 that I just downloaded doesn't have event support yet, but I think that the included text file with itemrack was pretty helpful. I think you create a new event, attach it to a game event (from wowwiki or an itemrack event), specify args, and associate it with a set.
I hope that there is a way to write a conditional event within ItemRack if this is how it's done. It appears from your post that I would need to have a set specifically for when I pot while invis buffed, then swap trinkets. Though I'd prefer the event "drinking a potion while invis" (however that would translate into code) would simply revert the gear back to whatever it was previously...TrinketMenu should take care of the prioritizing.

I must be cruel only to be kind;
Thus bad begins, and worse remains behind.
--William Shakespeare (The Drama King)

Offline
Reply With Quote
Old 02/09/07, 3:27 PM   #8
Apate
POWER = MEAT + OPPORTUNITY = BATTLEWORMS
 
Apate's Avatar
 
ChickenArise
Night Elf Warlock
 
No WoW Account
It should be possible if ItemRack 2.0 is anything like 1.x
The only event I had set up was one to swap out the Lifegiving Gem for Darkmoon:Heroism while the LGG was on CD, the swap back. This, of course, occurred only out of combat. I helped set up a weapon-swap for evocation, also. It was fairly easy.

See you, auntie.

United States Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
2.1 Alchemy Wub Public Discussion 287 06/08/07 10:07 PM
ItemRack vs. The Lightning Capacitor Hamlet User Interface and AddOns 5 04/22/07 7:17 PM
ItemRack-like mod for action bars? Papajan Public Discussion 3 02/26/07 7:19 PM
The New Mage Invisibility? Heidi Public Discussion 354 09/04/06 4:45 PM