Welcome Guest ( Log In | Register )

291 Pages V « < 42 43 44 45 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Sep 18 2013, 22:15
Post #848
Pucy



Newcomer
*
Group: Members
Posts: 42
Joined: 31-October 12
Level 240 (Godslayer)


Anyway to get mousemelee to work in firefox?

edit: nvm about hv drop, realized hvstat has tracking

This post has been edited by Pucy: Sep 18 2013, 22:34
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2013, 09:03
Post #849
FiniteA



Active Poster
*******
Group: Members
Posts: 2,419
Joined: 3-November 11
Level 413 (Godslayer)


QUOTE(hentai_fusion @ Sep 15 2013, 13:31) *

unbinding a default key so that i can use it for something else does not work...


Actually, I don't even know what is the new changes in chrome & ff. (IMG:[invalid] style_emoticons/default/rolleyes.gif)
But it seems they disallow you to call in userscript those on* function.
So it has to use abc.click(), which was abc.onclick()

This also breaks the way that this script is designed a long time ago.
First it temporarily disable the document.onkeydown function.
Then performing the user-defined binding actions.
If nothing happen, send the event back to the saved document.onkeydown function.

The problem now is, as with the case of onclick and click, you cannot directly disable document.onkeydown.
One remedy is to make the eventListener capturing and stopping propagation to other listeners.
But this probably will not help you too. (You can try the script below though.)

Any advice or workaround is welcomed. (IMG:[invalid] style_emoticons/default/biggrin.gif)


QUOTE(rmr @ Sep 16 2013, 20:16) *

It is unable to cover the hotkeys S, D , and G with HV Keybind 2.4.2.


[pastie.org] Use this one (Changed KEY_UP issue, and toogle is now correctly spelled as toggle (IMG:[invalid] style_emoticons/default/tongue.gif) )

This one will let you bind SDFG. But it may interfere with other scripts.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2013, 13:17
Post #850
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


QUOTE(FiniteA @ Sep 19 2013, 16:03) *
The problem now is, as with the case of onclick and click, you cannot directly disable document.onkeydown.
One remedy is to make the eventListener capturing and stopping propagation to other listeners.
But this probably will not help you too. (You can try the script below though.)

Content scripts have to do following to disable document.onkeydown:
CODE
var scriptElement = document.createElement("script");
scriptElement.type = "text/javascript";
scriptElement.textContent = 'document.onkeydown = null;';
document.body.appendChild(scriptElement);

Since Chrome 28, content scripts can no longer access global event listeners of site scripts directly.
Use script injection instead.

This post has been edited by greentea039: Sep 19 2013, 17:42
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2013, 17:34
Post #851
FiniteA



Active Poster
*******
Group: Members
Posts: 2,419
Joined: 3-November 11
Level 413 (Godslayer)


QUOTE(greentea039 @ Sep 19 2013, 19:17) *

Content scripts have to do following to disable document.onkeydown:
CODE
var scriptElement = document.createElement("script");
scriptElement.type = "text/javascript";
scriptElement.textContent = 'document.onkeydown = null;';
document.body.appendChild(scriptElement);

Since Chrome 28, content scripts can no longer access global event listeners of site scripts directory.
Use script injection instead.


Cool. How do you get this way. (IMG:[invalid] style_emoticons/default/tongue.gif)

Btw, if I inject this: var save = document.onkeydown;
then can I access the variable save outside of the scriptElement?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2013, 18:10
Post #852
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


QUOTE(FiniteA @ Sep 20 2013, 00:34) *

Cool. How do you get this way. (IMG:[invalid] style_emoticons/default/tongue.gif)

Btw, if I inject this: var save = document.onkeydown;
then can I access the variable save outside of the scriptElement?

'save' variable is always available in the site side. It can also be available in other scripts injected.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 02:50
Post #853
FiniteA



Active Poster
*******
Group: Members
Posts: 2,419
Joined: 3-November 11
Level 413 (Godslayer)


[pastie.org] HV Keybind 2.5.0

This one should work now. It now correctly disables and reenables the default onkeydown, as suggested by greentea039.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 15:03
Post #854
hentai_fusion



Nyo
************
Group: Gold Star Club
Posts: 33,486
Joined: 14-August 09
Level 500 (Ponyslayer)


QUOTE(FiniteA @ Sep 21 2013, 08:50) *

[pastie.org] HV Keybind 2.5.0

This one should work now. It now correctly disables and reenables the default onkeydown, as suggested by greentea039.


just tried it out... it works...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 15:50
Post #855
nobody_xxx



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


