|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Sep 3 2012, 03:58
|
n125
Group: Gold Star Club
Posts: 6,282
Joined: 23-May 08
|
@Tiap
One more bug found with the quickbar script. Using Chrome, if you click on a spell in a quickbar while the "You Are Victorious!" dialogue box is displayed, the tab HV is in will crash. I'm not sure what happens in Firefox. It's not really a big deal since you can just load HV in another tab when that happens, but doing that can break some other scripts for the remainder of the battle.
|
|
|
|
|
|
Sep 3 2012, 04:07
|
pureyang
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
|
QUOTE(ChosenUno @ Sep 1 2012, 08:22) I needed this recently, so here goes:
Shrine_Counter.zip ( 1.34k )
Number of downloads: 225 For chrome. Basically this counts the number of trophies and artifacts you currently possess when you visit the shrine page. Thank you. It lists a bunch of "undefined" though: CODE Artifacts: 0, Trophies: 474(boss: undefined, schoolgirl: undefined, gods: undefined). when I have the trophies: CODE ManBearPig Tail 72 Holy Hand Grenade of Antioch 69 Mithra's Flower 66 Dalek Voicebox 69 Lock of Blue Hair 53 Bunny-Girl Costume 52 Hinamatsuri Doll 41 Broken Glasses 52 This post has been edited by mrttao: Sep 3 2012, 04:08
|
|
|
|
|
|
Sep 3 2012, 04:13
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
QUOTE(n125 @ Sep 3 2012, 01:58) Using Chrome, if you click on a spell in a quickbar while the "You Are Victorious!" dialogue box is displayed, the tab HV is in will crash. Anyway, fixed.
|
|
|
Sep 3 2012, 04:22
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08
|
Speaking of Tiap's QUICKBARALLTHETHINGS, I had a look at your code and I think it might break all of the scripts that use my code that highlights the quickbar div as a health warning. Since, y'know, you make it go away.
|
|
|
Sep 3 2012, 04:36
|
n125
Group: Gold Star Club
Posts: 6,282
Joined: 23-May 08
|
QUOTE(Tiap @ Sep 2 2012, 19:13) Anyway, fixed. (IMG:[ invalid] style_emoticons/default/laugh.gif) I use the mouse to select spells while maging. When your mind is on autopilot, sometimes you target the next spell during the page refresh without realizing that the spell you previously cast was enough to finish the round. Thanks for the fix. (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
|
|
Sep 3 2012, 04:41
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10
|
QUOTE(mrttao @ Sep 3 2012, 09:07) Thank you. It lists a bunch of "undefined" though: CODE Artifacts: 0, Trophies: 474(boss: undefined, schoolgirl: undefined, gods: undefined). when I have the trophies: CODE ManBearPig Tail 72 Holy Hand Grenade of Antioch 69 Mithra's Flower 66 Dalek Voicebox 69 Lock of Blue Hair 53 Bunny-Girl Costume 52 Hinamatsuri Doll 41 Broken Glasses 52 I wanted to do it, but then I got lazy. Maybe I'll give it another attempt today. OK and done!
Shrine_Counter.zip ( 1.59k )
Number of downloads: 130Now counts how many trophy of each type (boss/legendary/god) you have. This post has been edited by ChosenUno: Sep 3 2012, 05:23
|
|
|
|
|
|
Sep 3 2012, 04:54
|
Lement
Group: Members
Posts: 2,977
Joined: 28-February 12
|
QUOTE(Tiap @ Sep 2 2012, 20:02) I used to have a script like that, but it would always take some seconds to fetch the data and display it. It ended up being annoying as fuck and I removed it.
Whelp. I guess left-click+ctrl-w is faster. Still, thanks for info.
|
|
|
|
|
|
Sep 3 2012, 05:01
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
QUOTE(derpymal @ Sep 3 2012, 02:22) Speaking of Tiap's QUICKBARALLTHETHINGS, I had a look at your code and I think it might break all of the scripts that use my code that highlights the quickbar div as a health warning. Since, y'know, you make it go away. Added some sort of fix Though I'm not sure if it works on Chrome since I can't get the highlight thing to work with the new HVSTAT QUOTE(n125 @ Sep 3 2012, 02:36) I use the mouse to select spells while maging. When your mind is on autopilot, sometimes you target the next spell during the page refresh without realizing that the spell you previously cast was enough to finish the round. Using the mouse is slow as shit, you should put your two main spells on the first two slots and start hammering Alt+1 amd Alt+2 This post has been edited by Tiap: Sep 3 2012, 05:08
|
|
|
|
|
|
Sep 3 2012, 05:35
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08
|
QUOTE(Tiap @ Sep 2 2012, 23:01) Added some sort of fix
Adding the new buttons to the original QB div will probably work. You might need to adjust the height modifier for the battle log, though. It'll probably cut off the bottom at 484px; ~442 should work.
|
|
|
Sep 3 2012, 06:02
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
Done Though now I'm not sure if it even works in Firefox, since the new HVSTAT stopped working there as well
Edit: nevermind, the Master Reset button seems to have made it work again, and it works
This post has been edited by Tiap: Sep 3 2012, 06:05
|
|
|
|
|
|
Sep 3 2012, 07:25
|
pureyang
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
|
QUOTE(Tiap @ Sep 2 2012, 21:13) Anyway, fixed. wouldn't that be more of a workaround then a fix? The tab crashing is a bug in chrome that needs to be addressed by the google devs. Not a bug in your scripts nor a bug in HV. You modified the script to not trigger it but the bug is still there in the chrome code. Anyone up to making a sanitized (no H) testcase and submitting it to google? Is this one of those things they give out cash rewards for? I am thinking only security vulnerabilities get those. This post has been edited by mrttao: Sep 3 2012, 07:34
|
|
|
Sep 3 2012, 07:44
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
It's not a Chrome bug, it was caused by certain JS functions not being injected when the round was over. The script kept clicking on a button that did nothing waiting for something to happen.
|
|
|
Sep 3 2012, 08:26
|
pureyang
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
|
QUOTE(Tiap @ Sep 3 2012, 00:44) It's not a Chrome bug, it was caused by certain JS functions not being injected when the round was over. The script kept clicking on a button that did nothing waiting for something to happen.
So the tab didn't actually crash like he said, it was just not "useful" because the script was stuck in an infinite loop? This post has been edited by mrttao: Sep 3 2012, 08:27
|
|
|
Sep 3 2012, 08:36
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
Yes
|
|
|
Sep 5 2012, 06:05
|
sigo8
Group: Gold Star Club
Posts: 3,417
Joined: 9-November 11
|
QUOTE(Tiap @ Sep 2 2012, 23:36) Yes
You need to make the same fix for "HV - Skill Hotkey + OFC". Just change the "while" on line 26 to an "if".
|
|
|
Sep 5 2012, 06:25
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
Silly melees spamming skills Fixed (derped the commit reason, but whatever)
|
|
|
Sep 7 2012, 01:43
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10
|
Got a complaint about my RiddleLimiter V1 making things slow, so here's V2. What's new: No more jQuery (yay). Should be a little faster.
RiddleLimiter.zip ( 1.21k )
Number of downloads: 1092
|
|
|
|
|
|
Sep 7 2012, 03:19
|
Ilirith
Group: Gold Star Club
Posts: 513
Joined: 31-July 08
|
Tiap, theres some weird problem with your Magic Score script...
If i press C to open an equipment popup, then pressing S there, it will show a gain and/or loss of often several hundreds.
That would not be weird if it wasn't because it is the actual item i have equipped >.>
Although, it works fine for staves, but not for Caps,Robes,Gloves,Pants,Shoes.
Tried to redownload the script, manually deleting the entries it was using in localstorage. Same problem. Tried running it in tampermonkey and natively in chrome, same problem.
Also, if i press S while hovering over another item when i'm at the equip-an-item-screen ( not the Equipment set, but the actual item ), it shows a different value than if i were to press C and look in the popup.
This post has been edited by Ilirith: Sep 7 2012, 03:22
|
|
|
|
|
|
Sep 7 2012, 03:27
|
skyryder
Group: Members
Posts: 593
Joined: 18-July 11
|
might be little late to the party...so I apologize if I am, but is there a script that lets you see what your equip's base rolls are before they're scaled to your level? The old calculator doesn't appear to work for me anymore...
|
|
|
|
|
|
Sep 7 2012, 03:44
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
QUOTE(Ilirith @ Sep 7 2012, 01:19) Tiap, theres some weird problem with your Magic Score script...
If i press C to open an equipment popup, then pressing S there, it will show a gain and/or loss of often several hundreds.
That would not be weird if it wasn't because it is the actual item i have equipped >.>
Although, it works fine for staves, but not for Caps,Robes,Gloves,Pants,Shoes.
Tried to redownload the script, manually deleting the entries it was using in localstorage. Same problem. Tried running it in tampermonkey and natively in chrome, same problem.
Also, if i press S while hovering over another item when i'm at the equip-an-item-screen ( not the Equipment set, but the actual item ), it shows a different value than if i were to press C and look in the popup. I can't replicate it, can you send me the links to your current equipment set?
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|