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 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,221
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,221
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,221
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 491 (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: 416

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

 
post Oct 11 2015, 07:09
Post #2267
Void Domain



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


QUOTE(Dan31 @ Oct 11 2015, 03:54) *

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.)

Attached File  Reloader.user.js.txt ( 15.58k ) Number of downloads: 416

Please let me know if you find any bugs. Suggestions are appreciated too. (IMG:[invalid] style_emoticons/default/smile.gif)

Dont know how to use any of this (IMG:[invalid] style_emoticons/default/anime_cry.gif)
I only use the no blinking script in it its pretty nice, and yes I disable the log with stylish the game is faster
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 13:08
Post #2268
cheg0



Newcomer
**
Group: Members
Posts: 80
Joined: 21-February 14
Level 283 (Godslayer)


QUOTE(Dan31 @ Oct 10 2015, 22:54) *

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.)

Attached File  Reloader.user.js.txt ( 15.58k ) Number of downloads: 416

Please let me know if you find any bugs. Suggestions are appreciated too. :)

It's really very quickly but...
It's don't check alive status monstr, if don't quickly manually reload page - looping miss attack and death.
Also curiously displayed hp/mp/sp bar.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 14:23
Post #2269
Dan31



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


QUOTE(Void Domain @ Oct 11 2015, 07:09) *

Dont know how to use any of this (IMG:[invalid] style_emoticons/default/anime_cry.gif)
I only use the no blinking script in it its pretty nice, and yes I disable the log with stylish the game is faster

It should be pretty straightforward. Just install the script, disable any other script running during battles, and you're good to go. I said I disabled the logs, but I still print the first and last entries of the log since they have useful info like round number and drops that you get.

QUOTE(cheg0 @ Oct 11 2015, 13:08) *

It's really very quickly but...
It's don't check alive status monstr, if don't quickly manually reload page - looping miss attack and death.
Also curiously displayed hp/mp/sp bar.

Could you post a screenshot? Also, what's your browser, and what other scripts are you using with it? I'm using Firefox btw, maybe it doesn't work with Chrome and I forgot about that.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 16:03
Post #2270
cheg0



Newcomer
**
Group: Members
Posts: 80
Joined: 21-February 14
Level 283 (Godslayer)


QUOTE(Dan31 @ Oct 11 2015, 15:23) *

Could you post a screenshot? Also, what's your browser, and what other scripts are you using with it? I'm using Firefox btw, maybe it doesn't work with Chrome and I forgot about that.

Yes, you're right. I'm writing about Chrome. In Firefox it working correctly.
After restart Chrome bug no more happens, script completely don't working(
screenshot
Attached Image
displaying hp/mp/sp bar.
Also sometimes hp bar turns green, (while SoL is still activue and full sp). After click on gem lagged and show up "Warning: Script not responding"

This post has been edited by cheg0: Oct 11 2015, 16:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 16:18
Post #2271
Dan31



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


QUOTE(cheg0 @ Oct 11 2015, 16:03) *

Yes, you're right. I'm writing about Chrome. In Firefox it working correctly.
After restart Chrome bug no more happens, script completely don't working(
screenshot
Attached Image
displaying hp/mp/sp bar.
Also sometimes hp bar turns green, (while SoL is still activue and full sp).

The bars turning purple should only happen when running low on HP, MP or SP, which also temporarily disables mousemelee.

Try replacing the mousemelee bit with this:
CODE
//### custom MouseMelee script ###
    var mpane = document.getElementById('monsterpane');
    if (mpane) {
        var m = mpane.getElementsByClassName("btm1");
        for (var i = 0; i < m.length; i++) {
            if (m[i].hasAttribute('onclick')) {
                m[i].setAttribute('onmouseover', m[i].getAttribute('onclick'));
            }
        }
    }
//### custom MouseMelee script - end ###

It shouldn't fix you beating up dead horses though...

I will be labeling the script 'for Firefox' for now.

This post has been edited by Dan31: Oct 11 2015, 16:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 16:52
Post #2272
cheg0



Newcomer
**
Group: Members
Posts: 80
Joined: 21-February 14
Level 283 (Godslayer)


QUOTE(Dan31 @ Oct 11 2015, 17:18) *

The bars turning purple should only happen when running low on HP, MP or SP, which also temporarily disables mousemelee.

Try replacing the mousemelee bit with this:
CODE
//### custom MouseMelee script ###
    var mpane = document.getElementById('monsterpane');
    if (mpane) {
        var m = mpane.getElementsByClassName("btm1");
        for (var i = 0; i < m.length; i++) {
            if (m[i].hasAttribute('onclick')) {
                m[i].setAttribute('onmouseover', m[i].getAttribute('onclick'));
            }
        }
    }
//### custom MouseMelee script - end ###

It shouldn't fix you beating up dead horses though...

I will be labeling the script 'for Firefox' for now.

After modifying it correctly working in Chrome. Thanks! (IMG:[invalid] style_emoticons/default/biggrin.gif)

This post has been edited by cheg0: Oct 11 2015, 17:36
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 18:43
Post #2273
Void Domain



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


QUOTE(Dan31 @ Oct 11 2015, 20:23) *

It should be pretty straightforward. Just install the script, disable any other script running during battles, and you're good to go. I said I disabled the logs, but I still print the first and last entries of the log since they have useful info like round number and drops that you get.

I tried to put the whole hoverplay into the reloader but the rebuff icon will stuck there and the hover attack is kinda broken.
I can't live without hoverplay and hv stat slim (IMG:[invalid] style_emoticons/default/ohmy.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 11 2015, 19:03
Post #2274
Dan31



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


QUOTE(Void Domain @ Oct 11 2015, 18:43) *

I tried to put the whole hoverplay into the reloader but the rebuff icon will stuck there and the hover attack is kinda broken.
I can't live without hoverplay and hv stat slim (IMG:[invalid] style_emoticons/default/ohmy.gif)

Well, that's the problem with that AJAX script, it's not trivial to use other battle scripts with it. (IMG:[invalid] style_emoticons/default/unsure.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 15 2015, 11:08
Post #2275
tatarime



2016年12月208日
******
Group: Gold Star Club
Posts: 802
Joined: 23-June 10
Level 500 (Godslayer)


I wrote "HV - Ignore Flicker" script.
This script prevents the blinking effect out.
It is the same meaning:

CODE
@-moz-document url-prefix("http://hentaiverse.org/") {
  .bte > img, .btm6 > img{opacity: 1!important}
}


Attached File  HV___Ignore_Flicker.user.zip ( 466bytes ) Number of downloads: 105

I was created in response to the demand.
* Sorry, bug fixed *

This post has been edited by tatarime: Oct 16 2015, 05:45
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: 19th September 2025 - 07:55