|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
May 4 2016, 20:37
|
anon079
Lurker
Group: Recruits
Posts: 7
Joined: 30-April 16
|
QUOTE(f4tal @ May 4 2016, 19:00) Strange my firefox can update only to 45. I supposed 46.0.1 is kind of developer build?
1. Try in different browser. Iron portable for example. If script will work - something wrong with your firefox 2. If your have more scripts - try to switch them off, maybe some incompatibility problems? 3. Maybe something wrong with your local storage where script contain its data? Try to install some addon in firefox which will clean javascript local storage. 4. Maybe problem in Greasemonkey addon in your firefox? I have version 3.8 - everything works good. 5. Maybe there are some restriction in your browser? For example your switch on some addon which block javascripts to launch?
I tried the script in chrome with tampermonkey (only tampermonkey addon and equip compare script) after cleaning my local storage and got the same result. Greasemonkey version is 3.8 for me too. Nothing to block javascripts. I use the x64 version of firefox, could it have any impact ?
|
|
|
|
|
|
May 4 2016, 21:57
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
QUOTE I tried the script in chrome with tampermonkey (only tampermonkey addon and equip compare script) after cleaning my local storage and got the same result. Greasemonkey version is 3.8 for me too. Nothing to block javascripts. I use the x64 version of firefox, could it have any impact ? Hmm, try to switch script on and visit this page http://hentaiverse.org/?s=Character&ss=eq before doing anything more. If this will not work - I am run out of any idea =/
|
|
|
|
|
|
May 4 2016, 23:01
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(Anemona7 @ May 4 2016, 20:09) Thanks,I have tried Reloder 1.3.3b,but the problem still exists,and the problem is the enemies are still alive when battleLog show Stop beating dead horses.
QUOTE(nobody_xxx @ May 4 2016, 20:31) errr , I got some problem too with that (IMG:[ invalid] style_emoticons/default/biggrin.gif) wait till hansvar appear to make some explanation for this (IMG:[ invalid] style_emoticons/default/heh.gif) CracklingCast fix6 [attachmentid=85063] fix6 - fixed bug attack wrong target ('Stop beating dead horses') Sorry, it's my fault. Normaly I play mage (AOE) for test and don't see battle log. Next time, I should be test 1h and more carefully lookup battle log. QUOTE(f4tal @ May 5 2016, 04:57) Hmm, try to switch script on and visit this page http://hentaiverse.org/?s=Character&ss=eq before doing anything more. If this will not work - I am run out of any idea =/ But he said "EC Loading..." message which almost instantly disappear. That means player level and equips data loading is done. And "popup from pressing C", this means he stay out of battle. And he get a message box with a date, N key is work. But F, H, R key and other keys is not working. I think fail here; Controller.loaded value is false. CODE if (key == 'n') { Controller.useBaseDataOld = !Controller.useBaseDataOld; alert('Wiki Data Date: ' + (Controller.useBaseDataOld ? OLD_DATA_DATE : NEW_DATA_DATE)); return; } Wiki.baseData = Controller.useBaseDataOld ? Wiki.baseDataOld : Wiki.baseDataNew;
if (!Controller.loaded) { if (!Controller.inBattle && (!localStorage.hasOwnProperty('HVLevel') || !localStorage.hasOwnProperty('HVEquipment'))) { Controller.getData(e); return; } Controller.loadData(); if (localStorage.hasOwnProperty('HVLevel') && localStorage.hasOwnProperty('HVEquipment')) Controller.loaded = true; }
open browser's javascript console or developer tools. use http (not https) and visit http://hentaiverse.org/?s=Character&ss=eq and wait a few seconds. try w keydown and keyup (keyevent is keyup) on your equipment and wait a few seconds. This post has been edited by hansvar92: May 5 2016, 00:15
|
|
|
|
|
|
May 5 2016, 04:00
|
Anemone
Group: Gold Star Club
Posts: 814
Joined: 16-May 13
|
QUOTE(hansvar92 @ May 5 2016, 05:01) CracklingCast fix6 [attachmentid=85063] fix6 - fixed bug attack wrong target ('Stop beating dead horses')
Sorry, it's my fault. Normaly I play mage (AOE) for test and don't see battle log. Next time, I should be test 1h and more carefully lookup battle log.
Thank you for you help, the problem has been solved. (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
|
|
|
May 5 2016, 08:53
|
anon079
Lurker
Group: Recruits
Posts: 7
Joined: 30-April 16
|
I did more testing In http://hentaiverse.org/?s=Character&ss=eq : T Y I O P = Nothing happen (no EC Loading, nothing in the console) F H R B E Q U W = "EC Loading" briefly and in the console i see 2 lines appearing http://hentaiverse.org/?s=Character&ss=eq http://hentaiverse.org/pages/showequip.php...;key=58b35fd5abThe second line is always the last item equipped on the current set. Even tho it appears in the console there is no popup or anything changing beside the EC loading message. N gives me the date message box C gives popup window If i open a popup with C : N opens date message box C does nothing Every other keybind gives "EC loading" and the 2 same lines as before in the console
|
|
|
|
|
|
May 5 2016, 09:07
|
Superlatanium
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
|
I don't remember, does Equip Compare require disabling the default HV font?
It might, try that if you haven't already.
|
|
|
|
|
|
May 5 2016, 09:37
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(anon079 @ May 5 2016, 15:53) I did more testing In http://hentaiverse.org/?s=Character&ss=eq : T Y I O P = Nothing happen (no EC Loading, nothing in the console) F H R B E Q U W = "EC Loading" briefly and in the console i see 2 lines appearing http://hentaiverse.org/?s=Character&ss=eq http://hentaiverse.org/pages/showequip.php...;key=58b35fd5abThe second line is always the last item equipped on the current set. Even tho it appears in the console there is no popup or anything changing beside the EC loading message. N gives me the date message box C gives popup window If i open a popup with C : N opens date message box C does nothing Every other keybind gives "EC loading" and the 2 same lines as before in the console QUOTE(Superlatanium @ May 5 2016, 16:07) I don't remember, does Equip Compare require disabling the default HV font?
It might, try that if you haven't already.
Yes, It require custom font. I had clearly forgotten hv have default font. (IMG:[ invalid] style_emoticons/default/heh.gif) Go to Settings - Use Custom Font
|
|
|
|
|
|
May 5 2016, 10:30
|
anon079
Lurker
Group: Recruits
Posts: 7
Joined: 30-April 16
|
Custom font fixed it, thanks everyone.
|
|
|
May 5 2016, 11:16
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
QUOTE I don't remember, does Equip Compare require disabling the default HV font? Give the medal to this guy! (IMG:[ invalid] style_emoticons/default/happy.gif)
|
|
|
May 5 2016, 11:25
|
LazyShd
Group: Gold Star Club
Posts: 767
Joined: 5-May 13
|
QUOTE(f4tal @ May 4 2016, 21:00) EDIT: by the way, why people use Vanilla Reloader, but not Reloader 1.3.3b? Speed improvement?
Yes. And i must say that it is really big speed improvement for me. This post has been edited by LazyShd: May 5 2016, 11:26
|
|
|
|
|
|
May 5 2016, 12:27
|
Noni
Group: Catgirl Camarilla
Posts: 12,938
Joined: 19-February 16
|
is there a script that troggles Spirit on and of at a specific Overcharge level?
When fighting in DWD and ED I like to use OFC to blast all non-schoolgirls, then build up spirit until next round. But then when overcharge is full and the girls aren't defeated yet, I turn on Spirit. But at 210 I turn it off, to keep OFC ready.
There is spirit troggling in CracklingCast, but that one doesn't work for me - does too much. I prefer Reloader 1.3.3b, because I understand what it does.
Is there a separate script for just Spirit Stance, or should I use the bits of script from CracklingCast:
if (oc >= Settings.limits.oc && document.getElementsByClassName('btp')[0].innerHTML.indexOf('"http://ehgt.org/v/battle/spirit_a.png"') === -1) { placeDisplay(Icons.SpiritStance, 'width: 28px; height: 28px; border: 1px solid grey', function () { cast('Spirit Stance', 0);
|
|
|
|
|
|
|
|
|
May 5 2016, 15:45
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(DJNoni @ May 5 2016, 19:27) is there a script that troggles Spirit on and of at a specific Overcharge level?
When fighting in DWD and ED I like to use OFC to blast all non-schoolgirls, then build up spirit until next round. But then when overcharge is full and the girls aren't defeated yet, I turn on Spirit. But at 210 I turn it off, to keep OFC ready.
There is spirit troggling in CracklingCast, but that one doesn't work for me - does too much. I prefer Reloader 1.3.3b, because I understand what it does.
Is there a separate script for just Spirit Stance, or should I use the bits of script from CracklingCast:
if (oc >= Settings.limits.oc && document.getElementsByClassName('btp')[0].innerHTML.indexOf('"http://ehgt.org/v/battle/spirit_a.png"') === -1) { placeDisplay(Icons.SpiritStance, 'width: 28px; height: 28px; border: 1px solid grey', function () { cast('Spirit Stance', 0);
ehgt.org not work in hv v0.84. document.getElementsByClassName('btp')[0].innerHTML.indexOf('"http://ehgt.org/v/battle/spirit_a.png"') === -1 This code always true. So if overcharge > oc, always spirit stance icon visible. Draughts and inactive SoL when Cloak of the Fallen have same problem too. CODE if (oc >= Settings.limits.oc && document.getElementsByClassName('btp')[0].innerHTML.indexOf('spirit_a.png') === -1) { placeDisplay(Icons.SpiritStance, 'width: 28px; height: 28px; border: 1px solid grey', function () { cast('Spirit Stance', 0); }); }
This post has been edited by hansvar92: May 5 2016, 15:46
|
|
|
|
|
|
May 5 2016, 16:23
|
Noni
Group: Catgirl Camarilla
Posts: 12,938
Joined: 19-February 16
|
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? [code] QUOTE function loadSettings() { Settings = { limits : { // Limits are percentage based. i.e. 0.8 = 80% oc : 210 / 250 // Use Spirit Stance at or below (If > 1, never use spirit stance) } }; }
(function SpiritTroggleFunctionThing() { 'use strict';
if (oc >= Settings.limits.oc && document.getElementsByClassName('btp')[0].innerHTML.indexOf('spirit_a.png') === -1) { placeDisplay(Icons.SpiritStance, 'width: 28px; height: 28px; border: 1px solid grey', function () { cast('Spirit Stance', 0); }); } })(); This post has been edited by DJNoni: May 5 2016, 16:26
|
|
|
|
|
|
May 5 2016, 16:40
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
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. This post has been edited by Sapo84: May 5 2016, 16:42
|
|
|
|
|
|
May 5 2016, 17:12
|
Noni
Group: Catgirl Camarilla
Posts: 12,938
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
|
|
|
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|