AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with Farmville Macro please. (selling hay bales)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
jason786



Joined: 10 Oct 2009
Posts: 6

PostPosted: Sun Oct 11, 2009 5:06 pm    Post subject: Help with Farmville Macro please. (selling hay bales) Reply with quote

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
View user's profile Send private message
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Sun Oct 11, 2009 5:38 pm    Post subject: Reply with quote

Did you try searching for "farmville" or "flash" or "game+click" or etc ...on the forum?

http://www.autohotkey.com/forum/topic47246.html
http://www.autohotkey.com/forum/topic48800.html
_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
jason786



Joined: 10 Oct 2009
Posts: 6

PostPosted: Sun Oct 11, 2009 6:14 pm    Post subject: Reply with quote

txquestor wrote:
Did you try searching for "farmville" or "flash" or "game+click" or etc ...on the forum?

http://www.autohotkey.com/forum/topic47246.html
http://www.autohotkey.com/forum/topic48800.html


I don't know how to change these though
Back to top
View user's profile Send private message
Free
Guest





PostPosted: Sun Oct 11, 2009 6:58 pm    Post subject: Reply with quote

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






PostPosted: Fri Nov 06, 2009 8:17 pm    Post subject: Reply with quote

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





PostPosted: Tue Nov 10, 2009 11:22 am    Post subject: yeah its now working on accept key Reply with quote

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

PostPosted: Tue Nov 24, 2009 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group