Results 1 to 7 of 7

Thread: Using scar to delet random.dat?

  1. #1
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default Using scar to delet random.dat?

    We know that jagex keep a encrypted file to record stuff off our session, and every once in a while, our humans have to Manuel delete it.

    I am not very good with scar, but is it possible for scar to delete it if its a script that use smart? Like close smart when its on break on switching character? Ask the script user to tell scar the file directory or something, and after its done, just reload smart and continue.(The random.dat can only be deleted when rs is closed.)
    Oh Hai Dar

  2. #2
    Join Date
    Dec 2007
    Posts
    372
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    heres one i modified from some one.

    hope it helps ya

  3. #3
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by putnam11 View Post
    heres one i modified from some one.

    hope it helps ya
    Here's a better & quicker version than your one (It's based off your one ):
    SCAR Code:
    procedure ReWriteMulti(Files: TStringArray; Shared: Boolean);
    var
      i: Integer;
    begin
      for i:=0 to High(Files) do
        ReWriteFile(Files[i], Shared);
    end;

    procedure DeleteUID(const Shared: Boolean);
    begin
      ReWriteMulti(['C:\WINDOWS\.jagex_cache_32\Random.dat', 'C:\WINDOWS\Random.dat', 'C:\Administrator\Random.dat', 'C:\Program'+
                     ' Files\Mozilla Firefox\Random.dat', 'C:\Program Files\Mozilla Firefox 3 BETA 5\Random.dat', 'C:\Program Files'+
                     '\Internet Explorer\Random.dat', 'C:\RSCache\Random.dat'], Shared);
    end;

    begin
      DeleteUID(True);
    end.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  4. #4
    Join Date
    May 2006
    Location
    Qld, Australia
    Posts
    223
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    rs_deleteUID()?
    Haven't scripted in a while, Willing to proofread, test and provide feedback.

  5. #5
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Kevin Wolf View Post
    rs_deleteUID()?
    Since when was there rs_DeleteUID and rs_DeleteUIDEx functions or procedures? I am not up-to-date with all the new things added into SCAR.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  6. #6
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    They have been removed in 3.15.
    I made a new script, check it out!.

  7. #7
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    They have been removed in 3.15.
    They're still there >_<
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

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
  •