Hi, hello people
Im trying to figure out how to make a script that looks pretty simple but i dont get it to work as i want to, so the main idea is making wheelmouse up and down sending a skill with certain sleep and move the character foward or backward without getting stuck at the center just spamming the skill... this is my code hahaha
Wheelup::
Loop, 1
{
Send, {F9}
Sleep, 100
Send ,{2}
mouseclick, left
mouseclick, left
mouseclick, left
}
return
Wheeldown::
Loop, 1
{
Send, {F9}
Sleep, 100
Send ,{2}
mouseclick, left
mouseclick, left
mouseclick, left
}
return
i used to put mouseclick left as a move but dont always make the move, any help will be appreciated thanks in advance
need help for gaming question
-
- Posts: 42
- Joined: 25 Apr 2018, 03:03
Re: need help for gaming question
What game are you playing?
Maybe try this:
Maybe try this:
Code: Select all
Wheelup::
Send, {F9}
Sleep, 100
Send ,{2}
Send, {Lbutton 3}
return
Wheeldown::
Send, {F9}
Sleep, 100
Send ,{2}
Send, {Lbutton 3}
return
Re: need help for gaming question
it didnt workLouis Tully wrote:What game are you playing?
Maybe try this:
Code: Select all
Wheelup:: Send, {F9} Sleep, 100 Send ,{2} Send, {Lbutton 3} return Wheeldown:: Send, {F9} Sleep, 100 Send ,{2} Send, {Lbutton 3} return
the game that i am playing right now is kind of old hahaha known as ragnarok online, if you could know something about this game i can send a video for pm to show you what i want to do
-
- Posts: 42
- Joined: 25 Apr 2018, 03:03
Re: need help for gaming question
Sure, that might help. I've never played it but I just checked the controls for it and Left-Click is for movement.
So, in the script, are those 3 left-clicks you're wanting supposed to be at a specific place on-screen?
Movement: Left-click a cell to move to it. Hold down the left mouse button for continuous movement. If the cell is not highlighted or is highlighted in red, that place is impossible to reach
So, in the script, are those 3 left-clicks you're wanting supposed to be at a specific place on-screen?
Re: need help for gaming question
My guess is that you are sending the keys too fast as games take a while to register that you are pressing a key. You do not press a key at near instantaneous speeds so your program needs to do the same.
Code: Select all
~::
send, {a down}
sleep, 75
send {a up}
return
Who is online
Users browsing this forum: No registered users and 67 guests