How Do I?

Discussion in 'Scar/Simba Help' started by Pivotnewb, Mar 4, 2008.

How Do I?
  1. Unread #1 - Mar 4, 2008 at 9:31 AM
  2. Pivotnewb
    Joined:
    Feb 23, 2008
    Posts:
    257
    Referrals:
    1
    Sythe Gold:
    0

    Pivotnewb Forum Addict
    Banned

    How Do I?

    I play a game called RF Online


    I wanna do the following

    Send the key F4
    Click On my character
    Wait 90 seconds
    Loop

    On a different program it would be

    PHP:
    Set activewindow RF Online
    Delay 5 Sec

    Key 
    {F4}
    Delay 90 sec
    Restart
     
  3. Unread #2 - Mar 4, 2008 at 10:48 AM
  4. Pivotnewb
    Joined:
    Feb 23, 2008
    Posts:
    257
    Referrals:
    1
    Sythe Gold:
    0

    Pivotnewb Forum Addict
    Banned

    How Do I?

    Respond, Bump
     
  5. Unread #3 - Mar 5, 2008 at 8:36 PM
  6. BlackHand
    Referrals:
    0

    BlackHand Guest

    How Do I?

    I think it would be similar to
    substitute charactercoordinates with the coordinates...or you could set them as constants/whatever. Do what you want, thats the code.
     
  7. Unread #4 - Mar 9, 2008 at 8:59 PM
  8. Nightmare0
    Joined:
    Mar 31, 2007
    Posts:
    104
    Referrals:
    0
    Sythe Gold:
    0

    Nightmare0 Active Member

    How Do I?

    I guess just change all this into a procedure:

    Code:
    program New;
    
    var
    x,y: integer;
    
    begin
    repeat
    KeyDown(115);  //The f4 key
    sleep(65);
    KeyUp(115);
    sleep(65);
    if(FindColor(x,y,ColorCode,0,0,1000,1000)) then  //Replace ColorCode with the colorcode
    //of a unique color found on your character
     begin
     MoveMouseSmoothEx(x,y+random(0),20,45,40,25,20); //Moves your mouse to the color
     ClickMouse(x,y,true);  //Clicks (left-click)
     Wait(90000);   //Your 90 second wait :)
     end;
    until(IsFKeyDown(8));  //Will continue looping until you press the F8 key
    end.
    It looks much simpler when you paste into SCAR lol
     
< Random Problem... | Greetings >

Users viewing this thread
1 guest


 
 
Adblock breaks this site