Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Oct 2 2015, 17:19
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
HV Dark 0.80, version 1.0 Cutting the beta version crap, let's be a little serious (or not) (IMG:[ invalid] style_emoticons/default/laugh.gif) [attachmentid=71368] [attachmentid=71369] Some extras: [attachmentid=71374] [attachmentid=71375] This one is for those that care more about efficiency than aesthetics, it's basically the same code with only some essential images changes. Needless to say that it looks a bit uglier compared to the full version... And the new classical: [attachmentid=71376] [attachmentid=71377] To install the .css directly: CODE // ==UserScript== // @name HV Dark // @updateURL about:blank // @grant GM_getResourceURL // @resource hv_dark http://forums.e-hentai.org/index.php?act=Attach&type=post&id=71368 // @include http://hentaiverse.org/* // ==/UserScript==
var cssId = 'hv_dark' if(!document.getElementById(cssId)) { var link = document.createElement('link') link.id = cssId link.rel = 'stylesheet' link.type = 'text/css' link.media = 'all' link.href = GM_getResourceURL('hv_dark') document.head.appendChild(link) } The CSS includes color fixes for the following scripts: - Owyn's Hover Play 1.8 - oohmrparis' HV counter plus 3.6 - oohmrparis' modified version of HV Stats slim 1.8 - Holy_Demon's SpellSpam 3.5.2 - oohmrparis & LostLogia4's proficiency view 2.8 - gasior & simplesimon32's HV Equipment Comparison 0.6.4.4 - ctxl & simplesimon32's HV Mini Shop Helper 1.2.5.1 - GaryMcNabb & Co's HVStat 5.6.8.2 - oohmrparis & tetron's Stack Counter Script - atest1 & simplesimon32's HV-Magic Scores 2.0.3.2 - Holy_Demon's Item Manager 1.5.0 - oohmrparis' HV Magic Scores for ELP 2.0.3.2 - oohmrparis' HV Equip Compare for ELP 0.6.4.3 Screenshots:  Please don't hesitate to report if you see some ugly things, and enjoy (IMG:[ invalid] style_emoticons/default/tongue.gif) More @ my shop (yes, some shameless advertising) (IMG:[ invalid] style_emoticons/default/laugh.gif) This post has been edited by boulay: Oct 2 2015, 17:23
|
|
|
|
 |
|
Oct 3 2015, 08:24
|
tetron
Group: Gold Star Club
Posts: 5,583
Joined: 30-July 14

|
QUOTE(boulay @ Oct 2 2015, 20:49)  HV Dark 0.80, version 1.0 Cutting the beta version crap, let's be a little serious (or not) (IMG:[ invalid] style_emoticons/default/laugh.gif) 
|
|
|
Oct 6 2015, 16:09
|
Fudo Masamune
Group: Gold Star Club
Posts: 1,636
Joined: 2-February 10

|
I wonder if it's possible for "skins" like HV dark to load the resources from localhost instead (something like from file:\\\C:\HV\blablabla) wouldn't something like that could "increase loading time"?
|
|
|
Oct 7 2015, 05:40
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Fudo Masamune @ Oct 6 2015, 22:09)  I wonder if it's possible for "skins" like HV dark to load the resources from localhost instead (something like from file:\\\C:\HV\blablabla) wouldn't something like that could "increase loading time"?
Nah, there is no difference between them, as stated in the [ wiki.greasespot.net] GM wiki: QUOTE Each @resource is downloaded once, when the script is installed, and stored on the user's hard drive alongside the script.
|
|
|
Oct 7 2015, 06:59
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
When I use hv dark with stylish in firefox, the game will slow down after just 100 rounds and I have to restart the browser (IMG:[ invalid] style_emoticons/default/anime_cry.gif) Anyone know why?
|
|
|
Oct 7 2015, 13:33
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Void Domain @ Oct 7 2015, 12:59)  When I use hv dark with stylish in firefox, the game will slow down after just 100 rounds and I have to restart the browser (IMG:[ invalid] style_emoticons/default/anime_cry.gif) Anyone know why? Would you mind giving HV_Dark_ Lite.css a shot to see if the same problem still happens? This post has been edited by djackallstar: Oct 7 2015, 13:34
|
|
|
Oct 7 2015, 14:23
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(djackallstar @ Oct 7 2015, 19:33)  Would you mind giving HV_Dark_Lite.css a shot to see if the same problem still happens?
Just tried that, still the same thing (IMG:[ invalid] style_emoticons/default/dry.gif) I even delete my browser cache but nothing happen
|
|
|
|
 |
