 |
 |
 |
[Script] Monsterbation 1.4.1.2, A comprehensive hovering script for HentaiVerse and ISK. Including CrunkJuice 1.3.0, an out-of-battle script |
|
Apr 7 2019, 18:54
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(cs987987 @ Apr 6 2019, 16:46)  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 /
use this quickbar extend setting: CODE ["ikey_1","ikey_2","ikey_3","ikey_4","ikey_5","ikey_6","ikey_7","ikey_8","ikey_9","ikey_10","ikey_s1","ikey_s2"]
|
|
|
Apr 8 2019, 12:16
|
sssss2
Group: Gold Star Club
Posts: 3,999
Joined: 11-April 14

|
I made two modifications:
The old-style leftUI and Spell durations on the quickbar.
[attachmentid=129494]
[attachmentid=129495]
|
|
|
Apr 10 2019, 03:43
|
xesxesgnik
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14

|
hello, sickentide! This might be a dumb question, but it's been bugging me for a while- How do I set which persona to show up in the hovermenu when I hover my mouse over to the Monsterbation Settings? My mage persona is my third one (and I use this mainly) but in the hovermenu only the [base] and persona1 shows up!
|
|
|
Apr 10 2019, 10:43
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
it should show any persona with settings that differ from the base settings
|
|
|
|
 |
|
Apr 16 2019, 15:16
|
sssss2
Group: Gold Star Club
Posts: 3,999
Joined: 11-April 14

|
I made a tracking code for Easter artifacts. * Delete them when the event ends. CODE // line 1713 var drops = log.getElementsByTagName('span'), n = drops.length, crystal, crystals, credit, exp, proficiencies, proficiency, prof;
//* 2019 Easter if(log.getElementsByTagName("p").length) { drops = Array.from(drops); log.querySelectorAll("img[src*='ehgt.org/g/c/']").forEach(function(b){ var span = document.createElement("span"); span.setAttribute("style","color:#0000FF"); span.textContent = "["+({"doujinshi":"Doujinshi","manga":"Manga","artistcg":"Artist CG","gamecg":"Game CG","western":"Western","non-h":"Non-H","imageset":"Image Set","cosplay":"Cosplay","asianporn":"Asian Porn","misc":"Misc"})[/([^\/]+)\.png/.test(b.src)&&RegExp.$1]+" Category Button]"; drops.push(span); }); n = drops.length; } //*/
// line 1714 while ( n-- > 0 ) {
This post has been edited by sssss2: Apr 16 2019, 15:19
|
|
|
|
 |
|
Apr 16 2019, 15:38
|
Maximum_Joe
Group: Gold Star Club
Posts: 24,074
Joined: 17-April 11

|
Is it possible to get just the show gems portion?
|
|
|
Apr 16 2019, 21:39
|
Noni
Group: Catgirl Camarilla
Posts: 13,343
Joined: 19-February 16

|
QUOTE(Maximum_Joe @ Apr 16 2019, 15:38)  Is it possible to get just the show gems portion?
I think so yes, but you will need to change a lot of settings.
|
|
|
Apr 16 2019, 22:30
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(sssss2 @ Apr 16 2019, 14:16)  I made a tracking code for Easter artifacts.
thank you! QUOTE(Maximum_Joe @ Apr 16 2019, 14:38)  Is it possible to get just the show gems portion?
yes, you can turn off everything else and set your quickbar extend to [1]
|
|
|
|
 |
|
Apr 16 2019, 23:34
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
Hey, sickentide.... I'm not sure what happened but monsterbation doesn't work on the alt site anymore ;_;
I think I fucked something up. So, usually I would have 3 scripts (all for different personas) and I would turn one script on an the other 2 off (leaving crunk juice on).
I recently updated my elemental mage and my holy mage to 1.3.0 (I left my 1H on the older version, forget which one it was specifically, but the one before compact everything to the left and a separate options menu).
I went to update my 1H today. I copied my elemental mage script (just cause most of the settings I wanted to keep). Then pasted it into a new script and changed some basics (hover action, alerts, a few keybindings).
Then turned elemental mage off and 1H on. Everything worked, but for some reason the keybindings didn't register, they carried over from the elemental mage (even though the script itself was changed) so I go into the options menu and change the keybindings from there. Everything still works.... Then I notice I didn't fix the alerts, so I go into options menu, delete protection.png and scroll.png from the list and hit "save and exit" and suddenly the script just doesn't work. The options menu button doesn't do anything, turning a script on/off doesn't work, restarting chrome doesn't work.
The alt site basically refuses to acknowledge I even have a script running in the first place. My elemental/holy scripts still work on the normal site but alt site is just done with me ;_;
Is there a way I can just reset everything and try again? I tried deleting the 1H script and re-adding (just a copy paste of the script text) but nope, still doesn't do dick. And 1H doesn't even work on the normal site anymore.
Help me sickentide, you're my only hope!
|
|
|
|
 |
|
Apr 17 2019, 00:03
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(KamuiSeph @ Apr 16 2019, 22:34)  Is there a way I can just reset everything and try again?
you can run this in the console while you are on the alt site: CODE localStorage.removeItem('HVmbcfg') and when you do, it would be interesting to see what errors are shown in the console
|
|
|
Apr 17 2019, 00:27
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
What console? o_o Do you mean my browser console?
localStorage.removeItem('HVmbcfg') undefined
THIS looks weird though:
userscript.html?id=7ce2d64e-eb0b-4f3b-a9ac-5ab42e06f083:2 ERROR: Execution of script 'Hentaiverse Monsterbation' failed! Invalid regular expression: /regen.png|heartseeker.png|arcanemeditation.png)/: Unmatched ')'
This post has been edited by KamuiSeph: Apr 17 2019, 00:29
|
|
|
Apr 17 2019, 00:30
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
ah, i see. now you should be able to change your settings again, and this time you should set the expression to /(regen.png|heartseeker.png|arcanemeditation.png)/ or something to that effect
This post has been edited by sickentide: Apr 17 2019, 00:37
|
|
|
Apr 17 2019, 00:40
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
QUOTE(KamuiSeph @ Apr 16 2019, 23:38)  Weird how one little bracket missing and the entire script just says fuck you to me (IMG:[ invalid] style_emoticons/default/laugh.gif) yeah... i tried replicating the error, but for me it only breaks the script during combat, the out-of-combat interface still works
|
|
|
Apr 17 2019, 00:56
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
QUOTE(sickentide @ Apr 17 2019, 07:40)  yeah... i tried replicating the error, but for me it only breaks the script during combat, the out-of-combat interface still works
(IMG:[ invalid] style_emoticons/default/cry.gif) Actually, how do you access the settings out of combat? I press P and nothing happens
|
|
|
Apr 17 2019, 01:17
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
if you use the default interface, there's a menu item under "character". if you use utils, there's a temporary fix, but i want to add something more convenient
|
|
|
Apr 17 2019, 01:51
|
KamuiSeph
Group: Gold Star Club
Posts: 2,076
Joined: 29-August 08

|
Got it!
|
|
|
Apr 17 2019, 03:06
|
TygerTyger
Group: Gold Star Club
Posts: 1,952
Joined: 6-January 11

|
Ignore found my answer in thread
This post has been edited by TygerTyger: Apr 17 2019, 03:09
|
|
|
|
 |
|
Apr 17 2019, 04:32
|
Hakrei
Group: Gold Star Club
Posts: 757
Joined: 16-December 09

|
QUOTE(sssss2 @ Apr 16 2019, 05:16)  I made a tracking code for Easter artifacts. * Delete them when the event ends. CODE // line 1713 var drops = log.getElementsByTagName('span'), n = drops.length, crystal, crystals, credit, exp, proficiencies, proficiency, prof;
//* 2019 Easter if(log.getElementsByTagName("p").length) { drops = Array.from(drops); log.querySelectorAll("img[src*='ehgt.org/g/c/']").forEach(function(b){ var span = document.createElement("span"); span.setAttribute("style","color:#0000FF"); span.textContent = "["+({"doujinshi":"Doujinshi","manga":"Manga","artistcg":"Artist CG","gamecg":"Game CG","western":"Western","non-h":"Non-H","imageset":"Image Set","cosplay":"Cosplay","asianporn":"Asian Porn","misc":"Misc"})[/([^\/]+)\.png/.test(b.src)&&RegExp.$1]+" Category Button]"; drops.push(span); }); n = drops.length; } //*/
// line 1714 while ( n-- > 0 ) {
Was wondering if someone more code tech savvy could direct me on where on monsterbation should I paste this?
|
|
|
|
 |
|
Apr 17 2019, 06:15
|
tox01
Group: Gold Star Club
Posts: 567
Joined: 16-April 09

|
QUOTE(Hakrei @ Apr 17 2019, 04:32)  Was wondering if someone more code tech savvy could direct me on where on monsterbation should I paste this?
Open your browser add-on that runs scripts. Click to edit Monsterbation script. In vanilla Monsterbation 1.3.0 you should insert next text between line 1713 and 1714 (numbered on the left): CODE //* 2019 Easter if(log.getElementsByTagName("p").length) { drops = Array.from(drops); log.querySelectorAll("img[src*='ehgt.org/g/c/']").forEach(function(b){ var span = document.createElement("span"); span.setAttribute("style","color:#0000FF"); span.textContent = "["+({"doujinshi":"Doujinshi","manga":"Manga","artistcg":"Artist CG","gamecg":"Game CG","western":"Western","non-h":"Non-H","imageset":"Image Set","cosplay":"Cosplay","asianporn":"Asian Porn","misc":"Misc"})[/([^\/]+)\.png/.test(b.src)&&RegExp.$1]+" Category Button]"; drops.push(span); }); n = drops.length; } //*/ But you may have different line numbers (or different version). In that case code should be inserted between line CODE var drops = log.getElementsByTagName('span'), n = drops.length, crystal, crystals, credit, exp, proficiencies, proficiency, prof; and CODE while ( n-- > 0 ) { Search for the 1st line and insert "2019 Easter" code after that line and before the 2nd one. Check that it looks like in the sssss2's post. Lines that start with // are comments and can be skipped ( you don't need to insert it ).
|
|
|
|
 |
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|