 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Feb 16 2016, 05:35
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(ppp82p @ Feb 16 2016, 03:26)  Wanted to scan a monster, and I fled instead (IMG:[ invalid] style_emoticons/default/anime_cry.gif) The only keybind I use is Alt+1 for Cure, lol Easiest thing to do would be to set a keybind for scan probably, anyone who's actually looking through their spellbook and clicking on things is surely only slowing themselves down. Can't accidentally press something if the interface never comes up (IMG:[ invalid] style_emoticons/default/tongue.gif)
|
|
|
|
 |
|
Feb 16 2016, 06:50
|
Kadokura
Group: Gold Star Club
Posts: 1,619
Joined: 28-September 10

|
QUOTE(Superlatanium @ Feb 13 2016, 02:47)  Updated Income Summary.
Income_Summary_1.4.1.user.js.txt ( 26.54k )
Number of downloads: 74A screenshot after doing all non-SG arenas on PF:  - Added a column to the item table showing % of total income - Artifacts and crystals moved to the top, since they usually make up the biggest fraction of income by far - Increased tolerance for unlocked equips on inventory save/compare from 10 equips to 100 equips - Training is now listed below stamina. Click to change. - Fixed some layout issues for those with less wide monitors - Fixed scroll value calculation - Updated default base values for those who don't have HV Item Manager Hi, Superlatanium It seems like the script doesn't work when I have "Inline Equipment Changer" script enabled. Do you have any idea why this happen and and if it's possible to solve it? And when I ask "if it's possible to slove it", I mean without the need to disable IEC script. Thanks. Here I leave some screenshots: [attachmentid=80427] [attachmentid=80428] P.D: Sorry for my poor English. This post has been edited by Kadokura: Feb 16 2016, 07:29
|
|
|
|
 |
|
Feb 16 2016, 07:27
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(Kadokura @ Feb 16 2016, 04:50)  Hi, Superlatanium
It seems like the script doesn't work when I have "Inline Equipment Changer" script enabled. Do you have any idea why this happen and and if it's possible to solve it? And when I ask "how to slove it", I mean without the need to disable IEC script.
Here I leave some screenshots: P.D: Sorry for my poor English. Thanks. Looks like when parsing credits I tried to look for the last ('.cit') (tiny info table) in the ('.clb') (left pane) and parse what's inside, but if "Equipped set:" is the last one instead of Credits, it fails. (the problem doesn't occur if Income Summary executes first and Inline Eq. Changer executes later, but that's a workaround, not a solution) Well, fixed. I don't remember if I had a good reason to search for the last ('.cit') instead of just using ('.cit')[4], maybe there was some other script that adds elements above... so if anyone sees something else break let me know.
Income_Summary_1.4.3.user.js.txt ( 26.65k )
Number of downloads: 59
|
|
|
|
 |
|
Feb 16 2016, 09:29
|
Kadokura
Group: Gold Star Club
Posts: 1,619
Joined: 28-September 10

|
QUOTE(Kadokura @ Feb 15 2016, 22:50)  It seems like the script doesn't work when I have "Inline Equipment Changer" script enabled. Do you have any idea why this happen and and if it's possible to solve it? And when I ask "if it's possible to slove it", I mean without the need to disable IEC script. Thanks.
I'm not a native english speaker so, I apologize if my request sounded rude. That was not at all my intent. QUOTE(Superlatanium @ Feb 15 2016, 23:27)  Well, fixed. I don't remember if I had a good reason to search for the last ('.cit') instead of just using ('.cit')[4], maybe there was some other script that adds elements above... so if anyone sees something else break let me know.
Income_Summary_1.4.3.user.js.txt ( 26.65k )
Number of downloads: 59Thank you for the prompt update. Now it work great without any problem. Seems like you replied before I finished to edit my post, and now the quote don't match with it (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
 |
