Page 15 of 19 FirstFirst ... 51314151617 ... LastLast
Results 351 to 375 of 464

Thread: SCAR Divi (3.0) official thread

  1. #351
    Join Date
    Feb 2006
    Posts
    411
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  2. #352
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    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?

  3. #353
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    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.

    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;

  4. #354
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  5. #355
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    i could be wrong man.... i have never messed with it

  6. #356
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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

  7. #357
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    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
    Just move around the client and scar so that you can see the debug box underneath.

  8. #358
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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".

  9. #359
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    no chance of silent mouse? lol

  10. #360
    Join Date
    Jan 2007
    Posts
    526
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    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.
    You can make yourself just like I did in my SecetCutter
    http://www.secetweb.com/images/secetcutter.PNG

  11. #361
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Secet View Post
    You can make yourself just like I did in my SecetCutter
    http://www.secetweb.com/images/secetcutter.PNG
    OMG, microsoft stole scar's icon for msn messenger!

  12. #362
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    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).

  13. #363
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Secet View Post
    You can make yourself just like I did in my SecetCutter
    http://www.secetweb.com/images/secetcutter.PNG
    Oooooh

    How the heck did you do that?

  14. #364
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Forms. He probably just made it stay on top, and sent the report to it.

  15. #365
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by bullzeye95 View Post
    Forms. He probably just made it stay on top, and sent the report to it.
    How would you make the SCAR Window/A Form stay on top while you click and walk around and such?

  16. #366
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    frmDesign.FormStyle := fsStayOnTop?

  17. #367
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Boreas View Post
    frmDesign.FormStyle := fsStayOnTop?
    That's neat...

    Is there one like that, but for the main SCAR window?

  18. #368
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    getself.FormStyle := fsStayOnTop?

    (question marks because I've never tried it, I'm just guessing from the Ctrl+space list)

  19. #369
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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

  20. #370
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by tarajunky View Post
    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.
    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.

  21. #371
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    I'll try it out

    But really, you guys couldn't think of a better thing to call it than "GetSelf"? Just sounds a bit like SCAR's grabbin' itself...

    **My apologies**Sick mind here**

    SCAR Code:
    program New;
    begin
    GetSelf.FormStyle := fsStayOnTop
    end.



    You might have access to SCAR's main form component, but not all propertys can be modified because of access restrictions ey

  22. #372
    Join Date
    Feb 2006
    Posts
    411
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  23. #373
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    safethreadcall or something...

  24. #374
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    You might have access to SCAR's main form component, but not all propertys can be modified because of access restrictions ey
    well actually if you do it right you can do what ever you
    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

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

    Default

    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!.

Page 15 of 19 FirstFirst ... 51314151617 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Official CS 1.6 Download Thread!
    By yanix in forum Gaming
    Replies: 0
    Last Post: 12-26-2007, 11:28 AM
  2. My Official Stats Thread
    By mark9510 in forum News and General
    Replies: 1
    Last Post: 10-08-2007, 03:57 PM

Posting Permissions

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