|
Oct 7 2015, 15:37
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Void Domain @ Oct 7 2015, 20:23)  Just tried that, still the same thing (IMG:[ invalid] style_emoticons/default/dry.gif) I even delete my browser cache but nothing happen Clearing the cache won't help, because CSS requests images at stylesheet parse time and Fx clings to the in-memory image object ever since. Not sure if Stylish causes a memory leak. You could try HV_Dark_Battle_Compact.css, the barebone version of HV Dark. Or, If the problem is still there and you don't insist on using Stylish, apply the CSS file(s) using GM or userContent.css. If Stylish was the cause, by doing so the problem should be gone, hopefully. This post has been edited by djackallstar: Oct 7 2015, 15:41
|
|
|
|
 |
|
Oct 7 2015, 17:04
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
The last time I checked, CSS filters have a tremendous performance penalty. This method of styling is slower than substituting in pre-rendered "brighter" image replacements. CODE img[src$="/barblue.png"]{filter:brightness(1.5) !important;} img[src$="/nbarblue.png"]{filter:brightness(1.5) !important;}
|
|
|
|
 |
|
Oct 7 2015, 17:48
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(djackallstar @ Oct 7 2015, 21:37)  Clearing the cache won't help, because CSS requests images at stylesheet parse time and Fx clings to the in-memory image object ever since. Not sure if Stylish causes a memory leak. You could try HV_Dark_Battle_Compact.css, the barebone version of HV Dark. Or, If the problem is still there and you don't insist on using Stylish, apply the CSS file(s) using GM or userContent.css. If Stylish was the cause, by doing so the problem should be gone, hopefully.
Didn't know userContent.css exist But it will still slow down after 50~100 rounds (IMG:[ invalid] style_emoticons/default/anime_cry.gif) And when using GM to load the css sometimes the page will flash back to original color, seems like its too fast/slow (IMG:[ invalid] style_emoticons/default/blink.gif)
|
|
|
|
 |
