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
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
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!
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:
(No spaces in the INI's name, altough I'm not sure of that. Spaces in INI names doesn't work for meh.SCAR Code:if RememberMeChecker.checked then// this one.
WriteINI('Auth Info', 'Username', AuthUserBox.text, ScriptPath + 'ScriptInfo.ini');
And by the way, as for my personal opinion, I wouldn't recommend making closed-source scripts.
Scripts: Varrock Smither! | Fight Caves Runner! | Kebab Buyer! | L.A.M.E. (Outdated)
Tutorials: SRL user-defined procedures | JaGex UID files | Printing your scripts
Applications: StartUp Notepad | SCAR Assistant
Misc: FREE Delphi 7 v2 | Official SRL Graphics
Did you call this after the form is freeéd?
Verrekte Koekwous
There are currently 1 users browsing this thread. (0 members and 1 guests)