 |
 |
 |
[Script] Monsterbation 1.4.1.2, A comprehensive hovering script for HentaiVerse and ISK. Including CrunkJuice 1.3.0, an out-of-battle script |
|
Mar 28 2019, 19:16
|
Noni
Group: Catgirl Camarilla
Posts: 13,339
Joined: 19-February 16

|
QUOTE(sickentide @ Mar 28 2019, 16:29)  Q: what kind of killer feature will get users to switch to a version using the new monster database? A:
HentaiverseMonsterbation.1.3.0.user.js.txt ( 146.43k )
Number of downloads: 2050[attachembed=129075] this is the real mclownsy. not only does it do what you would expect, with multiple profiles so you no longer have to run multiple installs of the script, you can also set it to switch profiles automatically when you change persona or equipment set. i won't stand for automatic, unprompted loading in the background, so you will have to look at the character page once and the equipment page for each persona to prime it. if you use a script to switch sets that bypasses the default ui, i recommend modifying that script to do the switching for you. it's a simple manipulation of the localStorage.HVmbp object as demonstrated in the ProfileSwitch function you can also use the automatic profile switching independent from the interface by editing the script text directly, and dump your settings in raw text format for easy cut & baste between multiple turkeys, and the interface can be brought up during battle with the press of a button unfortunately, this Great Convenience (大便) comes with some small drawbacks: i changed the format of some settings to allow for clean manipulation: expressions and functions are now stored as strings, all colours are now disabled by setting them to false, monsterHighlight and monsterKeywords have been rolled into one, cdTopAdjust and cdFontSize are gone, ajaxIntervals is disabled by setting it to 0 and monsterBar is turned off by setting it to []. the default bind setting is now a multiline string; if your browser does not support this, you can replace the line breaks with concatenations and there's more: i have added a few settings to let you shrink the view to either side, allowing for more efficient viewing of pornographic materials and semi-erotic content during play. there's the Any modifier allowing for more concise bindings, and there's a small performance tweak, thanks to tox01 alerting me that style.width is faster than clientWidth this update is straight out of development hell. if you come up with some idiotic use case that i haven't thought of and run into trouble, please do let me know. if changing a setting breaks things, you can reset it to the default by blanking its field and saving. i am aware of the interference with the monster database search, this is something that will have to be addressed in a crunk juice update, but fist i'd like to ask: it would facilitate development and reduce the need to reuse code if i were to roll monsterbation and crunk juice back into one. would you be all right with this if i add two global settings at the top: one to enable combat features, turned on by default, and one to enable out-of-combat features, turned off by default? Thanks for this impressive update! I don't use crunk juice at all. Sorry to say, but HV Utils does all those things better. From technical perspective there may well be a reason for integrating it, but I don't understand why that would be. For my part, as long as it doesn't slow HV down when running it, it can be included and turned off by default. Are there many users of crunkjuice? Bugs: 1. Every battle starts with 'Server communication failed: 0 ()'This post has been edited by DJNoni: Mar 29 2019, 08:38
|
|
|
|
 |
|
Mar 28 2019, 20:14
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(DJNoni @ Mar 28 2019, 18:16)  HV Utils does all those things better. From technical perspective there may well be a reason for integrating it, but I don't understand why that would be. For my part, as long as it doesn't slow HV down when running it, it can be included and turned off by default.
they're not meant to do the same thing, though. utils is a complete redesign from the ground up, while crunk juice is meant to be a collection of minimally intrusive, lightweight additions to the default ui. the main practical reason would be to use the interface for both feature sets without maintaining two copies of all the different pieces of code that make it work. it wouldn't affect performance since it would simply add code to a function that doesn't run during combat QUOTE(DJNoni @ Mar 28 2019, 18:16)  Every battle starts with 'Server communication failed: 0 ()'
can't say i can replicate that on my end. what browser are you using, and is anyone else getting this?
|
|
|
|
 |
|
Mar 28 2019, 21:05
|
Noni
Group: Catgirl Camarilla
Posts: 13,339
Joined: 19-February 16

