Results 1 to 14 of 14

Thread: Runescape Loading, Any SRL Functions for that?

  1. #1
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default Runescape Loading, Any SRL Functions for that?

    I kept looking but i can't find one. So i made this

    SCAR Code:
    function ClientLoading(StartTime, WaitTime : Integer): Boolean;
    var
      X, Y, Timer : Integer;
    begin
      Wait(StartTime + Random(1000));
      MarkTime(Timer);
      while (FindColor(X, Y, 0, 57, 9, 58, 10)) do
      begin
        Wait(750);
        if (TimeFromMark(Timer) >= (WaitTime + Random(1000))) then
          Exit;
        Wait(150);
      end;
      Result := True;
    end;

    But it lags a lot. Any help? (Also, i am climbing stairs using my script and the flag disappear sometimes.

  2. #2
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    you don't have to add "runescape loading", couse "LoginPlayer" will just waits until the login thing is there

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

    Default

    I don't think he's talking about logging in, MasterKill. There are other times when RuneScape needs to load part of the map, and I believe he's referring to those times.
    :-)

  4. #4
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    I am making a guild miner, everytime i climb up (woo) rs loads and the FLAG is gone so i cant use FFlag or Flag. So i did that but it lags alot.

  5. #5
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    oh sorry, I took it wrong.

    to solve your problem you can do this:

    SCAR Code:
    Timer := GetSystemTime;
      While (GetFaladorRoadColor{or whatever it is called} = 0) Do
      Begin
        Wait(100);
        If (GetSystemTime - Timer > 30000) Then
        Begin
          // Failsave
        End;
      End;

    and the same for getting in the mine but then with the auto rock color

  6. #6
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Auto Rock wont work inside caves. ;p I don't know why, results are always 0. or it doesn't get rock color.

  7. #7
    Join Date
    Jul 2008
    Location
    California
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    For getting in the mine you can do the same thing as MasterKill said, except include a "not"

    SCAR Code:
    Timer := GetSystemTime;
      While not (GetFaladorRoadColor{or whatever it is called} = 0) Do
      Begin
        Wait(100);
        If (GetSystemTime - Timer > 30000) Then
        Begin
          // Failsave
        End;
      End;
    Unfortunately, no active scripts atm.

  8. #8
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To make your first script work, instead of using findcolor, use getcolor with a specific pair of coordinates. oh sorry i took it wrong too. but anyways, do mine its like 20000 times faster then masterkills way. it checks 1 pixel and mastrekills checks the whole minimap.

    edit: Mispelling ftw
    ~ Metagen

  9. #9
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    function ClientLoading(StartTime, WaitTime : Integer): Boolean;
    var
      X, Y, Timer : Integer;
    begin
      Wait(StartTime + Random(1000));
      MarkTime(Timer);
      while (GetColor(57, 10) = 0) do
      begin
        if (TimeFromMark(Timer) >= (WaitTime + Random(1000))) then // and if its lagging why do
    //you have this? what are the chances that it gets stuck forever loading? rly now... failsafes
    // are one thing, but when you just put useless ones in it makes me mad. Unless i suppose
    // you lag out and maybe the login thing is black too... hmmmmm.... 2 bad!
          Exit;
        Wait(150);
      end;
      Result := True;
    end;

    Edit: Double posting ftw
    ~ Metagen

  10. #10
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    what if that 1 pixel happens to be the wrong spot ;p


    EDIT: what was i suppose to put between while and end. ;p exactly so i thought why the hell not

  11. #11
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    then u suck? what do you mean? the loady thing happens to be in the same spot every dam time.

    its a minimum of 4x less lag.
    ~ Metagen

  12. #12
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    nvm ;p

  13. #13
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use a reflection tile...

    SCAR Code:
    Timer := (GetSystemTime + 10000);
    GetMyPos(X, Y);
    While (Not (X = GuildTileX) And (Not (Y = GuildTileY))) Do
    Begin
      Wait(100 + Random(500));
      GetMyPos(X, Y);
      If (GetSystemTime > Timer) Then
        Break;
    End;

  14. #14
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    I can't use Smart therefor i can't use Reflection, my computer lags too much. Otherwise i WOULD use Reflection ;p

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RS loading screen?
    By CallOfVideos in forum OSR Help
    Replies: 2
    Last Post: 09-03-2008, 07:21 PM
  2. runescape not loading
    By .synergy in forum RuneScape News and General
    Replies: 5
    Last Post: 08-25-2007, 09:43 PM
  3. Runescape not loading.. any Ideas?
    By JAD in forum RuneScape News and General
    Replies: 8
    Last Post: 04-01-2007, 01:58 AM
  4. runescape not loading..
    By JAD in forum News and General
    Replies: 3
    Last Post: 03-18-2007, 07:43 PM

Posting Permissions

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