battlemouse scripts is so dangerous when face 8+ mobs (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 15:56
Post #856
Lement



Lalalala la~ la la~!
********
Group: Members
Posts: 2,977
Joined: 28-February 12
Level 326 (Godslayer)


Will be fixed in the next version.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 15:59
Post #857
nobody_xxx



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


QUOTE(Lement @ Sep 21 2013, 20:56) *

Will be fixed in the next version.

it a great scripts , lement (IMG:[invalid] style_emoticons/default/wub.gif)

i never use any scripts before , and this battlemouse is so great (IMG:[invalid] style_emoticons/default/biggrin.gif)


it just become so dangerous when face 8+ mobs in PFUDOR (IMG:[invalid] style_emoticons/default/cry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2013, 16:01
Post #858
brewdonkey



Retired but still hanging around a little
*******
Group: Gold Star Club
Posts: 2,179
Joined: 25-November 11
Level 500 (Dovahkiin)


Anyone else having problems with the "scan" button in HVStat 5.6.3 in FF24? I think 0.77 may have broken it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 22 2013, 15:14
Post #859
hentai_fusion



Nyo
************
Group: Gold Star Club
Posts: 33,486
Joined: 14-August 09
Level 500 (Ponyslayer)


0.77 broke the HVStat script...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 24 2013, 12:03
Post #860
tazmanian devil



RAWR~
********
Group: Catgirl Camarilla
Posts: 3,017
Joined: 24-October 12
Level 500 (Ponyslayer)


QUOTE(brewdonkey @ Sep 21 2013, 09:01) *

Anyone else having problems with the "scan" button in HVStat 5.6.3 in FF24? I think 0.77 may have broken it.



QUOTE(hentai_fusion @ Sep 22 2013, 08:14) *

0.77 broke the HVStat script...

You're using an old version of HV Stat; it was updated fairly quickly to work with 0.77

https://forums.e-hentai.org/index.php?s=&am...t&p=2812831
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 28 2013, 19:13
Post #861
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


HV Equipment PAB Symbols 1.0
Attached File  hv_equipment_pab_symbols.user.zip ( 1.32k ) Number of downloads: 96

-Display symbols of PAB which equipments have on the right side of equipment lists

Symbols
Attached Image
S - Strength
D - Dexterity
A - Agility
E - Endurance
I - Intelligence
W - Wisdom

Example
Attached Image

I'm using this to detect low-value-added equipments.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 1 2013, 06:38
Post #862
ctxl



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


[pastebin.com] http://pastebin.com/raw.php?i=GLKCSRzu

Automatically refreshes HV pages when the following are encountered:
- 503, aka derpy.gif @ 5 seconds between attempts
- Failed to initialize player state @ 2.2 seconds between attempts
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 1 2013, 07:22
Post #863
yobi00



Regular Poster
*****
Group: Members
Posts: 700
Joined: 13-August 13
Level 380 (Godslayer)


QUOTE(ctxl @ Oct 1 2013, 13:38) *

[pastebin.com] http://pastebin.com/raw.php?i=GLKCSRzu

Automatically refreshes HV pages when the following are encountered:
- 503, aka derpy.gif @ 5 seconds between attempts
- Failed to initialize player state @ 2.2 seconds between attempts

The "Failed to initialize player state" part didn't work for me because "HV Random Encounter Notification" script info was also displayed.
Changing
CODE
if (document.body.textContent === "Failed to initialize player state. Try again later.") {
to
CODE
if (document.body.textContent.startsWith("Failed to initialize player state. Try again later.")) {
seemed to work OK.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 2 2013, 11:34
Post #864
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


HV Equipment Attribute Viewer 1.0
Attached File  hv_equipment_attribute_viewer.user.zip ( 6.74k ) Number of downloads: 98


Features

- Show typical attributes of equipments in the pages which display a list of equipments
- Toggle between current values and base values by pressing hotkey 'W'
- Calculate PXP of level 1 if current levels are between 2 and 9
- Support both HV font and custom font

Recommended

- Fast PC
- Zoom to 125% or greater in the browser

Notes

- Each 'PAB' value is the total of PABs.
- Each base value is an approximation, not official.
- Each base value especially weapon damage has a margin of error.
- To reduce the margin of errors, the factor of Magic Damage is used 22+8/11 instead of 22.75 which is written in the wiki.

Layout

Line 1 -> |Class-1|Class-2|Class-3|Class-4|Class-5|PAB|Level+PXP|
Line 2 -> |Prefix|Specific-1|Specific-2|Specific-3|Suffix-1|Suffix-2|Level1 PXP|

Screenshots (Zoom to 150% in Chrome 30)

- Current values
Attached Image

- Base values (when 'W' is pressed)
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 2 2013, 11:37
Post #865
varst



Peerless perverted long-hair-con of the Hentaiverse
***********
Group: Gold Star Club
Posts: 11,561
Joined: 30-March 10
Level 478 (Godslayer)


QUOTE(greentea039 @ Oct 2 2013, 17:34) *

HV Equipment Attribute Viewer 1.0
Attached File  hv_equipment_attribute_viewer.user.zip ( 6.74k ) Number of downloads: 98


- Toggle between current values and base values by pressing hotkey 'W'


Just a note: this will conflict with HV base stat, though it should be easy enough to change in the script.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 3 2013, 20:23
Post #866
SirHarry



Lurker
Group: Gold Star Club
Posts: 2
Joined: 21-April 07
Level 366 (Godslayer)


Hi I want to know if is possible to have a second quickbar because my spells don't fit in 1 thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2013, 12:38
Post #867
千石 撫子



shirahebikami of dream
*******
Group: Gold Star Club
Posts: 1,883
Joined: 30-December 11
Level 500 (Godslayer)


[userstyles.org] [Hentaiverse Chrome Custom font CSS]

update a new mirror,don't know why dissapear
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 42 43 44 45 > » 
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: 22nd January 2025 - 06:55