Page 1 of 2 12 LastLast
Results 1 to 25 of 49

Thread: Runescape Update Fixes!!!!!

  1. #1
    Join Date
    May 2007
    Location
    in a pineapple under the sea
    Posts
    1,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Runescape Update Fixes!!!!!

    I made some fixes to go with the new rs update. This will temporarily fix srl.

    No fix for makecompass though

    Minimap coords changes in globals.scar

    SCAR Code:
    { const MMX1, MMY1, MMX2, MMY2;
      Description: MiniMap Edge Points. }

    const
      MMX1 = 551;
      MMY1 = 9;
      MMX2 = 702;
      MMY2 = 160;
     
    { const MMCX, MMCY;
      Description: MiniMap Centre Point. }

    const
      MMCX = 627; //643
      MMCY = 85; //84

    Logout function in login.scar!!!!!

    SCAR Code:
    {*******************************************************************************
    procedure Logout;
    By: Starblaster100 modified by Timothegreat
    Description: Logs you out.
    *******************************************************************************}


    function Logout: Boolean;
    var
      c, i: Integer;
    begin
      if(LoggedIn)then
      begin
        Mouse(752,13,8,8,true);
        Wait(200 + Random(100));
        while (LoggedIn) or (c < 10) do
        begin
          Inc(c);
          if(ClickText('here', UpChars, MIX1, MIY1, MIX2, MIY2, True))then
          begin
            for i := 0 to 10 do
            begin
              Wait(1000);
              if not(LoggedIn)then
              begin
                Result := True;
                Break;
              end;
            end;
          end;
        end;
      end else
        Result := True;
    end;

    New GetHp function using upper right hp info!!!!!! Tested and it worked !!!!!

    in gametab.scar

    SCAR Code:
    {*******************************************************************************
    function GetHp: Integer;
    By: Timothegreat
    Description: Returns Hp left as a level
    *******************************************************************************}


    function GetHp: Integer;
    var
      T: TPoint;
      TmpResult: string;
      i,f: Integer;
    begin
      tmpResult := GetTextAtEx(720 + 8, 29, 100, StatChars, False, True, 0,
        5, -1, 2, True, tr_Digits);
      if (Trim(tmpResult) = '') then
      begin
        for i := 1 to 5 do
        begin
          tmpResult := GetTextAtEx(720 + i + 8, 29, 100, StatChars, False,
            True, 0, 5, -1, 2, True, tr_Digits);
          if (Trim(tmpResult) <> '') then
            Exit;
        end;
      end else
        Result := StrToIntDef(Trim(GetTextAtEx(720 + 8, 29, 100, StatChars,
          False, True, 0, 5, -1, 2, True, tr_Digits)), 0);
    end;
    [SIZE="4"][CENTER][URL="http://www.youtube.com/watch?v=5YsGJz3j4os"]LOL u mad bro?[/URL][/CENTER][/SIZE]

  2. #2
    Join Date
    Jan 2008
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so i just change this with any scripts procedure?

  3. #3
    Join Date
    May 2007
    Location
    in a pineapple under the sea
    Posts
    1,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    no you change what is in srl with this new stuff
    [SIZE="4"][CENTER][URL="http://www.youtube.com/watch?v=5YsGJz3j4os"]LOL u mad bro?[/URL][/CENTER][/SIZE]

  4. #4
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'll try this. Hopefully it will fix my MakeCompass problem.
    -You can call me Mick-



  5. #5
    Join Date
    May 2007
    Location
    in a pineapple under the sea
    Posts
    1,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Umm dangit i havent made a fix for makecompass...
    [SIZE="4"][CENTER][URL="http://www.youtube.com/watch?v=5YsGJz3j4os"]LOL u mad bro?[/URL][/CENTER][/SIZE]

  6. #6
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well I'll see if your fixes so far fix the problem or not. It could just be the center point changing screwing it up.
    -You can call me Mick-



  7. #7
    Join Date
    May 2007
    Location
    in a pineapple under the sea
    Posts
    1,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    nope i believe its a problem with rs_GetCompassAngleDegrees

    just edit out all of makecompass is scripts you might use.
    [SIZE="4"][CENTER][URL="http://www.youtube.com/watch?v=5YsGJz3j4os"]LOL u mad bro?[/URL][/CENTER][/SIZE]

  8. #8
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    agh. Well Freddy released his Compass Math so... if you feel like trying... that could help you.

    Or we could all just wait a little while for the Devs to do what they do best.
    -You can call me Mick-



  9. #9
    Join Date
    Apr 2007
    Posts
    374
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok ill try this

  10. #10
    Join Date
    Jul 2007
    Posts
    1,055
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I more simpler method would just to put these functions in your script and use them, just to not confuse the nubs . But nice job.

  11. #11
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I like the get hp without changing menu's, that way you can look then eat quicker.
    I do visit every 2-6 months

  12. #12
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by osmm View Post
    I more simpler method would just to put these functions in your script and use them, just to not confuse the nubs . But nice job.
    But then you would need to edit every single script. It would be easier to change the include. Besides the devs will be releasing a new revision anyway.

  13. #13
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I updated skill coords, I'll post it later when it works...though 1 problem there is scroll bar for bottom skills...
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  14. #14
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Compass is already fixed in the Dev version..

    SCAR Code:
    Function rs_OnMinimap(x, y: Integer): Boolean;
    begin;
      Result := InCircle(x, y, MMCX, MMCY, 76);
    end;

    SCAR Code:
    Function rs_GetCompassAngleDegrees: Extended;

    Var
       Compass: TPointArray;
       MyPoint: TPoint;

    Begin
      FindColorsTolerance(Compass, 1911089, 520, 2, 560, 40, 0);
      If Length(Compass) < 1 Then
        Exit;
      MyPoint := MiddleTPA(Compass);
      Result := Degrees(ArcTan2(MyPoint.Y - 24, MyPoint.X - 543)) + 90;
      If (Result < 0) Then
        Result := Result + 360;
    End;

    Function rs_GetCompassAngleRadians: Extended;

    Begin
      Result := Radians(rs_GetCompassAngleDegrees);
    End;
    Verrekte Koekwous

  15. #15
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Compass is already fixed in the Dev version..

    SCAR Code:
    Function rs_OnMinimap(x, y: Integer): Boolean;
    begin;
      Result := InCircle(x, y, MMCX, MMCY, 76);
    end;

    SCAR Code:
    Function rs_GetCompassAngleDegrees: Extended;

    Var
       Compass: TPointArray;
       MyPoint: TPoint;

    Begin
      FindColorsTolerance(Compass, 1911089, 520, 2, 560, 40, 0);
      If Length(Compass) < 1 Then
        Exit;
      MyPoint := MiddleTPA(Compass);
      Result := Degrees(ArcTan2(MyPoint.Y - 24, MyPoint.X - 543)) + 90;
      If (Result < 0) Then
        Result := Result + 360;
    End;

    Function rs_GetCompassAngleRadians: Extended;

    Begin
      Result := Radians(rs_GetCompassAngleDegrees);
    End;
    AGH TPAS!

    Everybody uses them but I never bothered to learn them. Guess I should get on that.

    Wouldn't it be more efficient to leave the first one in radians and then convert it to degrees in the second? (Switch the names of course.) Right now its converted from radians to degrees then back to radians for the rs_GetCompassAngleRadians...
    -You can call me Mick-



  16. #16
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  17. #17
    Join Date
    Mar 2007
    Location
    Netherlands
    Posts
    206
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hy's cave runner works again thanks to this, thanks alot

  18. #18
    Join Date
    Apr 2007
    Posts
    374
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it works : )

  19. #19
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Some one make all worked .scar files and i download it.
    It good and i need it. im noob sorry.

  20. #20
    Join Date
    Apr 2007
    Posts
    374
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol -.- just edit them according to the instruction... u lazy bum..

  21. #21
    Join Date
    Aug 2007
    Posts
    172
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Compass is already fixed in the Dev version..

    SCAR Code:
    Function rs_OnMinimap(x, y: Integer): Boolean;
    begin;
      Result := InCircle(x, y, MMCX, MMCY, 76);
    end;

    SCAR Code:
    Function rs_GetCompassAngleDegrees: Extended;

    Var
       Compass: TPointArray;
       MyPoint: TPoint;

    Begin
      FindColorsTolerance(Compass, 1911089, 520, 2, 560, 40, 0);
      If Length(Compass) < 1 Then
        Exit;
      MyPoint := MiddleTPA(Compass);
      Result := Degrees(ArcTan2(MyPoint.Y - 24, MyPoint.X - 543)) + 90;
      If (Result < 0) Then
        Result := Result + 360;
    End;

    Function rs_GetCompassAngleRadians: Extended;

    Begin
      Result := Radians(rs_GetCompassAngleDegrees);
    End;
    Which files do i edit to make the compass work, lol?

  22. #22
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by kensaurus View Post
    lol -.- just edit them according to the instruction... u lazy bum..
    Lol i dont can. Sry
    E:
    where i put this:
    Quote Originally Posted by mastaraymond View Post
    Compass is already fixed in the Dev version..

    SCAR Code:
    Function rs_OnMinimap(x, y: Integer): Boolean;
    begin;
      Result := InCircle(x, y, MMCX, MMCY, 76);
    end;

    SCAR Code:
    Function rs_GetCompassAngleDegrees: Extended;

    Var
       Compass: TPointArray;
       MyPoint: TPoint;

    Begin
      FindColorsTolerance(Compass, 1911089, 520, 2, 560, 40, 0);
      If Length(Compass) < 1 Then
        Exit;
      MyPoint := MiddleTPA(Compass);
      Result := Degrees(ArcTan2(MyPoint.Y - 24, MyPoint.X - 543)) + 90;
      If (Result < 0) Then
        Result := Result + 360;
    End;

    Function rs_GetCompassAngleRadians: Extended;

    Begin
      Result := Radians(rs_GetCompassAngleDegrees);
    End;

  23. #23
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    looks good but i need the makecompass more hehe

  24. #24
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Compass is already fixed in the Dev version..

    SCAR Code:
    Function rs_OnMinimap(x, y: Integer): Boolean;
    begin;
      Result := InCircle(x, y, MMCX, MMCY, 76);
    end;

    SCAR Code:
    Function rs_GetCompassAngleDegrees: Extended;

    Var
       Compass: TPointArray;
       MyPoint: TPoint;

    Begin
      FindColorsTolerance(Compass, 1911089, 520, 2, 560, 40, 0);
      If Length(Compass) < 1 Then
        Exit;
      MyPoint := MiddleTPA(Compass);
      Result := Degrees(ArcTan2(MyPoint.Y - 24, MyPoint.X - 543)) + 90;
      If (Result < 0) Then
        Result := Result + 360;
    End;

    Function rs_GetCompassAngleRadians: Extended;

    Begin
      Result := Radians(rs_GetCompassAngleDegrees);
    End;
    Not just compass.... Everything is. This topic is a waste of time. SRL will be released soon.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  25. #25
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looking forward to it.
    -You can call me Mick-



Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RuneScape update
    By Wrycu in forum News and General
    Replies: 19
    Last Post: 10-07-2008, 11:46 PM
  2. new runescape update
    By jebrila2 in forum RS has been updated.
    Replies: 9
    Last Post: 11-21-2007, 05:15 PM
  3. Update Wed June 27. Bug fixes says jagex.
    By Just Kidding in forum RS has been updated.
    Replies: 4
    Last Post: 06-28-2007, 05:04 AM
  4. Runescape Update and Java Update
    By cause in forum RS has been updated.
    Replies: 2
    Last Post: 01-07-2007, 06:07 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
  •