I won't use channeling immediately. and Then I often miss channeling. I hope, "Now stops when channeling" ---> "Now stops when channeling count 0" Please consider.
Ouch! I misunderstood (IMG:[invalid] style_emoticons/default/blink.gif) Dan31's Mousemelee Light+ is "always" stops when channeling! I should be posting from checked tightly. Noticed now...can't be edited with my post. I'm embarrassed (IMG:[invalid] style_emoticons/default/anime_cry.gif)
This post has been edited by nirvarin21: Dec 18 2014, 06:14
Ouch! I misunderstood (IMG:[invalid] style_emoticons/default/blink.gif) Dan31's Mousemelee Light+ is "always" stops when channeling! I should be posting from checked tightly. Noticed now...can't be edited with my post. I'm embarrassed (IMG:[invalid] style_emoticons/default/anime_cry.gif)
Nothing to be embarrassed about. I understood that you want the "hover to attack" to stop only when channeling is just about to expire. But I prefer keeping the script as it is because it's better for mages that way. Also, you might otherwise use a buff without realizing you had channeling in the first place.
I've modified HVSTAT slim Function is ・HP, Spark, Channeling Alert Alert more than once modified ・Adjust key event handling not to overrun when an alert is shown ・Nopopup, effectDurations, skillHotkey, Roundcounter ・Draw a line at the end of the turn ・The display on the left panel of the current equipment number
The script can now display a timer for a lottery thread as well. [github.com] Download Link unchanged.
I feel like the site providing the timer is kinda slow nowadays. Maybe reduce the default refresh interval to 300s? Or even better, maybe adjust the refresh interval for individual counters based on the time remaining? (ie refresh counters with a few minutes remaining more often than those with several hours remaining)
Actually, do you need to hit the countdown server at all? Just read the durations and put a javascript timer.
This post has been edited by Dan31: Jan 3 2015, 15:48
If I can figure out how much time remains from this url, then as you say, no need to visit the countdown server at all. But the problem is that I don't know how, or more precisely, can't be bothered to calculate it by myself, because time & timezone is too complex to deal with by myself:
But you are right, visiting the countdown server so frequently isn't a good thing, as it increases the server load. Maybe I should try to find a JS lib to deal with the time & timezone problem.
This post has been edited by djackallstar: Jan 3 2015, 16:20
If I can figure out how much time remains from this url, then as you say, no need to visit the countdown server at all. But the problem is that I don't know how, or more precisely, can't be bothered to calculate it by myself, because time & timezone is too complex to deal with by myself:
But you are right, visiting the countdown server so frequently isn't a good thing, as it increases the server load. Maybe I should try to find a JS lib to deal with the time & timezone problem.
Convert the time in the url into a javascript [www.w3schools.com] Date object, and construct a timer around this. It's not trivial, but not too hard either.
CODE
var now = new Date(); //current time var expiration_date = new Date(year, month, day, hours, minutes, seconds, milliseconds); //replace the values by what you parsed from the url var time_remaining = expiration_date - now; //then parse time_remaining with getFullYear(), getMonth(), etc. and print it (Maybe there is a simpler method, with a function doing the correct formatting?) //and then you have to use setInterval() to update time_remaining, putting a interval value equals to 1 unit of the rightmost bit should be enough
or if you don't understand either: - regex match url parameters - stuff them into an object for easy access - create a new utc date object - apply the timezone offset - subtract the current time from the utc date object to get the remaining time
*copy, paste, and run this in your browser console to see it in action
May i ask why i lost all the data n setting(like used the master reset) of the script after installing HV STAT (5.6.5.1)? Using chrome 39.0.2171.95 m thanks!
This post has been edited by showoff: Jan 11 2015, 20:48
I've modified HVSTAT slim Function is ・HP, Spark, Channeling Alert Alert more than once modified ・Adjust key event handling not to overrun when an alert is shown ・Nopopup, effectDurations, skillHotkey, Roundcounter ・Draw a line at the end of the turn ・The display on the left panel of the current equipment number
I don't know if this is the right place for this but this is just stupid of google. Disabling my extensions like it's their business to do so. Can someone please help me with this?
I don't know if this is the right place for this but this is just stupid of google. Disabling my extensions like it's their business to do so. Can someone please help me with this?
Latest firefox update seems to make the HVStat script crash the browser for me. Is anyone else getting this problem? Also, screw firefox for no in-built version rollback. If I want to use an older version, risk or no, I should be able to.