|
Feb 16 2016, 09:33
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Superlatanium, I turned on every script I can remember that add anything in left sidebar and then turn on your script as last one. So here is what happened: [ s019.radikal.ru] (IMG:[s019.radikal.ru] http://s019.radikal.ru/i600/1602/d0/dfc3aa28f0b8t.jpg) So, as you can see, your Income Summary now seems to work with a lot scripts now without any problems what so ever =) QUOTE Is there any script that prevents fleeing by mistake? Like a popup confirmation for the "flee" skill. Thanks... Ohh, as far as I remember there are no script with functional like this. I mean there is no "already-created-script", but I guess it is not so hard to create one, so maybe someone can create script with concept like this: - When player hit a "flee"-button popup will happen with text like this "You are trying to flee, are you sure?", and two buttons "yes", "no" - When player hit "no"-button it counts as player didnt hit "flee"-button - When player hit "yes"-button it counts as player really did hit "flee"-button and battle will terminated. This post has been edited by f4tal: Feb 16 2016, 09:58
|
|
|
|
 |
|
Feb 16 2016, 10:19
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(f4tal @ Feb 16 2016, 07:33)  Superlatanium, I turned on every script I can remember that add anything in left sidebar and then turn on your script as last one. So here is what happened: Oh no, I didn't know there were so many (IMG:[ invalid] style_emoticons/default/anime_cry.gif) At least one person will surely have a problem eventually. Sure, it displays fine, but that's a given. The problem happens after you click any of the buttons. It breaks when you click them, right? Just looked at the HTML again, luckily there appears to be a CODE <script type="text/javascript"> var current_credits = "25044060"; var IMG_URL = "http://ehgt.org/v/"; var MAIN_URL = "http://hentaiverse.org/"; </script> at the top, so I can take the number from that instead. How convenient.
Income_Summary_1.4.4.user.js.txt ( 26.51k )
Number of downloads: 51
|
|
|
|
 |
|
Feb 16 2016, 11:50
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE Oh no, I didn't know there were so many Here we go: Stopwatch Proficiency Gain Sidebar Henjitsu Tracker Inline Equipment Changer Trophy Value Calculator Lottery Prize Reminder Maybe there are more, but I do not remember =) You can find them all in Script Compendium QUOTE Sure, it displays fine, but that's a given. The problem happens after you click any of the buttons. It breaks when you click them, right? Not exactly breaks, but, yeah, something odd happened in 1.4.3: [ s020.radikal.ru] (IMG:[s020.radikal.ru] http://s020.radikal.ru/i717/1602/58/0d9cecd03f93t.jpg) But in version 1.4.4 nothing happened at all... =( This post has been edited by f4tal: Feb 16 2016, 11:53
|
|
|
|
 |
|
Feb 16 2016, 12:22
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(f4tal @ Feb 16 2016, 09:50)  Not exactly breaks, but, yeah, something odd happened in 1.4.3: [ s020.radikal.ru] (IMG:[s020.radikal.ru] http://s020.radikal.ru/i717/1602/58/0d9cecd03f93t.jpg) But in version 1.4.4 nothing happened at all... =( What you see in the image occurs when you haven't installed HV Counter Save, or haven't played any rounds with it yet. Without that, rounds and monsters etc aren't recorded, so stamina and repair costs and rounds per week and profit per turn and such are unknown. As intended. Since you were able to get to the generated page and it didn't break before then, that probably just means that the problem is just as it says there. Probably. I checked it out and didn't see anything wrong. (If it displays that in 1.4.4 it will almost certainly also display that in every other version) As for the blank page, it looks like that happens when it tries to estimate artifacts from rounds, but finds nothing while parsing localStorage.counterPlusSaveLogs. It shouldn't happen for someone who's installed everything correctly, but the error message doesn't even pop up on their screen, so that's a problem. My mistake, I fixed it. (By any chance did you check the "Estimate artifact income?" checkbox right after installing 1.4.3? I can't see another reason for why 1.4.3 would show the page (with table and error) while 1.4.4 showed nothing at all.) Thanks
Income_Summary_1.4.5.user.js.txt ( 26.56k )
Number of downloads: 86
|
|
|
|
 |
|
Feb 17 2016, 20:27
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Hello, Superlatanium! I think I have found why I have got this weirdness lately. Something happened wrong with my localstorage. For Script Compendium purpose I have tested all previous versions of your Income Summary and I guess because data of old versions stacked with newer ones - this screens happened. I clear my localstorage from any script's data and - voila - your Income Summary 1.4.5 works as this should be. ^^ But, I should admit that I installed your Counter plus, too and I have not checked Income Summary standalone... Thank you! ^^ By the way, why are you not merged this two scripts (Counter plus & Income Summary) in one? It seems they have "similar" functional... I am not good in script-theory, so sorry for my dilettantism... =) QUOTE By any chance did you check the "Estimate artifact income?" checkbox right after installing 1.4.3? Sorry, I really do not remember and I deleted everything already, so it is late to check =(
|
|
|
|
 |
|
Feb 17 2016, 23:36
|
Superlatanium
Group: Gold Star Club
Posts: 7,629
Joined: 27-November 13

|
QUOTE(f4tal @ Feb 17 2016, 18:27)  By the way, why are you not merged this two scripts (Counter plus & Income Summary) in one? It seems they have "similar" functional... I am not good in script-theory, so sorry for my dilettantism... =) Some people pay tens of millions of credits for minuscule increases in clear speed. I'm not entirely sure about this, but the entire JS has to be parsed when on a page, even if only part of it is executed (a separate process). I haven't used it since level 200-something, but you know about the full HVStat? It slowed me down from 4 t/sec to around 1.5 t/sec, mostly because there was just so much code, much of which was unnecessary during battle. Even only 0.05 seconds of CPU per page, times 10,000 pages and more... it adds up. I want to avoid causing similar problems myself. Even if it combining them would only result in slowing down by 0.05 t/sec, that's more than I'm willing to inflict on myself or anyone else. (Still, I don't really know much about how it's parsed, and where the bottlenecks are, and how much fractional CPU it really uses, so I'm not 100% confident keeping them separate is worthwhile. But, that's on the side of caution, and HV Counter Plus was originally its own script, which required only very minor modifications on my part, so that's what I did)
|
|
|
|
 |
|
Feb 18 2016, 10:35
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
I got it. Thanks for explanation. My firefox do around 1,0-1,5 t/s with 13 scripts activated, (Iron browser like 3,5-4 t/s without any scripts whatsoever).
HVStat, as far as I know has a good speed-boost in a past. I read about it in this thread. Someone claims that HVStat was a tweaked a lot to increase speed outcome. I do not not is it true, I am using slim version =)
// maybe merge them just for curious purpose? ^^
|
|
|
Feb 19 2016, 06:11
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12

|
"Vanilla Reloader" blocks "No You Are Victorious" The page doesn't refresh at the end of the round anymore.
|
|
|
Feb 19 2016, 09:57
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE "Vanilla Reloader" blocks "No You Are Victorious" The page doesn't refresh at the end of the round anymore. Yeah, this can happen with Vanilla Reloader, that why dan31 & Hoheneim made their one "reloaders" with Blackjack and Hookers , with some addons, compatibly with Reloader. I guess in both dan31's & Hoheneim's versions there is somekind of "autoskip"-code, - so the good point to use them, not vanilla version =)
|
|
|
|
 |
|
Feb 19 2016, 23:21
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12

|
QUOTE(f4tal @ Feb 19 2016, 08:57)  Yeah, this can happen with Vanilla Reloader, that why dan31 & Hoheneim made their one "reloaders" with Blackjack and Hookers , with some addons, compatibly with Reloader. I guess in both dan31's & Hoheneim's versions there is somekind of "autoskip"-code, - so the good point to use them, not vanilla version =)
Yeah, now I'm using the second reloader, and deactivated a lot of stuff (IMG:[ invalid] style_emoticons/default/biggrin.gif) Another "issue". Reloaders (all three of them) block "Stack Counter". If I refresh the page the Stacks show, then when I attack once, they disappear. Another "issue" of Reloaders (not vanilla). Mousemelee can't be stopped in any way besides low hp/mp/sp. So I can't use swordskills in any way besides go into the script (and open a new tab, options, edit) and set false on mousemelee. Other Mousemelee scripts are overridden by Reloader. If mousemelee on reloader is set false, any mousemelee script don't work. If mousemelee on reloader is set true, the "shift" hotkey doesn't stop attacking. Tried copy-pasting the lines for the hotkey in reloader, not good result. Shift stops it yeah, but when I hover again on anything, it restarts on its own. So...how can I mousemelee while keeping the reloader (and its features like no popup and auto next turn) AND have a way to stop the mousemelee and use swordskills freely? (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
|
 |
|
Feb 20 2016, 10:17
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE So...how can I mousemelee while keeping the reloader (and its features like no popup and auto next turn) AND have a way to stop the mousemelee and use swordskills freely? biggrin.gif I am not using reloaders, because they so pain in a$$ to make them work properly with other scripts, so I defenetly do not know. Which version you are using? Maybe try to use latest one - 1.3 by dan31 or reloader2 by Hoheneim? In other way I can recommend anything but tweaking the script itself, but this hardcore and ultimate solution =/
|
|
|
Feb 20 2016, 11:47
|
karyl123
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11

|
can I do script request...
say it. forge training
it just forge the selected item to lv 5. so can farm the forge exp.
thankyou.
|
|
|
Feb 20 2016, 13:17
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE it just forge the selected item to lv 5. so can farm the forge exp. At first I want to say that this script will violate rules and blacklisted aka banned, because this script do "multiply actions in one"... But then, I thought about Item Manager which literally do many actions in one without any problem or violation... Still I have some doubts, but for me this is good idea for script and should be not-banned. Maybe we can upgrade this script in fashion: 1) Set level you would like equip to upgrade 2) Script start to upgrade equip 3) When script do not have enough material - it will inform end-user What do you think?
|
|
|
|
 |