|
QUOTE(sickentide @ Mar 28 2019, 19:14)  they're not meant to do the same thing, though. utils is a complete redesign from the ground up, while crunk juice is meant to be a collection of minimally intrusive, lightweight additions to the default ui. the main practical reason would be to use the interface for both feature sets without maintaining two copies of all the different pieces of code that make it work. it wouldn't affect performance since it would simply add code to a function that doesn't run during combat can't say i can replicate that on my end. what browser are you using, and is anyone else getting this?
SRWare Iron Version 60.0.3150.1 (Official build) (32-bits) I run HV Utils and HV Utils URL to manage my RE's, also inside battles Edit: It went away. The problem isn't occuring anymore. For my part, just integrate whatever you want if it helps you. This post has been edited by DJNoni: Mar 29 2019, 08:39
|
|
|
|
 |
|
Mar 31 2019, 20:36
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
I think the icons are not aligned properly on the newer version? Also, it doesn't let me use any of the bindings I set. 
|
|
|
|
 |
|
Mar 31 2019, 20:53
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(DJNoni @ Mar 28 2019, 20:05)  It went away. The problem isn't occuring anymore.
oof, all right. i was worried i would have to do debugging on a nonstandard browser QUOTE(Saioux @ Mar 31 2019, 19:36)  I think the icons are not aligned properly on the newer version? Also, it doesn't let me use any of the bindings I set.
looks like an invalid setting interrupted script execution. first, i would try resetting the settings via the interface. if that doesn't help, try replacing the bind setting in the script text with "", and be sure to watch out for format changes when using settings from a previous version This post has been edited by sickentide: Mar 31 2019, 20:54
|
|
|
|
 |
|
Mar 31 2019, 21:52
|
Quititan
Newcomer
  Group: Members
Posts: 75
Joined: 30-April 14

|
(I got help from Google Translator when I was writing this.)
Before I tell you anything else, I have been using Monsterbation well so far. Thank you very much.
I want to position the quickbar on the left so that HV takes up only a smaller space. To do this, I want to overlap the status display space on the right side of the monster with another program. But now there is a quickbar on the right.
When using 'quickbarBesideMonsters', Can you give me an option with a Quickbar on the left, not the right side of the monster? I want to be displayed in the following order. Log - (middle) - Quickbar - Monster
Is it possible to also move the SPIRIT button up the left side of the HP?
This post has been edited by Quititan: Mar 31 2019, 21:54
|
|
|
|
 |
|
Mar 31 2019, 22:15
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
QUOTE(sickentide @ Mar 31 2019, 14:53)  oof, all right. i was worried i would have to do debugging on a nonstandard browser looks like an invalid setting interrupted script execution. first, i would try resetting the settings via the interface. if that doesn't help, try replacing the bind setting in the script text with "", and be sure to watch out for format changes when using settings from a previous version
Thank you! Do I need to put 'Any' for bindings without a modifier key? It seems on the 1.3.0 the bindings of skills all have 'any' in it, but for item, there's something like Bind(KEY_Q, Use(5)); so I'm not sure which one to follow. Also, can I comment out some bindings with // in the interface, as it's possible in the userscript? This post has been edited by Saioux: Mar 31 2019, 22:19
|
|
|
|
 |
