Welcome Guest ( Log In | Register )

291 Pages V « < 264 265 266 267 268 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Oct 4 2017, 12:31
Post #5301
WeebLife



Active Poster
*******
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
Level 461 (Dovahkiin)


QUOTE(sickentide @ Oct 4 2017, 09:52) *

sorry about that, the new version parses the info json instead of the info box html, so you have to change your keywords like this:
CODE
monsterKeywords = /("monsterId":169480|"plvl":2250|"monsterId":126501|Celestial|"monsterId":46822|Undead.*Crushing)/,



Don't apologise man, this thing is all thanks to you. I'm just a retarded user who's trying to muddle his way through the code.

Testing:
Monster ID highlight flag works: TRUE
PL2250 highlight flag works: TRUE
Celestial highlight flag works: TRUE
Undead Crushing highlight flag works: TRUE
Undead Slashing is not highlighted: TRUE

Yay! Now, out of sheer curiosity, can you teach me why the period after Undead is required?
I'm assuming the asterisk is a wildcard, yes? So, why the period?



QUOTE(sickentide @ Oct 4 2017, 09:52) *

very odd. not sure what could be the cause


Looking back over my screenshots, side by side, there seemed to be a very slight change in border colour, but it wasn't enough for me to notice before.

To check, I changed the monster scan colour to cyan, and the scan time to 2 days. This is what it looks like now:

[attachmentid=109553]

Confirmed:
Scan time border works, and monster tags take precedence over scan time. YAY!



Suggestion:
For the next version of Monsterbation, can I suggest a mod to make the monster borders larger than 1 pixel? I think this will help with noticing the scan time borders. Maybe 3 or 4 pixels wide should be enough.
Is it possible?

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

 
post Oct 4 2017, 14:11
Post #5302
sickentide



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


QUOTE(The Original Zeo @ Oct 4 2017, 13:31) *

Yay! Now, out of sheer curiosity, can you teach me why the period after Undead is required?
I'm assuming the asterisk is a wildcard, yes? So, why the period?

within a regular expression, a period stands for "any one character" and asterisk for "the previous repeated zero or more times", so together, ".*" means "any number of any character" and the expression will match any string with "Undead" at one point and "Crushing" at a later point with any string of characters in between

QUOTE(The Original Zeo @ Oct 4 2017, 13:31) *

Suggestion:
For the next version of Monsterbation, can I suggest a mod to make the monster borders larger than 1 pixel? I think this will help with noticing the scan time borders. Maybe 3 or 4 pixels wide should be enough.
Is it possible?

Thank you (IMG:[invalid] style_emoticons/default/smile.gif)

i like decondelite's suggestion to use the letter/number/level area for highlighting instead of the border, so that will be in the next version

This post has been edited by sickentide: Oct 4 2017, 14:14
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 4 2017, 16:41
Post #5303
WeebLife



Active Poster
*******
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
Level 461 (Dovahkiin)


QUOTE(sickentide @ Oct 4 2017, 21:41) *

within a regular expression, a period stands for "any one character" and asterisk for "the previous repeated zero or more times", so together, ".*" means "any number of any character" and the expression will match any string with "Undead" at one point and "Crushing" at a later point with any string of characters in between


I see now. Thank you for taking the time to explain this (IMG:[invalid] style_emoticons/default/smile.gif)

QUOTE(sickentide @ Oct 4 2017, 21:41) *

i like decondelite's suggestion to use the letter/number/level area for highlighting instead of the border, so that will be in the next version


This would actually be better than thicker borders. I look forward to it (IMG:[invalid] style_emoticons/default/happy.gif) . Thank you.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 4 2017, 18:04
Post #5304
sickentide



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


QUOTE(The Original Zeo @ Oct 4 2017, 17:41) *

This would actually be better than thicker borders. I look forward to it (IMG:[invalid] style_emoticons/default/happy.gif) . Thank you.

all right, here it is Attached File  HentaiverseMonsterbation.1.2.2.1.user.js.zip ( 15.69k ) Number of downloads: 337

