Results 1 to 17 of 17

Thread: Fixing tut runner...

  1. #1
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default Fixing tut runner...

    i am currently trying to fix a tut runner so i can just set all my guys through it... i get this error

    [Runtime Error] : Exception: Canvas does not allow drawing in line 1850

    SCAR Code:
    function ClickRat: Boolean;
    var RatPoints: TPointArray; i, ci: integer;
    begin
      if(not(LoggedIn))then Exit;
      Status('Searching Rat');
      FindColorsSpiralTolerance(MSCx, MSCY, RatPoints, 9213847, 90, 65, 420, 250, 5)
      for i := 0 to (GetArrayLength(RatPoints)-1) do
      begin
          if (Distance(RatPoints[ci].x, 0, RatPoints[i].x, 0) >= 10) and
            (Distance(0, RatPoints[ci].y, 0, RatPoints[i].y) >= 10) then
            ci := i
          else
          begin
            RatPoints[i].x := 0;
            RatPoints[i].y := 0;
          end;
        end;
      for i := 0 to (GetArrayLength(RatPoints)-1) do
      begin
        if (RatPoints[i].x <> 0) then
    {line with error}    if FindColorTolerance(x, y, 7041908, RatPoints[i].x -8, RatPoints[i].y -8, RatPoints[i].x +8, RatPoints[i].x +8, 10) then     // <<<<<<<<line with error
         if FindColorTolerance(x, y, 8753039, RatPoints[i].x -8, RatPoints[i].y -8, RatPoints[i].x +8, RatPoints[i].x +8, 10) then
        begin
          if not IsFightAt(RatPoints[i].x, RatPoints[i].y) then
          begin
            MMouse(RatPoints[i].x, RatPoints[i].y, 0, 0);
            Wait(100+Random(50));
            if IsUpText('ack') then
            begin
              Mouse(RatPoints[i].x, RatPoints[i].y, 0, 0, True);
              Result := True;
              Exit;
            end;
          end;
        end;
      end;
    end;

    this would be a great help and i will post fixed tut runner when i am done fixing...

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    That tut runner is waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyy out dated.

    Don't even try to fix it.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    well it would be easier than making one of my own...

  4. #4
    Join Date
    Dec 2007
    Location
    Williston, ND
    Posts
    3,106
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    fix it! fix it!

    I'll use it!
    Proud owner of "Efferator" my totally boted main account!
    "You see, sometimes, science is not a guess" -Xiaobing Zhou (my past physics professor, with heavy Chinese accent)

  5. #5
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    i just need help with this and i have to fix a few DTMS... gosh i wish someone would help...

  6. #6
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just take the entire line that has the error out. It worked for me if I do that.

  7. #7
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    well the thing is i still need to find the rats....

  8. #8
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    There are other ones that work. Why fix this one?
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  9. #9
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    wait others work... i have searched for them... which ones?

  10. #10
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    mormonman, if you take out the line I told you to it still finds the rats.

  11. #11
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    ok thanks

  12. #12
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    sorry if this is considered a double post to some of you but the other guy never answered my request and i am too impatient to wait...

    can someone make me a custom log on function that does not use the "click here to play" screen because i am fixing this tut and when you make a new character it doesn't display that screen... i want it to have all of the other capabilities as the original logon... so plz help...*(cough)will give rep++(cough)*

  13. #13
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just use LoginPlayer;, but take out the part where it searches for the click here to play screen.

  14. #14
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    i tried... but it doesn't recognize that the player is logged in...

  15. #15
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    can someone help me.....

  16. #16
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Don't even try mate, I'm making a new one. Just wait until it's released.

  17. #17
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    lol ok...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. need help fixing this script
    By wtfwtfwtf in forum OSR Help
    Replies: 11
    Last Post: 10-21-2008, 03:52 PM
  2. Fixing DTM's
    By AbsTrACt'^.| in forum OSR Help
    Replies: 14
    Last Post: 05-23-2008, 04:57 AM

Posting Permissions

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