Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
May 18 2012, 06:55
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09

|
hotkey3bfix.user.zip ( 624bytes )
Number of downloads: 264This post has been edited by Tiap: May 18 2012, 06:56
|
|
|
May 23 2012, 05:52
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(Tiap @ May 22 2012, 09:15)  ...so I ended up making one anyway for shits and giggles.
magicscores.user.zip ( 1005bytes )
Number of downloads: 544It calculates the scores (relative to the equipped set) for all 7 elements (fire/cold/elec/wind/holy/dark/soul) and prints the results in the statistics pane (below Damage Mitigations). Not posting it in the script thread since I doubt a lot of people (read: no one) would be interested. Must be here, 'cause it's awesome. And also this script has fixed my problems with side panel when using custom font. (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
May 25 2012, 15:14
|
varst
Group: Gold Star Club
Posts: 11,561
Joined: 30-March 10

|
Is there a way to get the equip's raw data just by scrolling over the equip? And I need that to be recorded in a text file.
|
|
|
|
 |
|
May 25 2012, 23:48
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
QUOTE(varst @ May 25 2012, 09:14)  Is there a way to get the equip's raw data just by scrolling over the equip? And I need that to be recorded in a text file.
Equipment stats are generated on page load an inserted in an element attribute for that particular equip. Theoretically, you could write a script that fires when the mouse-over popup is generated to parse only that current piece instead of scraping the entire page. However, JS cannot write data to an external file due to security reasons. The best that could be done is to store the parsed data until the user calls it up and manually copies and pastes it into their text editor of choice.
|
|
|
|
 |
|
May 25 2012, 23:52
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(derpymal @ May 26 2012, 01:48)  Equipment stats are generated on page load an inserted in an element attribute for that particular equip. Theoretically, you could write a script that fires when the mouse-over popup is generated to parse only that current piece instead of scraping the entire page. However, JS cannot write data to an external file due to security reasons. The best that could be done is to store the parsed data until the user calls it up and manually copies and pastes it into their text editor of choice. How about writing it to clipboard? Can JS perform it? (IMG:[ invalid] style_emoticons/default/huh.gif)
|
|
|
|
 |
|
May 26 2012, 02:38
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
QUOTE(Evil Scorpio @ May 25 2012, 17:52)  How about writing it to clipboard? Can JS perform it? (IMG:[ invalid] style_emoticons/default/huh.gif) No. Security. JS is restricted to the sandbox given to it by the browser. For example, you can't access any of HV's script functions from within a userscript because they're in two different sandboxes. However, you can access something like jQuery if it was loaded by another script since they're in the same sandbox.
|
|
|
May 26 2012, 02:58
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09

|
There is an experimental HTML5 File API that (I think) can allow restricted access to the filesystem. It's pretty crappy from the looks of it, though.
|
|
|
May 26 2012, 05:36
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10

|
QUOTE(varst @ May 25 2012, 20:14)  Is there a way to get the equip's raw data just by scrolling over the equip? And I need that to be recorded in a text file.
The one possible way I can think of to make this happen is to write a userscript that makes an AJAX call to a localhost server. On this server you can do all the processing and saving to file. I'm not sure whether you're allowed to AJAX from within a userscript, though.
|
|
|
|
 |
|
May 26 2012, 05:56
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
QUOTE(ChosenUno @ May 25 2012, 23:36)  The one possible way I can think of to make this happen is to write a userscript that makes an AJAX call to a localhost server. On this server you can do all the processing and saving to file.
I'm not sure whether you're allowed to AJAX from within a userscript, though.
That would require setting up a localhost. And I think AJAX is supported, but you might need to include an external framework to make it work.
|
|
|
|
 |
|
May 26 2012, 06:05
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10

|
QUOTE(derpymal @ May 26 2012, 10:56)  That would require setting up a localhost. And I think AJAX is supported, but you might need to include an external framework to make it work.
It's cumbersome, but much better than copy-pasting, isn't it? (IMG:[ invalid] style_emoticons/default/laugh.gif) And once you have it set up, it's pretty much auto-pilot from there. And I think for AJAX, you only really need jQuery to make it simpler on yourself. As for the localhost, just a simple PHP server would do nicely (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
May 26 2012, 06:07
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
jQuery IS an external framework.
|
|
|
May 26 2012, 06:12
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10

|
QUOTE(derpymal @ May 26 2012, 11:07)  jQuery IS an external framework.
Well, you can also do AJAX without jQuery, but that's a bitch to do (IMG:[ invalid] style_emoticons/default/laugh.gif) It's not strictly required though, since he probably won't be releasing the script, so a heavily customised vanilla JavaScript script would work just as well. Btw, I wasn't arguing with your point there (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
 |
|
May 26 2012, 16:31
|
varst
Group: Gold Star Club
Posts: 11,561
Joined: 30-March 10

|
Thanks for the information. (IMG:[ invalid] style_emoticons/default/smile.gif) I doesn't look like there will be some easy solution though. Something like that can probably be used on multiple situations: 1. Record those equip data to be analyzed by excel (or something like that). What derpymal have said QUOTE store the parsed data until the user calls it up and manually copies and pastes it into their text editor of choice.
seems to be okay, though I'm not sure if the storage can hold multiple equip's string. 2. A centralized server-like record where all those equip's data can be stored and shared. I'm not that proficient in programming, so I apologize if it sounds too stupid.
|
|
|
|
 |
|
May 27 2012, 10:41
|
Ilirith
Group: Gold Star Club
Posts: 513
Joined: 31-July 08

|
QUOTE(Evil Scorpio @ May 23 2012, 05:52)  Must be here, 'cause it's awesome. And also this script has fixed my problems with side panel when using custom font. (IMG:[ invalid] style_emoticons/default/biggrin.gif) Definitely an awesome script! Also, my magic score is almost OVER 9000! Magic Scores Fire 9000Cold 3997 Elec 4061 Wind 3936 Holy 1750 Dark 1642 Soul 1696
|
|
|
May 29 2012, 12:17
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(midori_ @ May 29 2012, 11:50)  A little change in script by myself. The following file is about that 1. renew two deprecating magic id which has been changed in version 0.6.7 such as Weaken&Silence. 2.add the new deprecating magic " Imperil" which is added in The Hentaiverse 0.6.7 . Attention :This is Unofficial version based on QuickBar 2 v1.0.3.1 [ docs.google.com] Download QuickBar 2 for Chrome here.
|
|
|
|
 |
|
May 30 2012, 04:45
|
Tamao Serizawa
Group: Gold Star Club
Posts: 119
Joined: 15-February 12

|
QUOTE(LangTuTaiHoa @ Apr 21 2012, 13:45)  So here it is: Karma notifier 1.0. Use like any other script. It will need to see your karma 'not full' once to start working, so if your karma bar is already full when you install this, you won't see the alert right away. Download (remove .txt extension afterwards):
KNotifier.js.txt ( 1.34k )
Number of downloads: 800 Important: open the script and edit the 3 first variables: your username, the text you want for the alert, and how many times it should keep alerting you about each time the karma bar is full (normally 1 for once).Don't know what went wrong.. Follow your instruction, Greasemonkey did not install this script and FF only opening the file with option either to save file (re-download) or cancel.
|
|
|
|
 |
|
May 31 2012, 12:51
|
eqwer
Group: Members
Posts: 2,467
Joined: 19-June 11

|
do we have something can highlight the difficulty setting?
sometimes i did not check carefully, then go straight in arena at x25 difficulty ,
and sometimes i wrongly do hourly in non-x25 difficulty
|
|
|
May 31 2012, 14:09
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(eqwer @ May 31 2012, 14:51)  do we have something can highlight the difficulty setting?
sometimes i did not check carefully, then go straight in arena at x25 difficulty ,
and sometimes i wrongly do hourly in non-x25 difficulty This: QUOTE((Cheater) Tiap @ Apr 25 2012, 01:20) 
extendedconfirms.user.zip ( 1.52k )
Number of downloads: 447Another old one, replaces the [ i1194.photobucket.com] default confirms with some [ i1194.photobucket.com] new ones. Visit this, this and this after you've installed the script to get started. Item World works on Chrome only if you're using TamperMonkey.
|
|
|
2 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
|
 |
 |
 |
|
|
|