Welcome Guest ( Log In | Register )

44 Pages V « < 39 40 41 42 43 > »   
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 Aug 22 2022, 19:46
Post #801
SteAosen



🐟🐟 _(:3」∠)_ 🐟🐟
***
Group: Members
Posts: 128
Joined: 30-March 21
Level 422 (Dovahkiin)


QUOTE(uareader @ Aug 23 2022, 00:53) *

that would be a nice quality of life addition. Sadly, tenboro has told us that that would not be allowed...

Maybe when the spark happen, you could completely change the background to the opposite color or something. You're not allowed to tamper with interactions and stuff, but maybe you can perform a cosmetic change that has enough impact for your brain to register it?
Spoiler text - Highlight to read...
I say that, but I would not trust my own brain whatever I do (IMG:[invalid] style_emoticons/default/rolleyes.gif)


The color...appears very quickly, probably the brain reacts while the finger is already pressed.
Is it possible to make the PC disable part of keyboard when specified color appears?
I don't know if this is not allowed either...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 17 2022, 08:49
Post #802
Justlookingfortheway



Newcomer
**
Group: Members
Posts: 59
Joined: 28-January 13
Level 392 (Dovahkiin)


I can't stop my persistent settings from applying to isekai and vice versa. I already disabled inherit.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 6 2023, 23:22
Post #803
peter723pan



Regular Poster
*****
Group: Gold Star Club
Posts: 656
Joined: 16-June 11
Level 500 (Ponyslayer)


del

This post has been edited by peter723pan: Jan 20 2023, 15:24
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 7 2023, 10:30
Post #804
what_is_name



Regular Poster
******
Group: Gold Star Club
Posts: 982
Joined: 5-May 19
Level 500 (Ponyslayer)


QUOTE(peter723pan @ Jan 7 2023, 05:22) *

It does what you want , but the code is wrong.
-snap-


the script works different to your thought
1. the Cast function doesn't really cast a spell, it return a function to cast the spell, so if you call only the Cast, it do nothing
2. the returning of Cast function only select the spells, to beat a monster, you need to select a spell then hit the target, so if you bind the damage spells to a key, it also won't work, because you don't hit the monster
3. if you do select a series of spells and then target a monster, the last selected spells works, but not the first one, so the Strongest function reverse the actions list order

anyway the code is correct and works as expected
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 14 2023, 16:22
Post #805
peter723pan



Regular Poster
*****
Group: Gold Star Club
Posts: 656
Joined: 16-June 11
Level 500 (Ponyslayer)


QUOTE(what_is_name @ Jan 7 2023, 10:30) *

the script works different to your thought
1. the Cast function doesn't really cast a spell, it return a function to cast the spell, so if you call only the Cast, it do nothing
2. the returning of Cast function only select the spells, to beat a monster, you need to select a spell then hit the target, so if you bind the damage spells to a key, it also won't work, because you don't hit the monster
3. if you do select a series of spells and then target a monster, the last selected spells works, but not the first one, so the Strongest function reverse the actions list order

anyway the code is correct and works as expected


F12 and add debugger; to steps , then you will see how turn actions work.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 15 2023, 06:10
Post #806
what_is_name



Regular Poster
******
Group: Gold Star Club
Posts: 982
Joined: 5-May 19
Level 500 (Ponyslayer)


QUOTE(peter723pan @ Jan 14 2023, 22:22) *

F12 and add debugger; to steps , then you will see how turn actions work.


I think I have debugged a lot in this script, why don't you try yourself and see if "It does what you want"? none of your code actually work in this script.

This post has been edited by what_is_name: Jan 15 2023, 06:15
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 15 2023, 06:19
Post #807
what_is_name



Regular Poster
******
Group: Gold Star Club
Posts: 982
Joined: 5-May 19
Level 500 (Ponyslayer)


