Ill give it a go now. Sadly, singular havent got this code added yet. I use Obliv's retribution CC for Singular.
It didnt work, it said Plugin loaded, i had Ultraxion in target but it didn't click, i can attach log later if needed, currently still in ds xD
It shouldn't even need the boss targeted. Is there any mention of DSHelper in the log? (after the initial loading part) I'll have look later tonight when I run through DS and see what I can do.
edit: Stand by for an updated version. Apparently I was sleep deprived when I wrote the original and it broke horribly!
lol ok, i tried the code that you posted and didnt worked neither, i guess thats why u edited.. regards
That's why you should never write code while sleep deprived in a lecture hall! made a silly mistake when originally writing the code, check out my attachment for an updated, working version. I've tested Hand of Twilight and Shrapnel -- both work. I don't have access to check Fading Light however, on the same principle we should be good. edit: quick update, did Madness a second time and Shrapnel is inconsistent at best. Changed the code so rather than looking for the debuff on the player, as per Lua in first post, it instead looks for enemies casting Shrapnel before hitting the button. Should work fine. Also changed timings for button presses to ensure the plugin has enough time to hit the button.
If you want, then i Can create a plugin for you, which Will use heroic Will for you on a certain time/casttime left (if you provide m? with the correct times...
i just tested, and i think this is not so friendly with low fps computers (11 fps @ lfr) View attachment 23-03-2012_06_22 p.m. 4140 Log.txt im not so good coding, but i guess it means he pressed the button 06:26:05 p.m.:985] [DSHelper] Ultraxion Button Pressed for Hour of Twilight, but he didnt.. just 1 time in all the fight.. as i said it may be my low fps in the fight. thanks
Thanks a lot!! I just tried it for Hour of Twilight: 1-[DSHelper] Ultraxion Button Pressed for Hour of Twilight [LazyRaider] Tank set to Warrior, max health 210305 2- Did not click! [LazyRaider] Tank set to Warrior, max health 211291 3-[DSHelper] Ultraxion Button Pressed for Hour of Twilight 4-[DSHelper] Ultraxion Button Pressed for Hour of Twilight [LazyRaider] Tank set to Paladin, max health 174054 5-[DSHelper] Ultraxion Button Pressed for Hour of Twilight 4/5 is very good for a bot I will try it one more time and see if this will happen again!
I had a look at your log and I think it is because of your low FPS and high latency. If you look at the timestamps, DSHelper is pulsed twice, once at [06:27:37 p.m.:373] and the other at [06:27:38 p.m.:112] -- almost a second apart, when it should be pulsed several times a second. Your log output also mentions a latency of 297. The version of the plugin you were using was designed to hit the button if there is less than 750 ms remaining on the cast. In your case, it is very likely that it is pulsing so slowly that the cast isn't even registering in time, thus the call to the button is not even happening, or if it does happen, your latency is so high that the button isn't being pressed in time. If you open the plugin file and check out the code, you'll see ".TotalSeconds <= 1" in a few places -- change the 1 to a 2 and it will likely work flawlessly for you.
Any way to get this working 100% and able to run in background while I raid? Saving me from pushing a button and focusing on DPS would be insane... And maybe even pick a turn to soak on (Eg. As a Priest use disperse or something)
ohh totally forgot about this, sorry that i didnt updated.. seems like when you have low fps it wont push the button, even if u play around with the ".TotalSeconds <= x anyways, thanks for your help. im pretty sure other ppl will use ur plugin and love it.. thanks again for trying to help me.. regards