Results 1 to 3 of 3

Thread: Whenever I tell Simba to FindDTM and Mouse(x) it goes to the top left

  1. #1
    Join Date
    Mar 2013
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    22 Post(s)

    Default Whenever I tell Simba to FindDTM and Mouse(x) it goes to the top left

    How do I tell Simba to findDTM and go to the DTM?

    found a solution
    Last edited by rsbots2013; 05-24-2013 at 07:00 AM.

  2. #2
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    That's because your DTM isn't found, so your X/Y both remain the default 0 and 0. Try this instead:
    Simba Code:
    if FindDTMRotatedAlternating(LogBalance1, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/2, Pi/2, Pi/30, aFound) then
      begin
        writeln('Found Log Balance');
        Mouse( x, y, 1, 1, True);
      end else
        Writeln('DTM not found...');

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  3. #3
    Join Date
    Mar 2013
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    22 Post(s)

    Default

    Thank you very much!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •