Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Feb 23 2016, 12:53
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE I'm not dumb dry.gif It restarts if I click on the monsters. Sorry-sorry, dont want to hurt you ^^ Because I have no such problem - just wildguesing =)
|
|
|
|
 |
|
Feb 23 2016, 13:08
|
FabulousCupcake
Group: Gold Star Club
Posts: 495
Joined: 15-April 14

|
.Reloader v1.3.1aChangelog- Fixed mousemelee stopping if cursor is over a dead monster when new content is loaded.- Fixed a bug on chrome that doesn't let MouseMelee to keep hitting an enemy without moving the cursor. - Should run fine on chrome. - Did general script [ www.diffchecker.com] cleanups. Download
reloader_1.3.1a.user.js.txt ( 21.99k )
Number of downloads: 188LinksOld versions by Dan31: Beta v1.3Firefox only v1.2vanilla v1.0.3Thanks to Sapo84 for reporting the issue. QUOTE(alfikbecik @ Feb 23 2016, 11:48)  you can try change one line in getMonsterUnderCursor: CODE result = ((el.id.match('mkey') && (el.hasAttribute('onlick') || el.hasAttribute('onmouseover'))) ? el : false ); Thanks, but the fix I found is shorter (IMG:[ invalid] style_emoticons/default/happy.gif) [ www.diffchecker.com] https://www.diffchecker.com/i9mgiuz1—— I don't think this reloader can be made native-chrome-userjs compatible. If I understand it right, you can't access `window` if you are running it with chrome's built-in userjs support (it's isolated from the page itself). A lot of things are impossible to do with this restriction, and the script might as well end as something like vanilla reloader with no extra features. Perhaps there's a way around this problem? An alternative would be creating an extension and run the userscript as contentscript, but it'd be better to use Tampermonkey anyways if you're willing to do this, no? (IMG:[ invalid] style_emoticons/default/huh.gif) This post has been edited by FabulousCupcake: Feb 23 2016, 13:17
|
|
|
|
 |
|
Feb 23 2016, 20:34
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
HV Dark Lite NoScript, version beta 1 The more I progress, the slimer it becomes (IMG:[ invalid] style_emoticons/default/laugh.gif) [attachmentid=80865][attachmentid=80866] So yeah, this one's a speed enhanced version for battle maniacs. The code's been compressed to the maximum. It still has some nice features though: - Inspired from Battle Compact 2.0; defeated monsters now disappear are hidden. - The battle log has been removed - The buffs/debuffs icons don't blink anymore - Some pics have been hidden/erased to make it faster (mainly the logo and some parts of the hp/mp/sp/oc bars) - The interface fixes that exist in HV Dark are still there (forge upgrades, etc...) On the downside: - There's almost zero userscript support, the only exception being Reloader's/HV Stat Slim's effect counter during battles. - As its HV Dark Lite brother theme, it does look ugly for anything unrelated to battles... Screenshot: This post has been edited by boulay: Feb 23 2016, 21:43
|
|
|
|
 |
|
Feb 23 2016, 21:04
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(boulay @ Feb 24 2016, 02:34)  HV Dark Lite NoScript, version beta 1 The more I progress, the slimer it becomes (IMG:[ invalid] style_emoticons/default/laugh.gif) [attachmentid=80860][attachmentid=80861] So yeah, this one's a speed enhanced version for battle maniacs. The code's been compressed to the maximum. It still has some nice features though: - Inspired from Battle Compact 2.0; defeated monsters now disappear from the screen. If you run mousemelee/hoverplay/reloader, you now just have to hover the first monster. The others will go up as you kill them. - The battle log has been removed - The buffs/debuffs icons don't blink anymore - Some pics have been hidden/erased to make it faster (mainly the logo and some parts of the hp/mp/sp/oc bars) - The interface fixes that exist in HV Dark are still there (forge upgrades, etc...) On the downside: - There's almost zero userscript support, the only exception being Reloader's/HV Stat Slim's effect counter during battles. - As its HV Dark Lite brother theme, it does look ugly for anything unrelated to battles... Screenshot:  Thats pretty extreme with the hp bar thing (IMG:[ invalid] style_emoticons/default/blink.gif) but I like it (IMG:[ invalid] style_emoticons/default/biggrin.gif) Will it really increase load speed? I mean those hp bars are static items. ** you cannot have "defeated monsters now disappear from the screen" ** This post has been edited by Void Domain: Feb 23 2016, 21:10
|
|
|
|
 |
