Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jan 28 2017, 18:52
|
amped
Group: Gold Star Club
Posts: 406
Joined: 12-August 10

|
QUOTE(Mahiro-kyun @ Jan 28 2017, 07:26)  Are you perhaps using a chromium-based browser without tampermonkey? Because I had the same problem when I switched to Iron and tried to install scripts directly. Installing the script through tampermonkey solved everything.
I'm using firefox so I installed it through greasemonkey.
|
|
|
|
 |
|
Jan 28 2017, 19:18
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12

|
QUOTE(simrock87 @ Jan 28 2017, 13:18)  While it does seem to work from looking at it, i'm pretty sure it's bad practice. The usual approach would have been to just move them outside of scope and define them outside of loops, functions and so on, or as (i think it was sapo) did in 1.4 to move them to a utility obj.
It probably is bad practice, but i have to say i don't really care right now, as long as it works well (IMG:[ invalid] style_emoticons/default/heh.gif) Once i decide to refactor it all (not so soon), i'll fix it (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
 |
|
Jan 28 2017, 19:20
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15

|
I am a very weak mage and I use a LOT of mana.
Therefore, the channeling buff is driving me insane with the constant stops.
How do I loop " stopWhenChanneling : true, // Stop if you have channeling buff"? (CC 1.0.3)
I want it to trigger a stop like every 4th or 5th time it comes up.
|
|
|
Jan 28 2017, 19:44
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
QUOTE(RoadShoe @ Jan 28 2017, 17:20)  I want it to trigger a stop like every 4th or 5th time it comes up.
I won't say you can't, i'll just say it's not allowed by the rules. Stopping on channeling itself is technically already a bit dicey, adding even more logic might lead to the whole thing becoming ban-able.
|
|
|
|
 |
|
Jan 28 2017, 19:45
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12

|
QUOTE(RoadShoe @ Jan 28 2017, 18:20)  I am a very weak mage and I use a LOT of mana.
Therefore, the channeling buff is driving me insane with the constant stops.
How do I loop " stopWhenChanneling : true, // Stop if you have channeling buff"? (CC 1.0.3)
I want it to trigger a stop like every 4th or 5th time it comes up.
You'd have to change the stop when channelling function by adding a counter in local storage and after 4 or 5 times it hits that function you make it go on in the function and reset the counter instead of returning. But i have to say that's a plain bad idea man (and i'm not sure if it's a allowed thing) (IMG:[ invalid] style_emoticons/default/heh.gif) This post has been edited by gianfrix94: Jan 28 2017, 19:46
|
|
|
|
 |
|
Jan 28 2017, 21:56
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15

|
QUOTE(simrock87 @ Jan 28 2017, 09:44)  I won't say you can't, i'll just say it's not allowed by the rules. Stopping on channeling itself is technically already a bit dicey, adding even more logic might lead to the whole thing becoming ban-able.
QUOTE(gianfrix94 @ Jan 28 2017, 09:45)  You'd have to change the stop when channelling function by adding a counter in local storage and after 4 or 5 times it hits that function you make it go on in the function and reset the counter instead of returning. But i have to say that's a plain bad idea man (and i'm not sure if it's a allowed thing) (IMG:[ invalid] style_emoticons/default/heh.gif) oops... I wasn't thinking about the ban part. I'm walking away from the idea now.... not looking back. (IMG:[ invalid] style_emoticons/default/unsure.gif)
|
|
|
|
 |
|
Jan 28 2017, 22:05
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
QUOTE(RoadShoe @ Jan 28 2017, 19:56)  I'm walking away from the idea now.... not looking back. (IMG:[ invalid] style_emoticons/default/unsure.gif) Don't worry, i've scrapped a couple scripts after 5-10h coding before i noticed they wouldn't be compliant ... i don't think anyone got sent on vacation for ideas, yet. TBH, i've just set stopOnChanneling to false for maging, am happy for bonus damage from channeling and just swallow the 20 potions extra a day (IMG:[ invalid] style_emoticons/default/happy.gif)
|
|
|
|
 |
|
Jan 28 2017, 23:03
|
KitsuneAbby
Group: Catgirl Camarilla
Posts: 7,572
Joined: 12-July 14

|
QUOTE(RoadShoe @ Jan 28 2017, 18:20)  I am a very weak mage and I use a LOT of mana.
Therefore, the channeling buff is driving me insane with the constant stops.
How do I loop " stopWhenChanneling : true, // Stop if you have channeling buff"? (CC 1.0.3)
I want it to trigger a stop like every 4th or 5th time it comes up.
That's simply not allowed because it then becomes a script that decides what to do instead of you. It's called automation. But unlike what the others said, stopping the mousemelee when Channeling pops up is perfectly okay: in the normal gameplay you're always stopped between all actions anyway, and it's still up to you to decide to keep on attacking or to use the Channeling. What would be forbidden, would be auto-casting a certain spell (or even a rotation) when Channeling pops up. You all have to keep in mind that what we're allowed to use are scripts that soften our gameplay, but nothing more.
|
|
|
|
 |
|
Jan 29 2017, 01:05
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15

|
QUOTE(simrock87 @ Jan 28 2017, 12:05)  Don't worry, i've scrapped a couple scripts after 5-10h coding before i noticed they wouldn't be compliant ... i don't think anyone got sent on vacation for ideas, yet. TBH, i've just set stopOnChanneling to false for maging, am happy for bonus damage from channeling and just swallow the 20 potions extra a day (IMG:[ invalid] style_emoticons/default/happy.gif) The potions are so cheap anyway. yep.. I think I'll set it to false and see how that works out. QUOTE(decondelite @ Jan 28 2017, 13:03)  That's simply not allowed because it then becomes a script that decides what to do instead of you. It's called automation.
But unlike what the others said, stopping the mousemelee when Channeling pops up is perfectly okay: in the normal gameplay you're always stopped between all actions anyway, and it's still up to you to decide to keep on attacking or to use the Channeling. What would be forbidden, would be auto-casting a certain spell (or even a rotation) when Channeling pops up.
You all have to keep in mind that what we're allowed to use are scripts that soften our gameplay, but nothing more.
ditto (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
 |
|
Jan 29 2017, 14:27
|
Maximum_Carnage
Group: Gold Star Club
Posts: 792
Joined: 27-October 09

|
Can somebody help with this?  It shows double info at every page load and after I take any action it goes back to normal.  I'm using Reloader 1.3.3b (tried 1.3.5d) with HV cooldown Reloader (by gianfrix94). When I disable reloader it works as it should.
|
|
|
Jan 29 2017, 15:11
|
Cleavs
Group: Gold Star Club
Posts: 24,317
Joined: 18-January 07

|
QUOTE(Dragon Ninja @ Jan 29 2017, 13:27)  Can somebody help with this?  It shows double info at every page load and after I take any action it goes back to normal.  I'm using Reloader 1.3.3b (tried 1.3.5d) with HV cooldown Reloader (by gianfrix94). When I disable reloader it works as it should. yep, my guess is that you have two scripts with cooldown function. if that's the case and you really need the supplemental function given by cooldown reloader, try check reloader to see if you can disable such similar function.
|
|
|
|
 |
|
Jan 29 2017, 15:43
|
Maximum_Carnage
Group: Gold Star Club
Posts: 792
Joined: 27-October 09

|
QUOTE(Scremaz @ Jan 29 2017, 14:11)  yep, my guess is that you have two scripts with cooldown function. if that's the case and you really need the supplemental function given by cooldown reloader, try check reloader to see if you can disable such similar function.
Checked the reloader and didn't find any similar: CODE var settings = { hideWelcome: false, noBlinking: false, effectDurations: true, gemIcon: false, roundCounter: true, hvStateHP: false, fluidHPBar: false, sparkAlert: true, defaultAction: 0, mouseMelee: true, minHP: 0.4, minMP: 0.25, minSP: 0.4, stopWhenChanneling: 2, chromeFix: true, battleLog: false, skipToNextRound: true, popupTime: 0, counterPlus: true, counterPlusSave: false
Disabled all of them and still nothing. This post has been edited by Dragon Ninja: Jan 29 2017, 15:43
|
|
|
|
 |
|
Jan 29 2017, 15:50
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11

|
QUOTE(Dragon Ninja @ Jan 29 2017, 12:27)  Can somebody help with this?  It shows double info at every page load and after I take any action it goes back to normal.  I'm using Reloader 1.3.3b (tried 1.3.5d) with HV cooldown Reloader (by gianfrix94). When I disable reloader it works as it should. Code error, both stackcounter and cooldown run twice with reloader enabled on initial page load. //Edit: Change CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); }
HV_Cooldown(); to CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); } else { HV_Cooldown(); } This post has been edited by simrock87: Jan 29 2017, 15:54
|
|
|
|
 |
