Results 1 to 5 of 5

Thread: Anyway to autocheck versions on SRL and Scar?

  1. #1
    Join Date
    Dec 2009
    Posts
    146
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Anyway to autocheck versions on SRL and Scar?

    Is there any way to have a line in a script that autochecks to see what the most current version is of SCAR and SRL and pops up a form warning box that informs the user that they have outdated version of the program?

    I don't even know how to manually check what revision I have of SRL so I'm sure there are many other people who are in the same boat I am.

    Unless you see a notice on the forums that you need to tortise a new version of SRL, how is one to know?

    Thanks in advance,

    JIM

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    well I'd say if you have problems, update your SRL folder with tortoise. About SCAR, if you want to know for you personally, you should know which version you have. If you're using 3.23 (the prerelease), then just go to http://freddy1990.com/svn/scarprerelease/ Check the revision number. It should be the same you initially installed if it's the most current. (Rev 80 is the most current for SCAR, and 342 is the most current for SRL (As of Monday, January 18th, 2010, at 12:30 PM PST. Go to http://www.villavu.com/repositories/srl-opendev/ to check the rev. ^^)

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    The way you would check SRL is by using the version number found in Globals.scar:

    SCAR Code:
    Const
      SRLVersionNumber = 38;

    For Scar:

    SCAR Code:
    GetSCARVersion

    EDIT: Use '=', '>' operators to check if they fit .
    Also, GetScarVersion returns '3.12' like this '312'.
    Last edited by Naum; 01-18-2010 at 08:46 PM.

  4. #4
    Join Date
    Dec 2009
    Posts
    146
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So where is the revision number for SCAR and SRL located on my local files?

  5. #5
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Go to the SRL folder in includes or your prerelease folder, Right click, -> Tortoise SVN -> Show Log. Look at the top left of the top box. Should say,
    Revision
    ###

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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