Welcome Guest ( Log In | Register )

291 Pages V « < 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, 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: 339


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: 442


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: 152

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



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,216
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: 522
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: 339




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,216
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,962
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,216
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,914
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 offlineProfile 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

 
post May 21 2015, 20:07
Post #2041
karyl123



Hey Tayo !!!
*******
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11
Level 452 (Godslayer)


[request]

can someone make a script that camouflage monster name in battle ?

its not funny when someone behind me laughing read the monstername "SpermTANK" when I play in public.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 21 2015, 20:19
Post #2042
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


QUOTE(karyl123 @ May 21 2015, 20:07) *

[request]

can someone make a script that camouflage monster name in battle ?

its not funny when someone behind me laughing read the monstername "SpermTANK" when I play in public.

It already exists, look at holy_demon's shop
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 21 2015, 20:22
Post #2043
karyl123



Hey Tayo !!!
*******
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11
Level 452 (Godslayer)


QUOTE(boulay @ May 22 2015, 01:19) *

It already exists, look at holy_demon's shop


Thankyou, didnt notice it (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 21 2015, 20:34
Post #2044
tetron



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


QUOTE(karyl123 @ May 21 2015, 23:37) *

[request]

can someone make a script that camouflage monster name in battle ?

its not funny when someone behind me laughing read the monstername "SpermTANK" when I play in public.

Why the flying fuck would anyone want to play this game in public?? (IMG:[invalid] style_emoticons/default/blink.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 22 2015, 08:19
Post #2045
Void Domain



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10
Level 500 (Godslayer)


QUOTE(tetron @ May 22 2015, 02:34) *

Why the flying fuck would anyone want to play this game in public?? (IMG:[invalid] style_emoticons/default/blink.gif)

They are hardcore players, want to play as much as possible (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 22 2015, 08:30
Post #2046
karyl123



Hey Tayo !!!
*******
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11
Level 452 (Godslayer)


QUOTE(tetron @ May 22 2015, 01:34) *

Why the flying fuck would anyone want to play this game in public?? (IMG:[invalid] style_emoticons/default/blink.gif)


me I am,

when I am on wifi hotspot waiting for my list of hentai download to complete.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 101 102 103 104 > » 
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: 2nd May 2025 - 05:47