Results 1 to 17 of 17

Thread: PLZ help me

  1. #1
    Join Date
    Jun 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default PLZ help me

    i need help to do a script to a game the only thing i need is so
    wenn it will see a coler that i set out
    it will prees right in 2 sec and
    the repet if it see the coler ther agine
    can anyone help me

  2. #2
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by linusgr View Post
    i need help to do a script to a game the only thing i need is so
    wenn it will see a coler that i set out
    it will prees right in 2 sec and
    the repet if it see the coler ther agine
    can anyone help me
    I dont fully understand what you are asking for. Do you need a Right Click or a Right Arrow hit?

    Something like this?

    SCAR Code:
    program New;

    var
      x,y: Integer;

    const
      Color = 0; // Change the 0 to your color
                     // Hit F1 to stop the script
    begin
      repeat
        if(FindColor(x,y,Color,0,0,700,700))then  // You could change the coordinates
        begin
          Wait(2000);
          ClickMouse(x,y,False);
        end;
      until(IsFKeyDown(1));
    end.
    METAL HEAD FOR LIFE!!!

  3. #3
    Join Date
    Jun 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Color Picked: 16711680 at (536, 381)
    can you help me i am a noob
    that coler and the x,y thing
    can you fix it so wenn it see that coler in that x,y it will prees right key

  4. #4
    Join Date
    Jun 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i want it to prees right on the keyboard in 2 seconds

  5. #5
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program New;
     
    var
      x,y: Integer;
     
    const
      Color = 16711680; // Change the 0 to your color
                     // Hit F1 to stop the script
    begin
      repeat
        if(FindColor(x,y,Color,0,0,700,700))then  // You could change the coordinates
        begin
          Wait(2000);
          ClickMouse(x,y,False);
        end;
      until(IsFKeyDown(1));
    end.
    that should work

    please note
    i only changed the color for you.
    gerauchert did the rest

  6. #6
    Join Date
    Jun 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i want it to prees right on the keyboard in 2 seconds
    insted of ClickMouse(x,y,False);

  7. #7
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    I just changed it again - I'm pretty sure SendArrow 3 is right, but I'm not sure, and I changed the co-ords to only look for the colour a bit around where you said, though you'll need to change them if it doesn't find it.
    SCAR Code:
    program New;
     
    var
      x,y: Integer;
     
    const
      Color = 16711680; // Change the 0 to your color
                     // Hit F1 to stop the script
    begin
      repeat
        if(FindColor(x,y,Color,530, 375,540,385))then  // You could change the coordinates
        begin
          Wait(2000);
          SendArrowKeyWait(3, 50);
        end;
      until(IsFKeyDown(1));
    end.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  8. #8
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    SCAR Code:
    KeyDown(VK_Right);
    Wait(random(2000));
    KeyUp(VK_Right);

    That will press the right arrow, then hold it for 2 seconds, then lift it up. Is that what you wanted?

  9. #9
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dude Richard View Post
    SCAR Code:
    KeyDown(VK_Right);
    Wait(random(2000));
    KeyUp(VK_Right);

    That will press the right arrow, then hold it for 2 seconds, then lift it up. Is that what you wanted?
    thats what i understood too!
    i sended him private
    but shouldn't this be
    SCAR Code:
    KeyDown(VK_Right);
    Wait(2000);
    KeyUp(VK_Right);
    since he wants ALWAYS to push that right key
    and not less and thats what random does.. from 0->2000 right?

  10. #10
    Join Date
    Jun 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    gerauchert that gave me the start script and then Dude Richard
    that fixed the last thing thx

  11. #11
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Quote Originally Posted by pvh View Post
    thats what i understood too!
    i sended him private
    but shouldn't this be
    SCAR Code:
    KeyDown(VK_Right);
    Wait(2000);
    KeyUp(VK_Right);
    since he wants ALWAYS to push that right key
    and not less and thats what random does.. from 0->2000 right?
    Yeah, sorry I took it from my antiban function and it was (1000+random(2000)) and I left the random bit in there.


    And linusgr, don't forget to rep

  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Lol just need 3 more rep

  13. #13
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    Lol just need 3 more rep

    what u need 3 more rep for..?

  14. #14
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    None of ure buisness!

  15. #15
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    I knows what it is

    Not telling though hehe

  16. #16
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    I think my rep is worth 3.

  17. #17
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Yes, I can rep you, and btw i haves 52 nows!

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
  •