Adblock breaks this site

How Do I?

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

  1. Pivotnewb

    Pivotnewb Forum Addict
    Banned

    Joined:
    Feb 23, 2008
    Posts:
    257
    Referrals:
    1
    Sythe Gold:
    0
    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
     
  2. Pivotnewb

    Pivotnewb Forum Addict
    Banned

    Joined:
    Feb 23, 2008
    Posts:
    257
    Referrals:
    1
    Sythe Gold:
    0
    How Do I?

    Respond, Bump
     
  3. BlackHand

    BlackHand Guest

    Referrals:
    0
    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.
     
  4. Nightmare0

    Nightmare0 Active Member

    Joined:
    Mar 31, 2007
    Posts:
    104
    Referrals:
    0
    Sythe Gold:
    0
    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 >


 
 
Adblock breaks this site