Welcome Guest ( Log In | Register )

44 Pages V « < 34 35 36 37 38 > »   
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 Jun 17 2021, 15:26
Post #701
Qrz-Oldboy



Newcomer
*
Group: Members
Posts: 27
Joined: 5-March 15
Level 314 (Godslayer)


May I ask a noob question.
I want to set some highlights to the monsters which nicknames contains "Tw"/"Candydoll"
I find this script contains "monsterkeyword",but I don't know how to use it (IMG:[invalid] style_emoticons/default/cry.gif)

How can I highlights monsters' name contains(not exactly match) my keywords? Where should I put the example phrase to?
[/code]monsterKeywords: false, // highlight monsters where the name, id or max hp match this expression, set to false to disable
// example: '/(Meiling|MID=70699|HP=243060)/'

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

 
post Jun 17 2021, 17:15
Post #702
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,622
Joined: 3-January 21
Level 500 (Ponyslayer)


QUOTE(Qrz-Oldboy @ Jun 17 2021, 21:26) *

May I ask a noob question.
I want to set some highlights to the monsters which nicknames contains "Tw"/"Candydoll"
I find this script contains "monsterkeyword",but I don't know how to use it (IMG:[invalid] style_emoticons/default/cry.gif)

How can I highlights monsters' name contains(not exactly match) my keywords? Where should I put the example phrase to?
[/code]monsterKeywords: false, // highlight monsters where the name, id or max hp match this expression, set to false to disable
// example: '/(Meiling|MID=70699|HP=243060)/'



CODE
monsterKeywords: /Tw|Candydoll/,


Try this?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 18 2021, 11:53
Post #703
Qrz-Oldboy



Newcomer
*
Group: Members
Posts: 27
Joined: 5-March 15
Level 314 (Godslayer)


QUOTE(OnceForAll @ Jun 17 2021, 23:15) *

CODE
monsterKeywords: /Tw|Candydoll/,


Try this?


that work well thx
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2021, 18:28
Post #704
iybn



Lurker
Group: Lurkers
Posts: 2
Joined: 28-January 20
Level 281 (Godslayer)


