|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jul 3 2017, 02:46
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
QUOTE(Scremaz @ Jul 3 2017, 02:43) @juggy santa: did your t/s skyrocket as well with this patch?
I don't know. I'm still not set for long plays. And now I have screwed my ofc, so until I get my figurine, no testing t/s (IMG:[ invalid] style_emoticons/default/duck.gif)
|
|
|
|
|
|
Jul 3 2017, 03:00
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
bigRoundCounter option, a few more comments and examples
HentaiverseMonsterbation.1.1.2.1.user.js.zip ( 8.59k )
Number of downloads: 240QUOTE(Maharid @ Jul 3 2017, 02:20) This work to cast spell, but ToggleHover will not work, i need to hit the W Key.
For the Cooldowns, ClearUI worked but it was the last thing i let it do so i uninstalled it when i got Monsterbation running, i don't know if the code is the same or if i messed up something.
oh yeah, the bind with ToggleHover is meant to be used while hover is interrupted, so if hover is active you need to toggle it either way. i may rework MonsterAction in a later version to be more intuitive to use the code for cooldowns is mostly the same, but one of the new functions may clash with your browser, keeping the cooldown code from running This post has been edited by sickentide: Jul 3 2017, 03:07
|
|
|
|
|
|
Jul 3 2017, 03:15
|
Gambit126
Group: Members
Posts: 301
Joined: 27-September 15
|
@sickentide How may I change the position of the Gem Icon?
|
|
|
Jul 3 2017, 03:22
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(Gambit126 @ Jul 3 2017, 03:15) @sickentide How may I change the position of the Gem Icon?
it's part of the quickbar, so you can use the quickbarExtend setting to change its position. for example you can set CODE quickbarExtend = [ 0,'ikey_1','ikey_2','ikey_3','ikey_4','ikey_5','ikey_6',1 ], to have it in the seventh position on the second row
|
|
|
|
|
|
Jul 3 2017, 03:27
|
Maharid
Group: Catgirl Camarilla
Posts: 2,374
Joined: 27-April 10
|
My 1-hand speed increased greatly with this release. First i have to say that i have a bad conection and i cannot get nothing better at the moment (unless i go with a satellite connection). That cleared, before i was able to finish DwD on Hell in about 1 hour, a little less with an infusion. Now i was able to do the same in about 35 minutes, some more cause i fiddled a bit with Moonsterbation script in the meantime. @sickentide: Thanks, really. (IMG:[ invalid] style_emoticons/default/smile.gif) BTW, i don't think i have anything else that change the gem position and at the moment is set on the right of the rightmost icon of the normal QuickBar (like it is the 17th slot). Sometime i miss that i got it, being able to change the position as we like it will be much better, i will probably set it on the right of the bars (in Utilitarian Mode). This post has been edited by Maharid: Jul 3 2017, 03:32
|
|
|
|
|
|
Jul 3 2017, 03:28
|
Gambit126
Group: Members
Posts: 301
Joined: 27-September 15
|
QUOTE(sickentide @ Jul 2 2017, 21:22) it's part of the quickbar, so you can use the quickbarExtend setting to change its position. for example you can set CODE quickbarExtend = [ 0,'ikey_1','ikey_2','ikey_3','ikey_4','ikey_5','ikey_6',1 ], to have it in the seventh position on the second row What if I would like to see it between the stat bars and the monster list, like reloader showed it? Edit: Sorry, but having it separate from all the other icons seems to catch my eye, whereas it's current position or another position grouped with other icons doesn't always. I've missed noticing Mystic Gems a few times already and sometimes even health gems. Re-Edit: Using spaces I was able to have it show up in the same position on the second row. That seems to be eye catching enough for me. Thanks. This post has been edited by Gambit126: Jul 3 2017, 04:01
|
|
|
|
|
|
Jul 3 2017, 03:40
|
Jack Tekila
Group: Members
Posts: 174
Joined: 17-November 09
|
QUOTE(Sapo84 @ Jul 2 2017, 21:13)
- 1 day of the week with kickass mode
Have you guys already figured out which day of the week buffs which element? And afaik we have 6 elements (fire/ice/wind/elec/holy/dark) and 7 days of the week... Is there a repeated element or a day without an elemental buff?
|
|
|
|
|
|
Jul 3 2017, 03:42
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(Gambit126 @ Jul 3 2017, 03:28) What if I would like to see it between the stat bars and the monster list, like reloader showed it?
Edit: Sorry, but having it separate from all the other icons seems to catch my eye, whereas it's current position or another position grouped with other icons doesn't always. I've missed noticing Mystic Gems a few times already and sometimes even health gems.
then keep quickbarExtend at the default and go to line 435, where it says CODE div.setAttribute('onclick', gem[0]); div.setAttribute('onmouseover', gem[1]); and insert this right after: CODE div.setAttribute('style', 'top: -60px');
|
|
|
|
|
|
Jul 3 2017, 04:19
|
AnonDarkMage7
Group: Gold Star Club
Posts: 925
Joined: 1-June 12
|
QUOTE(sickentide @ Jul 2 2017, 18:31) you have to dip the pointer into a monster and move back out real quick for a single cast, or you can try something like this: CODE hoverShiftAction = Strongest([ToggleHover, Cast('Imperil')]), // ... Bind(KEY_Z, ToggleHover); Bind(KEY_Z, Shift, ToggleHover); hold shift and hover over the first monster you want to imperil, hover over the second monster to imperil and hit Z, do the same for the third, release shift and hit Z to resume attacking I added this code, the hover shift works, however releasing shift and pressing Z doesn't get my normal hover to start up again, not sure if I'm doing something wrong
|
|
|
|
|
|
Jul 3 2017, 04:34
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(abc12345678901 @ Jul 3 2017, 04:19) I added this code, the hover shift works, however releasing shift and pressing Z doesn't get my normal hover to start up again, not sure if I'm doing something wrong
in the example bindings there was another binding for non-shift Z: CODE Bind(KEY_Z, Use(1)); make sure to remove it as the code only executes one binding per key
|
|
|
Jul 3 2017, 04:46
|
AnonDarkMage7
Group: Gold Star Club
Posts: 925
Joined: 1-June 12
|
QUOTE(sickentide @ Jul 3 2017, 04:34) in the example bindings there was another binding for non-shift Z: CODE Bind(KEY_Z, Use(1)); make sure to remove it as the code only executes one binding per key That was it, thank you very much.
|
|
|
Jul 3 2017, 04:53
|
Kira.Yoshikage
Group: Gold Star Club
Posts: 687
Joined: 25-July 09
|
QUOTE(DJNoni @ Jul 2 2017, 16:17) PFUDOR fest was nerfed very badly.
What happened about PF fest? I did one 380round PF fest yesterday(I forgot to change difficulty and because of 1 extra stamina cost I continued),I found it was better than 0.84,in 0.84 I can't survive that long.
|
|
|
|
|
|
Jul 3 2017, 04:59
|
sigo8
Group: Gold Star Club
Posts: 3,450
Joined: 9-November 11
|
QUOTE(Maharid @ Jul 2 2017, 14:03) Nope, Pale Moon will not stop che right click menu to appear so i cannot use it in a good way.
Everyting else work fine and i also downloaded Pale Moon Portable to dedicate it fully on the HV to have better speed (removing all the extensions and scripts i use during my normal browsing).
Now i will wait a bit to see if the last things i really need will pop out or i will make my own pay-for-script thread.
I'm using Pale Moon too, but I'm not having any problems. First thing I would do is open about:config and make sure dom.event.contextmenu.enabled is true. If that doesn't work, try a completely fresh profile. Also what version is your Pale Moon, the latest is 27.3.0.
|
|
|
|
|
|
Jul 3 2017, 05:17
|
Maharid
Group: Catgirl Camarilla
Posts: 2,374
Joined: 27-April 10
|
Pale Moon 26.5.0, i will keep this for a while cause there are some jetpack extensions i use that are not compatible. Anyway, changing the dom.event.contextmenu.enabled to true solved it, now i have the use of right click in battle., thanks. (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
Jul 3 2017, 07:13
|
Noni
Group: Catgirl Camarilla
Posts: 12,960
Joined: 19-February 16
|
QUOTE(Nanoha_Prayer @ Jul 3 2017, 04:53) What happened about PF fest? I did one 380round PF fest yesterday(I forgot to change difficulty and because of 1 extra stamina cost I continued),I found it was better than 0.84,in 0.84 I can't survive that long.
380 rounds is fine. 1000 rounds imperil mage have high chance of dying. And it takes much longer than in 0.85.
|
|
|
Jul 3 2017, 11:25
|
lololo16
Group: Gold Star Club
Posts: 2,836
Joined: 5-March 12
|
QUOTE(sickentide @ Jul 2 2017, 22:00) bigRoundCounter option, a few more comments and examples
HentaiverseMonsterbation.1.1.2.1.user.js.zip ( 8.59k )
Number of downloads: 240Can you consider adding something like this to your script?
|
|
|
Jul 3 2017, 11:40
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
QUOTE(lololo16 @ Jul 3 2017, 11:25) Can you consider adding something like this to your script? not required for the reward purpose. if he wants to add it, his call.
|
|
|
Jul 3 2017, 13:11
|
Gambit126
Group: Members
Posts: 301
Joined: 27-September 15
|
QUOTE(sickentide @ Jul 2 2017, 21:42) then keep quickbarExtend at the default and go to line 435, where it says CODE div.setAttribute('onclick', gem[0]); div.setAttribute('onmouseover', gem[1]); and insert this right after: CODE div.setAttribute('style', 'top: -60px'); Perfect!! Thank you so very much!
|
|
|
Jul 3 2017, 17:27
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(lololo16 @ Jul 3 2017, 11:25) Can you consider adding something like this to your script? this would require some processing overhead that might lead to slowdown, so i prefer to leave that to a separate script
|
|
|
|
|
|
Jul 3 2017, 17:47
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
|
CODE // ==UserScript== // @name Interround AJAX // @namespace interround ajax // @version 1 // @match *://*.hentaiverse.org/* // ==/UserScript==
document.addEventListener("DOMContentLoaded", function(event) { init(); });
init();
function init(){ (new MutationObserver(function() { var complete = document.querySelector("#pane_completion img"); if (complete && complete.src.includes("arenacontinue.png")) { work(); } })).observe(document.getElementById("pane_completion"), { attributes: true, childList: true, characterData: true }); }
function work() { var box = document.querySelector("#pane_completion > *"); box.onclick = function() { var x = new XMLHttpRequest(); x.onreadystatechange = function() { if (x.readyState == XMLHttpRequest.DONE) { if (x.status == 200) { var doc = (new DOMParser()).parseFromString(x.responseText, "text/html"); document.body.innerHTML = doc.body.innerHTML; var script = document.createElement("script");
if(!doc.getElementById("riddlemaster")){ script.type = "text/javascript"; script.innerHTML = "battle = new Battle();"; document.getElementById("mainpane").appendChild(script); }
var event = new Event("DOMContentLoaded"); document.dispatchEvent(event); } else { alert('something else other than 200 was returned'); } } }; x.open("GET", document.location.href, true); x.send(); }; }
This is a script that uses AJAX to fetch the next round and replace the main pane with that data. It does this by overriding the on click listener of the round complete box. So your auto continue script should click on the complete box instead of using other methods to progress to the next round. You should also make sure this script has a higher priority than your auto continue script, denoted in Tampermonkey by the # column in your script list. After it is done replacing the main pane, it will dispatch a DOMContentLoaded event on the document. So any battle scripts you're using needs to listen to this event for initialization since there's no page reload now. It also works fine with riddlemaster. I am not sure if this script makes anything faster, so it should be considered experimental. Edit: Changed a line. This post has been edited by LOL50015: Jul 3 2017, 17:53
|
|
|
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|