Welcome Guest ( Log In | Register )

291 Pages V « < 83 84 85 86 > »   
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 17 2014, 01:43
Post #1667
djackallstar



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


QUOTE(kserox @ Sep 17 2014, 03:12) *

By the way, how do you people repair stuff using this script? By pressing RMB on item in equipment tab? It gives me only standart browser RMB menu (Back, Reload, Save As etc).

Make sure you have sufficient required materials, and then right-click to repair equipments. It works for me.
(IMG:[i.imgur.com] http://i.imgur.com/U01EGTH.png)

This post has been edited by djackallstar: Sep 17 2014, 01:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 04:20
Post #1668
kserox



Poster Irregular
*****
Group: Catgirl Camarilla
Posts: 727
Joined: 26-December 10
Level 500 (Godslayer)


QUOTE(djackallstar @ Sep 17 2014, 05:43) *

Make sure you have sufficient required materials, and then right-click to repair equipments. It works for me.

I'm sure I have enough materials for repair. Just bought some reagents.
And by the way, I don't have that "Required x Type (All)" material string at the bottom when mouseover equip. Very weird.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 04:48
Post #1669
djackallstar



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


QUOTE(kserox @ Sep 17 2014, 10:20) *

I'm sure I have enough materials for repair. Just bought some reagents.
And by the way, I don't have that "Required x Type (All)" material string at the bottom when mouseover equip. Very weird.

Can't reproduce the bug (IMG:[invalid] style_emoticons/default/sad.gif)
You might want to ask oohmrparis for help.
I suggest you provide some debugging info such as environments, screenshots of the msgs in browser consoles, equips that produce this bug, etc.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 07:02
Post #1670
kserox



Poster Irregular
*****
Group: Catgirl Camarilla
Posts: 727
Joined: 26-December 10
Level 500 (Godslayer)


QUOTE(djackallstar @ Sep 17 2014, 08:48) *

Can't reproduce the bug (IMG:[invalid] style_emoticons/default/sad.gif)
You might want to ask oohmrparis for help.
I suggest you provide some debugging info such as environments, screenshots of the msgs in browser consoles, equips that produce this bug, etc.

Looked at the browser console. Interesting. So every time I mouseovering an equip, another error pops (46 mouseovers on the cap).

Attached Image

So something is wrong with my session storage? I'm using Iron, script ver. 1.4.1.

This post has been edited by kserox: Sep 17 2014, 07:03
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 08:39
Post #1671
djackallstar



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


QUOTE(kserox @ Sep 17 2014, 13:02) *

Looked at the browser console. Interesting. So every time I mouseovering an equip, another error pops (46 mouseovers on the cap).
Attached Image
So something is wrong with my session storage? I'm using Iron, script ver. 1.4.1.

1. Go to http://hentaiverse.org/?s=Character&ss=eq
2. Run this line in the browser console
delete sessionStorage

3. Reload the page
4. Run this line in the browser console and make a screenshot
for(var k in sessionStorage) { console.log('key='+k+', value='+sessionStorage[k]) }


===

I'm guessing that the problem comes from here:
sessionStorage.setItem('materials', JSON.stringify(materials));
sessionStorage.setItem('cost', JSON.stringify(cost));

Maybe JSON.stringify(...) returns 'undefined' so you see the 'token u' error.

This post has been edited by djackallstar: Sep 17 2014, 08:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 09:11
Post #1672
kserox



Poster Irregular
*****
Group: Catgirl Camarilla
Posts: 727
Joined: 26-December 10
Level 500 (Godslayer)


Yep, result of
CODE
for(var k in sessionStorage) { console.log('key='+k+', value='+sessionStorage[k]) }
command was "undefined" and that was it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 17 2014, 11:00
Post #1673
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


Iron v31 + script v1.4.1 works fine.
your error cause is can't get cost and item data.
It is necessary to check it in detail to revise it.
You should use other scripts if troublesome.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2014, 10:59
Post #1674
ginjok



The Villain
*******
Group: Gold Star Club
Posts: 1,736
Joined: 23-April 12
Level 500 (Godslayer)


QUOTE(Owyn @ Sep 10 2014, 09:27) *

saw your pm first, answered there.
not sure if I should - I heard there are already other scripts to do exactly this + hoverplay was made to speed things up, not give some tactical advantage... maybe if others agree.

+what color should 'the line border' be when the script is stopped by channeling?

It's a good option to have.
And some deprecating if possible.

Also is there a code for me to change the first spell on round to first two (or more) for instance?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2014, 19:12
Post #1675
djackallstar



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


Script Name
Equipment Highlighter for E-Hentai Forums

Description
The script highlights equipment names with colors in the WTS/WTB Forums.
You can decide the names to be highlighted, and the colors you want to use.

Features
• Can do all what Ctrl+F can do, and can do many useful things that Ctrl+F can't.
• Highlights multiple search patterns at the same time. Every search pattern has its own color defined by the user.
• Can remember unlimited pre-defined search patterns with unlimited colors, so one needs not to type search patterns manually every time.
• Uses regular expressions, which is useful in many situations than the exact string matching of Ctrl+F.
• For some examples, see https://forums.e-hentai.org/index.php?s=&am...t&p=3537518

Demo
(IMG:[i.imgur.com] http://i.imgur.com/tHMFuFg.png)

Download and Installation
Download link: [github.com] https://github.com/djackallstar/Userscripts...HForums.user.js
How to install: [greasyfork.org] https://greasyfork.org/help/installing-user-scripts

How to Configure the Names to be Highlighted?
Edit the source code, see the comments in the source code for help.
For names, you need to learn some basic [www.w3schools.com] regular expressions.
For colors, you can visit [www.colourlovers.com] this website to find the color codes you want to use.

Bug Reports, Feature Requests, Any Feedback
PM me: https://forums.e-hentai.org/index.php?act=M...amp;MID=1988471

This post has been edited by djackallstar: Sep 20 2014, 03:42
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2014, 19:42
Post #1676
Cleavs



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,317
Joined: 18-January 07
Level 500 (Ponyslayer)


QUOTE(djackallstar @ Sep 19 2014, 19:12) *

Script Name
Equipment Highlight for E-Hentai Forums

Description
The script highlights equipment names with colors in the WTS/WTB Forums.
You can decide the names to be highlighted, and the colors you want to use.

i guess the example refers to 'exq + slaughter' or something similar, right?
and what's the difference with Ctrl + F function (native for every browser)? that you can search also between non-continuous words?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 19 2014, 20:49
Post #1677
Owyn



Casual Fapper
*****
Group: Members
Posts: 692
Joined: 12-May 10
Level 354 (Godslayer)


QUOTE(ginjok @ Sep 19 2014, 12:59) *

It's a good option to have.
And some deprecating if possible.

Also is there a code for me to change the first spell on round to first two (or more) for instance?

you could change
CODE
sessionStorage.nr = 1;

to
CODE
if(!spell){sessionStorage.nr = 1;}

so it would finish "first spell" only when there are no spells found available from the first_spell list, else there is no easy way.

what do you mean by:
QUOTE
And some deprecating if possible.

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

 
post Sep 20 2014, 02:55
Post #1678
djackallstar



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


QUOTE(Scremaz @ Sep 20 2014, 01:42) *

i guess the example refers to 'exq + slaughter' or something similar, right?

My personal setting is as follows:

Dark green
• Exq non-prefixed power of slaughter
• Leg+ power of protection

Dark blue
• Mag+ bad-prefixed rapier of slaughter
• Mag prefixed force shield
• Exq prefixed power of slaughter

QUOTE(Scremaz @ Sep 20 2014, 01:42) *

and what's the difference with Ctrl + F function (native for every browser)? that you can search also between non-continuous words?

It is often for me to open 20+ shops to search for equipments I'm interested in, and I find it quite cumbersome to use Ctrl+F/F3/Shift+F3 in every shop.
Typing is a tedious job, besides, Ctrl+F has no many useful functions I want.
The problems of Ctrl+F/F3/Shift+F3 are as follows:
• It does not remember the search patterns. When you want to search something days later, you have to type it again, which is tedious.
• It can only highlight one search pattern at the same time.
• It uses only one color. I'd like to highlight different equipments with different colors.
• Only exact string matching is supported (for most browsers).

My script
• Can do all what Ctrl+F can do, and can do many useful things that Ctrl+F can't.
• Highlights multiple search patterns at the same time. Every search pattern has its own color defined by the user.
• Can remember unlimited pre-defined search patterns with unlimited colors, so one needs not to type search patterns manually every time.
• Uses regular expressions, which is useful in many situations than the exact string matching of Ctrl+F.

Here are some examples my script can do at the same time, while Ctrl+F can't do even one at a time.
• Highlight all Exquisite+ power of slaughter, must be non-prefixed. Use #00FFFF to highlight.
• Highlight all Magnificent, Legendary and Peerless rapiers, must be prefixed, where the prefix should be Ethereal, Hallowed, Demonic or Tempestuous. The suffix must be Slaughter. Use red to highlight.
• Highlight Peerless or Legendary Rapier, Wakizashi, Dagger and Shortsword, must be prefixed. The suffix must be Slaughter, Nimble, Balance or Swiftness. Use purple to highlight.
• ...

This post has been edited by djackallstar: Sep 20 2014, 03:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 04:30
Post #1679
seireitsu



Newcomer
**
Group: Members
Posts: 50
Joined: 4-September 14
Level 267 (Godslayer)


Is there a script which shows monster hp? I know the values are displayed at the start of each battle but they're out of order and quickly get lost after a few rounds.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 12:20
Post #1680
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


HV conditioner v1.5
Attached File  HV_conditioner_v1.5.user.js.zip ( 2.67k ) Number of downloads: 106

CODE
var prof = {
  filter: 100,
  best: '#1100CD',
  better: '#00B000'
};


ALL : Repair equipment of less than the number of filter when you click. Default is less than 100%. Text color changes red when material is not enough.
Right click : Repair the equipment if the one can repair.
Change text color if the condition is 76 or 51(best) and 77~80 or 52~60(better). Default is blue when best, green when better. Specified in the color name or color code.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 14:59
Post #1681
djackallstar



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


QUOTE(seireitsu @ Sep 20 2014, 10:30) *

Is there a script which shows monster hp? I know the values are displayed at the start of each battle but they're out of order and quickly get lost after a few rounds.

Yes, there is: https://www.youtube.com/watch?v=L1SpR40vxBo
But I don't know the name of that script ~"~

QUOTE(oohmrparis @ Sep 20 2014, 18:20) *

HV conditioner v1.5
Attached File  HV_conditioner_v1.5.user.js.zip ( 2.67k ) Number of downloads: 106

CODE
var prof = {
  filter: 100,
  best: '#1100CD',
  better: '#00B000'
};


ALL : Repair equipment of less than the number of filter when you click. Default is less than 100%. Text color changes red when material is not enough.
Right click : Repair the equipment if the one can repair.
Change text color if the condition is 76 or 51(best) and 77~80 or 52~60(better). Default is blue when best, green when better. Specified in the color name or color code.

Thank you for the update!
I found that the condition strings have moved away from where they should be:
(IMG:[i.imgur.com] http://i.imgur.com/I5fyCdR.png)

I add one line to your code to make the font size smaller
mesText: function(ele, mes, col) {
ele.textContent = mes;
ele.style.color = col;
ele.style.fontSize = '90%'

}


And they become normal now:
(IMG:[i.imgur.com] http://i.imgur.com/tbxeQaY.png)

This post has been edited by djackallstar: Sep 20 2014, 15:07
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 15:59
Post #1682
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


This script is based on the assumption that it does not change the font.
It seems to be changing a little font of you.
CODE
    var conPane = data.create(equips[i], 'div', 'position:absolute;width:105px;font-size:10pt;font-weight:bold;top:24px;right:6px;text-align:right;');

If you changed the CSS here is good.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 16:50
Post #1683
djackallstar



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


QUOTE(oohmrparis @ Sep 20 2014, 21:59) *

This script is based on the assumption that it does not change the font.
It seems to be changing a little font of you.
CODE
    var conPane = data.create(equips[i], 'div', 'position:absolute;width:105px;font-size:10pt;font-weight:bold;top:24px;right:6px;text-align:right;');

If you changed the CSS here is good.

Thanks, I got it fixed (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 18:19
Post #1684
Veince



Casual Poster
***
Group: Gold Star Club
Posts: 118
Joined: 2-October 11
Level 332 (Godslayer)


Which IDE are you guy using?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 20 2014, 18:42
Post #1685
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(Veince @ Sep 21 2014, 02:19) *

Which IDE are you guy using?

NetBeans, debug with Chrome

I'm probably an oddball though
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 21 2014, 00:13
Post #1686
Razor320



Casual Poster
***
Group: Members
Posts: 220
Joined: 17-October 13
Level 361 (Godslayer)


Notepad++, Scratchpad and console from Firefox. Though, i really miss autocompletion.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 83 84 85 86 > » 
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: 15th September 2025 - 21:17