little hard to use but powerfaul (IMG:[invalid] style_emoticons/default/cool.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 1 2021, 14:26
Post #705
NBRa



Casual Poster
***
Group: Gold Star Club
Posts: 237
Joined: 8-May 21
Level 446 (Dovahkiin)


Such nice script! Love it since I installed it.

BTW just wonder if anyone have already mentioned a feature to suto-stop hoverplay before channeling effect expire?

thank you very much for as a great work (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 1 2021, 14:46
Post #706
Nezu



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


QUOTE(NBRa @ Jul 1 2021, 13:26) *

Such nice script! Love it since I installed it.

BTW just wonder if anyone have already mentioned a feature to suto-stop hoverplay before channeling effect expire?

thank you very much for as a great work (IMG:[invalid] style_emoticons/default/smile.gif)


explicitly forbidden
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 1 2021, 18:05
Post #707
NBRa



Casual Poster
***
Group: Gold Star Club
Posts: 237
Joined: 8-May 21
Level 446 (Dovahkiin)


thank you for fast reply Nezu!

so it was left out purposefully for the reason, good to know that this feature has already been brought up (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2021, 04:12
Post #708
firecat666



Casual Poster
***
Group: Gold Star Club
Posts: 149
Joined: 13-December 10
Level 468 (Dovahkiin)


hello, I noticed this line is still in the options section of the script's code:

monsterInfo: false, // show monster data from decondelite's database

even though this option isn't present in the UI. I was confused for a while but then I searched around and discovered this function has been removed due to the database being offline.

This post has been edited by firecat666: Jul 3 2021, 04:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 4 2021, 16:46
Post #709
firecat666



Casual Poster
***
Group: Gold Star Club
Posts: 149
Joined: 13-December 10
Level 468 (Dovahkiin)


hello again, sorry for double post. I want to ask, is there a way to make the random encounter timer in crunkjuice appear during battle? that would be pretty useful while playing isekai
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 5 2021, 05:51
Post #710
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,622
Joined: 3-January 21
Level 500 (Ponyslayer)


QUOTE(firecat666 @ Jul 3 2021, 10:12) *

hello, I noticed this line is still in the options section of the script's code:

monsterInfo: false, // show monster data from decondelite's database

even though this option isn't present in the UI. I was confused for a while but then I searched around and discovered this function has been removed due to the database being offline.


Check out my sig. There is a new Monster Database project being working on.

QUOTE(firecat666 @ Jul 4 2021, 22:46) *

hello again, sorry for double post. I want to ask, is there a way to make the random encounter timer in crunkjuice appear during battle? that would be pretty useful while playing isekai


HV Utils has this feature though. But you can also check the time yourself, and enter the encounter every half hour.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 5 2021, 17:46
Post #711
Greshnik



Regular Poster
*****
Group: Members
Posts: 669
Joined: 13-January 15
Level 460 (Dovahkiin)


Anyone could help me???
I would like to disable hoverplay when casting imperil on mobile...
On desktop I could hold shift to disable it, then release to re-enable again...
How to do that on mobile???
I suspect I need to add imperil icon in the monster box, but when i tried to save the setting it always return to default []...
I already tried edit to [false,'213'] or [[false,'213']] or just false,'213' but still not working...

This post has been edited by Greshnik: Jul 5 2021, 17:53
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 7 2021, 06:38
Post #712
firecat666



Casual Poster
***
Group: Gold Star Club
Posts: 149
Joined: 13-December 10
Level 468 (Dovahkiin)


There's a bug with the functionality that displays monster HP when playing in the arenas that had their round count limited to 100 (End of Days and above in isekai). Also affects the associated option to shorten monster hp bars relative to their max hp. I'm guessing the script isn't calculating the number of monsters in each round correctly. Pic related:

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 7 2021, 11:24
Post #713
sigo8



Clover Sprite
********
Group: Gold Star Club
Posts: 3,485
Joined: 9-November 11
Level 500 (Ponyslayer)


QUOTE(firecat666 @ Jul 6 2021, 22:38) *

There's a bug with the functionality that displays monster HP when playing in the arenas that had their round count limited to 100 (End of Days and above in isekai). Also affects the associated option to shorten monster hp bars relative to their max hp. I'm guessing the script isn't calculating the number of monsters in each round correctly. Pic related:


Pretty sure the bug is caused by a missed `+ isekai` to `localStorage.removeItem('HVmonsterData');` on line 2213. This causes old data to be incorrectly be reused on future rounds, but only after you refresh the page mid round as the data is only stored on refreshes.
I've intended to report this forever ago but never got around to it till now.

---

And a second bug I've been intending to report, the equip pages aren't excluded on isekai. I noticed this last season when I was doing runs over multiple days and the battle data keep getting randomly deleted, found out it was caused by visiting an isekai equip without an isekai battle page open.
But instead of excluding them by url I'd recommend checking if "csp" (the main content div) exists, as that doesn't exist on both equip and CloudFlair error pages. That way CloudFlair error pages also won't delete battle data.


And a third one `logPasteover` can cause item drops to be double counted if the round isn't long enough to push it out of the log by the end of the round. I don't have any suggestion on how to fix this as personally I just disabled it.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jul 7 2021, 16:17
Post #714
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,622
Joined: 3-January 21
Level 500 (Ponyslayer)


QUOTE(sigo8 @ Jul 7 2021, 17:24) *

And a second bug I've been intending to report, the equip pages aren't excluded on isekai. I noticed this last season when I was doing runs over multiple days and the battle data keep getting randomly deleted, found out it was caused by visiting an isekai equip without an isekai battle page open.


A potential fix: instead of excluding equipment URL from UserScript matching, use "document.getElementById('showequip')" and simply return if there is any.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 13 2021, 05:59
Post #715
快乐day0



绝对遵守☆强制子作委员会委员
****
Group: Gold Star Club
Posts: 414
Joined: 1-March 14
Level 494 (Godslayer)


I added a wrong key binding, then it show “invalid key bindings. option disabled” in battle. Now I can't use the shortcut key P to call the settings, even if the script is reinstalled.

How can I solve this problem?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 13 2021, 10:36
Post #716
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,622
Joined: 3-January 21
Level 500 (Ponyslayer)


QUOTE(naturehantai @ Jul 13 2021, 11:59) *

I added a wrong key binding, then it show “invalid key bindings. option disabled” in battle. Now I can't use the shortcut key P to call the settings, even if the script is reinstalled.

How can I solve this problem?


Since your faulty configuration is now stored in your localStorage, reinstall the script won't help you reset. You should manually reset your configuration in monsterbation setting UI.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 13 2021, 11:23
Post #717
what_is_name



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


QUOTE(naturehantai @ Jul 13 2021, 11:59) *

I added a wrong key binding, then it show “invalid key bindings. option disabled” in battle. Now I can't use the shortcut key P to call the settings, even if the script is reinstalled.

How can I solve this problem?


If you're in battle, there should be an icon on the right-bottom to open the setting if you have not disable it in settings.
If you have disable the setting button, get out battle (maybe switch Persistent and Isekai is fine), there is a Monsterbation Setting under the Menu→Character


QUOTE(OnceForAll @ Jul 7 2021, 22:17) *

A potential fix: instead of excluding equipment URL from UserScript matching, use "document.getElementById('showequip')" and simply return if there is any.

This won't actually solve the problam. To fix the equips page problam add the equips URL to excluding is much easier, but as sigo8 said, you may also lost data on other case, like the 404 page or even you do nothing wrong but the cloudflare or HV server sometimes down then Monsterbation will think you are out of battle and delete the datas. Check if '#csp' frame existes should always work, if it not existed, then it may not a vaild HV main page and the scripts should do nothing


QUOTE(sigo8 @ Jul 7 2021, 17:24) *

And a third one `logPasteover` can cause item drops to be double counted if the round isn't long enough to push it out of the log by the end of the round. I don't have any suggestion on how to fix this as personally I just disabled it.

For this one, I would suggest to add the previous log in a new table after the textlog, as it not in the observe range so it won't cause problam.
CODE

    if ( cfg.logPasteover && turn ) {
        log.insertAdjacentHTML('afterend', '<table><tbody><tr><td class="tls"></td></tr>' + turn + '</tbody></table>'); }



A bug report also: the EDs confirm function may cause repeatly confirm, because the item list only change when item cooldown states change, but the ed confirm function always add a layer confirm every turns. query the ed which not added confirm may solve it
CODE
    if ( cfg.edConfirm && (ed = document.querySelector('div[onclick][onmouseover*="item(11401)"]:not([onclick*=confirm])')) ) {

The flee confirm seem fine as the skills list change every turns

This post has been edited by what_is_name: Aug 8 2021, 10:58
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 18 2021, 14:50
Post #718
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,622
Joined: 3-January 21
Level 500 (Ponyslayer)


Another code change request:

Instead of using "ajaxIntervals" to clean up timers (which is inaccurate and causing some issue of unwanted behavior), it is possible to release specific redundant timers:

CODE
// In ajaxRound
script.innerHTML = `
var timer1 = setInterval(() => {}, 100000); // Returns a timer id;
battle = new Battle(); // Initialize a new battle instance which introduce a redundant interval timer
var timer2 = setInterval(() => {}, 100000); // Returns another timer id;
for (let i = t; i >= timer1 && i <= timer2; i++) {
  clearInterval(i);
}`;


This approach also removes the ajaxIntervals settings (IMO, most players don't know how it works and how to use it)

This post has been edited by OnceForAll: Sep 1 2021, 15:23
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 2 2021, 07:39
Post #719
killi890



Casual Poster
****
Group: Members
Posts: 446
Joined: 19-May 11
Level 455 (Dovahkiin)


During a battle I got a weird error about server communication failing. After that it seemed to work again, but with some.. interesting bugs in regards to HP. Some enemies don't have HP values, others have HP swapped.

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 2 2021, 19:54
Post #720
Noni



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


QUOTE(killi890 @ Sep 2 2021, 07:39) *

During a battle I got a weird error about server communication failing. After that it seemed to work again, but with some.. interesting bugs in regards to HP. Some enemies don't have HP values, others have HP swapped.

Attached Image

for speed purposes, monsterbation keeps some info in memory rather than writing to local storage. When it freezes, you'll get the 'server comm' error when you reload. To prevent errors, like wrong round count, you can open the settings when it freezes, then all info is written to local storage.

I'm not sure if the HP error is caused by this, but I suspect it is.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


44 Pages V « < 34 35 36 37 38 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 5th April 2025 - 05:27