|
Mar 31 2019, 22:54
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(Quititan @ Mar 31 2019, 20:52)  Can you give me an option with a Quickbar on the left, not the right side of the monster?
around line 944, replace this section: CODE (cfg.quickbarBesideMonsters ? '#pane_quickbar { display: flex; position: absolute; left: 1026px; top: ' + (cfg.vitalsAboveMonsters ? '69' : '4') + 'px; width: 203px; }' : '')) with this: CODE (cfg.quickbarBesideMonsters ? '#pane_quickbar { display: flex; position: absolute; left: 654px; top: ' + (cfg.vitalsAboveMonsters ? '69' : '4') + 'px; width: 203px; } #battle_right { left: 845px !important; }' : '')) you can fiddle with the numbers to position them just the way you like QUOTE(Quititan @ Mar 31 2019, 20:52)  Is it possible to also move the SPIRIT button up the left side of the HP?
around the same spot, take this section: CODE (cfg.vitalsAboveMonsters ? '#pane_vitals { position: absolute; top: 3px; left: ' + (document.querySelector('img[src$="bar_orange.png"]') ? '672px; } #ckey_spirit { left: 817px; top: 45px;' : '690px; } #ckey_spirit { left: 779px; top: 2px;') + 'position: absolute; z-index: 1; } #battle_right { top: 107px !important; }' : '') + and change it like so: CODE (cfg.vitalsAboveMonsters ? '#pane_vitals { position: absolute; top: 3px; left: ' + (document.querySelector('img[src$="bar_orange.png"]') ? '728px; } #ckey_spirit { left: 353px; top: 45px;' : '690px; } #ckey_spirit { left: 359px; top: 2px;') + 'position: absolute; z-index: 1; } #battle_right { top: 107px !important; }' : '') + QUOTE(Saioux @ Mar 31 2019, 21:15)  Do I need to put 'Any' for bindings without a modifier key?
not putting the Any modifier will trigger the binding only when no modifier key is held, useful if you want to change up bindings with the modifiers QUOTE(Saioux @ Mar 31 2019, 21:15)  Also, can I comment out some bindings with // in the interface, as it's possible in the userscript?
you can, but you need to use comment blocks /* -comment- */ rather than comment lines // -comment
|
|
|
|
 |
|
Apr 1 2019, 00:25
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
Now I got it to work. Thank you very much! (IMG:[ invalid] style_emoticons/default/biggrin.gif) Few things: It's all good with the leftUI, but when I select a skill, the icon appears on the right. Is it possible to move it to the left side as well? Also, it seems the leftUI does not work on the pony quiz? When pony quiz loads up, it wouldn't fit into the narrow width screen and the page loads with a horizontal scrollbar, and one has to move around the scrollbar to solve the pony quiz. Anyways, thank you so much for reviving the legendary leftUI (IMG:[ invalid] style_emoticons/default/biggrin.gif) I'm really enjoying it.
|
|
|
|
 |
|
Apr 1 2019, 23:28
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(Saioux @ Mar 31 2019, 23:25)  Is it possible to move it to the left side as well?
sure thing, go to line 938: CODE 'position: absolute; z-index: 1; } #battle_right { left: -7px !important; top: 107px !important; }' + and add this right after: CODE '#infopane { overflow: visible; } #infopane div[style*="width:32px"] { left: -670px; top: -40px; }' + QUOTE(Saioux @ Mar 31 2019, 23:25)  Also, it seems the leftUI does not work on the pony quiz?
the intended use, and possibly the most practical one, is to drag the window partly offscreen rather than resize it
|
|
|
|
 |