|
Feb 23 2016, 21:09
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
QUOTE(Void Domain @ Feb 23 2016, 20:04)  Thats pretty extreme with the hp bar thing (IMG:[ invalid] style_emoticons/default/blink.gif) but I like it (IMG:[ invalid] style_emoticons/default/biggrin.gif) Will it really increase load speed? I mean those hp bars are static items. Dunno that, my internet isn't good enough to actually test it. But it should be faster, at least compared to the other themes, since there's less to display. QUOTE ** you cannot have "defeated monsters now disappear from the screen" ** Why? Is it written somewhere? This post has been edited by boulay: Feb 23 2016, 21:14
|
|
|
|
 |
|
Feb 23 2016, 21:16
|
Void Domain
Group: Catgirl Camarilla
Posts: 2,131
Joined: 30-May 10

|
QUOTE(boulay @ Feb 24 2016, 03:09)  Dunno that, my internet isn't good enough to actually test it. But it should be faster, at least compared to the other themes, since there's less to display. Why? Is it written somewhere?
https://ehwiki.org/wiki/scriptsAnything that has the function of picking a target automatically, regardless of the actual method. Anything that interprets the page in any way to pick a target or action.
|
|
|
|
 |
|
Feb 23 2016, 21:34
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Yes, boulay it is true. Tenboro said something like "...you can hide monsters, but you'd have to do it in a way that doesn't move the rest into position/any behavior that has the function of picking a target automatically, regardless of the actual method, is not allowed". Same deal was with original mousemelee - it had a function to remove dead monster and rearrange enemies pattern, so the hovering on first monster and only on it - will in fact kill on monster in a row. Tenboro said it is "bot-like" and banned all mousemelees below 0.131 version. It is not like "you made a bad theme, immediately remove it!", but "your theme has a potency to hurt game and occasionally being banned". Sorry to sad you =( QUOTE Why? Is it written somewhere? This is bad thing - no, it is not written somewhere. We just have a few rules we should not a hit, but noone exactly know do some action/script really violate them. For example, look few posts up in this thread and look for request for "press button to forge equip to level 5" script. There is a discussion is it legal or not. We do not have a list of actions that hurts game, but we have a list of ideas that should not be provide with scripts. =( And bytheway theme looks nice, but I am stick with Battle Compact 2.0 - it is really a NEAT thing, especially if log is off ^^ This post has been edited by f4tal: Feb 23 2016, 21:40
|
|
|
|
 |
|
Feb 23 2016, 21:39
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
QUOTE(Void Domain @ Feb 23 2016, 19:04)  Thats pretty extreme with the hp bar thing (IMG:[ invalid] style_emoticons/default/blink.gif) but I like it (IMG:[ invalid] style_emoticons/default/biggrin.gif) Will it really increase load speed? I mean those hp bars are static items. ** you cannot have "defeated monsters now disappear from the screen" ** QUOTE(boulay @ Feb 23 2016, 19:09)  Dunno that, my internet isn't good enough to actually test it. But it should be faster, at least compared to the other themes, since there's less to display. Why? Is it written somewhere?
QUOTE(Void Domain @ Feb 23 2016, 19:16)  https://ehwiki.org/wiki/scriptsAnything that has the function of picking a target automatically, regardless of the actual method. Anything that interprets the page in any way to pick a target or action. Regarding hiding monsters: Historically that was a feature that had to be removed from the original mousemelee as it basically turned to script into a bot. Instead of display:none, visibility:hidden should work better inside those rules, as it cuts out some of the rendering but does not move the monsters // Edit: darn, too slow (IMG:[ invalid] style_emoticons/default/biggrin.gif) Regarding: removing HP-background Didn't test the style, but may reduce rendering time a little (like little little little), the major advantage would probably be, when your connection lags and the cache decides to discard the file (sometime have to wait a couple seconds until all the images are loaded in those cases). If you want to measure the effect of not having to render those things, you can use the dev console in chrome to do so. Go to "Timeline", press record, do 10 turns or so with the style and without it, then compare the render times (IMG:[ invalid] style_emoticons/default/happy.gif)) This post has been edited by simrock87: Feb 23 2016, 21:40
|
|
|
|
 |
|
Feb 23 2016, 21:39
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
QUOTE(Void Domain @ Feb 23 2016, 20:16)  https://ehwiki.org/wiki/scriptsAnything that has the function of picking a target automatically, regardless of the actual method. Anything that interprets the page in any way to pick a target or action. QUOTE(f4tal @ Feb 23 2016, 20:34)  Yes, boulay it is true. Tenboro said something like "...you can hide monsters, but you'd have to do it in a way that doesn't move the rest into position/any behavior that has the function of picking a target automatically, regardless of the actual method, is not allowed". Same deal was with original mousemelee - it had a function to remove dead monster and rearrange enemies pattern, so the hovering on first monster and only on it - will in fact kill on monster in a row. Tenboro said it is "bot-like" and banned all mousemelees below 0.131 version.
It is not like "you made a bad theme, immediately remove it!", but "your theme has a potency to hurt game and occasionally being banned". Sorry to sad you =(
Mkay, no sweat. I'll replace the links asap. edit: replaced, I settled for hidden, insted of erased. Better safe than sorry... This post has been edited by boulay: Feb 23 2016, 21:44
|
|
|
|
 |
|
Feb 23 2016, 21:46
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE // Edit: darn, too slow biggrin.gif =P QUOTE Mkay, no sweat. I'll replace the links asap. Will test it tomorrow ^^ QUOTE Didn't test the style, but may reduce rendering time a little (like little little little), I tested boulay's Battle Compact 2.0 few days ago - it is really do a speed boost. Not a gigantic one (like from 1t/s to 4t/s), but a still significant (like from 1t/s to 1,2t/s). So I believe - every feature-less will do a speed boost xD QUOTE edit: replaced, I settled for hidden, insted of erased. Better safe than sorry... This is same method you used in Battle Compact 2.0? This post has been edited by f4tal: Feb 23 2016, 21:47
|
|
|
|
 |
|
Feb 23 2016, 21:53
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11

|
QUOTE(simrock87 @ Feb 23 2016, 20:39)  Regarding hiding monsters: Historically that was a feature that had to be removed from the original mousemelee as it basically turned to script into a bot. Instead of display:none, visibility:hidden should work better inside those rules, as it cuts out some of the rendering but does not move the monsters // Edit: darn, too slow (IMG:[ invalid] style_emoticons/default/biggrin.gif) Regarding: removing HP-background Didn't test the style, but may reduce rendering time a little (like little little little), the major advantage would probably be, when your connection lags and the cache decides to discard the file (sometime have to wait a couple seconds until all the images are loaded in those cases). If you want to measure the effect of not having to render those things, you can use the dev console in chrome to do so. Go to "Timeline", press record, do 10 turns or so with the style and without it, then compare the render times (IMG:[ invalid] style_emoticons/default/happy.gif)) Yeah, I should have looked more into it. It did seem a bit too convenient when I only had to hover the first monster... (IMG:[ invalid] style_emoticons/default/dry.gif) For those bars, it may actually be good for me. I do have lag problems ^^ QUOTE(f4tal @ Feb 23 2016, 20:46)  This is same method you used in Battle Compact 2.0?
No, in battle compact 2.0, the monsters are actually erased via 'display:none'. The big difference is that the other monster cells don't move when one disappears. Their positions are fixed. So you still have to move your mouse when you kill monsters. Safe! (IMG:[ invalid] style_emoticons/default/heh.gif) This post has been edited by boulay: Feb 23 2016, 21:55
|
|
|
|
 |
|
Feb 23 2016, 22:09
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE This is same method you used in Battle Compact 2.0? My bad English - I mean something different, but nevermind - looked through the code and find answer by myself. Thanks for very fast support and fixing ^^
|
|
|
|
 |
|
Feb 24 2016, 01:55
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
I have an odd request. I'm debugging my Tag Check script and I want to see if it performs as expected and successfully filters the "Down all the following tags:" section into the "Completed:" section, sorted correctly, once tags get successfully removed from the galleries in question. But I think most of the Vigilante regulars (including me) who vote in the Abuse thread have already downvoted the tags in TheGreyPanther's current big tag post - without any changes, I can't debug.
If you read this, could you vote down the tags in this post? (It's nearly the same as TheGreyPanther's post here)Done, thanks This post has been edited by Superlatanium: Feb 24 2016, 13:28
|
|
|
|
 |
|
Feb 24 2016, 03:32
|
FabulousCupcake
Group: Gold Star Club
Posts: 495
Joined: 15-April 14

|
QUOTE(Superlatanium @ Feb 24 2016, 00:55)  I have an odd request. I'm debugging my Tag Check script and I want to see if it performs as expected and successfully filters the "Down all the following tags:" section into the "Completed:" section, sorted correctly, once tags get successfully removed from the galleries in question. But I think most of the Vigilante regulars (including me) who vote in the Abuse thread have already downvoted the tags in TheGreyPanther's current big tag post - without any changes, I can't debug. If you read this, could you vote down the tags in this post? (It's nearly the same as TheGreyPanther's post here) Thanks Done (IMG:[ invalid] style_emoticons/default/happy.gif) Nothing gets moved to the "Completed" section when I did a recheck though, they just get stricken-through
|
|
|
|
 |
|
Feb 24 2016, 03:34
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(FabulousCupcake @ Feb 24 2016, 01:32)  Done (IMG:[ invalid] style_emoticons/default/happy.gif) Nothing gets moved to the "Completed" section when I did a recheck though, they just get stricken-throughThanks. Yeah, the public version is still the old 1.1.4 which has a few bugs and doesn't move any of the links around yet, but I want to make sure the new version works exactly as expected before posting it.
|
|
|
|
 |
|
Feb 24 2016, 10:57
|
tatarime
Group: Gold Star Club
Posts: 802
Joined: 23-June 10

|
QUOTE(FabulousCupcake @ Feb 23 2016, 15:58)  It's probably overkill, but I think the Smart Monster Lab can use [ isotope.metafizzy.co] Isotope to further enhance the interface (IMG:[ invalid] style_emoticons/default/heh.gif) You can filter things easily too with its API (IMG:[ invalid] style_emoticons/default/happy.gif) Thank you for your advice! ...But it is too difficult for me! XD (I don't have sufficient knowledge about external library) Filter function will be probabry like holy_demon's Item Manager. I will also study jQuery, maybe... within a few years. (IMG:[ invalid] style_emoticons/default/rolleyes.gif)
|
|
|
|
 |
|
Feb 27 2016, 15:54
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
Vanilla Reloader 1.1.0Modified Version of (Vanilla) Reloader by Dan31 & nihilvoid -- Original Post
Reloader_vanilla_1.1.0.user.js.zip ( 2.63k )
Number of downloads: 231Changes from 1.0.3:- Now works in Chrome native - Added Events to add script support without adding them into Reloader itself - Changed Debugging code to make it easier to toggle - Added workaround for battle submit to circumvent sandboxing issues Notes for Developers:1. You will need to wrap your code in a function and attach it to run on events. 1.1 The events in question are: 1.1.1 'DOMContentLoaded' - to run at page load (for initial setup or if you don't need to react to reloader) 1.1.2 'Reloader_page_reloaded' - slightly later than 1.1.1, this gets dispatched after Reloader did its initial attachment work 1.1.3 'Reloader_reloaded' - this gets dispatched after reloader has finished with its current action (basically start of next turn) Example Code to attach EventListeners to react to reloader, full script example in next post. CODE window.addEventListener('DOMContentLoaded', function () { if (use_reloader) { window.addEventListener('Reloader_reloaded', parse); } parse(); }); 1.2 To catch the events you will need to add your script with // @run-at document-start, otherwise you will miss the events on new rounds or page loads 2. Reloader gives scripts the possibility to run with a state, so you can reuse elements and variables that you already used 2.1 This is especially important if you insert new elements into the page, as those will most likely get duplicated. Best choice here is to save the element after creation and reuse it (give it an ID and use getElementById() if you have multiple) That's the most important so far ... Also, only tested only with chrome so far, but should™ work with FireFox as well (same code principle as HoverPlay chrome and that seems to work (IMG:[ invalid] style_emoticons/default/happy.gif)) This post has been edited by simrock87: Feb 27 2016, 16:35
|
|
|
|
 |
|
Feb 27 2016, 15:54
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
HV - Proficiency Gain Sidebar version 1.1
hvpg_1_1.user.js.zip ( 1.67k )
Number of downloads: 86Changes from v0.1- bumped version to make it look less like beta (IMG:[ invalid] style_emoticons/default/happy.gif) - Modified to work with Vanilla Reloader 1.1 This post has been edited by simrock87: Feb 27 2016, 15:59
|
|
|
|
 |
|
Feb 27 2016, 17:06
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
UPDATE ^^ !!! Version: 2.3 [Date: 27.02.2016] - Added Next scripts: --- Confirmer [0.3] --- 2 Pane Moogle [1.7] --- Reloader [1.3.1] --- Reloader [1.3.1a] --- Chinese Script Items & Equips [3.00 - CHN1.1] [Simplified] --- Chinese Script Items & Equips [3.00 - CHT1.1] [Traditional] --- HV Dark Lite NoScript [0.1].user --- Items [0.02] --- Hide SellAll [0.1] --- Trollflake [1.0] --- Victory Fanfare [1.0] - Rename next scripts: --- Energy Drink Confirmer [0.1] to Confirmer [0.1] --- Track Drops [2.0.HVFS.01] to Track Drops [2.0.0] [Fontfix] --- Magic Scores [2.0.3.1.HVFS.01] to Magic Scores [2.0.3.1] [Fontfix] --- Mini Shop Helper [1.2.4.1fontfix] to Mini Shop Helper [1.2.4.1] [Fontfix] *** Total 493 scripts DOWNLOAD AS ATTACHMENT: [attachmentid=81133] DOWNLOAD FROM MEDIAFIRE: (Use this line if you have problem with attachment) According to my Mediafire account, the most popular scripts are: HV Stat Slim [Feb 2016] - 279 downloads Countdown Timer for the Random Encounter Event [1.0] - 263 downloads State HP [0.2] - 246 downloads Reloader [1.3] - 240 downloads HoverPlay [1.9.5] - 208 downloads Counter Plus [3.6] - 198 downloads Equipment Comparison [0.6.4.8] - 194 downloads Inline Difficulty Changer [1.0.1] - 186 downloads
|
|
|
|
 |
|
Feb 27 2016, 17:11
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Ohh, come on! I have updated Compendium minute ago and you posted new two scripts here? xD QUOTE should™ Checked in firefox - seems to work with no problems, as and modified Reloader by FabulousCupcake ^^ Thanks, simrock87! =) This post has been edited by f4tal: Feb 27 2016, 17:13
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|