Welcome Guest ( Log In | Register )

45 Pages V « < 7 8 9 10 11 > »   
Reply to this topicStart new topic
> [Script] Monsterbation 1.4.1.2, A comprehensive hovering script for HentaiVerse and ISK. Including CrunkJuice 1.3.0, an out-of-battle script

 
post Sep 3 2018, 05:07
Post #161
sickentide



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


QUOTE(Drksrpnt @ Sep 3 2018, 04:45) *

Errrr.... I meant draught, not potion. Sorry.

in that case, remove manapot.png from alertBuffs
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 3 2018, 05:24
Post #162
Drksrpnt



Dank
********
Group: Gold Star Club
Posts: 3,550
Joined: 27-December 10
Level 500 (Ponyslayer)


QUOTE(sickentide @ Sep 2 2018, 23:07) *

in that case, remove manapot.png from alertBuffs


Thank you so much!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 3 2018, 08:25
Post #163
Late for work :(



[CENSORED]
***
Group: Gold Star Club
Posts: 203
Joined: 5-July 08
Level 388 (Dovahkiin)


I love this script and love you for it.
HVStat is such an unnecessarily complicated turd compared to this, I don't even want to think about it.

EDIT: I regret the HVStat comment. HVStat is bloated af but is also the work of many enthusiasts collaborating to improve something they love. My comment was pretty disrespectful and dismissive of that work.
Still stand by what I said about this script though, love it.

Anyway, here's a little addition I made for CrunkJuice because the functionality of how random encounters are activated annoyed me.
Based on the code, I assume this was an unintended quirk of the timer script, but I've made it a setting because some people probably like how it functions now.
As the script is, if you have the RE timer setting on, if a random encounter is detected you're automatically taken to the hentaiverse on that tab rather than the popup you'd usually get.
This re-enables the pop-up functionality.

Add these after the reAlt setting:
CODE
    rePop = false,            // toggles the default "popup" style of random encounters/hentaiverse. pop-up blockers will try to block (default: false)
    reAuto = true,           // toggles whether or not to automatically activate random encounters (default: true)

Replace:
CODE
    if ( reTimer && document.URL.indexOf('e-hentai') > -1 ) {
        if ( (re = document.querySelector('#eventpane a')) )
            window.location = reAlt ? re.href.replace('https://hentaiverse', 'http://alt.hentaiverse') : re.href;
        return; }

With:
CODE
    if ( reAuto && document.URL.indexOf('e-hentai') > -1 ) {
        if ( (re = document.querySelector('#eventpane a')) ) {
            if ( reAlt )
                re.href.replace('https://hentaiverse', 'http://alt.hentaiverse');
            if ( rePop ) {
                window.open(re.href,'_hentaiverse','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1250,height=720,left='+((screen.width-1250)/ 2)+',top='+((screen.height-720)/2));
                document.getElementById('eventpane').style.display='none'; }
            else
                window.location = re.href;
        }
        return; }


EDIT 2: Just to cover my ass, I haven't added any "automation" that wasn't already present. If the automation is found to be rule breaking, I'd be happy to explain why I feel it wasn't added intentionally/maliciously, and why it shouldn't truly be considered automation.

This post has been edited by GaryMcNabb: Sep 9 2018, 15:17
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 4 2018, 17:01
Post #164
tox01



Regular Poster
*****
Group: Gold Star Club
Posts: 567
Joined: 16-April 09
Level 500 (Godslayer)


sickentide,
script is incorrectly determines the action, if it starts with "Spirit Stance Exhausted".
It should skip that line/row and take the next one ( script's variable: regexp.action ).

HTML (no stance):
QUOTE
<tr><td class="tl">You cast Gale.</td></tr><tr><td class="tls">

script's action = You cast Gale

HTML (with stance):
QUOTE
<tr><td class="tl">You cast Gale.</td></tr><tr><td class="tlb">Spirit Stance Exhausted</td></tr><tr><td class="tls">

script's action = Spirit Stance Exhausted

Thank you

This post has been edited by tox01: Oct 4 2018, 17:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2018, 16:59
Post #165
sickentide



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


QUOTE(tox01 @ Oct 4 2018, 17:01) *

script is incorrectly determines the action, if it starts with "Spirit Stance Exhausted".

fixed, thank you Attached File  HentaiverseMonsterbation.1.2.4.1.user.js.zip ( 22.09k ) Number of downloads: 803


This post has been edited by sickentide: Oct 9 2018, 17:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 8 2018, 19:27
Post #166
KamuiSeph



Rehabilitated Former Cheater
*******
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08
Level 461 (Godslayer)


Can I turn the auto-hit off?


Is there a settings menu for this script? Or do I have to edit stuff directly?

Like this:
change background or quickbar colour according to alert conditions
hoverplay, both for melee and spell rotation, with option to stop under conditions like spark



This post has been edited by (Cheater) KamuiSeph: Oct 8 2018, 20:36
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 9 2018, 10:23
Post #167
sickentide



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


QUOTE((Cheater) KamuiSeph @ Oct 8 2018, 19:27) *

Is there a settings menu for this script? Or do I have to edit stuff directly?

unless something big comes up, a config menu should be among the next set of features to add, but i'm somewhat busy with other matters at present. for now, edit the settings and key bindings sections in tampermonkey

QUOTE((Cheater) KamuiSeph @ Oct 8 2018, 19:27) *

Can I turn the auto-hit off?

you can turn off hover permanently by setting hoverAction = false or turn it on manually each round by setting startRoundWithHover = false. to toggle it, bind ToggleHover to any key, the default is Z
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 9 2018, 11:23
Post #168
KamuiSeph



Rehabilitated Former Cheater
*******
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08
Level 461 (Godslayer)


QUOTE(sickentide @ Oct 9 2018, 17:23) *

unless something big comes up, a config menu should be among the next set of features to add, but i'm somewhat busy with other matters at present. for now, edit the settings and key bindings sections in tampermonkey
you can turn off hover permanently by setting hoverAction = false or turn it on manually each round by setting startRoundWithHover = false. to toggle it, bind ToggleHover to any key, the default is Z


Thank you!! Super helpful!

And I look forward to the config menu :3
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 9 2018, 11:48
Post #169
tox01



Regular Poster
*****
Group: Gold Star Club
Posts: 567
Joined: 16-April 09
Level 500 (Godslayer)


sickentide,
function Observe should include ProcessLog() in battle end check part. Otherwise last turn's damage data is not counted.

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

 
post Oct 9 2018, 17:08
Post #170
sickentide



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


QUOTE(tox01 @ Oct 9 2018, 11:48) *

function Observe should include ProcessLog() in battle end check part. Otherwise last turn's damage data is not counted.

right, fixed. the original use of that function was only to track cooldowns, which wasn't needed at end of battle
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 27 2018, 09:14
Post #171
BlueWaterSplash



Swimsuit Girl
********
Group: Members
Posts: 3,369
Joined: 15-March 11
Level 406 (Godslayer)


Up until now I've been playing with the mouseEngage setting on so that I can hold the mouse button to attack instead of hovering. But now that my character is much stronger and faster, pure hovering is starting to become more convenient.

Is there a way to toggle the hovering behavior between pure hovering and using mouseEngage? I tried various combinations and they don't seem to work. I also tried pressing Z for ToggleHover but that likewise doesn't seem to work for this purpose.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 27 2018, 12:24
Post #172
tox01



Regular Poster
*****
Group: Gold Star Club
Posts: 567
Joined: 16-April 09
Level 500 (Godslayer)


Request:
Sort "Used: " (Example: Used: Mana Draught: 24, Protection: 10 ...) line, which appears in the combat log at the end of battle by alphabet [inside function ShowUsage].

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

 
post Oct 28 2018, 02:09
Post #173
sickentide



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


QUOTE(BlueWaterSplash @ Oct 27 2018, 09:14) *

Up until now I've been playing with the mouseEngage setting on so that I can hold the mouse button to attack instead of hovering. But now that my character is much stronger and faster, pure hovering is starting to become more convenient.

Is there a way to toggle the hovering behavior between pure hovering and using mouseEngage? I tried various combinations and they don't seem to work. I also tried pressing Z for ToggleHover but that likewise doesn't seem to work for this purpose.

i should give HoverAction the option to change the hover action permanently. for now, try this:
CODE
hoverAction = false,
// ...
Bind(KEY_Q, HoverAction(Nothing, true));
Bind(KEY_W, HoverAction(false, true));

and around line 350, where it says
CODE
function handleKeyup(e) {
    shiftHeld = e.shiftKey;
    ctrlHeld = e.ctrlKey;
    altHeld = e.altKey;
    hoverAction = defaultAction;

remove or comment out the line "hoverAction = defaultAction;" now you can toggle between full hover and mouse engage with the Q and W keys
QUOTE(tox01 @ Oct 27 2018, 12:24) *

Request:
Sort "Used: " (Example: Used: Mana Draught: 24, Protection: 10 ...) line, which appears in the combat log at the end of battle by alphabet [inside function ShowUsage].

Thank you.

making the usage log smarter (counting hits and misses etc.) is on the roadmap, though i would prefer to sort them by category rather than alphabetically
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 28 2018, 02:50
Post #174
BlueWaterSplash



Swimsuit Girl
********
Group: Members
Posts: 3,369
Joined: 15-March 11
Level 406 (Godslayer)


Thanks, I'm guessing something similar to change the noPopup setting in realtime would also work? Because I think noPopup = false, goes better with the mouseEngage style. While noPopup = true goes better with pure hovering.

For now I'm playing with pure hovering to see if I can get used to it this time. I think pure hovering goes better with 1H spread attack style, while mouseEngage goes better with 1H one-by-one targeting style (safer in IW and Grindfest).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 28 2018, 03:19
Post #175
sickentide



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


QUOTE(BlueWaterSplash @ Oct 28 2018, 02:50) *

Thanks, I'm guessing something similar to change the noPopup setting in realtime would also work? Because I think noPopup = false, goes better with the mouseEngage style. While noPopup = true goes better with pure hovering.

for this you can modify line 453 like so:
CODE
document.addEventListener('mouseup', function() { hoverAction = defaultAction; noPopup = true; }, true); }

and line 869 like so:
CODE
function MouseEngage(e) {
    noPopup = false;
    if      ( e.which == 1 ) hoverAction = clickLeft;
    else if ( e.which == 2 ) hoverAction = clickMiddle;
    else if ( e.which == 3 ) hoverAction = clickRight; }
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 30 2018, 09:02
Post #176
BlueWaterSplash



Swimsuit Girl
********
Group: Members
Posts: 3,369
Joined: 15-March 11
Level 406 (Godslayer)


Now that I've practiced a bit more I think noPopup = true can be fine with mouseEngage, rather what that style could benefit from instead is a new setting to disable the hover at the beginning of each new round until the mouse is clicked and held again. That preserves one of the additional benefits of the mouseEngage style, which is precise control over your actions.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 30 2018, 16:37
Post #177
sickentide



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


QUOTE(BlueWaterSplash @ Oct 30 2018, 09:02) *

Now that I've practiced a bit more I think noPopup = true can be fine with mouseEngage, rather what that style could benefit from instead is a new setting to disable the hover at the beginning of each new round until the mouse is clicked and held again. That preserves one of the additional benefits of the mouseEngage style, which is precise control over your actions.

there is such a setting! try clearRound = true
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 31 2018, 08:49
Post #178
BlueWaterSplash



Swimsuit Girl
********
Group: Members
Posts: 3,369
Joined: 15-March 11
Level 406 (Godslayer)


It works perfectly, thanks. And it's also convenient that it doesn't do anything with pure hovering on, it only affects mouseEngage for my purposes. I had to download the new version script to use it, I was still on 1.2.2.4

I had no idea about the channeling ruling, but I just added channeling.png to my alerts and it achieves almost the same for my purposes. Actually it's better for me this way since I'm using melee, not mage.

I noticed the right/middle mouse button bindings work better in this version. The inputs used to get swallowed up in pure hovering but they work now. I might be encountering some kind of bug with this new version. In random encounters I keep seeing those old pink monsters and the recognized monsters have wrong data (species etc). If I reload the encounter in a new window it fixes itself.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 31 2018, 09:17
Post #179
sickentide



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


QUOTE(BlueWaterSplash @ Oct 31 2018, 08:49) *

In random encounters I keep seeing those old pink monsters and the recognized monsters have wrong data (species etc).

this can happen when you enter battle in one browser and exit it in another. you can fix it by entering and exiting battle in the affected browser. i guess i could have it delete monster data whenever you're out of battle, but usage of more than one browser (if that is even the cause here and this isn't a new, undocumented bug) is a rather exotic case
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 4 2018, 12:41
Post #180
balengooo



Casual Poster
****
Group: Gold Star Club
Posts: 356
Joined: 14-April 13
Level 500 (Godslayer)


Hello,
since when I updated the script I have the problem that tracking doesn't reset after a Random Encounter and values are added to the next ones.
I've managed to inspect localstorage trough console and found that all the data of active logs (HVtimelog,HVvitals,HVtrackdrops,HVcombatlog) are preserved after the battle.
If I delete the data manually, the next RE everything is ok.
I don't understand much about scripting, but I searched into the script and IMHO it looks like the calls "localStorage.removeItem" don't execute, not only the two with option (deleteDropLog, deleteCombatLog).
I tried to debug but it's far above my ability and don't even found where to read the code being executed, but if there is something I can do to help point out the problem, please ask.

These are the setting I use:
trackDrops = true,
detailedDroplog = true,
detailedCrystlog = true,
equipmentCutoff = 4,
selectLog = false,
terseLog = false,
trackProficiency = true,
proficiencySidebar = true,
profbarInMainpane = false,
deleteDropLog = 2,
trackSpeed = true,
trackDamage = true,
trackUsage = true,
deleteCombatLog = 2,
consoleLog = false,
showRound = true,

Thank you for your work

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


45 Pages V « < 7 8 9 10 11 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 27th May 2025 - 20:25