Welcome Guest ( Log In | Register )

291 Pages V « < 204 205 206 207 208 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Jun 25 2017, 10:28
Post #4101
hc br



Veteran Poster
********
Group: Catgirl Camarilla
Posts: 3,678
Joined: 18-October 15
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 10:28
Post #4102
Doc69



Newcomer
**
Group: Gold Star Club
Posts: 54
Joined: 23-April 11
Level 427 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 10:36
Post #4103
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


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

Attached File  Numbered_OC_chips_NoStylish.zip ( 549bytes ) Number of downloads: 62


This post has been edited by boulay: Jun 25 2017, 10:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 10:39
Post #4104
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 12,948
Joined: 19-February 16
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Jun 25 2017, 09:58) *

[attachmentid=104708]
Provide ajax api.
The lower two don't work without this.

Attached File  hvmma_mod.user.zip ( 1.67k ) Number of downloads: 113

It is difficult to make nopopup an ajax (IMG:[invalid] style_emoticons/default/faint.gif)

Attached File  HV___counter_plus.user.zip ( 1.47k ) Number of downloads: 69




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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 10:49
Post #4105
Fap.Fap



Active Poster
*******
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
Level 500 (Ponyslayer)


QUOTE(boulay @ Jun 25 2017, 01:21) *

Numbered OC chips, v0.1

A temporary thing until somebody find a better alternative ^^

Attached File  Numbered_OC_chips.css ( 1.96k ) Number of downloads: 165
[attachmentid=104690]

(IMG:[image.noelshack.com] http://image.noelshack.com/fichiers/2017/25/7/1498346420-overcharge-chips.png)



I made it work for OPERA, just delete the
@-moz-document domain("hentaiverse.org") {
part.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 10:58
Post #4106
pooaa



Regular Poster
*****
Group: Gold Star Club
Posts: 645
Joined: 20-July 14
Level 500 (Ponyslayer)


QUOTE(boulay @ Jun 25 2017, 16:36) *

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

Attached File  Numbered_OC_chips_NoStylish.zip ( 549bytes ) Number of downloads: 62


it works, thanks (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 11:06
Post #4107
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 11:52
Post #4108
Aardwark



Casual Poster
***
Group: Members
Posts: 223
Joined: 11-May 14
Level 381 (Dovahkiin)


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...fieeiahphjaeaef

Kindly update it for the new screen setup.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 13:38
Post #4109
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 13:54
Post #4110
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


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/
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 14:54
Post #4111
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
Level 500 (Ponyslayer)


Attached File  HV___counter_plus.user.zip ( 1.46k ) Number of downloads: 151

display bug fixed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 14:58
Post #4112
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


playing with aesthetics

Attached Image

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:04
Post #4113
Benny-boy



far ahead the known level of comfiness~
*******
Group: Gold Star Club
Posts: 1,887
Joined: 27-December 10
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:07
Post #4114
Fap.Fap



Active Poster
*******
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Jun 25 2017, 14:54) *

Attached File  HV___counter_plus.user.zip ( 1.46k ) Number of downloads: 151

display bug fixed.


only for Firefox? doesnt seem to work in Opera
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:21
Post #4115
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:21
Post #4116
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


QUOTE(Benny-boy @ Jun 25 2017, 15:04) *

Switching spells and bars may be a good idea.

something like that?

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:39
Post #4117
lololo16




********
Group: Gold Star Club
Posts: 2,836
Joined: 5-March 12
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:43
Post #4118
Fap.Fap



Active Poster
*******
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Jun 25 2017, 15:21) *

install ajax api? this script needs ajax api


thanks 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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 15:46
Post #4119
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,566
Joined: 12-July 14
Level 500 (Ponyslayer)


The hovering script worked for a few rounds then stopped working at all. Only the right click was still available.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2017, 16:01
Post #4120
GermanPlasma



Subscribe to Pewdiepie
*****
Group: Gold Star Club
Posts: 571
Joined: 4-October 15
Level 377 (Godslayer)


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)

Attached Image

did you try flushing the cache/cookies and reinstalling the script?
anyway, here's the second one

HV Deep Sea, v0.6

Attached File  HV_Deep_Sea_0.6.css ( 81.93k ) Number of downloads: 187
Attached File  HV_Deep_Sea_NoStylish_Pack.zip ( 525bytes ) Number of downloads: 117


Changelog:
<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)

User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 204 205 206 207 208 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 23rd January 2025 - 22:57