Welcome Guest ( Log In | Register )

291 Pages V « < 184 185 186 187 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Feb 11 2017, 23:35
Post #3687
High Rolla



Casual Poster
***
Group: Gold Star Club
Posts: 192
Joined: 28-August 13
Level 495 (Dovahkiin)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 11 2017, 23:36
Post #3688
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 500 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 11 2017, 23:50
Post #3689
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 11 2017, 23:58
Post #3690
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 500 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:00
Post #3691
simrock87



<('.'<) (>'.')> (^'.')>
*****
Group: Members
Posts: 647
Joined: 12-June 11
Level 399 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:02
Post #3692
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:11
Post #3693
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 500 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:33
Post #3694
simrock87



<('.'<) (>'.')> (^'.')>
*****
Group: Members
Posts: 647
Joined: 12-June 11
Level 399 (Godslayer)


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).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:34
Post #3695
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:41
Post #3696
simrock87



<('.'<) (>'.')> (^'.')>
*****
Group: Members
Posts: 647
Joined: 12-June 11
Level 399 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:50
Post #3697
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:50
Post #3698
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 500 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 00:53
Post #3699
simrock87



<('.'<) (>'.')> (^'.')>
*****
Group: Members
Posts: 647
Joined: 12-June 11
Level 399 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 02:27
Post #3700
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:17
Post #3701
Cleavs



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,317
Joined: 18-January 07
Level 500 (Ponyslayer)


i have firefox 47 and i never noted it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:33
Post #3702
RoadShoe



Press any key to continue... Where's the any key?
********
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
Level 500 (Godslayer)


double post



This post has been edited by RoadShoe: Feb 12 2017, 03:35
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:34
Post #3703
RoadShoe



Press any key to continue... Where's the any key?
********
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
Level 500 (Godslayer)


Does CC work for just 'attack'?

ie - can I set it to mousemelee monsters on their head with a staff?

I can't seem to make it work anymore.

I use reloader 1.3.5 for mage, but I can't make it work for whakamonster either.
If I change the line from 'Smite', 'Smite', 'Paradise Lost', etc. to just 'attack', it places me in click mode only.


And clicking through a 150 round arena??

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:36
Post #3704
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 500 (Godslayer)


QUOTE(RoadShoe @ Feb 12 2017, 02:34) *

...

For normal Attack on my Reloader (1.3.5d) you just need to leave the field blank( so hover: [] ).
I think i wrote that in the comments, maybe i was a bit unclear though.

This post has been edited by gianfrix94: Feb 12 2017, 03:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:40
Post #3705
RoadShoe



Press any key to continue... Where's the any key?
********
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
Level 500 (Godslayer)


QUOTE(gianfrix94 @ Feb 11 2017, 17:36) *

For normal Attack on my Reloader (1.3.5d) you just need to leave the field blank( so hover: [] ).
I think i wrote that in the comments, maybe i was a bit unclear though.


wow! double posted again.

It doesn't like that gif. (IMG:[invalid] style_emoticons/default/laugh.gif)

This post has been edited by RoadShoe: Feb 12 2017, 03:42
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2017, 03:40
Post #3706
RoadShoe



Press any key to continue... Where's the any key?
********
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
Level 500 (Godslayer)


QUOTE(gianfrix94 @ Feb 11 2017, 17:36) *

For normal Attack on my Reloader (1.3.5d) you just need to leave the field blank( so hover: [] ).
I think i wrote that in the comments, maybe i was a bit unclear though.


That worked! Thank you sir.


I should have read the comments, but.....

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 184 185 186 187 > » 
Reply to this topicStart new topic
6 User(s) are reading this topic (6 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 17th August 2025 - 05:12