Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jun 25 2017, 10:28
|
hc br
Group: Catgirl Camarilla
Posts: 3,678
Joined: 18-October 15
|
QUOTE(pooaa @ Jun 25 2017, 14:42) i do see the numbers when i installed it, but after few plays i found this script doesn't work. i'm using mouse melee and hv clean ui, is there any conflict?
OPERA [attachembed=104712] [attachembed=104713] [attachembed=104715] This post has been edited by hc br: Jun 25 2017, 10:30
|
|
|
|
|
|
Jun 25 2017, 10:28
|
Doc69
Newcomer
Group: Gold Star Club
Posts: 54
Joined: 23-April 11
|
QUOTE(atn @ Jun 25 2017, 03:36) CODE CODE
// ==UserScript== // @name HV | Chain Attack // @namespace http://fabulous.cupcake.jp.net // @version 0.1 // @description Keep attacking as long as you keep hovering on the monster // @author FabulousCupcake // @match https://hentaiverse.org/?s=Battle&ss=ar&page=2 // @grant unsafeWindow // @run-at document-end // ==/UserScript==
function getMonsterUnderCursor(X, Y) { var el = document.elementFromPoint(X, Y); var result = false;
// Check `el` and iteratively its parents until we hit body or found monster while(!result) { if(el.nodeName.toLowerCase() === 'body') break; result = ( el.id.match('mkey') ? el : false ); el = el.parentElement; }
return result; }
(function() { 'use strict'; let X, Y; document.addEventListener("mousemove", (e) => { X = e.pageX; Y = e.pageY; }); function chain_commit(index) { const el = getMonsterUnderCursor(X, Y); if (!el) return; if (!el.onclick) return; const id = el.id.substr(-1); unsafeWindow.battle.commit_target(id); } const logs = document.querySelector("#textlog > tbody"); const config = { childList: true }; const observer = new MutationObserver( mutations => { chain_commit(); }); observer.observe(logs, config); })();
I died many time because this script How to stop this script when HP<?? Add this lline to the script, just before the line "result = ( el.id.match('mkey') ? el : false );" CODE if(document.querySelector('#vbh img').width < 100) return; The value 100 corresponds to roughly 20% of health, if you want to stop at 30% just put 150, etc. You can do the same with magic (#vbm img) and spirit (#vbs img), juste add one line per stat considering that 100% is roughly 200 (pixels) for those stats. What I would like to know is how can you get this script start attacking without clicking first on the monster (pure hovering), if somebody has the answer... The issue with MouseMaglee is that is works without clicking but you need to mouse the mouse continously (very painful for schoolgirls and bosses) to keep attacking on chrome. For this script you don't need to move the mouse continously, BUT you need to click on a monster first, and each time the monster dies/you click somewhere with no monster you need to hover AND click again. This post has been edited by Doc69: Jun 25 2017, 10:44
|
|
|
|
|
|
Jun 25 2017, 10:36
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
|
QUOTE(pooaa @ Jun 25 2017, 08:42) i do see the numbers when i installed it, but after few plays i found this script doesn't work. i'm using mouse melee and hv clean ui, is there any conflict?
No visible conflict, I don't have that problem either (IMG:[ invalid] style_emoticons/default/faint.gif) edit, the NoStylish was badly encoded though, here's the fix
Numbered_OC_chips_NoStylish.zip ( 549bytes )
Number of downloads: 62This post has been edited by boulay: Jun 25 2017, 10:39
|
|
|
|
|
|
Jun 25 2017, 10:39
|
Noni
Group: Catgirl Camarilla
Posts: 12,948
Joined: 19-February 16
|
QUOTE(oohmrparis @ Jun 25 2017, 09:58) [attachmentid=104708] Provide ajax api. The lower two don't work without this.
hvmma_mod.user.zip ( 1.67k )
Number of downloads: 113It is difficult to make nopopup an ajax (IMG:[ invalid] style_emoticons/default/faint.gif)
HV___counter_plus.user.zip ( 1.47k )
Number of downloads: 69I have installe Ajax API + HV Counter from above: the time at end of battle is each time very long: over 16 hrs for 20 rounds, over 24 hrs for 50 rounds. Does this need the end-of round pop-ups that are removed by MouseMagelee 0.85?
|
|
|
|
|
|
Jun 25 2017, 11:06
|
oohmrparis
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
|
QUOTE(DJNoni @ Jun 25 2017, 10:39) I have installe Ajax API + HV Counter from above: the time at end of battle is each time very long: over 16 hrs for 20 rounds, over 24 hrs for 50 rounds. Does this need the end-of round pop-ups that are removed by MouseMagelee 0.85?
This script assumes that a popup will be displayed.
|
|
|
Jun 25 2017, 11:52
|
Aardwark
Group: Members
Posts: 223
Joined: 11-May 14
|
Can anyone give random encounter script where a green list of encounters would queue up on the 'News' page? Also, I downloaded the HV STAT UI for Chrome: [ chrome.google.com] https://chrome.google.com/webstore/detail/h...fieeiahphjaeaefKindly update it for the new screen setup.
|
|
|
Jun 25 2017, 13:38
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(DJNoni @ Jun 25 2017, 10:39) Does this need the end-of round pop-ups that are removed by MouseMagelee 0.85?
They are not removed, only hidden and clicked as soon as they appear. It could be problematic only if the click removes the popup from the DOM immediately.
|
|
|
Jun 25 2017, 13:54
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(pooaa @ Jun 24 2017, 21:56) is it possible that i can change the alert background color myself? or i need to know how to writing code first?
under the section labelled "// alert", on the far right you can see the colour names in single quotes. you can replace them with any valid html colour [ htmlcolorcodes.com] http://htmlcolorcodes.com/color-names/
|
|
|
Jun 25 2017, 14:58
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
|
playing with aesthetics managed to emulate the previous health/mana/spirit bars' behaviour, dunno about their positionning on the screen though. I'd like some pointers please (IMG:[ invalid] style_emoticons/default/faint.gif) This post has been edited by boulay: Jun 25 2017, 14:59
|
|
|
Jun 25 2017, 15:04
|
Benny-boy
Group: Gold Star Club
Posts: 1,887
Joined: 27-December 10
|
QUOTE(boulay @ Jun 25 2017, 15:58) playing with aesthetics managed to emulate the previous health/mana/spirit bars' behaviour, dunno about their positionning on the screen though. I'd like some pointers please (IMG:[ invalid] style_emoticons/default/faint.gif) Switching spells and bars may be a good idea.
|
|
|
Jun 25 2017, 15:07
|
Fap.Fap
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
|
QUOTE(oohmrparis @ Jun 25 2017, 14:54)
HV___counter_plus.user.zip ( 1.46k )
Number of downloads: 151 display bug fixed. only for Firefox? doesnt seem to work in Opera
|
|
|
Jun 25 2017, 15:21
|
oohmrparis
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
|
QUOTE(Fap.Fap @ Jun 25 2017, 15:07) only for Firefox? doesnt seem to work in Opera
install ajax api? this script needs ajax api
|
|
|
Jun 25 2017, 15:21
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
|
QUOTE(Benny-boy @ Jun 25 2017, 15:04) Switching spells and bars may be a good idea.
something like that?
|
|
|
|
|
|
Jun 25 2017, 15:39
|
lololo16
Group: Gold Star Club
Posts: 2,836
Joined: 5-March 12
|
QUOTE(FabulousCupcake @ Jun 24 2017, 11:12) CODE // ==UserScript== // @name HV | Chain Attack // @namespace http://fabulous.cupcake.jp.net // @version 0.1 // @description Keep attacking as long as you keep hovering on the monster // @author FabulousCupcake // @match https://hentaiverse.org/?s=Battle&ss=ar&page=2 // @grant unsafeWindow // @run-at document-end // ==/UserScript==
function getMonsterUnderCursor(X, Y) { var el = document.elementFromPoint(X, Y); var result = false;
// Check `el` and iteratively its parents until we hit body or found monster while(!result) { if(el.nodeName.toLowerCase() === 'body') break; result = ( el.id.match('mkey') ? el : false ); el = el.parentElement; }
return result; }
(function() { 'use strict'; let X, Y; document.addEventListener("mousemove", (e) => { X = e.pageX; Y = e.pageY; }); function chain_commit(index) { const el = getMonsterUnderCursor(X, Y); if (!el) return; if (!el.onclick) return; const id = el.id.substr(-1); unsafeWindow.battle.commit_target(id); } const logs = document.querySelector("#textlog > tbody"); const config = { childList: true }; const observer = new MutationObserver( mutations => { chain_commit(); }); observer.observe(logs, config); })();
Whoever wants to modify or extend it (like, start attacking immediately when you hover, stop attacking Spark of Life triggered, or use spell instead of attack), feel free to do so ¯\_(ツ)_/¯ Is there a way to modify one of these scripts for attacking until I press a letter on the keyboard? (not just hovering) Or that needs a new script? This post has been edited by lololo16: Jun 25 2017, 15:41
|
|
|
|
|
|
Jun 25 2017, 15:43
|
Fap.Fap
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
|
QUOTE(oohmrparis @ Jun 25 2017, 15:21) install ajax api? this script needs ajax apithanks works now : ) is there a reason why my t/s is only 3,28 now instead of 3,8? ( tried to copy it,but it went to the next screen then) tho my clearing time is faster than before. can you also add a round timer ? it would be nice to see when the last round is coming to save the a cannon attack This post has been edited by Fap.Fap: Jun 25 2017, 15:43
|
|
|
Jun 25 2017, 15:46
|
KitsuneAbby
Group: Catgirl Camarilla
Posts: 7,566
Joined: 12-July 14
|
The hovering script worked for a few rounds then stopped working at all. Only the right click was still available.
|
|
|
|
|
|
Jun 25 2017, 16:01
|
GermanPlasma
Group: Gold Star Club
Posts: 571
Joined: 4-October 15
|
QUOTE(boulay @ Jun 24 2017, 20:03) tried all of these, I still don't see anything wrong with mine (except the notifier) (IMG:[ invalid] style_emoticons/default/wacko.gif) did you try flushing the cache/cookies and reinstalling the script? anyway, here's the second one HV Deep Sea, v0.6
HV_Deep_Sea_0.6.css ( 81.93k )
Number of downloads: 187
HV_Deep_Sea_NoStylish_Pack.zip ( 525bytes )
Number of downloads: 117Changelog: <Fixed> Everything related to HV 0.85 <Fixed> tables' bubbly designs, various highlights <Fixed> some bad picture changes, including the default font <added> Sames as HV dark, alternative design for hp/mp/sp bars again, do tell me if there's something that looks fishy, even if I don't see anything firsthand. I'll know that there are some bugs at the very least (IMG:[ invalid] style_emoticons/default/faint.gif) about the Chrome/opera/Iron version: I'll do it later once we get a good grasp on this new version of the game, it takes much more time to make these anyway... edit: @Jack try to reduce your font size, I tried an oversized one and it dit the same thing as yours... Hey boulay Uh, I have a problem ^^ Was this already solved by you, because I don't find anything that solves this for your skin (IMG:[ i.imgur.com] http://i.imgur.com/0xTruQI.png)
|
|
|
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|