Results 1 to 5 of 5

Thread: SaveSetting

  1. #1
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question SaveSetting

    I have been using ini files to save script data and I have recently stumbled
    upon the "SaveSetting" procedure. I have been unable to figure out where
    the” SaveSetting” procedure saves the data.

    So my questions are...
    1) Where is the data saved?
    2) Is it encrypted? (I have used a program that scans every file for the data
    I entered and it was unable to find the file containing the data)

    Thanks,
    The_Scripts

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    1. It is saved in the SCAR settings file if I remember correctly.
    2. No, it is not encrypted.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Would you happen to know where that file would be located?
    I have scanned every file in my SCAR directory, and was unable
    to find the file containing the setting I saved.

    From that I figure that either...
    - The file is not located SCAR directory
    OR
    - The contents of the file is not in plain text

    Edit: 10 hours and no repy
    Last edited by The_Scripts; 12-04-2009 at 07:03 PM.

  4. #4
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It will only actually save to a file if you have a portable version of SCAR, otherwise it will save to the Windows registry along with all the other SCAR settings.
    I found it here: HKEY_USERS\S-1-5-21-842925246-1965331169-1801674531-1003\Software\SCAR\Script Settings

    It will probably vary for you, if you really want to find it, call SaveSetting() on a very unique string (I used "glorp"), then search (ctrl+f) in regedit for that value, and it should show you where it's saved.

  5. #5
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @A G E N T: Thank you very much!

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
  •