It is the way the intreptor moves everything into delphi statements then runs the statements. It is fixable but unknown how much work to do it. It would save you time in some cases but not in others.
It is the way the intreptor moves everything into delphi statements then runs the statements. It is fixable but unknown how much work to do it. It would save you time in some cases but not in others.
www.rscheata.net
Home of iBot on neXus: a multi-client, minimizable, Hyrid, Color, Reflection, scriptable, multi-threaded Java Bot.



I have two questions.
1. What is supposed to happen when you go to Tools > Associate .scar Files?
2. How do you use the String to Picture?
1: im pretty sure associate .scar files makes it little more organized in your scar folders.I have two questions.
1. What is supposed to happen when you go to Tools > Associate .scar Files?
2. How do you use the String to Picture?
2: String to Picture
:= BitmapFromString(32, 12, 'z78DA73731B9EC00007409625D534' +
'7ABA7CF0B88776EEC71F2FF8D9B84C203E0D90E742FC7E244 63D7' +
'EBDC4ABA1245E48357FD4FD23C7FDE4E52F5AB88D92FC3B74 CBC6' +
'C15C870EBF7602000DA44EEF');
Fill in the width and the height (32, 12);
Then Stick the string in there (
'z78DA73731B9EC00007409625D534' +
'7ABA7CF0B88776EEC71F2FF8D9B84C203E0D90E742FC7E244 63D7' +
'EBDC4ABA1245E48357FD4FD23C7FDE4E52F5AB88D92FC3B74 CBC6' +
'C15C870EBF7602000DA44EEF');
then hit ok and it will show the bitmap;
I thought associate files meant that when you double click a .scar file it will open in scar (as opposed to notepad etc) so you don't have open scar, and go to open.
i could be wrong man.... i have never messed with it![]()
May I suggest a new idea for SCAR Divi?
1: A good, "while-running" progress report. I want to be able to see what's going on with my script while it's running.
2: Goes with the last one. A way to keep the SCAR window open while the script is running.
Not sure if they're even possible, but it'd be nice to have them![]()
Yeah, I avoid using OR as much as possible since it has to check every single component before triggering. I never thought of it as a bug, just a peculiarity.
I think that AND works the same way, and won't abort until checking all the components even if the first is false.
I just use sequential if... then.. else statements to avoid that problem. And you can always use breaks to get out of loops, if you want to check for multiple conditions in a loop rather than using "until blah or blah or blah".
no chance of silent mouse? lol
You can make yourself just like I did in my SecetCutter
http://www.secetweb.com/images/secetcutter.PNG



OMFG FREDDY SUE THEM!!!!!1111
But seriously, Secet, you don't need to change the title of SCAR. Jagex can't see the title of windows (legally).



Forms. He probably just made it stay on top, and sent the report to it.
frmDesign.FormStyle := fsStayOnTop?
getself.FormStyle := fsStayOnTop?
(question marks because I've never tried it, I'm just guessing from the Ctrl+space list)
I'll try it out
SCAR Code:program New;
begin
GetSelf.FormStyle := fsStayOnTop
end.
[Runtime Error] : System Error. Code: 5.
Access is denied in line 3 in script![]()
![]()
Well, since almost every other programming language will result true as soon as one statement is found true while using OR, it could be viewed as a bug, or a peculiarity. It should be viewed as something that needs changing, though
EDIT:
*realizes that that post was from four days ago*
Interested in C# and Electrical Engineering? This might interest you.
you might have to run it in the scar gui thread.
i forget the scar function.
www.rscheata.net
Home of iBot on neXus: a multi-client, minimizable, Hyrid, Color, Reflection, scriptable, multi-threaded Java Bot.
well actually if you do it right you can do what ever youYou might have access to SCAR's main form component, but not all propertys can be modified because of access restrictions ey
want with SCAR.... and you won't get the ERROR, im pretty sure if you threadsafecall it then you can change anything using getself works for my computer![]()
This one works fine for me:
SCAR Code:program New;
procedure SetSelfFormStyle(Style:TFormStyle);
begin
GetSelf.FormStyle :=Style;
end;
procedure SafeSetSelfFormStyle(Style:TFormStyle);
var s : TVariantArray;
begin
s := [style];
ThreadSafeCall('SetSelfFormStyle',s);
end;
begin
SafeSetSelfFormStyle(fsStayOnTop);
end.
I made a new script, check it out!.
There are currently 1 users browsing this thread. (0 members and 1 guests)