Stardew Valley

Stardew Valley

View Stats:
Asapp Jun 14, 2023 @ 4:04pm
Animation Cancelling Getting Stuck?
I have recently learned about animation cancelling and wanted to do it myself.
I used that script I see everywhere:

x::

While GetKeyState("x","P")

{
sendEvent {LButton Down}
sleep 10
sendEvent {LButton Up}
sleep 125
sendEvent {r Down}{Delete Down}{RShift Down}
sleep 10
sendEvent {r Up}{Delete Up}{RShift Up}
}

sleep 30

return

But, for some reason, it automatically tries to right click anything near me without me using it right then.
I would use it a little and then walk by trees and bushes and it rustles them.
In the end, I have to restart the script.
What's going on?
I can't seem to find what version of AutoHotKey I'm running, but I installed it 1 week ago.
< >
Showing 1-7 of 7 comments
FilthyGorilla Jun 15, 2023 @ 1:41pm 
Try changing all the first 3 sleep values to the same value, try 10 then switch to 25 perhaps
Asapp Jun 15, 2023 @ 3:07pm 
Originally posted by FilthyGorilla:
Try changing all the first 3 sleep values to the same value, try 10 then switch to 25 perhaps

Will try. What does the sleep value even do?
I'm not code savvy.
Malthar Jun 15, 2023 @ 4:37pm 
Originally posted by Asapps:
Originally posted by FilthyGorilla:
Try changing all the first 3 sleep values to the same value, try 10 then switch to 25 perhaps

Will try. What does the sleep value even do?
I'm not code savvy.
my guess, with no prior knowledge, it might be how many ticks pass before the next input is activated
Radiosity Jun 17, 2023 @ 2:58pm 
If you're happy to use mods, I'd suggest just using the faster animations mod, it's more reliable. It also allows you to click like mad to chop a tree down in a second flat (still takes 10 swings with default axe, it just happens super fast), essentially giving you the same effect as animation cancelling.
Asapp Jun 17, 2023 @ 3:03pm 
Originally posted by Radiosity:
If you're happy to use mods, I'd suggest just using the faster animations mod, it's more reliable. It also allows you to click like mad to chop a tree down in a second flat (still takes 10 swings with default axe, it just happens super fast), essentially giving you the same effect as animation cancelling.

Is that what those major speedrunners use?
I saw a few on YouTube.
Such as Haboo & BlaDe.
Radiosity Jun 17, 2023 @ 3:47pm 
They're probably using animation cancelling for that. Mods go against the whole idea of speedrunning, unless everyone agrees to use the same mod, which might be the case (I don't watch speedrunning, so I can't really say if mods are much of a thing).

The faster animations mod simply makes everything faster, making the game WAY more enjoyable because you can water all your plots in less than a full human lifespan. Rapidly chopping down trees (or rocks etc) is just extra gravy :)
Asapp Jun 17, 2023 @ 4:17pm 
Originally posted by Radiosity:
They're probably using animation cancelling for that. Mods go against the whole idea of speedrunning, unless everyone agrees to use the same mod, which might be the case (I don't watch speedrunning, so I can't really say if mods are much of a thing).

The faster animations mod simply makes everything faster, making the game WAY more enjoyable because you can water all your plots in less than a full human lifespan. Rapidly chopping down trees (or rocks etc) is just extra gravy :)

That's fair, but I want to get good at it normally. Also, I changed the values like FilthyGorilla said & it seems to have fixed it.

I will check the mod out though. Thanks for the suggestion!
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Jun 14, 2023 @ 4:04pm
Posts: 7