Results 1 to 11 of 11

Thread: Y My Function no Work?!

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default Y My Function no Work?!

    Simba Code:
    Function ChopRoot:Boolean; //Root Chopping

    var
    x, y, rootCount: Integer;
    begin
      if FindObjCustom(x, y, ['hop', 'Chop', 'op'], [8711319], 20) then
        begin
        writeLn('We found something to cut');
        MoveMouse(x, y);
        GetMousePos(x, y);
        ClickMouse(x, y, 1);
        ReleaseMouse(x, y, 1);
        WaitUptext('Collect', (100));
        end;
    End;
    Jeez....
    nothing at all happens...

    Simba Code:
    begin    //main
      ActivateClient;
      ChopRoot;
    end.     //main

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Does it writeln that line?
    If not, then you need to pick more/better colors and also possibly increase your tolerance.

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Does it writeln that line?
    If not, then you need to pick more/better colors and also possibly increase your tolerance.
    No, it does not write that line, and the color is the EXACT same.
    I chose the brightest green color so that there would be no interference.
    Mind getting on skype so you can teamviewer me?

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Before running script, drag crosshairs onto client.

  5. #5
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If it's not writing that line, then it's not finding the object. If it's not finding the object, you need better/more colors. Trying using ACA (auto color aid). It should be somewhere around here on the forums. If not, I can send it to you. If it is, I don't really understand what you're doing with

    Simba Code:
    MoveMouse(x, y);
        GetMousePos(x, y);
        ClickMouse(x, y, 1);
        ReleaseMouse(x, y, 1);
        WaitUptext('Collect', (100));

    Also, for future reference, use MMouse and Mouse.

    MMouse moves the mouse in a human way, with randomness, Mouse moves the mouse in a human way, with randomness, and then clicks.
    Last edited by nickrules; 12-19-2011 at 11:31 PM.

  6. #6
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Edit never mind.

  7. #7
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Oh yea what teh FAUZZZZZZZ
    MoveMouse(x, y);
    GetMousePos(x, y);
    ClickMouse(x, y, 1);
    ReleaseMouse(x, y, 1);
    ]

    DO NOT USE THOSE MOUSE FUNCTIONS IN RUNESCAPE, YOU WILL GET BANNED!
    You need to use MMouse an Mouse! Those other ones are super duper robotic!

  8. #8
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    What does MMouse do o.O
    Andsure Nick, can you send me the color picker?

  9. #9
    Join Date
    Nov 2011
    Posts
    118
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    MMouse is a more human like mouse movement. MoveMouse, iirc, goes straight to the exact pixel.

  10. #10
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    What does MMouse do o.O
    Andsure Nick, can you send me the color picker?
    MMouse = Move Mouse
    Mouse = Click Mouse.

    ACA = https://github.com/SRL/SRL-6/blob/ma...20Aid%20v2.exe

    -Boom

  11. #11
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    MMouse = Move Mouse
    Mouse = Click Mouse.

    ACA = https://github.com/SRL/SRL-6/blob/ma...20Aid%20v2.exe

    -Boom
    Thanks for the link
    But one thing confuses me, your name isn't Boom, why do you say it o.O

    EDIT*
    Nvm, I got why >.>

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
  •