lightcoral takes precedence in the level area and springgreen takes precedence in the info box, so you have both kinds of information available at a glance
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2017, 13:54
Post #5305
WeebLife



Active Poster
*******
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
Level 461 (Dovahkiin)


QUOTE(sickentide @ Oct 5 2017, 01:34) *

all right, here it is Attached File  HentaiverseMonsterbation.1.2.2.1.user.js.zip ( 15.69k ) Number of downloads: 337

lightcoral takes precedence in the level area and springgreen takes precedence in the info box, so you have both kinds of information available at a glance


You work fast! Thanks!

The only feedback I have on this version is the springgreen for the monsters is a little bit sharp on the eyes now that it shows up as a whole block of green, instead of just some text.

For me, I find the limegreen far more comfortable to look at.

Everything else appears to be working perfectly (IMG:[invalid] style_emoticons/default/happy.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2017, 14:29
Post #5306
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,128
Joined: 26-April 12
Level 500 (Ponyslayer)


QUOTE(sickentide @ Oct 4 2017, 18:04) *

all right, here it is Attached File  HentaiverseMonsterbation.1.2.2.1.user.js.zip ( 15.69k ) Number of downloads: 337


What are the differences with 1.2.1.1?
If it isn't a game breaking update I'm better off passing that, I have too many things to reset every time I update (IMG:[invalid] style_emoticons/default/duck.gif)

QUOTE(The Original Zeo @ Oct 5 2017, 13:54) *

You work fast! Thanks!

The only feedback I have on this version is the springgreen for the monsters is a little bit sharp on the eyes now that it shows up as a whole block of green, instead of just some text.

For me, I find the limegreen far more comfortable to look at.

Everything else appears to be working perfectly (IMG:[invalid] style_emoticons/default/happy.gif)

You can change the colors by tweaking some parts of the script, you know (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2017, 15:14
Post #5307
WeebLife



Active Poster
*******
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
Level 461 (Dovahkiin)


QUOTE(End Of All Hope @ Oct 5 2017, 21:59) *

What are the differences with 1.2.1.1?
If it isn't a game breaking update I'm better off passing that, I have too many things to reset every time I update (IMG:[invalid] style_emoticons/default/duck.gif)
You can change the colors by tweaking some parts of the script, you know (IMG:[invalid] style_emoticons/default/biggrin.gif)


Thanks. I know. Just saying that I changed the colour from the default springgreen to limegreen, and why.


RE: Edits, I put this at the top of my script:

// lines changed from default: 15, 16, 21, 24, 49, 50, 51, 53, 55, 56, 59, 60, 62, 68, 69, 74, 94, 113, 117, 118, 128, 136, 222.

That way when the new version comes out, I know what lines to look at to update (IMG:[invalid] style_emoticons/default/smile.gif)

Oh, and I also change the namespace to include the version number. If I don't do this, then the new version overwrites the old version and I have to spend ages working out all my customisations again (IMG:[invalid] style_emoticons/default/cry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2017, 15:26
Post #5308
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,128
Joined: 26-April 12
Level 500 (Ponyslayer)


QUOTE(The Original Zeo @ Oct 5 2017, 15:14) *
snip


I always add a P to the version number to know it's the Personalized one (IMG:[invalid] style_emoticons/default/biggrin.gif)

As for the colors, I just changed the cooldowns and stacks from aquamarine to white because it was hurting my eyes (IMG:[invalid] style_emoticons/default/faint.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2017, 15:45
Post #5309
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,566
Joined: 12-July 14
Level 500 (Ponyslayer)


QUOTE(sickentide @ Oct 2 2017, 14:38) *

for the custom transparent colours, it should be as simple as setting them in the colours setting. to apply them to btm2 only, use this version: Attached File  HentaiverseMonsterbation.1.2.2.1.user.js.zip ( 15.69k ) Number of downloads: 337


does this happen all the time or only rarely? you could try taking line 1195:
CODE
script.innerHTML = 'var t = setTimeout(function(){}, 0); for ( var i = t; i > 0 && i > t - 100; i-- ) clearInterval(i); battle = new Battle();';

and replacing it with this and see if that helps:
CODE
script.innerHTML = 'var t = setTimeout(function(){}, 0); for ( var i = t; i > 0; i-- ) clearInterval(i); battle = new Battle();';

or failing that setting ajaxRound = false


Thanks a lot. That works very well. And yes, the desynchronized blinking was happening all the damn time, it was very annoying.

Attached Image

Both need to be in a future update IMHO.
Small thing: would it be possible to make the monster highlight "wildcardable"? I mean, right now I've set the string to "2550" to highlight all PL2550 monsters, but it will also highlight everything that contains 2550 in the monster name and all. I was expecting to put "*2500*" or anything similar if I wanted the latter.

This post has been edited by decondelite: Oct 5 2017, 15:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2017, 04:20
Post #5310
sickentide



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


QUOTE(End Of All Hope @ Oct 5 2017, 15:29) *

What are the differences with 1.2.1.1?

the main addition is the mouseEngage option which lets you use the mouse buttons as hover modifiers, and there's some changes to make the alert/highlight colour system more consistent and useful

QUOTE(decondelite @ Oct 5 2017, 16:45) *

Small thing: would it be possible to make the monster highlight "wildcardable"?

it can do anything you can do with [www.w3schools.com] regular expressions. the default setting provides some examples:
CODE
monsterKeywords = /(Meiling|"plvl":2250|"monsterId":70699|Undead.*Crushing)/,

here's an example monster info string that is parsed by the function, it may give you some more ideas on how to customise your highlights:
QUOTE
{"monsterId":52862,"monsterName":"Kodou Yuki","monsterClass":"Arthropod","plvl":2250,"trainer":"HTTP/308","attack":"Crushing","fire":75,"cold":50,"elec":75,"wind":75,"holy":62,"dark":62,"crushing":-25,"slashing":25,"piercing":0,"lastUpdate":"2017-09-19 10:11:45","creationDate":"2014-01-11 22:33:40"}


This post has been edited by sickentide: Oct 6 2017, 04:25
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2017, 09:49
Post #5311
Aardwark



Casual Poster
***
Group: Members
Posts: 223
Joined: 11-May 14
Level 381 (Dovahkiin)


What the hell happened here? This is my text at end of random battle:

You gain 163.156 points of forbidden magic proficiency.
You gain 152.456 points of divine magic proficiency.
You gain 163.070 points of elemental magic proficiency.
You gain 0.109 points of light armor proficiency.
You gain 158.024 points of cloth armor proficiency.
You gain 163.156 points of staff proficiency.
You gain 0.113 points of two-handed weapon proficiency.
You gain 163.156 points of one-handed weapon proficiency.
You gain 0.071 points of heavy armor proficiency.
You gain 0.084 points of dual wielding proficiency.
You gain 0.071 points of deprecating magic proficiency.
You gain 0.107 points of supportive magic proficiency.
With the light of a new dawn, your experience in all things increases.
[b]
You gain 4922898 EXP!
You obtained five [Soul Fragments]
Bowser dropped [Spirit Draught]
Rina True Akizuki dropped [Health Draught]
Orionis dropped [3x Crystal of Tempest]
In Memory Of Dark Mages Anonym dropped [Health Draught]
Avacyn The Purifier dropped [Spirit Draught]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2017, 10:00
Post #5312
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
Level 500 (Godslayer)


See chat thread
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2017, 10:19
Post #5313
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,128
Joined: 26-April 12
Level 500 (Ponyslayer)


QUOTE(sickentide @ Oct 6 2017, 04:20) *

the main addition is the mouseEngage option which lets you use the mouse buttons as hover modifiers, and there's some changes to make the alert/highlight colour system more consistent and useful

Perfect then.
I don't use alert colors nor I use the mouse.
I'll pass (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2017, 10:59
Post #5314
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,566
Joined: 12-July 14
Level 500 (Ponyslayer)


QUOTE(sickentide @ Oct 6 2017, 04:20) *

the main addition is the mouseEngage option which lets you use the mouse buttons as hover modifiers, and there's some changes to make the alert/highlight colour system more consistent and useful
it can do anything you can do with [www.w3schools.com] regular expressions. the default setting provides some examples:
CODE
monsterKeywords = /(Meiling|"plvl":2250|"monsterId":70699|Undead.*Crushing)/,

here's an example monster info string that is parsed by the function, it may give you some more ideas on how to customise your highlights:


That was not in the version you gave me, you probably changed that a bit later.
I'm not keeping up with your updates within the hour you know. (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 15 2017, 00:29
Post #5315
Drksrpnt



Dank
********
Group: Gold Star Club
Posts: 3,543
Joined: 27-December 10
Level 500 (Ponyslayer)


I have a question about the monsterbation script: Every time I finish a round I get a "Server communication failed: 0 ()" error which I have to either press enter or spacebar, or click, to get out of. What causes that?

I use chrome by the way.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 15 2017, 00:32
Post #5316
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE(Drksrpnt @ Oct 15 2017, 01:29) *

I have a question about the monsterbation script: Every time I finish a round I get a "Server communication failed: 0 ()" error which I have to either press enter or spacebar, or click, to get out of. What causes that?

I use chrome by the way.

Just a wildguess. Could you try do the following.
1. Open script
2. Find option, called something like "AJAX next round"
3. Set it to false.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 15 2017, 00:38
Post #5317
Drksrpnt



Dank
********
Group: Gold Star Club
Posts: 3,543
Joined: 27-December 10
Level 500 (Ponyslayer)


QUOTE(f4tal @ Oct 14 2017, 18:32) *

Just a wildguess. Could you try do the following.
1. Open script
2. Find option, called something like "AJAX next round"
3. Set it to false.


I fixed the issue, I had actually dragged the js into the extensions page instead of doing it as part of tampermonkey, I should have done that in the first place. Thanks anyway!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 15 2017, 00:46
Post #5318
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE(Drksrpnt @ Oct 15 2017, 01:38) *

I fixed the issue, I had actually dragged the js into the extensions page instead of doing it as part of tampermonkey, I should have done that in the first place. Thanks anyway!

Ahah, sure, no problems (IMG:[invalid] style_emoticons/default/smile.gif)
There is a huge difference between using scripts as Chrome extension and part of Tampermonkey. In former, script traits the whole browser as his home and global, in latter script thinks his home is an actual web-page.
Therefore, after installing script as extension it may interfere with other extensions, and even browser itself. Extension should be packed in crx file and should be programmed in different way. For scripts TamperMonkey is better option.

...anyway, if you still will have some connection problems, try to disable (false) option I have mentioned above (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 17 2017, 15:34
Post #5319
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


little bugfix for my prof calculator: previously, switching the "prof perk" status in Simulation spreadsheet didn't change anything because of how i declared a boole variable. now it does.
also, for the same reason there was a small error with calculating prof factors.

here is the updated version: https://forums.e-hentai.org/index.php?s=&am...t&p=4954202

thanks to Reality_Marble for feedback (twice!)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 17 2017, 16:00
Post #5320
CPUAMD



Veteran Poster
********
Group: Catgirl Camarilla
Posts: 2,729
Joined: 24-April 15
Level 500 (Ponyslayer)


QUOTE(Scremaz @ Oct 17 2017, 22:34) *

little bugfix for my prof calculator: previously, switching the "prof perk" status in Simulation spreadsheet didn't change anything because of how i declared a boole variable. now it does.
also, for the same reason there was a small error with calculating prof factors.

here is the updated version: https://forums.e-hentai.org/index.php?s=&am...t&p=4954202

thanks to Reality_Marble for feedback (twice!)

[attachembed=110124]
There is no formula in this part.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 264 265 266 267 268 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 11th January 2025 - 17:58