|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Oct 2 2017, 08:33
|
hc br
Group: Catgirl Camarilla
Posts: 3,668
Joined: 18-October 15
|
QUOTE(f4tal @ Oct 2 2017, 03:30) Could you try this?
HVChart__0.6.1_.user.js.txt ( 112.06k )
Number of downloads: 10110line 2871~2872 CODE .style('font-size', '14px') .attr('fill', '#ff4040') line 2892 CODE .style('font-size', '14px') Added line 2893 CODE .attr('fill', '#6699ff')
|
|
|
Oct 2 2017, 09:15
|
Aardwark
Group: Members
Posts: 223
Joined: 11-May 14
|
QUOTE(hc br @ Oct 2 2017, 08:33) Hey, the Random Encounter script you fixed last time worked really well, but the list of random encounter times doesn't reset after 'Start of a New Day'. Can you fix that please?
RANDOM.txt ( 9.22k )
Number of downloads: 39 Okay, this is the Countdown Timer for the Random Encounter Event on E-Hentai Script. Works correctly, only the random encounter log doesn't reset on Dawn of New Day. Help plz. This post has been edited by Aardwark: Oct 2 2017, 10:46
|
|
|
|
|
|
Oct 2 2017, 10:14
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
QUOTE(hc br @ Oct 2 2017, 08:33) line 2871~2872 CODE .style('font-size', '14px') .attr('fill', '#ff4040') line 2892 CODE .style('font-size', '14px') Added line 2893 CODE .attr('fill', '#6699ff') wouldn't something like this: (IMG:[ upload.wikimedia.org] https://upload.wikimedia.org/wikipedia/commons/1/18/Spider_Chart2.jpg) be more realistic, btw? it's the same, but with spikes and straight lines rather than curves. also, black is cool but osmething should be done to improve the readability of numbers. not sure which color to pick though... This post has been edited by Scremaz: Oct 2 2017, 10:15
|
|
|
Oct 2 2017, 10:47
|
Aardwark
Group: Members
Posts: 223
Joined: 11-May 14
|
Attachment doesn't work. Can anyone explain how to attach files? Or do I link it to Dropbox or something?
|
|
|
Oct 2 2017, 11:03
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
QUOTE(Aardwark @ Oct 2 2017, 10:47) Attachment doesn't work. Can anyone explain how to attach files? Or do I link it to Dropbox or something?
you have to press "Add the attachment". when the upload will finish, you'll be presented with the options "add" and "embed". the last one is useful only for images, for standard files use "add". also, note that only ZIP, RAR and TXT files can be added (at least afaik), so for scripts you can either choose to create an archive or to upload them as txt. This post has been edited by Scremaz: Oct 2 2017, 11:04
|
|
|
|
|
|
Oct 2 2017, 11:18
|
Draw99Gray
Group: Members
Posts: 734
Joined: 10-January 16
|
QUOTE(Aardwark @ Oct 2 2017, 05:47) Attachment doesn't work. Can anyone explain how to attach files? Or do I link it to Dropbox or something?
You are trying to attach a script, aren't you? Attach the .txt, or make a .zip with the script.
|
|
|
|
|
|
Oct 2 2017, 13:43
|
zcb535359
Group: Gold Star Club
Posts: 179
Joined: 21-October 16
|
QUOTE(f4tal @ Oct 2 2017, 03:30) Could you try this?
HVChart__0.6.1_.user.js.txt ( 112.06k )
Number of downloads: 10110thanks. it is ok on both sites. it looks kind of different with what i use. 3185 line in mine is yours 3162. what i use is this one.
HV___Chart___.user.js.zip ( 23.92k )
Number of downloads: 951QUOTE(Superlatanium @ Oct 2 2017, 03:31) Just search for the getLevel function and replace hentaiverse with alt.hentaiverse, did you try that? (can't exactly test myself for some reason, my connection to [ alt.hentaiverse.org] https://alt.hentaiverse.org/ keeps failing) i see there is a getLevel function. i changed line 3185 CODE XHR.open('GET', "https://hentaiverse.org", true); with CODE XHR.open('GET', "http://alt.hentaiverse.org", true); it works well with alt sites. but i also need it to work in non-alt sites when open links in forum. anyway, thanks for advise.
|
|
|
|
|
|
Oct 2 2017, 13:56
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
QUOTE(zcb535359 @ Oct 2 2017, 14:43) thanks. it is ok on both sites. it looks kind of different with what i use. 3185 line in mine is yours 3162. what i use is this one.
HV___Chart___.user.js.zip ( 23.92k )
Number of downloads: 951i see there is a getLevel function. i changed line 3185 CODE XHR.open('GET', "https://hentaiverse.org", true); with CODE XHR.open('GET', "http://alt.hentaiverse.org", true); it works well with alt sites. but i also need it to work in non-alt sites when open links in forum. anyway, thanks for advise. Version I published above is identical to what you are using. The only two differences are: 1. Instead of: CODE // @match https://hentaiverse.org/equip/* // @match http://alt.hentaiverse.org/equip/* // @match https://hentaiverse.org/equip/* // @match https://alt.hentaiverse.org/equip/* ...I am using this one: CODE // @match *://*.hentaiverse.org/equip/* - it is like "four lines in one". 2. And instead of: CODE XHR.open('GET', "https://hentaiverse.org", true); ...I am using this one: CODE var $url = document.location.protocol + "//" + document.location.host; XHR.open('GET', $url, true); That code helps script to work on both sites - regular and base. Lines may be rearranged a little because of these two changes - but nothing critical.
|
|
|
|
|
|
Oct 2 2017, 14:38
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(decondelite @ Oct 1 2017, 00:08) Can you tell me if it's possible please? That'd be greatly appreciated.
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:
HentaiverseMonsterbation.1.2.2.1.user.js.zip ( 15.69k )
Number of downloads: 337QUOTE(decondelite @ Oct 1 2017, 00:08) Also, there's a small bug that appeared when I updated my Monsterbation from 1.2.0.6 to 1.2.1.1: https://www.youtube.com/watch?v=T_8XYz6gTZIThat bug seems to still be there in 1.2.2.0. Basically, it's the buff icons that blink when they're about to expire. Note that it doesn't occur when the hovering gets stopped due to an alert. 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 QUOTE(The Original Zeo @ Oct 1 2017, 09:48) Is it possible to make the black boxes beside the monsters a standard size? When you get certain monster combinations, it can make the page look really messy. Example of this below.
take line 370: CODE '.minfo { position: absolute; left: 1067px; text-align: left; font-size: 9px; font-weight: bold; background: black; border-radius: 5px; }' + and modify it like so: CODE '.minfo { position: absolute; left: 1067px; min-width: 170px; text-align: left; font-size: 9px; font-weight: bold; background: black; border-radius: 5px; }' + QUOTE(Scremaz @ Oct 1 2017, 12:27) Spoiler text - Highlight to read... not really needed - just a finickiness in fact - but black boxes could either have the same height of monsters cells (preferred) or be vertically center-aligned they are vertically centred in both of my chrome and firefox test setups. try adjusting the font-size parameter in line 370 to a % value until they fit for you QUOTE(The Original Zeo @ Oct 2 2017, 01:30) Very quick side-question: If a monster matches both the scan time criteria, and the monster keyword criteria, which highlight takes precedence? Will the monster be highlighted in lightcoral or springgreen? I think it would make more sense if the lightcoral were to take precedence.
springgreen takes precedence because lightcoral has the monster border as an additional indicator This post has been edited by sickentide: Oct 4 2017, 18:00
|
|
|
|
|
|
Oct 2 2017, 14:51
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
could i ask coders to post long scripts (longer than, saying, ten lines) in an attached txt/zip/rar file? it may be one of those usual fixations of mine, but i guess it may make pages easier to read... (IMG:[ invalid] style_emoticons/default/duck.gif)
|
|
|
Oct 2 2017, 15:02
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
QUOTE(Scremaz @ Oct 2 2017, 15:51) could i ask coders to post long scripts (longer than, saying, ten lines) in an attached txt/zip/rar file? it may be one of those usual fixations of mine, but i guess it may make pages easier to read... (IMG:[ invalid] style_emoticons/default/duck.gif) Double that. Not because I am an old grumbler, but because it is very hard to read things from cellphone. This post has been edited by f4tal: Oct 2 2017, 15:04
|
|
|
|
|
|
Oct 2 2017, 15:18
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(Scremaz @ Oct 2 2017, 14:51) could i ask coders to post long scripts (longer than, saying, ten lines) in an attached txt/zip/rar file? it may be one of those usual fixations of mine, but i guess it may make pages easier to read... (IMG:[ invalid] style_emoticons/default/duck.gif) [ gist.github.com] https://gist.github.com/It's free, it's nicer to read and it helps tracking the scripts vs reading 200 pages.
|
|
|
Oct 2 2017, 16:44
|
Aardwark
Group: Members
Posts: 223
Joined: 11-May 14
|
RANDOM.txt ( 9.22k )
Number of downloads: 37 This Random Encounter script works well, only the encounter lag doesn't reset after Dawn of New Day. Plz help.
|
|
|
Oct 2 2017, 16:48
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
QUOTE(Aardwark @ Oct 2 2017, 16:44)
RANDOM.txt ( 9.22k )
Number of downloads: 37 This Random Encounter script works well, only the encounter lag doesn't reset after Dawn of New Day. Plz help. your previous post is here: QUOTE(Aardwark @ Oct 2 2017, 09:15)
RANDOM.txt ( 9.22k )
Number of downloads: 39 Okay, this is the Countdown Timer for the Random Encounter Event on E-Hentai Script. Works correctly, only the random encounter log doesn't reset on Dawn of New Day. Help plz.
i simply merged it with a previous one since there was a bit of description. or is it a new one, perhaps? (IMG:[ invalid] style_emoticons/default/unsure.gif)
|
|
|
|
|
|
Oct 2 2017, 22:57
|
WeebLife
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
|
QUOTE(sickentide @ Oct 2 2017, 22:08) take line 370: CODE '.minfo { position: absolute; left: 1067px; text-align: left; font-size: 9px; font-weight: bold; background: black; border-radius: 5px; }' + and modify it like so: CODE '.minfo { position: absolute; left: 1067px; min-width: 170px; text-align: left; font-size: 9px; font-weight: bold; background: black; border-radius: 5px; }' + Thanks! works (IMG:[ invalid] style_emoticons/default/smile.gif) QUOTE(sickentide @ Oct 2 2017, 22:08) springgreen takes precedence because lightcoral has the monster border as an additional indicator
huh wha? On my machine, the highlight scripts only changes the colour of the text within Jenga's black boxes. The actaul monster panel/borders don't change colour for me at all... Is this a new feature that I need to upgrade to get? I'm still on version 1.2.1.1 EDIT: I just installed version 1.2.2.0, and now my monster highlight is broken ? First off, it is still only highlighting the text in jenga's text box (Until earlier today, I thought this was normal...) Secondly, I've set up all of the settings the same way, but now the only highlight tag that is being picked up is the celestial tag. The PL: 2250 tag (The most important tag) doesn't register, nor do my 3 specified ID tags or the newly added Undead \/ Crushing tag (line 58) Also, i don't know if it's relevant or not, but the highlight background feature wasn't working on the old 1.2.1.1 script, but is working in the new 1.2.2.0 script Using Firefox 55.0.3 My old a new scripts for comparison: [attachmentid=109480] [attachmentid=109481] This post has been edited by The Original Zeo: Oct 3 2017, 00:01
|
|
|
|
|
|
Oct 3 2017, 00:56
|
Superlatanium
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
|
Never checked much compatibility with alt. before, but just in case anyone was wondering: [ alt.hentaiverse.org] https://alt.hentaiverse.org does not work (yet), alt HV is the only part of the site that hasn't been upgraded to support SSL. It wasn't my connection, it was the server itself. I think this can create problems for scripts that try to communicate across different domains, due to security policies.
|
|
|
Oct 3 2017, 11:32
|
Aardwark
Group: Members
Posts: 223
Joined: 11-May 14
|
So why are the bottom mons red? I use Monsterbate and HVToolbox.
|
|
|
Oct 3 2017, 12:22
|
ALL_MIGHT
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
|
QUOTE(Aardwark @ Oct 3 2017, 15:02) So why are the bottom mons red? I use Monsterbate and HVToolbox.
That just means that they are not scanned yet i.e. they are not in database. You should scan them. (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
|
|
|
Oct 3 2017, 14:06
|
WeebLife
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07
|
QUOTE(The Original Zeo @ Oct 3 2017, 06:27) On my machine, the highlight scripts only changes the colour of the text within Jenga's black boxes. The actual monster panel/borders don't change colour for me at all... I'm still on version 1.2.1.1
EDIT:
I just installed version 1.2.2.0, and now my monster highlight is broken ?
1. it is still only highlighting the text in jenga's text box (Until earlier today, I thought this was normal...)
2. now the only highlight tag that is being picked up is the celestial tag. The PL: 2250 tag (The most important tag) doesn't register, nor do my 3 specified ID tags or the newly added Undead \/ Crushing tag (line 58)
Also, i don't know if it's relevant or not, but the highlight background feature wasn't working on the old 1.2.1.1 script, but is working in the new 1.2.2.0 script Using Firefox 55.0.3
My old a new scripts for comparison: [attachmentid=109480] [attachmentid=109481]
QUOTE(Superlatanium @ Oct 3 2017, 08:26) Never checked much compatibility with alt. before, but just in case anyone was wondering: [ alt.hentaiverse.org] https://alt.hentaiverse.org does not work (yet), alt HV is the only part of the site that hasn't been upgraded to support SSL. It wasn't my connection, it was the server itself. I think this can create problems for scripts that try to communicate across different domains, due to security policies. Confirmed. I'm not using alt. Just upgraded to firefox 56.0 (latest version) To help with troubleshooting, here are some screenshots of what the highlights look like for me, using the scripts above: Pic1. v1211, PL 2250, and scan time set to 1 day: [attachmentid=109499] Note there is no coral border. Pic2. v1220, PL 2250, and scan time set to 1 day: [attachmentid=109502] Note there is no highlighting at all here :/ Pic3. v1211, PL 2250, and scan time set to 58 days: [attachmentid=109500] This is what I am used to seeing Pic4. v1220, PL 2250, and scan time set to 57 days: [attachmentid=109501] This is what I am currently seeing. No highlighting at all for 2250 monsters. Same behaviour (no highlighting at all) for monsters I have specified for highlighting by ID, and by the Undead / Crushing tag. Pic5. v1211, Undead / Crushing, and scan time set to 1 day: [attachmentid=109508] Green takes priority over coral, but the monster border is still not changing colour. Pic6. v1220, Undead / Crushing, and scan time set to 1 day: [attachmentid=109503] For some reason, this guy is coral, but the 2250 mob in pic 2 would not go coral (unless it had be scanned in the last day?) - Note that the border is still not a coral colour Pic7. v1211, Undead / Crushing, and scan time set to 58 days: [attachmentid=109507] The undead crushing highlight works on the old script Pic8. v1220, Undead / Crushing, and scan time set to 57 days: [attachmentid=109506] Same as PL 2250, this Undead / Crushing monster won't highlight. Pic9. v1211, celestial: [attachmentid=109511] Celestials highlight in v1211 Pic10. v1220, celestial: [attachmentid=109514] What the hell? This is not what I was expecting to see when I swapped back to script version 1220. I was expecting this to look the same as Pic9, but instead the round counter is gone and the celestial is highlighted with an extremely dark red colour - virtually unreadable. Pic11. v1220, celestial: [attachmentid=109517] After killing the celestial in pic10, I got another celestial in the following round, and the script didn't run at all (no jenga info, and no round counter), I refreshed the page and it displayed as I has expected pic10 to turn out - IE, green highlight. Pic12. v1211, Channelling highlighting: [attachmentid=109519] Even though I configured the script to highlight the whole background, the whole background does not get highlighted on channelling proc Pic13. v1220, Channelling highlighting: [attachmentid=109518] The entire background goes green when channelling procs (as expected)
|
|
|
|
|
|
Oct 4 2017, 02:22
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(The Original Zeo @ Oct 2 2017, 23:57) I just installed version 1.2.2.0, and now my monster highlight is broken ?
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)/, i should probably put more examples like this into the default settings, though it's not as complicated as it seems, this works too: CODE monsterKeywords = /(169480|2250|126501|Celestial|46822|Undead.*Crushing)/, QUOTE(Aardwark @ Oct 3 2017, 12:32) So why are the bottom mons red? I use Monsterbate and HVToolbox.
this happens either if those monsters have not been scanned or when the script is disabled at the end of the previous battle. finish one round and it should revert to normal QUOTE(The Original Zeo @ Oct 3 2017, 15:06) Pic1. v1211, PL 2250, and scan time set to 1 day: Note there is no coral border.
very odd. not sure what could be the cause This post has been edited by sickentide: Oct 4 2017, 03:39
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|