Welcome Guest ( Log In | Register )

291 Pages V « < 85 86 87 88 > »   
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 27 2014, 23:30
Post #1707
Owyn



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


QUOTE(screwit @ Sep 26 2014, 16:03) *

Thanks, that was my impression, too. I guess it was threadcleaning then.

Attached Image
I'd call it Textverse, Monster HP display is decent, debuffs, too I guess, the quickbar however is fairly ugly, but works.
At this point everything works, but I'm still struggling to style things nicely, clipping issues, and so on.

doesn't look much decent to me, I couldn't play with such view,

but, you know you can emulate images with text, right?
write:

Kodou Yuki
HP: |||||||||||||||
MP: |||||||||||||||
SP: |||||||||||||||

that would look almost like in original and definately way better than just numbers you can't intuitively understand without reading

same goes to everything, player hp could be done in two overlapping divs (bottom one with |||, top one with hp numbers) (or somehow css better & more complex, 2 divs is just a first idea)
+ unicode simbols\smiles could be used instead of status effect icons like:
stunned - ♈
burns etc - ♨
dead - ☠
coalesced mana - ★ or ☆
imperil - ♐
weaken - ☇
sleep - ☪


[jrgraphix.net] http://jrgraphix.net/r/Unicode/2600-26FF

that's something people would like to see playing

This post has been edited by Owyn: Sep 27 2014, 23:31
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 28 2014, 18:31
Post #1708
screwit



Newcomer
*
Group: Recruits
Posts: 10
Joined: 27-July 11
Level 312 (Dovahkiin)


That is some helpful feedback, thanks Owyn. Knew it would be a long way before that could be useful to more people.
For myself, just having HP numbers and (de)buff names was enough, I found HP numbers easy to use once the dots were in.
I guess adding bars and scaling them like HVSTAT does is a must.

Player HP etc, I was going to mirror this above the Monsters, so it is more apparent if you are in a bad state.

I dropped the css-bar drawing I had for simplicity, but I really like the idea of using unicode-characters to draw bars.
My issue with the bar drawing in css was placing the numbers inside the bar, not getting squished by the borders without adding another element, so I scrapped that for the time being.
Didn't want to slow things down too much by excessive DOM additions.
All I did was edit the ALT text and style to actually make things appear
After all the point is being faster than vanilla image driven HV.
Once I get the hang of styling efficiently I'll revisit this.



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

 
post Sep 29 2014, 05:35
Post #1709
holy_demon



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


RiddleLimiter Plus 1.2.0
Attached File  RiddleLimiterPlus_1.2.0.user.zip ( 1001bytes ) Number of downloads: 591


Add big, red, clickable buttons to PonyRiddle so you don't have to type in the answer
Pressing 1,2,3 once to fill A,B,C respectively into the answer box, twice to submit. Same behaviour for A,B,C key as well. You also don't have to delete if you type in the wrong answer, you just need to press the correct key.

Also play a very catchy tune from Hey Ya (Outkast) to inspire you to choose the correct answer xD

Change the value of songURL to change to your own ringtone
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 29 2014, 16:29
Post #1710
Razor320



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


When you told about 'text-based' HV, i imagined it more like old text-based quests. With input box and macro support xD
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 30 2014, 18:29
Post #1711
tetron



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


QUOTE(Owyn @ Sep 28 2014, 03:00) *

doesn't look much decent to me, I couldn't play with such view,

but, you know you can emulate images with text, right?
write:

Kodou Yuki
HP: |||||||||||||||
MP: |||||||||||||||
SP: |||||||||||||||

that would look almost like in original and definately way better than just numbers you can't intuitively understand without reading

same goes to everything, player hp could be done in two overlapping divs (bottom one with |||, top one with hp numbers) (or somehow css better & more complex, 2 divs is just a first idea)
+ unicode simbols\smiles could be used instead of status effect icons like:
stunned - ♈
burns etc - ♨
dead - ☠
coalesced mana - ★ or ☆
imperil - ♐
weaken - ☇
sleep - ☪


[jrgraphix.net] http://jrgraphix.net/r/Unicode/2600-26FF

that's something people would like to see playing

+1
That's a pretty decent idea! (IMG:[invalid] style_emoticons/default/ohmy.gif)

