 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
jason786
Joined: 10 Oct 2009 Posts: 6
|
Posted: Sun Oct 11, 2009 5:06 pm Post subject: Help with Farmville Macro please. (selling hay bales) |
|
|
Hello, those of you who have played Farmville which probably know what I'm talking about.
Basically, I need help to make a script that will sell all the hay bales that are on screen, or even make and sell hay bales (for xp)
If you don't know what farmville is, I need help making a macro that will click a set object in a flash game and follow it up with clicking to initiate some commands. |
|
| Back to top |
|
 |
txquestor
Joined: 22 Aug 2009 Posts: 294
|
|
| Back to top |
|
 |
jason786
Joined: 10 Oct 2009 Posts: 6
|
Posted: Sun Oct 11, 2009 6:14 pm Post subject: |
|
|
I don't know how to change these though |
|
| Back to top |
|
 |
Free Guest
|
Posted: Sun Oct 11, 2009 6:58 pm Post subject: |
|
|
If you want a harvester/seller application:
Use the middle mouse button to harvest,
Use the right mouse button to sell.
Press Ctrl-1 to end.
;Farmville Quick Seller and Harvester
;Click the middle mouse button to harvest trees and animals quickly.
;Click the right mouse button to sell something quickly.
;Press Ctrl-1 to end.
;Script by FREE::UsMarineMP@gmail.com
MButton::
{
Click
MouseGetPos, xposi, yposi
yposi+=45
xposi+=10
Click %xposi%, %yposi%
xposi-=10
yposi-=45
MouseMove, %xposi%, %yposi%
}
return
RButton::
{
Click
MouseGetPos, xposi, yposi
yposi+=30
Xposi+=10
Click %xposi%, %yposi%
yposi-=30
xposi-=10
Sleep, 500
Click, 500, 500
MouseMove, %xposi%, %yposi%
}
return
^1::
{
exitapp
} |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Nov 06, 2009 8:17 pm Post subject: |
|
|
| Free wrote: |
RButton::
{
Click
MouseGetPos, xposi, yposi
yposi+=30
Xposi+=10
Click %xposi%, %yposi%
yposi-=30
xposi-=10
Sleep, 500
Click, 500, 500
MouseMove, %xposi%, %yposi%
}
return
^1::
{
exitapp
} |
Hey Guys!
Can you help me with that script please. Unfortunately, it doens't work. 've got no experience with AutoHotkey. Maybe something with Farmville has changed but my script doens't take the final click on "Accept" at the box with the text "Are you sure you want ....". I hope you know how to handle that!
See you! |
|
| Back to top |
|
 |
rachit Guest
|
Posted: Tue Nov 10, 2009 11:22 am Post subject: yeah its now working on accept key |
|
|
| Hi yeah i even dnt know how to write the script but its of great help, but its not getting clicked on accept, can anyone help. |
|
| Back to top |
|
 |
geekdude
Joined: 23 Nov 2009 Posts: 25
|
Posted: Tue Nov 24, 2009 2:52 pm Post subject: |
|
|
| Anonymous wrote: | | Free wrote: |
RButton::
{
Click
MouseGetPos, xposi, yposi
yposi+=30
Xposi+=10
Click %xposi%, %yposi%
yposi-=30
xposi-=10
Sleep, 500
Click, 500, 500
MouseMove, %xposi%, %yposi%
}
return
^1::
{
exitapp
} |
Hey Guys!
Can you help me with that script please. Unfortunately, it doens't work. 've got no experience with AutoHotkey. Maybe something with Farmville has changed but my script doens't take the final click on "Accept" at the box with the text "Are you sure you want ....". I hope you know how to handle that!
See you! |
try this...
| Code: | RButton::
{
Click
MouseGetPos, xposi, yposi
yposi+=30
Xposi+=10
Click %xposi%, %yposi%
yposi-=30
xposi-=10
Sleep, 500
Click, 450, 450
MouseMove, %xposi%, %yposi%
}
return
^1::
{
exitapp
} |
_________________ /\ /\ This is Kitty
(>';'<) Cut, copy, and paste kitty onto your sig.
((")(")) Help Kitty gain World Domination.
(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|