Results 1 to 3 of 3

Thread: help?

  1. #1
    Join Date
    Jul 2008
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help?

    ok this is the script im using to get my tile position for smart

    SCAR Code:
    {.Include SRL\SRL\Misc\Smart.Scar}
    {.Include SRL\SRL.Scar}
    {.Include SRL\SRL\Reflection\Reflection.Scar}

    Var
      X, Y: Integer;

    Begin
    LoadSMART(2, True, False);;
      SetTargetDC(SmartGetDC);
      SetupSRL;
      ActivateClient;
      Wait(2000 + Random(500));
      Repeat
        If (IsFKeyDown(2)) Then
        Begin
          Getmypos(X,Y);

          WriteLn(IntToStr(X) + ', ' +  IntToStr(Y));

          While (IsFKeyDown(2)) Do
            Wait(1);
        End;
      Until False;
    End.

    but the getmypos doesnt work lil help?

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Update your reflection folder. The GetMyPos you're using is out of date and has been for 10 or more revisions I believe. Plus, the hooks you have aren't updated either, so that doesn't help either.
    :-)

  3. #3
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Imo, you should learn to use Color/RRW/RW/Etc. first, as if Reflection breaks (which is has, and will at some point), then you have knowledge to fall back on.

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
  •