EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Hotbar : Add amount of proc left (https://www.eq2interface.com/forums/showthread.php?t=13855)

battosa 02-21-2010 03:54 PM

Hotbar : Add amount of proc left
 
don't know if it's possible but i would like to see the amount of proc left when i cast a spell like Hostage of the Coercer

I've seen this on some Maintened effect windows but i don't know how to add it in a Hotbar windows

DynamicData="/GameData.Maintained.Spell_30.AmountRemaining"

Is it even possible?
thanks

EQAditu 02-21-2010 04:48 PM

Possible, yes. Remotely easy... no. Not even particularly easy to explain.

I do like making scripting mods though... I might find time to do such a thing.

lordebon 02-21-2010 04:54 PM

There's no simple way for the hotbutton to know which thing is in there and then try to match it up against your maintained window. It might still be possible to do, but I doubt it would be simple, and you'd probably have to tell the hotbar which effect it was looking for manually.

gm9 02-21-2010 04:56 PM

Quote:

Originally Posted by EQAditu (Post 88568)
Possible, yes. Remotely easy... no. Not even particularly easy to explain.

I do like making scripting mods though... I might find time to do such a thing.

Run it OnTextChanged of the maintained spells. The only problem is probably that you'll need to compare all of them each time to not run into race conditions between enabling and disabling the overlay, so you'll be wasting a lot of clock cycles all the time. But that doesn't appear to be that much of a consideration these days...

EQAditu 02-21-2010 05:01 PM

Well, there are ways to limit such things. Just have the Amount Remaining set a flag if it has a value other than whatever-blank-is and have a timer poll once a second maybe for that flag and run a script if true. It doesn't have to run every time amount remaining or a maintained buff's visibility changes.

gm9 02-21-2010 05:29 PM

Quote:

Originally Posted by EQAditu (Post 88572)
Well, there are ways to limit such things. Just have the Amount Remaining set a flag if it has a value other than whatever-blank-is and have a timer poll once a second maybe for that flag and run a script if true. It doesn't have to run every time amount remaining or a maintained buff's visibility changes.

Oh, that's what you want to do. I was thinking about assigning the AmountRemaining DD directly to the overlay, saves you manually updating the values, then you only need to keep the DD updated to the correct spell # or turn it off when the applicable spell isn't found.

EQAditu 02-21-2010 11:46 PM

Well, just the first thought that came to mind. I didn't say it was the best. :)

battosa 02-22-2010 07:50 AM

thanks for all the response :) i was sure it would be difficult to made such a thing for me, so far i have just changed a few thing in some interface o match my play nothing more.

but if one of you had time to do so someday i would be very grateful :)


All times are GMT -5. The time now is 05:33 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI