Welcome Guest ( Log In | Register )

45 Pages V « < 16 17 18 19 20 > »   
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 Apr 7 2019, 18:54
Post #341
sickentide



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


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"]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 8 2019, 12:16
Post #342
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,999
Joined: 11-April 14
Level 500 (Ponyslayer)


I made two modifications:

The old-style leftUI and Spell durations on the quickbar.



[attachmentid=129494]

[attachmentid=129495]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 10 2019, 03:43
Post #343
xesxesgnik



Nyaruhodo
*******
Group: Gold Star Club
Posts: 1,228
Joined: 28-April 14
Level 500 (Godslayer)


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!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 10 2019, 10:43
Post #344
sickentide



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


it should show any persona with settings that differ from the base settings
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2019, 15:16
Post #345
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,999
Joined: 11-April 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2019, 15:38
Post #346
Maximum_Joe



Legendary Poster
***********
Group: Gold Star Club
Posts: 24,074
Joined: 17-April 11
Level 500 (Dovahkiin)


Is it possible to get just the show gems portion?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2019, 21:39
Post #347
Noni



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


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2019, 22:30
Post #348
sickentide



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


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]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2019, 23:34
Post #349
KamuiSeph



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


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!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:03
Post #350
sickentide



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:27
Post #351
KamuiSeph



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:30
Post #352
sickentide



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:38
Post #353
KamuiSeph



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


Fixed!
Thank you very much (IMG:[invalid] style_emoticons/default/happy.gif)

Weird how one little bracket missing and the entire script just says fuck you to me (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:40
Post #354
sickentide



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 00:56
Post #355
KamuiSeph



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 01:17
Post #356
sickentide



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 01:51
Post #357
KamuiSeph



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


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

 
post Apr 17 2019, 03:06
Post #358
TygerTyger



Burning Bright
*******
Group: Gold Star Club
Posts: 1,952
Joined: 6-January 11
Level 500 (Godslayer)


Ignore found my answer in thread

This post has been edited by TygerTyger: Apr 17 2019, 03:09
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 04:32
Post #359
Hakrei



Unimpressive Teitoku
******
Group: Gold Star Club
Posts: 757
Joined: 16-December 09
Level 500 (Godslayer)


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 17 2019, 06:15
Post #360
tox01



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


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 ).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


45 Pages V « < 16 17 18 19 20 > » 
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: 3rd June 2025 - 14:32