Results 1 to 13 of 13

Thread: Reflection Downloader!

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

    Default Reflection Downloader!

    Well, Run This Script To Download Reflection!

    SCAR Code:
    Program Reflection_Downloader;

    Var
      Download: TStringArray;
      Downloaded: Array[0..10] Of String;
      I, F: Integer;

    Procedure Setup;
    Begin
      Download := ['Changelog.txt', 'Characters.Scar', 'Core.scar',
      'Depreciated.scar', 'Hooks.Scar', 'Objects.Scar', 'README.txt',
      'Reflection.Scar', 'Walking.Scar'];
    End;

    Procedure DownloadFiles;
    Begin
      For I := 0 To High(Download) Do
      Begin
        Downloaded[i] := GetPage('http://scarreflection.googlecode.com/svn/trunk/' + Download[i]);
        WriteLn(IntToStr(I));
      End;
    End;

    Procedure Install;
    Begin
      For I := 0 To High(Download) Do
      Begin
        F := RewriteFile(AppPath + '\Includes\SRL\SRL\Reflection\' + Download[i], False);
        WriteFileString(F, Downloaded[i]);
        CloseFile(F);
      End;
    End;

    Begin
      Setup;
      DownloadFiles;
      Install;
    End.

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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

    Default

    Does no one want to save installing a program and just run this?!

  4. #4
    Join Date
    Jul 2007
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So once I've downloaded this, this is all i need to use reflection scripts? Or is there more to it?

  5. #5
    Join Date
    Apr 2007
    Location
    Bridgeport
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hell ya, thanks

  6. #6
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Why would someone do that?!

    Most, if not all people here on SRL, have SubVersion. Only thing you'll need then is just to press the start menu key and R. This brings out the "Run.." command prompt. Type in this:
    svn checkout http://scarreflection.googlecode.com/svn/trunk/ scarreflection-read-only
    and press OK. Voila!


    Edit: FINE, TIMER; JUST IGNORE ME ALL YOU WANT.

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

    Default

    Quote Originally Posted by OpenHearts View Post
    So once I've downloaded this, this is all i need to use reflection scripts? Or is there more to it?
    Just run it every once and awhile, and yes, you'll be set!

    Quote Originally Posted by NightBlade View Post
    Hell ya, thanks
    No problem!

  8. #8
    Join Date
    May 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cant connect ot the site

    it just does this:
    Successfully compiled (130 ms)
    0
    1
    2
    HTTP/1.1 404 Not Found
    3
    4
    5
    6
    7
    HTTP/1.1 404 Not Found
    8
    9
    HTTP/1.1 404 Not Found
    10
    Successfully executed

  9. #9
    Join Date
    Jan 2008
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^ me 2 whats up with that :Z

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

    Default

    New version..! Updated to new reflection Files.

  11. #11
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ownage thanks man


  12. #12
    Join Date
    Jan 2008
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Line 3: [Error] (3:1): Unknown identifier 'Download' in script

    ;S
    Jagex Failed



























    FagetHax0r

  13. #13
    Join Date
    Nov 2006
    Location
    'Pergamino, BA, Argentina';
    Posts
    473
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Nice script, to bad that i already made one myself lol. Anyways here is a tip, in line 20 change
    WriteLn(IntToStr(I));
    to
    WriteLn(download[i]); ?
    so people will know when it's done? Also add 'Items.scar'

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to make a Downloader?
    By superbatman in forum OSR Help
    Replies: 1
    Last Post: 03-07-2009, 11:21 PM
  2. The YouTube DownLoader Is Here!
    By Riffe in forum Computer Help and Tutorials
    Replies: 9
    Last Post: 01-30-2009, 05:42 AM
  3. Youtube Downloader
    By perrz in forum Computer Help and Tutorials
    Replies: 17
    Last Post: 12-01-2008, 02:01 AM
  4. A news downloader??
    By Bigfish58 in forum OSR Help
    Replies: 1
    Last Post: 10-20-2006, 12:41 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
  •