Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Feb 10 2017, 01:09
|
High Rolla
Group: Gold Star Club
Posts: 192
Joined: 28-August 13
|
Does anyone know the script for scrolling the mouse wheel to use mana/health potions when low?
|
|
|
Feb 11 2017, 22:14
|
High Rolla
Group: Gold Star Club
Posts: 192
Joined: 28-August 13
|
When using Reloader on Chrome when a new round starts is there a way to make it so you dont have to move the mouse again to make it start hover attacking again?
|
|
|
Feb 11 2017, 23:15
|
Noni
Group: Catgirl Camarilla
Posts: 12,947
Joined: 19-February 16
|
QUOTE(High Rolla @ Feb 11 2017, 21:14) When using Reloader on Chrome when a new round starts is there a way to make it so you dont have to move the mouse again to make it start hover attacking again?
Would not be allowed, I think. Don't try it is my advice.
|
|
|
|
|
|
Feb 11 2017, 23:28
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
QUOTE(DJNoni @ Feb 11 2017, 22:15) Would not be allowed, I think. Don't try it is my advice.
Strange, some time ago there was a misterious fix for that, I asked if that wasn't illegal and I was told it wasn't. (let me search for that and I'll link it with an edit) I still have the doubt, and still have an older version of Reloader that doesn't allow that. For example a fix like this would make the first arena doable by hovering 1 time and leaving the mouse on the same point for 5 rounds. It can be done only for that arena but still, it's not an input for the player for every action.
|
|
|
|
|
|
Feb 11 2017, 23:35
|
High Rolla
Group: Gold Star Club
Posts: 192
Joined: 28-August 13
|
QUOTE(End Of All Hope @ Feb 11 2017, 16:28) Strange, some time ago there was a misterious fix for that, I asked if that wasn't illegal and I was told it wasn't. (let me search for that and I'll link it with an edit)
I still have the doubt, and still have an older version of Reloader that doesn't allow that.
For example a fix like this would make the first arena doable by hovering 1 time and leaving the mouse on the same point for 5 rounds. It can be done only for that arena but still, it's not an input for the player for every action.
Dont want to break any rules thats for sure
|
|
|
|
|
|
Feb 11 2017, 23:36
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(End Of All Hope @ Feb 11 2017, 22:28) ...
It basically is an automatic first attack, so i'd say it's not allowed, like the auto cast on new round that was removed from CC. This post has been edited by gianfrix94: Feb 11 2017, 23:52
|
|
|
|
|
|
Feb 11 2017, 23:50
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
Read on page 164. Edit: QUOTE(FabulousCupcake @ Oct 7 2016, 15:03) The only nagging issue I found is that you have to move your cursor/rehover the monster on round start.
QUOTE(ppp82p @ Oct 7 2016, 15:04) Isn't that a required thing that disallows the script picking a target automatically? I thought so (IMG:[ invalid] style_emoticons/default/huh.gif) QUOTE(Sapo84 @ Oct 7 2016, 15:19) No, it's the browser that doesn't get the monster under the cursor if you don't move it. To bypass that you save the coordinates and use them to select the monster. So stupid.
This post has been edited by End Of All Hope: Feb 11 2017, 23:58
|
|
|
|
|
|
Feb 11 2017, 23:58
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(End Of All Hope @ Feb 11 2017, 22:50) Read on page 164.
I read that, and yeah the have to move mouse on new round came from browser changes, but this doesn't change the fact that it makes the script less automatic and more inside the rules in my opinion.
|
|
|
|
|
|
Feb 12 2017, 00:00
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(End Of All Hope @ Feb 11 2017, 21:50) Read on page 164.
TLDR: It's different browser behaviours. Firefox does automagically trigger the hover event after a new render while you have to actually move the pointer 1pixel on chromium browsers. There is a 10 line or so snippet, that replicates the firefox behaviour for chromium browsers. CC has it and uses it instead of binding hovers in case the pointer is above a monster (this is actually a speed optimization as well as fixing that annoying imbalance) and i think gianfrix reloader version has a setting for chrome_hover_fix or something like this. Not sure about Sapo's version, only checked the structure for his 1.4 version (IMG:[ invalid] style_emoticons/default/happy.gif) If this behaviour is illegal, you'd also have to ban either firefox or hover-scripts in general as every hover script would need to implement something specifically to hobble firefox. // read "hover event" as "mouseover event" This post has been edited by simrock87: Feb 12 2017, 00:04
|
|
|
|
|
|
Feb 12 2017, 00:02
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
I don't have such issue on firefox nor on chrome. The reloader's mousemelee DOES NOT go on if I don't move a bit the mouse on new rounds. And that's the correct behaviour. And it should not be changed.
My in battle scripts: 1) Reloader 1.3.3a 2) CracklingCast 1.0.3 (blank field in the new round thingy) 3) Stack Counter 1.0.2
This post has been edited by End Of All Hope: Feb 12 2017, 00:09
|
|
|
|
|
|
Feb 12 2017, 00:11
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(simrock87 @ Feb 11 2017, 23:00) ...
Didn't FF new versions stop the automagic hover? I think they did. PS: The chrome fix in my reloader is inherited from reloader 1.3.3b, and is not for not having to move the mouse on new rounds but is for tracking the position of the cursor always. This post has been edited by gianfrix94: Feb 12 2017, 00:12
|
|
|
|
|
|
Feb 12 2017, 00:33
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(gianfrix94 @ Feb 11 2017, 22:11) Didn't FF new versions stop the automagic hover? I think they did.
Not sure, haven't used FF for about a year or so now. Anyway, it has been okay until now, in the state as it was ironing out browser differences, and the usual stance so far has been to carry on so long until it's no longer okay. (that sentence sounds wrong ... nvm) As it was with the spell_on_new_round that came from HoverPlay. If you'd like to check ... try with Reloader with everything beside the Reloader part turned off, write a 5 liner that attaches to Reloader_reloaded, then attaches a 'mouseover' event with console.log() output to every monster element, then enable keyboard-mouse (so that you don't accidently move the mouse while clicking), move the mouse over a monster and click with keyboard-mouse (NumPad 5). At least that would've been my approach to be sure. QUOTE(gianfrix94 @ Feb 11 2017, 22:11) PS: The chrome fix in my reloader is inherited from reloader 1.3.3b, and is not for not having to move the mouse on new rounds but is for tracking the position of the cursor always.
*cough* check if (settings.chromeFix) { and the following lines, it does exactly that (IMG:[ invalid] style_emoticons/default/wink.gif) There is no other reason to track mouse movements in any battle script. Also, yeah it's been in there for a while, even though Reloader, to my knowledge at least, doesn't work well with chrome (without tampermonkey).
|
|
|
|
|
|
Feb 12 2017, 00:34
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
QUOTE(simrock87 @ Feb 11 2017, 23:33) even though Reloader, to my knowledge at least, doesn't work well with chrome (without tampermonkey).
Do scripts even work without an extension for scripts? I thought only very basic ones work without extensions. This post has been edited by End Of All Hope: Feb 12 2017, 00:34
|
|
|
|
|
|
Feb 12 2017, 00:41
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(End Of All Hope @ Feb 11 2017, 22:34) Do scripts even work without an extension for scripts? I thought only very basic ones work without extensions.
FF doesn't have basic UserScript support built in afaik, so FF still needs GreaseMonkey in any case. Chrome has UserScript support, but HV scripts tend to need some interaction with the page itself, so you need to circumvent the sandboxing in these cases, which is generally not done for most scripts. If you want to try, try Vanilla Reloader (v1.1.1 nerfthis fix) with CC. Vanilla Reloader(VR) takes care of the on-page stuff by injecting itself into the page and CC then abuses the controls VR put in place to circumvent its own sandboxing issues (IMG:[ invalid] style_emoticons/default/smile.gif) But, it's usually just about 20 lines of copy/paste for the injecting part to get FF-Only/GM scripts working in chrome. (check the first and last lines of VR) PS: I switched from old Iron Portable to Chromium Portable as it got quite dated and Chrome does the stupid userscript deleting stuff (hint: Chromium != Chrome) // Edit: Reason you'd want to use scripts without TM is that TM also has some overhead that needs to run with each script, which in the days of Reloader is not that annoying anymore, but why carry a 2MB JS around if you don't need it? This post has been edited by simrock87: Feb 12 2017, 00:43
|
|
|
|
|
|
Feb 12 2017, 00:50
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
I don't have problems with that fortunately. I play on FF with Greasemonkey to use Reloader+CC+Stack Counter + some forum/non battle script. And I have Tampermonkey to eventually use on Chrome too. It depends on how many tabs I have open on FF (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
|
|
Feb 12 2017, 00:50
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(simrock87 @ Feb 11 2017, 23:33) *cough* check if (settings.chromeFix) { and the following lines, it does exactly that (IMG:[ invalid] style_emoticons/default/wink.gif) There is no other reason to track mouse movements in any battle script. Also, yeah it's been in there for a while, even though Reloader, to my knowledge at least, doesn't work well with chrome (without tampermonkey). Isn't that for getting the cursor position from the last round and updating it whenever cursor moves? I tried it without that, but without it on Chrome you need to move the cursor EVERY turn for it to work. It's not for attacking on new round, but on new turn without moving cursor. QUOTE(End Of All Hope @ Feb 11 2017, 23:34) Do scripts even work without an extension for scripts? I thought only very basic ones work without extensions.
In Chrome they don't anymore, they blocked scripts from out of the store. Or maybe you can do it in developer mode? I'm not sure, since i use Tampermokey. You can directly install Userscripts in Chromium and Iron, i think.
|
|
|
|
|
|
Feb 12 2017, 00:53
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(gianfrix94 @ Feb 11 2017, 22:50) Isn't that for getting the cursor position from the last round and updating it whenever cursor moves? I tried it without that, but without it on Chrome you need to move the cursor EVERY turn for it to work. It's not for attacking on new round, but on new turn without moving cursor.
Correct, in Chromium based browsers you have to move the mouse for ANY mouseover to trigger again from a "resting" position. In FF you didn't have to for anything as turn and round behaved the same way before Reloader. This post has been edited by simrock87: Feb 12 2017, 00:53
|
|
|
|
|
|
Feb 12 2017, 02:27
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(gianfrix94 @ Feb 11 2017, 23:11) Didn't FF new versions stop the automagic hover? I think they did.
If I remember correctly 49 was the last version where the automagic hover on new round worked. Still using that btw, playing with 50+ felt really crappy so I went back to 49 half an hour later. I've yet to test 51.
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|