czwartek, 12 sierpnia 2010

Building own FarmeRobot programs - Wheat

Building own FarmeRobot programs is  easy.
  1. Find already existing program in your FarmeRobot folder, f.e. LettuceFast.FarmeRobot
  2. Unzip it to any folder. You should see some files:
  3. Edit Program.xml adding commands to harvest Wheat and to seed WheatSeed instead of LettuceSeed. You can even combine commands to seed what was harvested - not in this example, but Farmerobot would be able to seed Lettuce on some fields and Wheat on others.
  4. Get a screenshot of your farmerama fields, and crop two elements
    • Wheat seed - save as WheatSeed.png - FarmeRobot will use it as a pattern to find while seedign. 
    • Wheat field - save as Wheat.png - FarmeRobot will use it as a pattern to find while harvesting 
  5. Zip all the files into WheatExample.FarmeRobot and put the file in the FarmeRobot's folder.
  6. After restarting FarmeRobot you should see the new program in the list.
  7. If you want to share it with others, upload it to google docs account, as I described before. I've just done it - WheatExample should be avaiable now as a remote program to everyone.
  8. In addition WheatExample exits after 80 successful harvesting or 3 minutes of working - it can be started from sheduler - for example every 10 minutes. Command line to start FarmeRobot with local program - 5 arguments: 
FarmeRobot.exe user pass win_pos_x win_pos_y program_name
example: 
FarmeRobot.exe farmerobot mypass 0 0 WheatExample

    13 komentarzy:

    1. ich verwende es mit winrar aber ich kann die datein und das Programm nicht finden.
      ich will es lernen das zu benutzen.

      OdpowiedzUsuń
    2. I use it with winrar but I can not find the files and the program.
      I will learn to use it.

      OdpowiedzUsuń
    3. I found Total Commander
      http://www.ghisler.com/
      very usefull in such cases

      OdpowiedzUsuń
    4. Thank you for show me the programming and the programm to do this. I will experiment with the prog and send you the Produkt.
      Can I publish the program? in the NAME OF YOU?

      OdpowiedzUsuń
    5. Can i have the e-mail Adress from you? i will kontakt with you!

      OdpowiedzUsuń
    6. my email is:
      farmerobot at gmail.com

      OdpowiedzUsuń
    7. Sharing your program to publicfarmerobot@gmail.com means, that it will be published under your name.

      OdpowiedzUsuń
    8. "1. Find already existing program in your FarmeRobot folder, f.e. LettuceFast.FarmeRobot"

      I can't see that file

      OdpowiedzUsuń
    9. Hi...I load the new version & use it & when I login & select the job...it should start harvest & seeds continues but it stop after 1 round of harvest...it different from the old version...how to solve the problem?

      OdpowiedzUsuń
    10. cant find any datas to edit.
      only dll´s.
      would likely any things change.
      can you help me pls

      OdpowiedzUsuń
    11. didnt cant find the file program.xml

      OdpowiedzUsuń
    12. zbieranie i sianie marchwi
      seed and harvest carrots

      http://www.mediafire.com/?j644e0mdogi1sp6

      OdpowiedzUsuń
    13. now version 1.20 don't work :(

      after update from farmerama :(

      need new vesrion of farmerobot

      OdpowiedzUsuń