I'll make a script once I'm done with my Bounty works. (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 1 2014, 08:24
Post #1712
LQj47gmTELOcoxwt



Casual Poster
****
Group: Members
Posts: 411
Joined: 19-August 14
Level 464 (Dovahkiin)


hide account-bound and junks
[pastie.org] Remove Account-Bound test

i want to become able to make more light scripts.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 1 2014, 10:13
Post #1713
Razor320



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


It is better to use DOM modification methods instead of replacing html directly. First - it is way faster, then - when you change html text all elements within same parent will be rebuilt, so they will drop any attributes or event listeners set up from javascript.

At last, methods family 'querySelector*' returns static array of elements. So you don't need second loop to remove elements.

This post has been edited by Razor320: Oct 1 2014, 10:13
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 2 2014, 00:36
Post #1714
Pickled_Cow



My lid is stuck.
*********
Group: Gold Star Club
Posts: 6,377
Joined: 22-November 06
Level 500 (Ponyslayer)


Everyone here is aware that I did this right?
https://forums.e-hentai.org/index.php?showtopic=170930
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 3 2014, 13:19
Post #1715
djackallstar



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


Script Name
    E-Hentai Grep
Description
  • Searches forum posts for lines that match given string patterns
  • The main usage is to search for equipments or items in shop threads
  • Press G to toggle the result box
  • Customizable: string patterns, hotkey, max length of result lines, blacklist of threads, position of the result box, whether to show the result box when entering a page
Demo
    _
Download and InstallationSettings
  • Open the source file and edit the settings section.
  • default_on - Set to "true" if you want the result box to appear on page load; "false" otherwise. Default: true.
  • hotkey - The keycode of hotkey to toggle the result box. You can visit [www.cambiaresearch.com] this website to get other keycodes. Default: 71 (the G key).
  • grep_patterns - The string patterns to be searched for. Default: my personal string patterns. (IMG:[invalid] style_emoticons/default/tongue.gif)
  • max_length - A line will be trimmed to max_length of characters if it is longer than this value. Default: 60.
  • blacklist - A list of thread IDs where the script is disabled. Default: 163637 (The Shared Free Shop), 22234 (Ask the Experts).
  • result_box_position - Where to put the result box: left, center, or right. Default: left.
  • display_title_and_poster: Whether to show the shop title and poster in the first result box. Default: false.
  • remove_stockout_line: Whether to remove lines containing "patterns of stockout". Default: true.
      Some examples of line containing "patterns of stockout"
        Precursor Artifact [stock*0] 13k
        Repurposed Actuator【0】Price: @36000c
        None x Crystal of Tempest (7.5)
        (0) High-Grade Cloth --- 8,000c each
  • remove_strike_through_line: Whether to remove strike-through strings. Default: true.
  • remove_quoted_text: Whether to remove quoted text (to prevent duplicate results). Default: true.
Changelog
  • 2015/09/08
    • You can now change the .style.cssText attribute of the text, by modifying the 3rd element (which is a CSS string) in a group of patterns. It will overwrite other CSS effects of that group when non-empty.
  • 2014/12/21
    • Added an option: remove_quoted_text
  • 2014/10/04
    • Made the text and background colors suitable for both the Ambience and the Fusion skins.
    • The script can now highlight links with given string patterns using specified colors. (see the Demo section)
    • Added an option: result_box_position
  • 2014/10/03
    • Initial post
Feedback
To report bugs, request features, or if you have any feedback, please PM me or reply to this thread.


This post has been edited by djackallstar: Mar 17 2016, 12:23
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2014, 04:57
Post #1716
djackallstar



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


A quick question: How to select the area containing pinned threads using only CSS selectors without the help of JS?

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

This post has been edited by djackallstar: Oct 5 2014, 05:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 5 2014, 22:42
Post #1717
Razor320



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


QUOTE(djackallstar @ Oct 5 2014, 06:57) *

A quick question: How to select the area containing pinned threads using only CSS selectors without the help of JS?

It is impossible. After all CSS is not intended for document parsing.

If you want, you could try to load script at document-start, use mutation events to watch HTML as it parses into DOM structure and apply custom style to this threads before they would be processed by rendering engine.

Edit
Though, you can use css selectors to select n-th child. If you want, for example, to hide pinned threads in some specific forum you could just hide first n children from topics table. Needless to say this solution lacks in flexibility, but will work.

This post has been edited by Razor320: Oct 5 2014, 22:46
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 6 2014, 04:30
Post #1718
djackallstar



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


QUOTE(Razor320 @ Oct 6 2014, 04:42) *

It is impossible. After all CSS is not intended for document parsing.

If you want, you could try to load script at document-start, use mutation events to watch HTML as it parses into DOM structure and apply custom style to this threads before they would be processed by rendering engine.

Edit
Though, you can use css selectors to select n-th child. If you want, for example, to hide pinned threads in some specific forum you could just hide first n children from topics table. Needless to say this solution lacks in flexibility, but will work.

Gotcha, thanks.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 7 2014, 23:19
Post #1719
Gasior



Anti-social suicide (during treatment)
********
Group: Members
Posts: 2,667
Joined: 20-October 10
Level 477 (Godslayer)


Made in free time.

HV Equipment Comparison 0.6.4.0

Attached File  HVEquipCompare_0.6.4.0.zip ( 21.15k ) Number of downloads: 1826


- Update to Wiki Ranges data (26 August 2014)
- Update to HV 0.81
- Added " T " hotkey to calculate approximate base values before forge&iw (not sure about iw part)
-- work only on pages where you can see "Upgrades and Enchantments"
- Now also compares Durability (max Condition)

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

 
post Oct 8 2014, 17:23
Post #1720
tetron



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


QUOTE(Gasior @ Oct 8 2014, 02:49) *

Made in free time.

HV Equipment Comparison 0.6.4.0

Attached File  HVEquipCompare_0.6.4.0.zip ( 21.15k ) Number of downloads: 1826


- Update to Wiki Ranges data (26 August 2014)
- Update to HV 0.81
- Added " T " hotkey to calculate approximate base values before forge&iw (not sure about iw part)
-- work only on pages where you can see "Upgrades and Enchantments"
- Now also compares Durability (max Condition)


Pros:
Finally a version that is working with Account Bound equipments.

Cons:
The old .0x points of comparison was better than the new .x points of comparison though.
Many of the new values used for comparison doesn't show correct comparison. (IMG:[invalid] style_emoticons/default/wacko.gif)
Example:

Legendary Shocking Redwood Staff of The Elementalist
Attached ImageAttached Image
Attached Image

This post has been edited by tetron: Oct 8 2014, 17:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 8 2014, 19:11
Post #1721
Dan31



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


QUOTE(tetron @ Oct 8 2014, 17:23) *

Many of the new values used for comparison doesn't show correct comparison. (IMG:[invalid] style_emoticons/default/wacko.gif)

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

 
post Oct 8 2014, 19:23
Post #1722
tetron



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


QUOTE(Dan31 @ Oct 8 2014, 22:41) *

For example?

Nothing sort of particular. The errors are because of the new .x comparison rather than the old .0x comparison.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 8 2014, 21:43
Post #1723
Gasior



Anti-social suicide (during treatment)
********
Group: Members
Posts: 2,667
Joined: 20-October 10
Level 477 (Godslayer)


Change USE_MULTIPLIER to FALSE at the beginning of script.
Then it should show comparison in form you want.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 8 2014, 22:39
Post #1724
tetron



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


QUOTE(Gasior @ Oct 9 2014, 01:13) *

Change USE_MULTIPLIER to FALSE at the beginning of script.
Then it should show comparison in form you want.

Exactly what I wanted. Many thanks. Your work is much appreciated. (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by tetron: Oct 8 2014, 22:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 9 2014, 08:40
Post #1725
hentai_fusion



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


QUOTE(Gasior @ Oct 8 2014, 05:19) *

Made in free time.

HV Equipment Comparison 0.6.4.0

Attached File  HVEquipCompare_0.6.4.0.zip ( 21.15k ) Number of downloads: 1826


- Update to Wiki Ranges data (26 August 2014)
- Update to HV 0.81
- Added " T " hotkey to calculate approximate base values before forge&iw (not sure about iw part)
-- work only on pages where you can see "Upgrades and Enchantments"
- Now also compares Durability (max Condition)


thx for the update. (IMG:[invalid] style_emoticons/default/biggrin.gif)

but what does USE_MULTIPLIER do? (IMG:[invalid] style_emoticons/default/blink.gif)

and naturally the calculation of pre-forged/IW-ed base values still needs some work.
so if anyone wants to fine-tune the calculation, you can take a look at my semi-forged and IW-ed Peerless Ethereal Oak Staff of Focus.
the Counter-Resist is IW-ed only while the other stats are forged only. no forged+IW-ed stats though.
(IMG:[invalid] style_emoticons/default/duck.gif)


Player Level 368, approximate pre-forged/IW-ed base values:
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 10 2014, 06:38
Post #1726
Flannel



Newcomer
*
Group: Gold Star Club
Posts: 17
Joined: 13-June 10
Level 389 (Godslayer)


QUOTE(Owyn @ Aug 23 2014, 06:26) *

MouseMelee Lightning++ / HoverPlay 1.8


This script is awesome, thank you so much for sharing it! I'm trying to get both my holy and dark proficiencies up, so I made a quick modification to automatically switch between holy and dark. I hope you don't mind if I share:

simply comment out this line:
CODE
spell = get_first_available_spell(Spell_list, document.getElementById("togpane_magict"));


and replace it with this:
CODE
var Spell_list_holy = ['Smite'];
var Spell_list_dark = ['Corruption'];

if (sessionStorage.nextSpellType === "holy")
    {
        sessionStorage.nextSpellType = "dark";
        spell = get_first_available_spell(Spell_list_holy, document.getElementById("togpane_magict"));
    }
else
    {
        sessionStorage.nextSpellType = "holy";
        spell = get_first_available_spell(Spell_list_dark, document.getElementById("togpane_magict"));
    }


Happy grinding!

This post has been edited by Flannel: Oct 10 2014, 07:46
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 85 86 87 88 > » 
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 - 17:00