 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
May 5 2016, 17:12
|
Noni
Group: Catgirl Camarilla
Posts: 13,541
Joined: 19-February 16

|
QUOTE(Sapo84 @ May 5 2016, 16:40)  I actually think that such code could be a reason for ban. Forbidden ActionsAny script used to do ANY of the following inside the HentaiVerse is strictly forbidden. Offenders will be banned. - Any automation or semi-automation of gameplay beyond a single "action".
- Anything that automates actions without direct player input.
- Any parsing of live data to decide on actions.
- Anything 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.
It seems pretty obvious that automatic toggling on and off spirit stance is in clear violation of the rules. From my point of view even selecting an action at round start is in violation of the rules because you're deciding on actions after intepreting that is the first turn of the round. Thanks for the warning! I won't use this one, then. I wander if CracklingCast is 'legal' if you put it like that? Have users been banned for CracklingCast?
|
|
|
|
 |
|
May 5 2016, 17:26
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09

|
QUOTE(DJNoni @ May 5 2016, 17:12)  then. I wander if CracklingCast is 'legal' if you put it like that? Have users been banned for CracklingCast?
I think that part has already been done in the past and is probably safe (at least it seems unlikely that it will be punished with the ban now). Spirit stance toggling is much worse because it directly parse page data to decide what to do, it's like parsing health and auto-curing (>3t/s for mage and game balance completely broken). It can be done and it's probably impossible to be discovered, but at least it should not be posted here I think (IMG:[ invalid] style_emoticons/default/heh.gif) (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
 |
|
May 5 2016, 17:40
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Have read discussion here and want to share my opinion...
Toggle spirit on and off is 100% illegal Launching OFC at the beginning of the round is 10% illegal
This opinion comes from this ideas: When you use this OFC stuff - what script do? It analyses if this is beginning of the round, then check can you launch OFC and push the atomic button. This works only once and only in the beginning of round. Yes, it parse data and so automatic decision and it harms rules, but do it slightly in not-so-hard-way
With auto spirit toggling on and off - what you will get? Every round script will check your current OC and will do one of the specific decision - switch it on or off when you have specific amount of OC. Compare to OFC - this feature launch every turn and will do two automatic stuff. It will violate rules in more depressed and obscure way compare to OFC.
To be fair, I don't think auto-OFC at the beginning is so bad thing, compare to auto-toggle... Debatable? Yes. Violate rules? Yes, but slightly. It is not auto-clicker, auto-caster and auto-cure after all ^_~
...
We need to do rearrange and compile all fixes for CrackingCast - for now it looks messy for me. All this multiply fixes, second-hand solutions and workaround on last five pages are so hard to orientate. Can someone post all-ways-fixed and working version of CracklingCast and named solid like "version 1.0.4" (if simrock87 don't mind?) or "version 1.0.3omega"? So I will put it in Compendium at the end of the week?
Thanks, scripters for work ^^"
This post has been edited by f4tal: May 5 2016, 17:52
|
|
|
|
 |
|
May 5 2016, 18:40
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14

|
QUOTE(DJNoni @ May 5 2016, 23:23)  I've never coded Javascripts in my life (a lot of VBA, though), so... am I correct that this bit of code will turn off Spirit Stance below 210?
Mmm...... find 2 code snippet. CODE limits : { ...... oc : 220 / 250 // Use Spirit Stance at or below (If > 1, never use spirit stance) oc_off : 210 / 250 // Off Spirit Stance at or below (If < 0, never off spirit stance) },
......
if ( (oc >= Settings.limits.oc && document.getElementsByClassName('btp')[0].innerHTML.indexOf('spirit_a.png') === -1) || (oc <= Settings.limits.oc_off && document.getElementsByClassName('btp')[0].innerHTML.indexOf('spirit_n.png') === -1) ) { placeDisplay(Icons.SpiritStance, 'width: 28px; height: 28px; border: 1px solid grey', function () { cast('Spirit Stance', 0); }); }
Above CracklingCast code only show icon (not toggle spirit stance). My English is bad, but I understood he want only show icon. "There is spirit troggling in CracklingCast" - CracklingCast didn't auto toggle spirit stance, so he want only show icon. "but that one doesn't work for me - does too much" - always show icon when over oc, reason of img src. QUOTE(Sapo84 @ May 5 2016, 23:40)  I actually think that such code could be a reason for ban. Forbidden ActionsAny script used to do ANY of the following inside the HentaiVerse is strictly forbidden. Offenders will be banned. - Any automation or semi-automation of gameplay beyond a single "action".
- Anything that automates actions without direct player input.
- Any parsing of live data to decide on actions.
- Anything 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.
It seems pretty obvious that automatic toggling on and off spirit stance is in clear violation of the rules. From my point of view even selecting an action at round start is in violation of the rules because you're deciding on actions after intepreting that is the first turn of the round. QUOTE(f4tal @ May 6 2016, 00:40)  Have read discussion here and want to share my opinion...
Toggle spirit on and off is 100% illegal Launching OFC at the beginning of the round is 10% illegal
This opinion comes from this ideas: When you use this OFC stuff - what script do? It analyses if this is beginning of the round, then check can you launch OFC and push the atomic button. This works only once and only in the beginning of round. Yes, it parse data and so automatic decision and it harms rules, but do it slightly in not-so-hard-way
With auto spirit toggling on and off - what you will get? Every round script will check your current OC and will do one of the specific decision - switch it on or off when you have specific amount of OC. Compare to OFC - this feature launch every turn and will do two automatic stuff. It will violate rules in more depressed and obscure way compare to OFC.
To be fair, I don't think auto-OFC at the beginning is so bad thing, compare to auto-toggle... Debatable? Yes. Violate rules? Yes, but slightly. It is not auto-clicker, auto-caster and auto-cure after all ^_~
...
We need to do rearrange and compile all fixes for CrackingCast - for now it looks messy for me. All this multiply fixes, second-hand solutions and workaround on last five pages are so hard to orientate. Can someone post all-ways-fixed and working version of CracklingCast and named solid like "version 1.0.4" (if simrock87 don't mind?) or "version 1.0.3omega"? So I will put it in Compendium at the end of the week?
Thanks, scripters for work ^^"
Sometimes I'm confused by that rule. Even script only show or gather data, that's use parsing, but not action. Rotate spell, begin of round T3 spell/OFC or somethings use parsing and action. In this case, I agree Sapo84 and f4tal (if strictly rule, I think it's violate). Basically, I modify based on old scripts. I guess, if scripts used long time and still alive, scripts are safe (not official, just IMHO). HoverPlay have begin of round spell option. So, maybe remove decide to begin of round option? And some scripts I think fairly violate, but it's not removed (like Suicider, but this script have pretty dangerous name) (IMG:[ invalid] style_emoticons/default/smile.gif) This post has been edited by hansvar92: May 5 2016, 18:49
|
|
|
|
 |
|
May 5 2016, 18:53
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE I guess, if scripts used long time and still alive, scripts are safe (not official, just IMHO). HoverPlay have begin of round spell option. In jurisprudence we have doctrine of "custom of business turnover" - if some action repeats over and over and noone have complain about it - it should be consider as a rule for everyone. So, if we have script which have function we used so long and Tenboro didn't switch it off - we should consider it as "speak-less approve". Another example - Mousemelee script had (long-long ago) a function to auto-remove dead monsters from monster pan and sooner scripters realized via Tenboro's speak that this behavior is forbidden. In ideal way, we as good users, should ask Tenboro about this OFC/T3 auto-use to prevent any misunderstanding. I can mail him, but better do this someone with better english and scriprt-work knowledge. =P
|
|
|
|
 |
|
May 5 2016, 19:13
|
Noni
Group: Catgirl Camarilla
Posts: 13,541
Joined: 19-February 16

|
QUOTE(hansvar92 @ May 5 2016, 18:40) 
Above CracklingCast code only show icon (not toggle spirit stance). My English is bad, but I understood he want only show icon. "There is spirit troggling in CracklingCast" - CracklingCast didn't auto toggle spirit stance, so he want only show icon.
Ah, Thanks Hansvar92, now I understand what this bit of script does. Only shows icon. But I wanted more! I wanted Automatic On, Automatic Off. But I won't do that - don't want the HV-Police after me!
|
|
|
May 6 2016, 14:17
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
Just want to point out that Battle Stats Ex doesn't support alt.hentaiverse and it also kind of prevents me from clicking the "apply changes" in the settings page.
|
|
|
May 6 2016, 18:47
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE Just want to point out that Battle Stats Ex doesn't support alt.hentaiverse I think you can fix this issue in this script (and in any other script) by this workaround: QUOTE Open script and add this line "//@match http://*.hentaiverse.org/*" into "==UserScript=="-block QUOTE and it also kind of prevents me from clicking the "apply changes" in the settings page. wow o_o Tried it now - yes it is same for me. Very strange... Thanks for info (IMG:[ invalid] style_emoticons/default/happy.gif) This post has been edited by f4tal: May 6 2016, 18:47
|
|
|
May 7 2016, 11:20
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
Hi, can anyone show me the code to sync localstorage objects between hentaiverse and alt.hentaiverse?
I try doing it with iframe and message passing but I can't seem to change the iframe localstorage.
I'm using chrome 48 without tampermonekey.
|
|
|
|
 |
|
May 7 2016, 11:48
|
Superlatanium
Group: Gold Star Club
Posts: 7,647
Joined: 27-November 13

|
QUOTE(LOL50015 @ May 7 2016, 09:20)  Hi, can anyone show me the code to sync localstorage objects between hentaiverse and alt.hentaiverse?
I try doing it with iframe and message passing but I can't seem to change the iframe localstorage.
I'm using chrome 48 without tampermonekey. This is the snippet of code I use for my Tag Check script, to sync g.e-hentai.org localStorage with [??]hentai.org localStorage. It uses window.open() instead of iframes though. (maybe I should have used iframes... they'd probably be a more elegant solution, but I haven't worked with them before...)
savedTags.txt ( 2.29k )
Number of downloads: 46The base script runs on g.e, opens a window to a broken link on the other domain, posts a message to that other domain, the other domain recognizes the message, parses its localStorage, and sends it back in another message. Then on g.e, the eventListener picks it up and sends the object to a sync function. (you also have to include the other domain in the script obviously, eg my script has both CODE // @include http://g.e-hentai.org/g/* // @include http://[??]hentai.org/fakepage Disclaimer: I have absolutely no idea what [??] stands for. In the script, you would have to replace [??] with the characters that should be there instead.
|
|
|
|
 |
|
May 7 2016, 16:11
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
QUOTE(Superlatanium @ May 7 2016, 17:48)  This is the snippet of code I use for my Tag Check script, to sync g.e-hentai.org localStorage with [??]hentai.org localStorage. It uses window.open() instead of iframes though. (maybe I should have used iframes... they'd probably be a more elegant solution, but I haven't worked with them before...)
savedTags.txt ( 2.29k )
Number of downloads: 46The base script runs on g.e, opens a window to a broken link on the other domain, posts a message to that other domain, the other domain recognizes the message, parses its localStorage, and sends it back in another message. Then on g.e, the eventListener picks it up and sends the object to a sync function. (you also have to include the other domain in the script obviously, eg my script has both CODE // @include http://g.e-hentai.org/g/* // @include http://[??]hentai.org/fakepage Disclaimer: I have absolutely no idea what [??] stands for. In the script, you would have to replace [??] with the characters that should be there instead. Thanks! Your script will be a good reference for me.
|
|
|
|
 |
|
May 7 2016, 20:41
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,135
Joined: 26-April 12

|
Oh my...so do I have to deactivate OFC at round start in Crackling Cast? (aka removing the script since I'm using it ONLY for that (IMG:[ invalid] style_emoticons/default/laugh.gif) ) Anyway, is there some script, that doesn't twist the monster lab main page, for feeding all monsters without wasting 1 food per monster with the normal "feed all" button?
|
|
|
May 8 2016, 08:22
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
nvm
This post has been edited by LOL50015: May 8 2016, 09:04
|
|
|
May 9 2016, 18:57
|
Anemone
Group: Gold Star Club
Posts: 865
Joined: 16-May 13

|
Hi everyone I find a thing about crackling cast is the potion reminder does not work when the potion first in CD then fully cooled down in the same round. For example, I set 0.7 for MPotion, when my MP gets below 0.7 and the MPotion is in CD, the reminder takes no effect till next round, which means in this round I need to estimate it's CD and use it manually. so I want to konw whether it's a bug?
|
|
|
|
 |
|
May 10 2016, 01:05
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14

|
QUOTE(Anemona7 @ May 10 2016, 01:57)  Hi everyone I find a thing about crackling cast is the potion reminder does not work when the potion first in CD then fully cooled down in the same round. For example, I set 0.7 for MPotion, when my MP gets below 0.7 and the MPotion is in CD, the reminder takes no effect till next round, which means in this round I need to estimate it's CD and use it manually. so I want to konw whether it's a bug?
Hi, Anemona7. It's bug, only once parse to item slots at begin of round. Try fix7 [attachmentid=85359] Thank you for your help.
|
|
|
May 10 2016, 03:41
|
Anemone
Group: Gold Star Club
Posts: 865
Joined: 16-May 13

|
QUOTE(hansvar92 @ May 10 2016, 07:05)  Hi, Anemona7. It's bug, only once parse to item slots at begin of round. Try fix7 [attachmentid=85359] Thank you for your help.
Thank you hansvar92,you always make the Script better.
|
|
|
|
 |
|
May 10 2016, 10:33
|
Superlatanium
Group: Gold Star Club
Posts: 7,647
Joined: 27-November 13

|
Edit: Forgot to "return false" instead of "return" to prevent the href from going during onclick, fixed now
HV_Random_Encounter_Notification.user.js.txt ( 2.98k )
Number of downloads: 427With HV Random Encounter Notification, you might sometimes accidentally control-click or shift-click or alt-click on Ready. This can cause problems (such as downloading the E-H.org page and having to go to your file system to find it, open the page, open the RE, and delete the file). I added a check so that if control, shift, or alt is down when you click the timerLink, the onclick function returns without doing anything. This post has been edited by Superlatanium: May 10 2016, 11:17
|
|
|
|
 |
|
May 11 2016, 02:51
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,135
Joined: 26-April 12

|
QUOTE(ppp82p @ May 7 2016, 20:41)  Oh my...so do I have to deactivate OFC at round start in Crackling Cast? (aka removing the script since I'm using it ONLY for that (IMG:[ invalid] style_emoticons/default/laugh.gif) ) Anyway, is there some script, that doesn't twist the monster lab main page, for feeding all monsters without wasting 1 food per monster with the normal "feed all" button? ^ ^ Need help (IMG:[ invalid] style_emoticons/default/cry.gif) (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
 |
|
May 11 2016, 12:36
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
QUOTE Anyway, is there some script, that doesn't twist the monster lab main page, for feeding all monsters without wasting 1 food per monster with the normal "feed all" button?
You know you are not poor enough to ask for special script which will save you one extra food piece xD Come on! (IMG:[ invalid] style_emoticons/default/happy.gif) I never seen script like this, but you can use Tatarime's Smart Monster Lab, which has filtering option. With this you can put "$Hunger < 0.55" and this way show (and feed then) only monster with hunger meter on 55% or below. =) BUT this script twist monster lab very much... This post has been edited by f4tal: May 11 2016, 16:15
|
|
|
|
 |
|
May 11 2016, 20:39
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13

|
Update !!! Version: 2.7 [Date: 11.05.2016] - Added Next scripts: --- ColorDebuff [0.2] [#Reloader] --- Counter Plus [3.6] [#Reloader] --- Crackling Cast [1.0.3fix7] [#Reloader] --- HV STAT Slim Mod [0.2.17] [#Reloader] --- Random Encounter Notification [1.3.4.7] --- Reloader [1.3.3b] [Sapo-version] --- Round Counter [0.0.0.1] [#Reloader] --- Skip Popup [0.0.0.3] [#Reloader] --- Skip Popup [0.0.0.4] [#Reloader] --- Smart Search [1.2.2] --- SpellSpam [3.5.2.16] [#Reloader] --- Track Drops [2.1.1] [#Reloader] --- Vanilla Reloader [1.1.1fix] - Rewrite first post to make it more intuitive, especially Reloader and Vanilla Reloader part - From now all I will mark all scripts that have support to latest Reloaders as "modules", because in other way it will be more complicated *** Total 538 scripts Script Megapack You can download ALL scripts presented in this thread in one single archive DOWNLOAD AS ATTACHMENT: [attachmentid=85444]
|
|
|
|
 |
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|