|
Apr 2 2019, 14:45
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
Hey sickentide! Thanks, as always, for your amazing scripts. I have a question/maybe request for next update. I love the new "move shit to the left and make it compact as fuck" option. Makes it much easier for me (I usually have to reduce the page size and make the window smaller if I wanna play HV and watch a video or smth). The only issue I'm having is with the gems. I spliced 2 screenshots to show what the issue is: (IMG:[ i.imgur.com] https://i.imgur.com/NGgwBWr.png) Red box: Where the gem appears normally. Green box: Where the gem appears if the setting to "raise" the gem is activated Blue boxes: Convenient spots where I wish I could move the gem to (IMG:[ invalid] style_emoticons/default/rolleyes.gif) The issue is basically that I play with hover to use gem and the gem being in the middle of all of that stuff makes it difficult to see if I have a gem available or not if I'm not looking at it (especially if it's like a mana/health/spirit gem, as it blends in with the other icons). Is there a way to move the gem thingy through settings or some such? Or, if not, then is there a way to change the color on the gem maybe? Like, make it perma blink (different blinking color from regular blinking pots/elixirs) Something to make it stand out more, essentially. Cheers! (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
 |
|
Apr 2 2019, 23:03
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(KamuiSeph @ Apr 2 2019, 13:45)  Red box: Where the gem appears normally. Green box: Where the gem appears if the setting to "raise" the gem is activated Blue boxes: Convenient spots where I wish I could move the gem to (IMG:[ invalid] style_emoticons/default/rolleyes.gif) ah, right. it appears that raising the gem is not yet fully compatible with the condensed view. however, you can easily move the gem into the big lower blue area: add something like this to the end of your quickbar extend setting, with a number of 0s that suits your taste: CODE ,0,0,0,0,0,0,0,0,1
|
|
|
|
 |
|
Apr 3 2019, 13:35
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
QUOTE(sickentide @ Apr 3 2019, 06:03)  ah, right. it appears that raising the gem is not yet fully compatible with the condensed view. however, you can easily move the gem into the big lower blue area: add something like this to the end of your quickbar extend setting, with a number of 0s that suits your taste: CODE ,0,0,0,0,0,0,0,0,1 Works like a charm! (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
 |
|
Apr 3 2019, 21:25
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
Hello, I'm enjoying the new interface (IMG:[ invalid] style_emoticons/default/smile.gif) One thing is, tho, idk why but explicitly for hoverAction only, it seems I cannot override [base] setting with other things. For instance, if my [base] hoverAction is set to Nothing, if I try to change it for a mage profile, once I click Save it just reverts back to match the [base] setting. It can override if I put "" around it, but that case it doesn't work properly...
|
|
|
Apr 3 2019, 23:22
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
strange... i've been using custom hoverAction settings on my mage profiles in chrome and firefox no problem. does it work if you take a dump of your settings, manually edit a hoverAction into your custom profile and save?
|
|
|
Apr 4 2019, 02:55
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
I did try to edit the dump too, but without the "" it wouldn't stay on. With "", it kinda acts as false.
I've tried it, and it seems I could set the [base] profile hoverAction to be Nothing, then change it to something else on my mage profile, etc. but not vice versa. Strange, but I guess I'll take it since it works.
|
|
|
Apr 6 2019, 01:21
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
Is there a configuration I could modify to get rid of the empty row of skill slots? It seems removing the whitespace option kidna does the trick, but then it makes everything so close together lol. Also, is it possible to change the number of slots per row? I think I've seen someone with three per row instead of four, but maybe my memory's weird lol. This post has been edited by Saioux: Apr 6 2019, 01:24
|
|
|
|
 |
|
Apr 6 2019, 01:43
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(Saioux @ Apr 6 2019, 00:21)  Is there a configuration I could modify to get rid of the empty row of skill slots?
change line 947 CODE '.btqs:not(.extend):not(.mbs):not([onmouseover]), .btqb { display:none; }' : '.btqi { top: 3px !important; }') + to CODE '.btqs:not(.extend):not(.mbs):not([onmouseover]), .btqb { display:none; }' : '.btqs:not(.extend):not(.mbs):not([onmouseover]) { display:none; } .btqi { top: 3px !important; }') + QUOTE(Saioux @ Apr 6 2019, 00:21)  Also, is it possible to change the number of slots per row?
you can change the width parameter in line 939: CODE '#pane_quickbar { display: flex; position: absolute; left: -212px; top: 69px; width: 203px; }' :
|
|
|
|
 |
|
Apr 6 2019, 17:46
|
cs987987
Group: Gold Star Club
Posts: 7,152
Joined: 11-March 12

|
I want to cancel that move the HP/MP potion right of quickbar (IMG:[ i.imgur.com] https://i.imgur.com/T3RUc9u.png) example my item Slots is (IMG:[ i.imgur.com] https://i.imgur.com/KxsM83X.png) I want to show like Magic Draught / Health Draught / Spirit Draught / Divinity Infusions / Magic Potion / Health Potion / Spirit Potion / Scroll of Swiftness / Scroll of Protection / Scroll of Shadows / Scroll of Absorption / Scroll ofLife / (IMG:[ i.imgur.com] https://i.imgur.com/hvpeNfF.png) the picture from old version This post has been edited by cs987987: Apr 7 2019, 17:15
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|