Results 1 to 5 of 5

Thread: Dumb Form.

  1. #1
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Dumb Form.

    SCAR Code:
    if RememberMeChecker.checked then// this one.
      WriteINI('Auth Info', 'Username', AuthUserBox.text, ScriptPath+'\Script Info.ini');

    [Runtime Error] : Exception: Privileged instruction in line 315 in script

  2. #2
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    erm as geuss i think it may be because you do not have admin privliges or you have not run scar as admin? posibly but i dontknow
    Blank!

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

    Default

    Quote Originally Posted by skilld u View Post
    SCAR Code:
    if RememberMeChecker.checked then// this one.
      WriteINI('Auth Info', 'Username', AuthUserBox.text, ScriptPath+'\Script Info.ini');

    [Runtime Error] : Exception: Privileged instruction in line 315 in script
    ScriptPath + '\Script...
    OMG WTF IZ RONG WIF UR HEED??++

    Nah, I'm just joking, sir.

    Although, you've commited a SCAR crime.
    §43, chapter 5, line 9: ScriptPath and AppPath already have a slash-thingy!

    Try:
    SCAR Code:
    begin
      WriteLn(AppPath);
    end.


    So, in case you STILL haven't got it, dear sir, (very unlikely) your line should be this:

    SCAR Code:
    if RememberMeChecker.checked then// this one.
      WriteINI('Auth Info', 'Username', AuthUserBox.text, ScriptPath + 'ScriptInfo.ini');
    (No spaces in the INI's name, altough I'm not sure of that. Spaces in INI names doesn't work for meh.

    And by the way, as for my personal opinion, I wouldn't recommend making closed-source scripts.

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

    Default

    ThreadSafeCall;
    I made a new script, check it out!.

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Did you call this after the form is freeéd?
    Verrekte Koekwous

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
  •