|
Feb 20 2016, 14:45
|
karyl123
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11

|
QUOTE(f4tal @ Feb 20 2016, 18:17)  At first I want to say that this script will violate rules and blacklisted aka banned, because this script do "multiply actions in one"...
But then, I thought about Item Manager which literally do many actions in one without any problem or violation...
Still I have some doubts, but for me this is good idea for script and should be not-banned.
Maybe we can upgrade this script in fashion: 1) Set level you would like equip to upgrade 2) Script start to upgrade equip 3) When script do not have enough material - it will inform end-user
What do you think?
thats good. (IMG:[ invalid] style_emoticons/default/wink.gif)
|
|
|
|
 |
|
Feb 20 2016, 15:03
|
FabulousCupcake
Group: Gold Star Club
Posts: 495
Joined: 15-April 14

|
QUOTE(karyl123 @ Feb 20 2016, 10:47)  can I do script request...
say it. forge training
it just forge the selected item to lv 5. so can farm the forge exp.
thankyou.
1 click to level 5 upgrade... not sure if that is allowed. I found a good alternative idea though; upgrade button in item manager style, allowing upgrades to be done without leaving the inventory. Select the item and the property to be upgraded, and click the upgrade button 5x. It can be further expanded later by logging available materials and internally calculate materials required to upgrade to check if the upgrade is possible, or how much times left the same upgrade can be done. This post has been edited by FabulousCupcake: Feb 20 2016, 15:04
|
|
|
|
 |
|
Feb 20 2016, 15:50
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE 1 click to level 5 upgrade... not sure if that is allowed. Thats bother me too... But on other hand - if player DO have enough material, why he not allow to press button one time instead of five times? We have s script, which allow to repair all equips in one set (I mean Conditioner script), so why "upgrade all my equips quickly" is not allowed? But my doubts still presents, because upgrading (one click - five upgrades) and repairing (one click - one repair) is not the same... QUOTE I found a good alternative idea though; upgrade button in item manager style, allowing upgrades to be done without leaving the inventory. So, we need to contact Holy_demon to ask him upgrade his item manager script? =) QUOTE It can be further expanded later by logging available materials and internally calculate materials required to upgrade to check if the upgrade is possible, or how much times left the same upgrade can be done. Same deal in Conditioner script! ^^ So, good variation of script, and this iteration, in my opinion, is way rule-breaking-less than original idea, but this is a little step aside from original plan. I guess we still need to ask admin about that idea...
|
|
|
|
 |
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|