Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
May 19 2015, 02:30
|
Dreamophobia
Group: Gold Star Club
Posts: 824
Joined: 30-June 13
|
QUOTE(holy_demon @ May 18 2015, 20:21) HV Item Manager 1.4.4
HVItemManager_1.4.4.user.zip ( 9.31k )
Number of downloads: 319Changelog - 1.4.4: - compatibility with HV0.82 - 1.4.3: - uncheck equip after doing bazzaar/moogle/reforge/salvage - unlock before moogling, as item locked state is carried over between owners - auto-unlock and relock item when reforging. - double-check for bazzaaring and salvaging IWed equips Thanks for update. (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
|
|
May 19 2015, 08:33
|
djackallstar
Group: Gold Star Club
Posts: 8,211
Joined: 23-July 14
|
QUOTE(ctxl @ Sep 27 2014, 22:07) now hides your useless salvaged/sold account-bound junk by default you're given a [ i.imgur.com] 'Show All' thing to click if you want them back [ pastie.org] pastie[ pastebin.com] pastebinFor anyone who is using this script, by editing the source code you can hide untradeable equipment pieces. Step 1. Search for the term Account Bound. Step 2. Replace them with Untradeable.
|
|
|
|
|
|
May 19 2015, 10:26
|
simplesimon32
Group: Gold Star Club
Posts: 569
Joined: 18-January 14
|
Haven't been able to test with a lot of things, and it's probably still missing a few bits, but I've updated the Equipment Comparison script to work not face-plant with the new patch. IMPORTANT: Note that the script's base values have not been changed, since as far as I know they have not been deciphered just yet. This means that new equips will still be measured against the old base values. Keep this in mind if you try to use this to rate new equips. The main reason I'm releasing this now is for the people who want to use it to compare new stuff against their current equips ('q' key), which I think works correctly. Keys 'w' and 't' also work, as do 'e' and 'b', but again, they're using the old base values. Attempts to open wiki pages ('r' key) don't always go to the right page, but I'd need more examples to figure out why; 'f' is almost too simple to break.
HVEquipComparison_0.6.4.3.zip ( 23.74k )
Number of downloads: 338As always, bugs reports/fixes/etc are always welcome, and I'd be surprised if there aren't any in there. Edit: Noticed that the magic score script was broken too, and since it uses a stripped-down version of the same parser, I imported the same fix and yay, it works! No intention of taking over the project or anything, but it was literally a single-line edit, so why not fix it?
HVMagicScores_2.0.3.2.zip ( 4.84k )
Number of downloads: 441This post has been edited by simplesimon32: May 19 2015, 10:37
|
|
|
|
|
|
May 19 2015, 13:09
|
Razor320
Group: Members
Posts: 220
Joined: 17-October 13
|
simplesimon32, thanks for HVEquipComparison update. In turn i also will post an update for ShopFilterPlus, version gamma. Now it have synthetic "Everything" tab with statistical price estimator.
hv_shop_filter_plus.zip ( 49.31k )
Number of downloads: 66 Contains some junk in code. Tested only on Firefox 31.0, probably won't work on later versions due to changes in security policies.
|
|
|
May 19 2015, 13:11
|
djackallstar
Group: Gold Star Club
Posts: 8,211
Joined: 23-July 14
|
QUOTE(oohmrparis @ Sep 20 2014, 18:20) HV conditioner v1.5
HV_conditioner_v1.5.user.js.zip ( 2.67k )
Number of downloads: 103 -snip- In the 0.82 patch, catalysts are no longer needed when repairing an equipment. To make the script work: Step 1. Search for this line cCost = equip.match(/(\d+)x (.+Catalyst)/); Step 2. Replace it with this line: cCost = 0;
|
|
|
|
|
|
May 19 2015, 13:29
|
oohmrparis
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
|
QUOTE(simplesimon32 @ May 19 2015, 10:26) Haven't been able to test with a lot of things, and it's probably still missing a few bits, but I've updated the Equipment Comparison script to work not face-plant with the new patch. IMPORTANT: Note that the script's base values have not been changed, since as far as I know they have not been deciphered just yet. This means that new equips will still be measured against the old base values. Keep this in mind if you try to use this to rate new equips. The main reason I'm releasing this now is for the people who want to use it to compare new stuff against their current equips ('q' key), which I think works correctly. Keys 'w' and 't' also work, as do 'e' and 'b', but again, they're using the old base values. Attempts to open wiki pages ('r' key) don't always go to the right page, but I'd need more examples to figure out why; 'f' is almost too simple to break.
HVEquipComparison_0.6.4.3.zip ( 23.74k )
Number of downloads: 338As always, bugs reports/fixes/etc are always welcome, and I'd be surprised if there aren't any in there. Edit: Noticed that the magic score script was broken too, and since it uses a stripped-down version of the same parser, I imported the same fix and yay, it works! No intention of taking over the project or anything, but it was literally a single-line edit, so why not fix it?
HVMagicScores_2.0.3.2.zip ( 4.84k )
Number of downloads: 441I tried to fix Equipment Comparison The calculation method of the base level seems to be different from the new equipment by the old equipment. I do not understand a calculating formula to see wiki either (IMG:[ invalid] style_emoticons/default/faint.gif)
|
|
|
|
|
|
May 19 2015, 14:13
|
tetron
Group: Gold Star Club
Posts: 5,583
Joined: 30-July 14
|
QUOTE(simplesimon32 @ May 19 2015, 13:56) Haven't been able to test with a lot of things, and it's probably still missing a few bits, but I've updated the Equipment Comparison script to work not face-plant with the new patch. IMPORTANT: Note that the script's base values have not been changed, since as far as I know they have not been deciphered just yet. This means that new equips will still be measured against the old base values. Keep this in mind if you try to use this to rate new equips. The main reason I'm releasing this now is for the people who want to use it to compare new stuff against their current equips ('q' key), which I think works correctly. Keys 'w' and 't' also work, as do 'e' and 'b', but again, they're using the old base values. Attempts to open wiki pages ('r' key) don't always go to the right page, but I'd need more examples to figure out why; 'f' is almost too simple to break.
HVEquipComparison_0.6.4.3.zip ( 23.74k )
Number of downloads: 338As always, bugs reports/fixes/etc are always welcome, and I'd be surprised if there aren't any in there. Edit: Noticed that the magic score script was broken too, and since it uses a stripped-down version of the same parser, I imported the same fix and yay, it works! No intention of taking over the project or anything, but it was literally a single-line edit, so why not fix it?
HVMagicScores_2.0.3.2.zip ( 4.84k )
Number of downloads: 441Thanks. It's working. @oohmrparis, can you please fix your ELP scripts? They were very helpful in the forum. QUOTE(oohmrparis @ May 4 2015, 22:05)
HV___Magic_Scores_for_ELP.user.zip ( 4.61k )
Number of downloads: 151
HVEquipCompare_for_ELP.user.zip ( 22.23k )
Number of downloads: 194 This post has been edited by tetron: May 19 2015, 14:16
|
|
|
|
|
|
May 19 2015, 14:44
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12
|
QUOTE(djackallstar @ May 18 2015, 23:33) For anyone who is using this script, by editing the source code you can hide untradeable equipment pieces. Step 1. Search for the term Account Bound. Step 2. Replace them with Untradeable.
Here's a [ gist.github.com] newer version with more [ i.imgur.com] features. The default behavior is defined (and can be easily modified) in the last few lines.
|
|
|
May 19 2015, 15:30
|
djackallstar
Group: Gold Star Club
Posts: 8,211
Joined: 23-July 14
|
QUOTE(oohmrparis @ May 19 2015, 19:29) I tried to fix Equipment Comparison The calculation method of the base level seems to be different from the new equipment by the old equipment. I do not understand a calculating formula to see wiki either (IMG:[ invalid] style_emoticons/default/faint.gif) Do you mean that you feel there is a new formula to calculate this in this patch?
|
|
|
May 19 2015, 16:20
|
oohmrparis
Group: Gold Star Club
Posts: 521
Joined: 18-June 13
|
QUOTE(djackallstar @ May 19 2015, 15:30) Do you mean that you feel there is a new formula to calculate this in this patch? Yep. But HVEquipComparison_0.6.4.3 seems to solve the problem of the base value. But range problem is not fixed yet.
|
|
|
May 19 2015, 17:01
|
darkx
Group: Members
Posts: 1,197
Joined: 3-December 06
|
QUOTE(simplesimon32 @ May 19 2015, 04:26) The main reason I'm releasing this now is for the people who want to use it to compare new stuff against their current equips ('q' key), which I think works correctly. Keys 'w' and 't' also work, as do 'e' and 'b', but again, they're using the old base values. Attempts to open wiki pages ('r' key) don't always go to the right page, but I'd need more examples to figure out why; 'f' is almost too simple to break.
HVEquipComparison_0.6.4.3.zip ( 23.74k )
Number of downloads: 338Thanks!
|
|
|
|
|
|
May 19 2015, 17:34
|
djackallstar
Group: Gold Star Club
Posts: 8,211
Joined: 23-July 14
|
QUOTE(ctxl @ May 19 2015, 20:44) Here's a [ gist.github.com] newer version with more [ i.imgur.com] features. The default behavior is defined (and can be easily modified) in the last few lines. Thanks for the update! However, after selecting different options, the select element always shows the first option: (IMG:[ i.imgur.com] http://i.imgur.com/jrnB6Cs.png) Same for the other select element, which always shows "quality" even if I click "default". I tested this when disabling all other userscripts except hvsort.user.js, on Fx 38.0.1 (the latest version). Brower Console shows no error message. update: function (y) { var _options = y.target; var z = _options.parentNode; z.firstChild.style.display = null; z.firstChild.innerText = _options.children[_options.selectedIndex].innerHTML; var _header = _options.parentNode.parentNode; var _hide = _header.childNodes[1].childNodes[0].innerHTML; console.log(_hide); // always "untradeable" var _sort = _header.childNodes[3].childNodes[0].innerHTML; console.log(_sort); // always "quality"QUOTE(oohmrparis @ May 19 2015, 22:20) Yep. But HVEquipComparison_0.6.4.3 seems to solve the problem of the base value. But range problem is not fixed yet.
I see. We need to wait for the wiki to be updated to fix the problem. EDIT: typo. This post has been edited by djackallstar: May 20 2015, 04:24
|
|
|
|
|
|
May 19 2015, 22:37
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12
|
Looks like Firefox isn't applying innerText. Changing that to innerHTML should fix things; I've updated the gist.
|
|
|
May 20 2015, 02:58
|
gynew
Group: Members
Posts: 2,019
Joined: 27-December 08
|
Since some hours after the HV 0.82 patch, whenever I try to compare an equipment I just get the Loading.. (Everytime I press again a compare key I get an additional Loading.. )I didn't pay much attention to it then, but now I've just installed HVEquipComparison_0.6.4.3 and I still only get the Loading.. I've cleared all my cookies, I've tried it disabling all other userscripts and addons except Greasemonkey and HVEquipComparison_0.6.4.3, on Mozilla Firefox 38.0.1 (the lastest version). Any help please? (IMG:[ i.imgur.com] http://i.imgur.com/9RPhVvS.png?1)
|
|
|
|
|
|
May 20 2015, 03:06
|
sssss2
Group: Gold Star Club
Posts: 3,925
Joined: 11-April 14
|
QUOTE(gynew @ May 20 2015, 09:58) Since some hours after the HV 0.82 patch, whenever I try to compare an equipment I just get the Loading.. (Everytime I press again a compare key I get an additional Loading.. )I didn't pay much attention to it then, but now I've just installed HVEquipComparison_0.6.4.3 and I still only get the Loading.. I've cleared all my cookies, I've tried it disabling all other userscripts and addons except Greasemonkey and HVEquipComparison_0.6.4.3, on Mozilla Firefox 38.0.1 (the lastest version). Any help please? (IMG:[ i.imgur.com] http://i.imgur.com/9RPhVvS.png?1) CODE saveData: function(eq) { var level = eq.querySelector('.fd4'); if (level.textContent.indexOf('Level') != -1 || level.textContent.indexOf('嶺?') != -1) level = level.textContent; else level = Controller.toText(level); if (level.indexOf('Level') != -1) localStorage.setItem('HVLevel',level.match(/(\d+)/)[1]);
Replace the upper codes with the ones below. CODE saveData: function(eq) { var level = eq.evaluate('.//div[starts-with(text(),"Level")]',eq,null,9,null).singleNodeValue; if (level) localStorage.setItem('HVLevel',level.textContent.match(/(\d+)/)[1]);
This post has been edited by sssss2: May 20 2015, 03:21
|
|
|
|
|
|
May 20 2015, 03:25
|
gynew
Group: Members
Posts: 2,019
Joined: 27-December 08
|
Wow, Thanks a lot sssss2! It seems that solved the problem. I wonder what happened? (IMG:[ invalid] style_emoticons/default/wacko.gif)
|
|
|
May 20 2015, 06:57
|
djackallstar
Group: Gold Star Club
Posts: 8,211
Joined: 23-July 14
|
QUOTE(ctxl @ May 20 2015, 04:37) Looks like Firefox isn't applying innerText. Changing that to innerHTML should fix things; I've updated the gist.
Thank you, it works now. Thanks to the well-written code, it's very easy to add my own filters. QUOTE(gynew @ May 20 2015, 09:25) Wow, Thanks a lot sssss2! It seems that solved the problem. I wonder what happened? (IMG:[ invalid] style_emoticons/default/wacko.gif) This line: var level = eq.querySelector('.fd4'); is intended to grab the DIV element that contains the level info, but due to the layout change in 0.82, it fails. This post has been edited by djackallstar: May 20 2015, 06:58
|
|
|
|
|
|
May 20 2015, 10:12
|
chjj30
Group: Catgirl Camarilla
Posts: 10,851
Joined: 5-January 14
|
QUOTE(ctxl @ May 20 2015, 04:37) Looks like Firefox isn't applying innerText. Changing that to innerHTML should fix things; I've updated the gist.
Thanks! Now it works right in Firefox!
|
|
|
|
|
|
May 20 2015, 18:03
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
QUOTE(oohmrparis @ May 19 2015, 21:29) I tried to fix Equipment Comparison The calculation method of the base level seems to be different from the new equipment by the old equipment. I do not understand a calculating formula to see wiki either (IMG:[ invalid] style_emoticons/default/faint.gif) if the equipment has a level, the displayed stats are scaled to the equipment's level (basically, a level 1 and a level 500 player will see the same number) If the equipment doesn't have a level (unassigned or soulfused), the displayed stats are scaled to the level of the player who views it. yeah it's confusing. Hope it helps
|
|
|
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|