some requested feature and known bug fix, as the changes are a bit dispersing so I post a modify version base on the 1.4.1.2
Changes:
add items cooldown
your idle time which higher than the setting threshold will be subtracted from the final play time
add sparks counter
fix riddle not working when ajax next round conflict with some other plugin
fix horse counter, and now it only count the success one which give you buff
** the old Riddlemaster function is broken now but untouch in this modify, theoretically enable or disable it won't make difference
** the timelog.horse increasement in Riddlemaster function should be deleted if the function is fix for other use, otherwise the horse will be double counte
fix proficiencies sometimes double count when logPasteover is enable (maybe)
fix persona switch fail in setting panel

also a diff file for review or code merge

Attached File  HentaiverseMonsterbation.1.4.1.2.w.user.js.txt ( 163.43k ) Number of downloads: 2959
Attached File  1.4.1.2.w.diff.txt ( 13.98k ) Number of downloads: 135


This post has been edited by what_is_name: Jan 15 2023, 08:44
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 18 2023, 03:07
Post #808
mathl33t



Active Poster
*******
Group: Gold Star Club
Posts: 1,075
Joined: 9-April 19
Level 500 (Ponyslayer)


Thanks a bunch for this nice update!

I get slightly annoyed whenever I drink a mana elixir and then the mana potion immediately becomes available. Now I'll know and can kill a turn. Helpful stat tracking changes too, especially for grindfest/tower where my time basically measures how much I get distracted.

This post has been edited by mathl33t: Jan 18 2023, 03:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2023, 15:41
Post #809
BA-ZA-HEI



Casual Poster
****
Group: Gold Star Club
Posts: 463
Joined: 21-March 22
Level 500 (Dovahkiin)


QUOTE(what_is_name @ Jan 15 2023, 12:19) *

some requested feature and known bug fix, as the changes are a bit dispersing so I post a modify version base on the 1.4.1.2
Changes:
add items cooldown
your idle time which higher than the setting threshold will be subtracted from the final play time
add sparks counter
fix riddle not working when ajax next round conflict with some other plugin
fix horse counter, and now it only count the success one which give you buff
** the old Riddlemaster function is broken now but untouch in this modify, theoretically enable or disable it won't make difference
** the timelog.horse increasement in Riddlemaster function should be deleted if the function is fix for other use, otherwise the horse will be double counte
fix proficiencies sometimes double count when logPasteover is enable (maybe)
fix persona switch fail in setting panel

also a diff file for review or code merge

Attached File  HentaiverseMonsterbation.1.4.1.2.w.user.js.txt ( 163.43k ) Number of downloads: 2959
Attached File  1.4.1.2.w.diff.txt ( 13.98k ) Number of downloads: 135



