Welcome Guest ( Log In | Register )

291 Pages V « < 100 101 102 103 104 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post May 19 2015, 02:30
Post #2021
Dreamophobia



Married.
******
Group: Gold Star Club
Posts: 824
Joined: 30-June 13
Level 500 (Godslayer)


QUOTE(holy_demon @ May 18 2015, 20:21) *

HV Item Manager 1.4.4
Attached File  HVItemManager_1.4.4.user.zip ( 9.31k ) Number of downloads: 319


Changelog

- 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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 08:33
Post #2022
djackallstar



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


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] pastebin

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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 10:26
Post #2023
simplesimon32



Regular Poster
*****
Group: Gold Star Club
Posts: 569
Joined: 18-January 14
Level 500 (Ponyslayer)


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.

Attached File  HVEquipComparison_0.6.4.3.zip ( 23.74k ) Number of downloads: 338


As 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?

Attached File  HVMagicScores_2.0.3.2.zip ( 4.84k ) Number of downloads: 441


This post has been edited by simplesimon32: May 19 2015, 10:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 13:09
Post #2024
Razor320



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


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.

Attached File  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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 13:11
Post #2025
djackallstar



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


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: 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;
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 13:29
Post #2026
oohmrparis



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


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.

Attached File  HVEquipComparison_0.6.4.3.zip ( 23.74k ) Number of downloads: 338


As 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?

Attached File  HVMagicScores_2.0.3.2.zip ( 4.84k ) Number of downloads: 441



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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 14:13
Post #2027
tetron



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


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.

Attached File  HVEquipComparison_0.6.4.3.zip ( 23.74k ) Number of downloads: 338


As 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?

Attached File  HVMagicScores_2.0.3.2.zip ( 4.84k ) Number of downloads: 441


Thanks. 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) *

Attached File  HV___Magic_Scores_for_ELP.user.zip ( 4.61k ) Number of downloads: 151

Attached File  HVEquipCompare_for_ELP.user.zip ( 22.23k ) Number of downloads: 194



This post has been edited by tetron: May 19 2015, 14:16
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 14:44
Post #2028
ctxl



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


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 15:30
Post #2029
djackallstar



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


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 16:20
Post #2030
oohmrparis



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


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 17:01
Post #2031
darkx



Active Poster
*******
Group: Members
Posts: 1,197
Joined: 3-December 06
Level 488 (Godslayer)


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.

Attached File  HVEquipComparison_0.6.4.3.zip ( 23.74k ) Number of downloads: 338




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

 
post May 19 2015, 17:34
Post #2032
djackallstar



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2015, 22:37
Post #2033
ctxl



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


Looks like Firefox isn't applying innerText.
Changing that to innerHTML should fix things; I've updated the gist.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 02:58
Post #2034
gynew



Hungry Wolf
*******
Group: Members
Posts: 2,019
Joined: 27-December 08
Level 407 (Godslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 03:06
Post #2035
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,925
Joined: 11-April 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 03:25
Post #2036
gynew



Hungry Wolf
*******
Group: Members
Posts: 2,019
Joined: 27-December 08
Level 407 (Godslayer)


Wow, Thanks a lot sssss2! It seems that solved the problem.
I wonder what happened? (IMG:[invalid] style_emoticons/default/wacko.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 06:57
Post #2037
djackallstar



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 10:12
Post #2038
chjj30



🦘跳海魔女🧙王世坚🌊
***********
Group: Catgirl Camarilla
Posts: 10,851
Joined: 5-January 14
Level 500 (Ponyslayer)


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!
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 20 2015, 18:03
Post #2039
holy_demon



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 21 2015, 00:38
Post #2040
Cats Lover



Peerless Cat's Lover of 1H Power (since 0 lvl)
********
Group: Gold Star Club
Posts: 2,800
Joined: 18-April 13
Level 500 (Godslayer)


Thanks for updates working on 0.82! (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 100 101 102 103 104 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 15th January 2025 - 20:53