|
Jan 29 2017, 15:58
|
Maximum_Carnage
Group: Gold Star Club
Posts: 792
Joined: 27-October 09

|
QUOTE(simrock87 @ Jan 29 2017, 14:50)  Code error, both stackcounter and cooldown run twice with reloader enabled on initial page load. //Edit: Change CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); }
HV_Cooldown(); to CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); } else { HV_Cooldown(); } Thank You very much. Now it works as it should.
|
|
|
|
 |
|
Jan 29 2017, 16:19
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12

|
QUOTE(simrock87 @ Jan 29 2017, 14:50)  Code error, both stackcounter and cooldown run twice with reloader enabled on initial page load. //Edit: Change CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); }
HV_Cooldown(); to CODE if (settings.use_reloader) { window.addEventListener('Reloader_reloaded', HV_Cooldown); } else { HV_Cooldown(); } I'll go fix everywhere this error is soon. On chrome this error doesn't appear so i never noticed it, sorry. EDIT: With the else on Chrome it doesn't work on the first turn, so i'm keeping it like it is now. This post has been edited by gianfrix94: Jan 29 2017, 19:29
|
|
|
|
 |
|
Jan 29 2017, 19:09
|
aznknightfire
Group: Gold Star Club
Posts: 534
Joined: 23-July 10

|
Hi All,
Where can I find a script that shows my potions/draughts and how many I have on the same battle page?
Thanks, Newbie
This post has been edited by erojh jioj: Jan 29 2017, 19:10
|
|
|
Jan 29 2017, 19:51
|
KitsuneAbby
Group: Catgirl Camarilla
Posts: 7,572
Joined: 12-July 14

|
QUOTE(erojh jioj @ Jan 29 2017, 18:09)  Hi All,
Where can I find a script that shows my potions/draughts and how many I have on the same battle page?
Thanks, Newbie
How does one could ever not have enough potions?
|
|
|
Jan 29 2017, 19:52
|
aznknightfire
Group: Gold Star Club
Posts: 534
Joined: 23-July 10

|
Someone who's been away a long time (IMG:[ invalid] style_emoticons/default/biggrin.gif) Is there a script that just allows me to drink potions/draughts on the main battle page?
|
|
|
Jan 29 2017, 20:18
|
aznknightfire
Group: Gold Star Club
Posts: 534
Joined: 23-July 10

|
What is this Reloader and CracklingCast I am reading about? Ideally, I'd like to know if my health goes below 25% to manually drink a health potion easily. I also saw a screenshot of someone who has arena/item world stats at the very end with credits, time taken, etc. What script is that? Thanks again (IMG:[ invalid] style_emoticons/default/biggrin.gif) Itembar worked!
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|