Welcome Guest ( Log In | Register )

291 Pages V « < 112 113 114 115 > »   
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 2 2015, 17:19
Post #2247
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


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:
Attached Image Attached Image Attached Image Attached Image

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

 
post Oct 3 2015, 08:24
Post #2248
tetron



Certified Retard!
*********
Group: Gold Star Club
Posts: 5,583
Joined: 30-July 14
Level 488 (Godslayer)


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)

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

 
post Oct 6 2015, 16:09
Post #2249
Fudo Masamune



Passive Poster
*******
Group: Gold Star Club
Posts: 1,636
Joined: 2-February 10
Level 500 (Ponyslayer)


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

 
post Oct 7 2015, 05:40
Post #2250
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 7 2015, 06:59
Post #2251
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 7 2015, 13:33
Post #2252
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 7 2015, 14:23
Post #2253
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 7 2015, 15:37
Post #2254
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 7 2015, 17:04
Post #2255
ctxl



バカ
****
Group: Members
Posts: 425
Joined: 20-May 12
Level 455 (Godslayer)


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

 
post Oct 7 2015, 17:48
Post #2256
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 7 2015, 20:17
Post #2257
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 8 2015, 05:20
Post #2258
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 8 2015, 15:23
Post #2259
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 8 2015, 16:05
Post #2260
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 8 2015, 17:01
Post #2261
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,216
Joined: 23-July 14
Level 500 (Godslayer)


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

 
post Oct 8 2015, 19:16
Post #2262
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


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

 
post Oct 8 2015, 19:22
Post #2263
nobody_xxx



((´☻ω☻`) $◞౪◟$ (´☻ω☻`))
***********
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10
Level 496 (Godslayer)


any scripts to turn on and turn off spirit stance with mouse right click (IMG:[invalid] style_emoticons/default/huh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 8 2015, 19:56
Post #2264
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


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

 
post Oct 8 2015, 20:02
Post #2265
nobody_xxx



((´☻ω☻`) $◞౪◟$ (´☻ω☻`))
***********
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10
Level 496 (Godslayer)


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

 
post Oct 10 2015, 21:54
Post #2266
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 487 (Godslayer)


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


291 Pages V « < 112 113 114 115 > » 
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: 8th May 2025 - 16:13