Facebook Farmville
This will help a lot of new guys like me... pc 101 how o where do you paste that script..
I assume you already have AHK installed, but if you don't, <!-- m -->http://www.autohotke... ... nstall.exe<!-- m --> is the install.
Once it's installed copy the code into a notepad document. Save the document somewhere you'll remember ie... Your Desktop. - and name it something.ahk -
Double click the file on your desktop you should see a green square in the system tray. Pressing Ctrl+Alt+C will launch the one I created, I think the other one is Ctrl+Alt+P
Let me know if you need more assistance.
I used to use just my own recoreded, but those seem to work pretty well too, so i'd like to use them.
very nice script(s). thank you.
anyone tried to do one for the Soybean-delete method?
Hehe i did it today it's working, i gave too much delay and it partly hungarian i am tired its 4:00am here:)
and here is the soyebean method:
^0:: msgbox, a script xpre vált pénzt adott ido alatt, a kezdethez mindenképp bevetett mezo kell. gosub getlocationshop msgbox, shopinit completed go to soybean init gosub getzoldbabloc msgbox, zoldbab (again zoldbab=soybean) init completed next step field init gosub getlocationMezo msgbox, mezo(Field init) kesz last step require asokapanagyharang init sleep 10000 click %asoX%, %asoY% sleep 1000 click %mezoX%, %mezoY% sleep 1200 gosub getasook msgbox, initalizacio kesz, a script addig fut amig a control + xel le nem allitod. The script will run until you stop with control+x. The script written by Szilveszter msgbox, mennyi xpt, szeretnel csinalni oszd el harommal es azt ird be, kerek szam legyen!? inputbox,xp,xp,xp,,100,150 msgbox, minden oke? gosub mainLOOP msgbox, %xp%*3 xp-t termelt a script return ;initalizásciós subok: ;a kezdomezo meghatározására szolgál getlocationMezo: msgbox, click on the field which should be the base of the xp generation! (xp ratio 10gold/1xp) Pleaseclick on the bottom corner of the field KeyWait, LButton, D KeyWait, LButton, D mousegetpos, mezoX, mezoY sleep 100 return ;a shop helyének meghatározására szolgál a farmképernyon getlocationShop: msgbox, clikk on the shop icon at your farm screen (midle of the icon) KeyWait, LButton, D KeyWait, LButton, D mousegetpos, shopX, ShopY sleep 100 ;az aso es a plow icon meghatarozasa a shop kodrdinataibol 843,595 shop 845,540 powl 891,540 aso powlX:=shopX powlY:=shopY-55 powltoolY:=powlY-70 ;eszközválasztás az -70 Y multiX:=powlX-46 multiY:=powlY asoX:=powlX+45 asoY:=powlY return getzoldbabloc: msgbox,click on "zoldbab ikon" (soybeans) midle of the icon KeyWait, LButton, D KeyWait, LButton, D mousegetpos, soybeX, soybeY sleep 100 return getasook: msgbox click on "nagy piros oké gomb" on the big OK button to sell KeyWait, LButton, D KeyWait, LButton, D mousegetpos, asoOKX, AsoOKY return mainLoop: Loop %xp% { click %powlX%, %PowlY% sleep 500 click %powlx%, %powltoolY% sleep 500 click %mezoX%, %mezoY% sleep 500 click %shopX%, %shopY% sleep 6000 click %soybeX%, %soyBEY% sleep 2000 click %mezoX%, %mezoY% sleep 500 click %asoX%, %asoY% sleep 500 click %mezoX% , %mezoY% sleep 3000 click %asoOKX%, %asoOKY% } return ^x:: reload
Sometimes farmwille buggy and not realize the clicks so wait more then script do in init, but if u can set up variables well its working very very fine:P
Please accept my apologies if this post comes out confusing or formatted wrong. It is my first.
Here is Szilveszter's code that I modified to make more sense to myself. I hope my modifications help others to be better able to use and understand the hard work Szilveszter put into the origional code. I hope someone can further improve on this because it has so much potential.
You may have to adjust the sleep times if you have a slower computer or connection.
ctrl 0 to start program
ctrl X to stop program
^0:: ;CTRL 0 to start ;Ctrl X to stop gosub Market gosub Buysoybean gosub getlocationplot sleep 1000 click %asoX%, %asoY% sleep 1000 click %mezoX%, %mezoY% sleep 1000 gosub accept msgbox, The script will run until you stop it with control+x. The script written by Szilveszter inputbox,xp,xp,xp,,100,150 gosub mainLOOP msgbox, %xp%*3 xp-t termelt a script return Market: msgbox, click on the Market icon on your farm screen (midle of the icon) KeyWait, LButton, D KeyWait, LButton, D mousegetpos, shopX, ShopY sleep 100 powlX:=shopX powlY:=shopY-55 powltoolY:=powlY-70 multiX:=powlX-46 multiY:=powlY asoX:=powlX+45 asoY:=powlY return Buysoybean: msgbox,click on Middle of the soybeans buy icon. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, soybeX, soybeY sleep 200 return getlocationplot: msgbox, click on the bottom corner of the farm plot you want to use and wait. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, mezoX, mezoY sleep 100 return accept: msgbox click on the big ACCEPT button. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, asoOKX, AsoOKY sleep 200 return mainLoop: Loop %xp% { click %powlX%, %PowlY% sleep 500 click %powlx%, %powltoolY% sleep 500 click %mezoX%, %mezoY% sleep 500 click %shopX%, %shopY% sleep 1500 click %soybeX%, %soyBEY% sleep 200 click %mezoX%, %mezoY% sleep 500 click %asoX%, %asoY% sleep 500 click %mezoX% , %mezoY% sleep 750 click %asoOKX%, %asoOKY% } return ^x:: reload
It works quite well for me.
Either way let us know what you think!
Can u explain how to use your codec more clearly. I added them to AHK script and then don't know how to do next
This reply is for the soybean delete program.
So you pasted the code into a blank notepad document, saved this document as somename.ahk, doubleclicked it and have the little green H icon down in the bottom right corner of your screen.
All you need to do is hit "ctrl 0" (zero) then follow the popups. To stop the program hit "ctrl x"
If you mess up when following the popups, stop the program and start over.
Both of the scripts in Page 2 work without any problems. I'm not sure what you're asking.
None for the posted scripts work for farms > 16 squares (they don't fit in the normal flash window, you have to go fullscreen)
So I'm using my own old script that just does clicks I recorded before...
Can u explain how to use your codec more clearly. I added them to AHK script and then don't know how to do next
This reply is for the soybean delete program.
So you pasted the code into a blank notepad document, saved this document as somename.ahk, doubleclicked it and have the little green H icon down in the bottom right corner of your screen.
All you need to do is hit "ctrl 0" (zero) then follow the popups. To stop the program hit "ctrl x"
If you mess up when following the popups, stop the program and start over.
After I click on .ahk file it's alwasy got notice: Error at line 28 etc. This line does not contain recoignize action . Maybe I did something wrong??? Pls help me
Both of the scripts in Page 2 work without any problems. I'm not sure what you're asking.
None for the posted scripts work for farms > 16 squares (they don't fit in the normal flash window, you have to go fullscreen)
So I'm using my own old script that just does clicks I recorded before...
I've got a 20x20 farm. the one by Viridis works for a 20x20 farm without any problems.
Mine can do a 20x16, and followed by 20x4 - it's a little quicker than Viridis' because it doesn't move the farm followed by a click.
Can u explain how to use your codec more clearly. I added them to AHK script and then don't know how to do next
This reply is for the soybean delete program.
So you pasted the code into a blank notepad document, saved this document as somename.ahk, doubleclicked it and have the little green H icon down in the bottom right corner of your screen.
All you need to do is hit "ctrl 0" (zero) then follow the popups. To stop the program hit "ctrl x"
If you mess up when following the popups, stop the program and start over.
After I click on .ahk file it's alwasy got notice: Error at line 28 etc. This line does not contain recoignize action . Maybe I did something wrong??? Pls help me
Sorry about that I tried it myself and got the same error.
try this and see if u get it again.
^0:: ;CTRL 0 to start ;Ctrl X to stop gosub Market gosub Buysoybean gosub getlocationplot sleep 1000 click %asoX%, %asoY% sleep 1000 click %mezoX%, %mezoY% sleep 1000 gosub accept msgbox, The script will run until you stop it with control+x. The script written by Szilveszter inputbox,xp,xp,xp,,100,150 gosub mainLOOP msgbox, %xp%*3 xp-t termelt a script return Market: msgbox, click on the Market icon on your farm screen (midle of the icon) KeyWait, LButton, D KeyWait, LButton, D mousegetpos, shopX, ShopY sleep 100 powlX:=shopX powlY:=shopY-55 powltoolY:=powlY-70 multiX:=powlX-46 multiY:=powlY asoX:=powlX+45 asoY:=powlY return Buysoybean: msgbox,click on Middle of the soybeans buy icon. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, soybeX, soybeY sleep 200 return getlocationplot: msgbox, click on the bottom corner of the farm plot you want to use and wait. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, mezoX, mezoY sleep 100 return accept: msgbox click on the big ACCEPT button. KeyWait, LButton, D KeyWait, LButton, D mousegetpos, asoOKX, AsoOKY sleep 200 return mainLoop: Loop %xp% { click %powlX%, %PowlY% sleep 500 click %powlx%, %powltoolY% sleep 500 click %mezoX%, %mezoY% sleep 500 click %shopX%, %shopY% sleep 1500 click %soybeX%, %soyBEY% sleep 200 click %mezoX%, %mezoY% sleep 500 click %asoX%, %asoY% sleep 500 click %mezoX% , %mezoY% sleep 750 click %asoOKX%, %asoOKY% } return ^x:: reload
are there any scripts for FarmTown? VarmVille is like soooo boooring...
I had found something on youtube called lazy farmer V2. It is supposed to be for farmtown also.