Welcome Guest ( Log In | Register )

45 Pages V « < 28 29 30 31 > »   
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 May 27 2020, 18:07
Post #567
3534



Active Poster
*******
Group: Gold Star Club
Posts: 1,866
Joined: 14-March 11
Level 500 (Ponyslayer)


lestion and DJNoni, thank you! (IMG:[invalid] style_emoticons/default/laugh.gif)

***

Hi, sickentide. (IMG:[invalid] style_emoticons/default/happy.gif)


QUOTE(3534 @ Mar 30 2020, 11:10) *

Excuse me,
a small question with using Bind() in numpad,

...

CODE
function MaxVitals() {...}

make it display percent:
after here (↑↑), I add some small edit :

1.
QUOTE(Starlight99 @ Apr 23 2019, 23:34) *

Hey,thank you for your help.
What should I do to move the quickbarBesideMonsters to the left of the monster?
(IMG:[s2.ax1x.com] https://s2.ax1x.com/2019/04/23/EEhYtK.png)
...
QUOTE(sickentide @ Apr 24 2019, 05:05) *

lines 938-939:
CODE
            'position: absolute; z-index: 1; } #battle_right { left: -7px !important; top: 107px !important; }' +
            '#pane_quickbar { display: flex; position: absolute; left: -212px; top: 69px; width: 203px; }' :

change them to:
CODE
            'position: absolute; z-index: 1; } #battle_right { left: 149px !important; top: 107px !important; }' +
            '#pane_quickbar { display: flex; position: absolute; left: -586px; top: 69px; width: 203px; }' :

and possibly adjust the numbers to fit your other adjustments
it should basically do what you would expect, but condenseLeft overrides it
refer to this,

lines 951-955:
CODE
            (cfg.condenseLeft ? '#pane_effects { position: relative; left: -92px; } #pane_completion { left: -688px; } #battle_left { left: 550px; }' +
            '#pane_vitals { position: absolute; top: 3px; left: ' + (document.querySelector('img[src$="bar_orange.png"]') ?
            '-556px; } #ckey_spirit { left: -411px; top: 45px;' : '-548px; } #ckey_spirit { left: -459px; top: 2px;') +
            'position: absolute; z-index: 1; } #battle_right { left: -7px !important; top: 107px !important; }' +
            '#pane_quickbar { display: flex; position: absolute; left: -212px; top: 69px; width: 203px; }' :
I change them to:
CODE
            (cfg.condenseLeft ? '#pane_effects { position: relative; left: -92px; } #pane_completion { left: -688px; } #battle_left { left: 550px; }' +
            '#pane_vitals { position: absolute; top: 3px; left: -547px;' + (document.querySelector('img[src$="bar_orange.png"]') ?
            '-556px; } #ckey_spirit { left: -411px; top: 45px;' : '-548px; } #ckey_spirit { left: -459px; top: 2px;') +
            'position: absolute; z-index: 1; } #battle_right { left: 149px !important; top: 107px !important; }' +
            '#pane_quickbar { display: flex; position: absolute; left: -586px; top: 69px; width: 203px; }' :



lines 1466-1468:
CODE
                        if ( cfg.raiseGem ) {
                            div.setAttribute('style', 'position: absolute;' + (cfg.condenseLeft ? 'top: -55px; left: 165px;' :
                                                                              (cfg.vitalsAboveMonsters ? 'top: 15px; left: 1191px;' :
I change them to:
CODE
                        if ( cfg.raiseGem ) {
                            div.setAttribute('style', 'position: absolute;' + (cfg.condenseLeft ? 'top: 500px; left: 30px;' :
                                                                              (cfg.vitalsAboveMonsters ? 'top: 15px; left: 1191px;' :




2.
and lines 1716-1719:
CODE
    hpd.innerHTML = hpv + '/' + vitals.hp;
    mpd.innerHTML = mpv + '/' + vitals.mp;
    spd.innerHTML = spv + '/' + vitals.sp;
    if ( !cfg.ssd && changed ) localStorage.HVvitals = JSON.stringify(vitals); }
I change them to:
CODE
    hpd.innerHTML = ( hpv * 100 / vitals.hp ).toFixed(1) + '%_____' + hpv + '/' + vitals.hp;
    mpd.innerHTML = ( mpv * 100 / vitals.mp ).toFixed(1) + '%_____' + mpv + '/' + vitals.mp;
    spd.innerHTML = ( spv * 100 / vitals.sp ).toFixed(1) + '%_____' + spv + '/' + vitals.sp;
    hpd.style.cssText="left:-5px;width:60px;background:white;";
    mpd.style.cssText="left:-5px;width:60px;background:white;";
    spd.style.cssText="left:-5px;width:60px;background:white;";
    document.getElementById('dvrc').style.background = 'white';
    if ( !cfg.ssd && changed ) localStorage.HVvitals = JSON.stringify(vitals); }



are they allowed?
thank you! (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 27 2020, 22:13
Post #568
sickentide



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


QUOTE(3534 @ May 27 2020, 18:07) *

are they allowed?

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

 
post Jun 1 2020, 18:48
Post #569
save4869



Casual Poster
****
Group: Gold Star Club
Posts: 260
Joined: 5-January 12
Level 466 (Dovahkiin)


hello.I'm using HVS and HM at the same time on Firefox 76.0.1 . Since HVS does not support ajax, I set ajax round advancing to disabled. But then script will only count last round's drops/EXP gain as total. Is this feature require ajax round to be set enabled?
I also have HM alone installed on Chrome 83, and it still can't calculate the total drops/gains at the end of battle with ajax disabled.


This post has been edited by save4869: Jun 1 2020, 19:11
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 1 2020, 23:11
Post #570
sickentide



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


QUOTE(save4869 @ Jun 1 2020, 18:48) *

hello.I'm using HVS and HM at the same time on Firefox 76.0.1 . Since HVS does not support ajax, I set ajax round advancing to disabled. But then script will only count last round's drops/EXP gain as total. Is this feature require ajax round to be set enabled?
I also have HM alone installed on Chrome 83, and it still can't calculate the total drops/gains at the end of battle with ajax disabled.

you will have to set the ssd setting (first one on the menu) to false. thanks for bringing this up, i should make this interaction more obvious and/or automatic
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 2 2020, 02:39
Post #571
save4869



Casual Poster
****
Group: Gold Star Club
Posts: 260
Joined: 5-January 12
Level 466 (Dovahkiin)


thank you for instruction.
I've set the first setting to false.
Then I have another problem...the damage dealt data sheet on last round is still not available unless ajax setting enabled.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 10 2020, 20:29
Post #572
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


Hello, may I ask how to solve the problem with "state lock limiter in effect" when I feed in monster lab?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 10 2020, 21:34
Post #573
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,946
Joined: 29-January 12
Level 500 (Ponyslayer)


QUOTE(showoff @ Jun 10 2020, 19:29) *

Hello, may I ask how to solve the problem with "state lock limiter in effect" when I feed in monster lab?


wrong thread - that's HVUtils, not Monsterbation - and you need to update your HVUtils, because you're using an old version with multithreaded xhr that can potentially get you banned
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 10 2020, 22:13
Post #574
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(lestion @ Jun 10 2020, 19:34) *

wrong thread - that's HVUtils, not Monsterbation - and you need to update your HVUtils, because you're using an old version with multithreaded xhr that can potentially get you banned



Thanks for your reply, but I'm pretty sure not in the wrong thread since my browser has only HVCrunkJuice.1.3.0 installed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 10 2020, 22:52
Post #575
Noni



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


QUOTE(showoff @ Jun 10 2020, 22:13) *

Thanks for your reply, but I'm pretty sure not in the wrong thread since my browser has only HVCrunkJuice.1.3.0 installed.

best not to use that feature of crunkjuice then - you don't want to trigger the state lock limiter.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 01:19
Post #576
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,946
Joined: 29-January 12
Level 500 (Ponyslayer)


QUOTE(showoff @ Jun 10 2020, 21:13) *

Thanks for your reply, but I'm pretty sure not in the wrong thread since my browser has only HVCrunkJuice.1.3.0 installed.


ah, sorry! Yes, as Noni suggests - avoid using that feature for now. It's not exactly multi-threaded but it looks like it isn't throttled at all. (Sicken will have to look at it later and confirm why this is happening.)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 07:56
Post #577
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(DJNoni @ Jun 10 2020, 20:52) *

best not to use that feature of crunkjuice then - you don't want to trigger the state lock limiter.



QUOTE(lestion @ Jun 10 2020, 23:19) *

ah, sorry! Yes, as Noni suggests - avoid using that feature for now. It's not exactly multi-threaded but it looks like it isn't throttled at all. (Sicken will have to look at it later and confirm why this is happening.)



Thank you! I best not using it right now.
Do you have any script suggested to feed pills to all monster before they get yellow?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 08:36
Post #578
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,946
Joined: 29-January 12
Level 500 (Ponyslayer)


QUOTE(showoff @ Jun 11 2020, 06:56) *

Thank you! I best not using it right now.
Do you have any script suggested to feed pills to all monster before they get yellow?


HVUtils has a button for that - 'Drug All'.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 16:12
Post #579
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(lestion @ Jun 11 2020, 06:36) *

HVUtils has a button for that - 'Drug All'.


I will have a look, thanks!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 20:41
Post #580
sickentide



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


QUOTE(save4869 @ Jun 2 2020, 02:39) *

Then I have another problem...the damage dealt data sheet on last round is still not available unless ajax setting enabled.

hopefully this will fix it Attached File  HentaiverseMonsterbation.1.3.2.1.user.js.txt ( 156.2k ) Number of downloads: 32895

QUOTE(showoff @ Jun 10 2020, 20:29) *

Hello, may I ask how to solve the problem with "state lock limiter in effect" when I feed in monster lab?

hmm... so it turns out the state lock can be triggered even with a single connection, i just never ran into it because the time it takes to select crystals for feeding is enough to avoid setting it off. anyone happen to know what is the minimum safe timeout to prevent state locks?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 23:10
Post #581
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,946
Joined: 29-January 12
Level 500 (Ponyslayer)


QUOTE(sickentide @ Jun 11 2020, 19:41) *

hopefully this will fix it Attached File  HentaiverseMonsterbation.1.3.2.1.user.js.txt ( 156.2k ) Number of downloads: 32895


hmm... so it turns out the state lock can be triggered even with a single connection, i just never ran into it because the time it takes to select crystals for feeding is enough to avoid setting it off. anyone happen to know what is the minimum safe timeout to prevent state locks?


0.5s should be fine but this might be a Tenboro question. Most functions in HVMarket are delayed 1s to be extremely safe.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2020, 22:06
Post #582
BlueWaterSplash



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


Does anyone think it would be useful (or pretty) to have an icon or graphic of some sort, to indicate if an infusion is active? Together with maybe an icon or graphic for your main weapon element. Plus icons for voidseeker and aether shards, while we're at it.

This may help a player to notice if his infusion has worn off, or whether an offensive infusion has been set to pair correctly with his elemental spike shield.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2020, 16:45
Post #583
sickentide



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


QUOTE(lestion @ Jun 11 2020, 23:10) *

0.5s should be fine but this might be a Tenboro question. Most functions in HVMarket are delayed 1s to be extremely safe.

0.5s would be safe for sure, but pilling 200 monsters at 0.5s delay won't do. i'll have to run some tests on this one

QUOTE(BlueWaterSplash @ Jun 24 2020, 22:06) *

Does anyone think it would be useful (or pretty) to have an icon or graphic of some sort, to indicate if an infusion is active? Together with maybe an icon or graphic for your main weapon element. Plus icons for voidseeker and aether shards, while we're at it.

This may help a player to notice if his infusion has worn off, or whether an offensive infusion has been set to pair correctly with his elemental spike shield.

a live enchantment timer is on the roadmap
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 25 2020, 19:08
Post #584
Noni



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


QUOTE(sickentide @ Jun 25 2020, 16:45) *

0.5s would be safe for sure, but pilling 200 monsters at 0.5s delay won't do. i'll have to run some tests on this one

You can also ask sssss2 how he solved that. HV Utils is able to pill all monsters without triggering the state lock limiter
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 29 2020, 13:39
Post #585
4126



Regular Poster
*****
Group: Members
Posts: 683
Joined: 19-July 12
Level 405 (Godslayer)


Is it possible to have difference alert colour for buff that about to expire ?

for example regen is orange, heartseeker is yellow, etc
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 4 2020, 20:02
Post #586
lolgay6



Newcomer
*
Group: Members
Posts: 34
Joined: 30-June 20
Level 206 (Destined)


The battle keeps freezing when using this script. It also freezes if I click too fast. If I click 1 or 2 times per second it's okay but too many times per second and it freezes. I suspect there is some serverside lock causing this freezing out.

I think it would be a good idea to add a setting for how many clicks per second the hovering does. In fact that is what I have done to the script. But my version is kinda buggy. I experimentally derived a delay of 400ms to be the lowest for safely avoiding the lockout:

CODE
window.lastTimeClicked = new Date();
function Hover() {
    var curTime = new Date();
    var elapsed = curTime - window.lastTimeClicked;
    //alert("elapsed = " + elapsed.toString());
    if ( elapsed > 400 ) {
    //alert("hi1!");
        if ( hovering ) return;
        hovering = true;
        if ( override ) {
            override(); }
        else if ( shiftHeld && cfg.hoverShiftAction ) {
            cfg.hoverShiftAction(); }
        else if ( ctrlHeld && cfg.hoverCtrlAction ) {
            cfg.hoverCtrlAction(); }
        else if ( altHeld && cfg.hoverAltAction ) {
            cfg.hoverAltAction(); }
        else {
            cfg.hoverAction(); }
        if ( impulse ) {
            impulse();
            done = true;
            impulse = false; }
        monsters[target].click();
        window.lastTimeClicked = new Date();
    }
}


This post has been edited by lolgay6: Jul 4 2020, 20:04
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


45 Pages V « < 28 29 30 31 > » 
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: 6th September 2025 - 06:51