Very useful! Thank you! (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 20 2023, 17:15
Post #810
peter723pan



Regular Poster
*****
Group: Gold Star Club
Posts: 656
Joined: 16-June 11
Level 500 (Ponyslayer)


QUOTE(what_is_name @ Jan 15 2023, 06:10) *

I think I have debugged a lot in this script, why don't you try yourself and see if "It does what you want"? none of your code actually work in this script.


My bad. You are right.

I was finding a differet way to do eval() thing.

[cmd1,cmd2] actions[n]();
This in event it does what you say .
Event function not just add a frame function() {} .
Works differently.

normal call

try it in w3schools
[www.w3schools.com] https://www.w3schools.com/jsref/tryit.asp?f...e=tryjsref_max2

CODE
<script>
var a = Math.max(5, 10);
var b = Math.max(0, 150, 30, 20, 38);


function C1() {
        a = 666;}
function C2(xx) {
        alert(xx);
        b = 777;}
function C3(ee) {}
C3([C1,C2]);


document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>";
</script>


Triggers nothing.


Try call function in array ee index 0.
CODE
<script>
var a = Math.max(5, 10);
var b = Math.max(0, 150, 30, 20, 38);


function C1() {
        a = 666;}
function C2(xx) {
        alert(xx);
        b = 777;}
function C3(ee) {ee[0]();}
C3([C1,C2]);


document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>";
</script>

Triggers C1 , that is fine.

Try give C2 a argument ,see what happen.
CODE
<script>
var a = Math.max(5, 10);
var b = Math.max(0, 150, 30, 20, 38);


function C1() {
        a = 666;}
function C2(xx) {
        alert(xx);
        b = 777;}
function C3(ee) {ee[0]();}
C3([C1,C2('qq')]);


document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>";
</script>

Triggers C1 fine, C2 triggers too, but I did not call it in C3.


Try call array ee index 1 , call a function with argument.
CODE
<script>
var a = Math.max(5, 10);
var b = Math.max(0, 150, 30, 20, 38);


function C1() {
        a = 666;}
function C2(xx) {
        alert(xx);
        b = 777;}
function C3(ee) {ee[1]();}
C3([C1,C2('qq')]);


document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>";
</script>

Triggers C2 twice, first time argument line , second time C3 array ee[1](); but second time raise error.

Then in Monsterbation .
Bind backspace key this action.
CODE
Bind(8, Strongest([CursorTarget,Cast1('Ragnarok'), Cast2('Disintegrate'), Cast('Corruption')]));


Add test functions
CODE
function Cast1(name) {
    return function() {
        debugger;
        alert('check me1');};}
function Cast2(name) {
    return function() {
        debugger;
        alert('check me2');};}


Modify Strongest()
CODE
function Strongest(actions) { return function() { var n = actions.length; while ( n-- > 0 ) {actions[n]();alert('check me3');debugger;} };}


Ttrigger order:
me3 me2 me3 me1 me3 me3
while ( n-- > 0 ) loop
Cast('Corruption') triggered me3
Cast2('Disintegrate') triggered me2 me3
Cast1('Ragnarok') triggered me1 me3
CursorTarget me3

In event call , argument line does not trigger call , use array to call a function with argument
would not raise error .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 24 2023, 14:56
Post #811
Always_liar



Newcomer
*
Group: Gold Star Club
Posts: 46
Joined: 29-November 10
Level 500 (Ponyslayer)


I tried hotkey to cast skill while hovering.

It looks werid. Most of the time, the casting icon appeared then canceled, skil wasn't cast on monster.

Unless i press hotkey after moving cursor out, then click back.

But this way is too slow to keep tps.

Does anyone have any good suggestions?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 25 2023, 19:53
Post #812
Noni



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


QUOTE(Always_liar @ Jan 24 2023, 13:56) *

I tried hotkey to cast skill while hovering.

It looks werid. Most of the time, the casting icon appeared then canceled, skil wasn't cast on monster.

Unless i press hotkey after moving cursor out, then click back.

But this way is too slow to keep tps.

Does anyone have any good suggestions?

moving the cursor out works best, but you could try the 'impulse' function in monsterbation. For me, that doesn't really solve the issue as it seems to work somewhat delayed. Another way is to use hover-shift, and make the hover cast the spell when you press shift
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2023, 15:12
Post #813
Always_liar



Newcomer
*
Group: Gold Star Club
Posts: 46
Joined: 29-November 10
Level 500 (Ponyslayer)


QUOTE(Noni @ Jan 25 2023, 19:53) *

moving the cursor out works best, but you could try the 'impulse' function in monsterbation. For me, that doesn't really solve the issue as it seems to work somewhat delayed. Another way is to use hover-shift, and make the hover cast the spell when you press shift


Thank you.
I think normal attack(hover) interrupt or higher priority than spell in MB.
I had turned to mage recently, no longer use normal attack.
Now there is no such problem.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 15 2023, 18:04
Post #814
Giant Explosion



Just win the race!
*******
Group: Catgirl Camarilla
Posts: 1,906
Joined: 23-May 14
Level 500 (Ponyslayer)


Hey all, Crunk Juice seems to be broken. Doesn't show morale values or food values for monsters. Broke a good while ago for me. Hoping that it's not just on my end. Anyone know of any fix?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2023, 00:35
Post #815
moonlightsailor



Lurker
Group: Recruits
Posts: 5
Joined: 18-February 23
Level 56 (Expert)


Sorry, if this question has been asked before. I tried looking around a bit...

Is there a script that allows you to use keybinds (1-=) to select spells etc?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2023, 16:31
Post #816
nek



Casual Poster
****
Group: Members
Posts: 441
Joined: 22-June 08
Level 500 (Ponyslayer)


del

This post has been edited by nek: Mar 19 2023, 15:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 11 2023, 12:08
Post #817
EromancerX



Newcomer
**
Group: Gold Star Club
Posts: 91
Joined: 10-January 22
Level 486 (Dovahkiin)


I've tried to change config storing method from localStorage to GM_setValue, not sure if there is any bugs. It should be helpful to sync config among devices.
It will be great if you may check this out when having leisure time.

Attached File  hvm_GM_Value.txt ( 168.78k ) Number of downloads: 20


* = localStorage.$1 ---> * = GM_getValue($1,null)
localStorage.$1 = $2 ---> GM_setValue('$1',$2)
localStorage.removeItem(%1) ---> GM_deleteValue(%1)

This post has been edited by EromancerX: Apr 11 2023, 12:11
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 1 2023, 19:32
Post #818
Alorian



Lurker
Group: Recruits
Posts: 6
Joined: 16-January 12
Level 306 (Godslayer)


Hi, tell me about the script settings.

In the shortcut keys, there is such a parameter wheelleft, wheelright - this is how these values are called? WheelUp/WheelDown I understand, the wheel is up or down, but left/right, what kind of mouse "magic" is this? Is it possible to somehow reconfigure these hotkeys to be on Xbottom1/Xbottom2 (the usual two side keys)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 1 2023, 21:21
Post #819
Noni



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


QUOTE(Alorian @ May 1 2023, 19:32) *

Hi, tell me about the script settings.

In the shortcut keys, there is such a parameter wheelleft, wheelright - this is how these values are called? WheelUp/WheelDown I understand, the wheel is up or down, but left/right, what kind of mouse "magic" is this? Is it possible to somehow reconfigure these hotkeys to be on Xbottom1/Xbottom2 (the usual two side keys)

usually you can remap those side buttons to a keyboard key - and those can be linked to an action in Monsterbation. But you can't just change the default wheelleft/right.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 1 2023, 22:55
Post #820
Alorian



Lurker
Group: Recruits
Posts: 6
Joined: 16-January 12
Level 306 (Godslayer)


QUOTE(Noni @ May 1 2023, 22:21) *

But you can't just change the default wheelleft/right.


And what is this wheelleft/right anyway? Google says that this is horizontal scrolling and it works on other sites if you hold down the mouse wheel and swipe the mouse left or right, but in the PM window in chrome, this action does not trigger the spell (I am interested in the spell of silence)
How can I call this action and does it work at all in the script?

P.S. In general, my main problem is that I can't set up hotkeys for the spells I need (silence, for example) on the keyboard keys so that they work when I hover over the monster icon. This action works fine when I press the left or right mouse button with the pointer, but if, for example, I write such a code:
CODE
Bind(KEY_S, Any, Cast('Silence');

and I press the activation key when my cursor is pointed at the monster, then the spell is not used. But at the same time, this code:
CODE
Bind(KEY_S, Hooveraction(Strongest([ToggleHover, Cast('Silence')]), true));

it works fine, although at first I have to press the Z key, which is inconvenient. How do I write code that would activate a silence spell on a monster under the cursor when a key is pressed?

P.P.S. I found an x-mouse button control program that allows you to reassign mouse keys, and now I can activate the left/right wheel using the side mouse keys. At least figured it out. But still, I will be glad if someone tells me the correct code so that the spells are activated by pressing a key under the mouse cursor.

This post has been edited by Alorian: May 1 2023, 23:43
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


44 Pages V « < 39 40 41 42 43 > » 
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: 4th April 2025 - 08:24