Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Nov 17 2015, 01:27
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
Update for HV Reloader for Firefox:
Reloader.user.js.txt ( 21.18k )
Number of downloads: 285 Now includes: - HV Counter Plus (show turns, time, speed, credits, exp at the end of a battle serie) - effect durations - a round counter (disabled by default) - option to reenable battle log (disabled by default) - customizable settings (see beginning of script) Please report any bug. Suggestions appreciated. Previous version here.
|
|
|
|
|
|
Nov 17 2015, 01:33
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
QUOTE(Superlatanium @ Nov 17 2015, 00:31) Same problem as before: https://forums.e-hentai.org/index.php?s=&am...t&p=4239990Uncaught ReferenceError: jQuery is not defined at this line: this.$ = this.jQuery = jQuery.noConflict(true); I have currently not been focusing on anything else but Firefox, but I may look at your problem in the future now that I've updated my script with the functions I wanted to add.
|
|
|
|
|
|
Nov 17 2015, 03:39
|
Superlatanium
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
|
QUOTE(Dan31 @ Nov 16 2015, 23:33) I have currently not been focusing on anything else but Firefox, but I may look at your problem in the future now that I've updated my script with the functions I wanted to add. I'm using Iron. I know a good number of other people use Iron exclusively for HV, but making the script compatible might be much more difficult than it's worth. I don't know if it's just my insufficient JS experience, but even something incredibly incredibly simple like turning "You have encountered a monster!" into an <a href=[link]> instead of an <a onclick=[JS:open link in new window]> was quite an exercise in frustration that took much more time than I'm willing to admit.
RE_same_window.user.js.txt ( 706bytes )
Number of downloads: 346(I couldn't even accomplish what I wanted, of altering the <a> - the only thing I could see I could do to make it work with Iron was to replace the <a> entirely) For Firefox and Chrome there's no issue, but in my experience, many many things break in Iron that work fine on other browsers. I'm astounded that HV Item Manager works (either that or I'm just incredibly bad at this).
|
|
|
|
|
|
Nov 17 2015, 03:52
|
milannews
Group: Gold Star Club
Posts: 1,180
Joined: 8-May 12
|
QUOTE(Superlatanium @ Nov 17 2015, 08:31) Same problem as before: https://forums.e-hentai.org/index.php?s=&am...t&p=4239990Uncaught ReferenceError: jQuery is not defined at this line: this.$ = this.jQuery = jQuery.noConflict(true); Chromium does not support @require and unsafeWindow. and exportFunction (at line 536) is a Firefox's function. That's why Reloader does not work on Chromium based browsers. I have no idea how to modify it coz I barely know about JavaScript. This post has been edited by milannews: Nov 17 2015, 11:21
|
|
|
|
|
|
Nov 17 2015, 08:10
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
|
QUOTE(Dan31 @ Nov 17 2015, 07:27) Update for HV Reloader for Firefox:
Reloader.user.js.txt ( 21.18k )
Number of downloads: 285 Now includes: - HV Counter Plus (show turns, time, speed, credits, exp at the end of a battle serie) - effect durations - a round counter (disabled by default) - option to reenable battle log (disabled by default) - customizable settings (see beginning of script) Please report any bug. Suggestions appreciated. Previous version here. Can you integrate hoverplay function into the reloader? Like spell on new round, icon for rebuff, icon for spirit, icon for potion etc...
|
|
|
|
|
|
Nov 17 2015, 08:26
|
jacquelope
Group: Members
Posts: 10,425
Joined: 28-July 15
|
QUOTE(Void Domain @ Nov 16 2015, 22:10) Can you integrate hoverplay function into the reloader? Like spell on new round, icon for rebuff, icon for spirit, icon for potion etc...
Is there a hoverplay that works for Chrome/Chromium?
|
|
|
Nov 17 2015, 08:31
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
|
QUOTE(jacquelope @ Nov 17 2015, 14:26) Is there a hoverplay that works for Chrome/Chromium?
No you will need unsafeWindow so you will need to install tampermonkey but its bad. So just use spellspam/mousemelee if you want chrome
|
|
|
Nov 17 2015, 12:58
|
jacquelope
Group: Members
Posts: 10,425
Joined: 28-July 15
|
QUOTE(Void Domain @ Nov 16 2015, 22:31) No you will need unsafeWindow so you will need to install tampermonkey but its bad. So just use spellspam/mousemelee if you want chrome
Ah who's got the spellspam/mousemelee for chrome? I kinda get lost hunting for that here.
|
|
|
|
|
|
Nov 17 2015, 16:04
|
Hoheneim
Group: Members
Posts: 1,245
Joined: 4-January 09
|
QUOTE(Dan31 @ Nov 17 2015, 00:27) Update for HV Reloader for Firefox:
Reloader.user.js.txt ( 21.18k )
Number of downloads: 285 Now includes: - HV Counter Plus (show turns, time, speed, credits, exp at the end of a battle serie) - effect durations - a round counter (disabled by default) - option to reenable battle log (disabled by default) - customizable settings (see beginning of script) Please report any bug. Suggestions appreciated. Previous version here. minor bug: when you get a gem and the icon is shown, if you press P the gem is used up (base HV mechanic) but the icon won't disappear no matter what. If you click on the icon instead of pressing P, the icon disappears as it should. This post has been edited by Hoheneim: Nov 17 2015, 16:07
|
|
|
|
|
|
Nov 17 2015, 17:15
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
QUOTE(Hoheneim @ Nov 17 2015, 15:04) minor bug: when you get a gem and the icon is shown, if you press P the gem is used up (base HV mechanic) but the icon won't disappear no matter what.
If you click on the icon instead of pressing P, the icon disappears as it should.
Fixed:
Reloader.user.js.txt ( 21.15k )
Number of downloads: 3188 Thanks for your input.
|
|
|
|
|
|
Nov 17 2015, 22:21
|
Hoheneim
Group: Members
Posts: 1,245
Joined: 4-January 09
|
QUOTE(Dan31 @ Nov 17 2015, 16:15) Fixed:
Reloader.user.js.txt ( 21.15k )
Number of downloads: 3188 Thanks for your input. My pleasure. Now it works as it should. This script is handy, I wouldn't have believed I'd like the noblinking part till I saw the difference in action. It just needs those couple more features I once added to Tiap's HVMA script, like hotkey handling, monster numbers, info and some additional alerts. I already implemented most of it, I'll code in the alerts sometimes in the next days. BTW, I'm starting to think I'm haunted by gems 'cause I think I spotted another minor bug. When I got a gem at the end of a RE I couldn't exit from the battle page to the Character page. I could click on the gem icon, though, and it disappeared. I don't know if it worked, it was a health one and my gauge was full. I doubt it, though... When I got a gem at the end of an Arena battle, instead, I could go back to the Arena selection page without any problem. It could also be that the RE bug is linked to the additional info injected in the final pop-up.
|
|
|
|
|
|
Nov 17 2015, 22:59
|
Hoheneim
Group: Members
Posts: 1,245
Joined: 4-January 09
|
QUOTE(Hoheneim @ Nov 17 2015, 21:21) It just needs those couple more features I once added to Tiap's HVMA script, like hotkey handling, monster numbers, info and some additional alerts. I already implemented most of it, I'll code in the alerts sometimes in the next days.
I wanted to sleep (and I still need to), but I couldn't so I coded in everything now... BTW, the problem of not being able to exit from the RE battle screen isn't related to the gems. I just can't get out of that screen at all. This post has been edited by Hoheneim: Nov 17 2015, 23:19
|
|
|
Nov 17 2015, 23:37
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
I don't have any problem at the end of an RE.
What happens exactly? The menu bar isn't shown? Or it is but it doesn't work?
|
|
|
Nov 18 2015, 00:26
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
I'm trying the reloader now that it has some very useful functions. A quick suggestion, I would change the channelling line to: CODE if (/\bchanneling\b/i.test(status_icons[i].onmouseover.toString()) && status_icons[i].getAttribute('onmouseover').match(/, ([-\d]+)\)/)[1] <= 1) { because currently the script stops the user immediately when a channeling appear, and in case of channeling gem it's a bit early. Moving the feature to the last two channeling turns seems more useful to me.
|
|
|
|
|
|
Nov 18 2015, 00:43
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
But what if you don't have Regen or Heartseeker/Arcane Focus yet and want to cast it as soon as you get the channeling effect? Frankly, with unlimited potion uses, I don't mind paying the full MP cost for Heartseeker every now and then, so I don't want to be nitpicky about a few turns. (IMG:[ invalid] style_emoticons/default/heh.gif) But yeah, you may be right. This post has been edited by Dan31: Nov 18 2015, 01:12
|
|
|
Nov 18 2015, 00:48
|
Superlatanium
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
|
QUOTE(Dan31 @ Nov 17 2015, 22:43) But what if you don't have Regen or Heartseeker/Arcane Focus yet and want to cast it as soon as you get the channeling effect? Yep... or if you're about to cast a spell but would prefer to cast a costlier spell (Heartseeker) if you know you have channeling. A user-set variable might be the best solution.
|
|
|
|
|
|
Nov 18 2015, 00:58
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(Superlatanium @ Nov 17 2015, 23:48) A user-set variable might be the best solution.
Agreed (still, we are talking about 4 turns, I don't think it makes much difference, because when you use it with a gem you know you have the effect going, stopping the user at that points it's just annoying, so the choice would actually be between 0 and 5, I guess). Actually the best would be a channelling icon like hoverplay (so that you notice it's there even if the script does not stop the actions yet) and a stop on 0 duration, but it would require more coding.
|
|
|
|
|
|
Nov 18 2015, 02:48
|
kushinamilf
Newcomer
Group: Members
Posts: 20
Joined: 17-September 15
|
QUOTE(Dan31 @ Nov 17 2015, 04:15) Fixed:
Reloader.user.js.txt ( 21.15k )
Number of downloads: 3188 Thanks for your input. your script is really impressive, but the code "Show current round at the bottom of the page" is not good for my laptop view because i cant see it and the size is very small, could u change the position to the top like "HVSTAT Slim script" did please (IMG:[ invalid] style_emoticons/default/smile.gif) , thanks in advance (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
|
|
Nov 18 2015, 11:49
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12
|
QUOTE(kushinamilf @ Nov 18 2015, 01:48) your script is really impressive, but the code "Show current round at the bottom of the page" is not good for my laptop view because i cant see it and the size is very small, could u change the position to the top like "HVSTAT Slim script" did please (IMG:[ invalid] style_emoticons/default/smile.gif) , thanks in advance (IMG:[ invalid] style_emoticons/default/smile.gif) Yeah, I was thinking about doing this. I myself don't care much about the round counter as I like to play with the log disabled, meaning the round is always indicated in the log at the start of the battle and stays there. I'll wait for Hoheneim's improvements first.
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|