|
Oct 7 2015, 20:17
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Void Domain @ Oct 7 2015, 23:48)  Didn't know userContent.css exist But it will still slow down after 50~100 rounds (IMG:[ invalid] style_emoticons/default/anime_cry.gif) And when using GM to load the css sometimes the page will flash back to original color, seems like its too fast/slow (IMG:[ invalid] style_emoticons/default/blink.gif) Actually it's possible to embed the CSS files directly into a userscript (using CDATA) to speed up it a bit, but even using userContent.css slows down the game? Already reported this to boulay, and thanks ctxl for pointing out the potential culprit.
|
|
|
Oct 8 2015, 05:20
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(djackallstar @ Oct 8 2015, 02:17)  Actually it's possible to embed the CSS files directly into a userscript (using CDATA) to speed up it a bit
How do you do that?
|
|
|
Oct 8 2015, 15:23
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Void Domain @ Oct 8 2015, 11:20)  How do you do that?
Forget about what I said about CDATA, as E4X is removed since Fx 18. Use the following method instead. Note that it is backticks ( `) that close over the raw CSS text, not single or double quotes. CODE // ==UserScript== // @name Test // @grant GM_addStyle // @include http://hentaiverse.org/* // ==/UserScript==
GM_addStyle(` // Paste the raw text of the CSS file here. `)
Example CODE // ==UserScript== // @name Test // @grant GM_addStyle // @include http://hentaiverse.org/* // ==/UserScript==
GM_addStyle(` body { background-color: red } `)
|
|
|
Oct 8 2015, 16:05
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
Actually GM is much better no slow down. But both GM methods will have flash screen to original color. Dont know what caused it (IMG:[ invalid] style_emoticons/default/blink.gif)
|
|
|
|
 |
|
Oct 8 2015, 17:01
|
djackallstar
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14

|
QUOTE(Void Domain @ Oct 8 2015, 22:05)  Actually GM is much better no slow down. But both GM methods will have flash screen to original color. Dont know what caused it (IMG:[ invalid] style_emoticons/default/blink.gif) Dunno, but this issue doesn't happen to me. There are two possibilities I can think of: 1. Your t/s is high enough to make the page load so fast that the browser can't apply boulay's CSS fast enough. 2. You are playing HV while doing CPU-intensive tasks at the same time. For example, playing a CPU-intensive Flash game, or watching an HD video. Both possibilities could result in seeing the default HV CSS, and then boulay's CSS.
|
|
|
|
 |
|
Oct 8 2015, 19:16
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
QUOTE(Void Domain @ Oct 7 2015, 06:59)  When I use hv dark with stylish in firefox, the game will slow down after just 100 rounds and I have to restart the browser (IMG:[ invalid] style_emoticons/default/anime_cry.gif) Anyone know why? Dunno why but it doesn't for me. My wild guesses would be: Stylish is slowing you down or the server is busy... The problem does exist though, I've been experiencing a 0.2 t/s loss when using it with Iron (drag&drop without any addon) I'm still looking where it could be... QUOTE(ctxl @ Oct 7 2015, 17:04)  The last time I checked, CSS filters have a tremendous performance penalty. This method of styling is slower than substituting in pre-rendered "brighter" image replacements. CODE img[src$="/barblue.png"]{filter:brightness(1.5) !important;} img[src$="/nbarblue.png"]{filter:brightness(1.5) !important;} I used the filters because I could find a way to replace those correctly (you'd get a full bar even when you're dead (IMG:[ invalid] style_emoticons/default/sleep.gif) If it's slower, I'll have to look for another way... This post has been edited by boulay: Oct 8 2015, 19:22
|
|
|
|
 |
|
Oct 8 2015, 19:22
|
nobody_xxx
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10

|
any scripts to turn on and turn off spirit stance with mouse right click (IMG:[ invalid] style_emoticons/default/huh.gif)
|
|
|
Oct 8 2015, 19:56
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(nobody_xxx @ Oct 9 2015, 01:22)  any scripts to turn on and turn off spirit stance with mouse right click (IMG:[ invalid] style_emoticons/default/huh.gif) hv keybind, spellspam? Or even hoverplay can do similar thing.
|
|
|
Oct 8 2015, 20:02
|
nobody_xxx
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10

|
QUOTE(Void Domain @ Oct 9 2015, 00:56)  hv keybind, spellspam? Or even hoverplay can do similar thing.
never try it with spellspam (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
 |
|
Oct 10 2015, 21:54
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12

|
Anyone remembers the AJAX battle script from nihilvoid, Reloader? For those who don't know about it (ie almost everyone), this script allows you to use the power of AJAX to refresh individual elements on the page during a battle without refreshing the entire page, in order to reduce rendering time. In other words, it boosts the speed of battles significantly. (I wish HV would use AJAX for battles natively... but that's another story.) Here is the current version I'm using. It also includes Mousemelee, Show Gems, and Disable Buff/Debuff Blinking, and can be customize to your heart's content to suit your needs. I've disabled the display of the battle log, too. ( Warning: Since the script makes the battle page reload only every new round, other battle scripts will probably not work with it. Disable them and include them in this script (look for the 'TODO's in the code) in order to make them work together.) Reloader for Firefox:
Reloader.user.js.txt ( 15.58k )
Number of downloads: 414 Please let me know if you find any bugs. Suggestions are appreciated too. (IMG:[ invalid] style_emoticons/default/smile.gif) This post has been edited by Dan31: Oct 11 2015, 16:10
|
|
|
|
 |
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|