Results 1 to 15 of 15

Thread: Need Help With DummyPwner

  1. #1
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need Help With DummyPwner

    It Dont Click In the right place and is Mouse ok to use in rs?Ill give rep for anyone to help



    SCAR Code:
    program DummyPwnage;
    {.include SRL/SRL.scar}
    // start in dummy place cammera highest point
    //Compass exactly north otherwise it wont locate dummy :(
    procedure FindDummy;
    begin
    if (FindColorSpiral(x,y,8627906,0,0,233,234)) then
    writeln('Found Dummy Now Clicking');
    end;
    procedure ClickDummy;
    begin
    if (FindColor(x,y,8627906,0,0,252,220))Then
    MMouse(x,y,221,136);
    wait(400+random(200));
    Mouse(x,y,221,136,true);
    end;
    Begin
    FindDummy;
    ClickDummy;
    end.

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

    Default

    Two things to always check for:

    1) Make sure you have SetupSRL; at the top of your main loop.

    2) Always make sure to target the window.

  3. #3
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    were i put setupsrl;? before the find dummy procedure? and i did target rs

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

    Default

    SCAR Code:
    Begin
    SetupSRL; // Right here
    FindDummy;
    ClickDummy;
    end.

  5. #5
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oo ty i plused youre rep and does mouse get u banned easy?
    EDIT
    It works a bit better but clikcs anywhere in the coardinates i set

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

    Default

    Not if you use it in the right way.

    This might get you banned:

    SCAR Code:
    Mouse(x, y, 0, 0, True);

    This most likely won't:

    SCAR Code:
    Mouse(x, y, 2, 2, True);

    The latter adds a bit of randomness to it.

  7. #7
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    does it search outwards from the coardinates i set or inwards if u get me.

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

    Default

    Mouse doesn't search, it clicks.

    MouseBox will search, and then click randomly inside the box (pretty hand at times), if that's what you want.

  9. #9
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i meant findcolorspiral
    EDIT
    and i still just finds the dummy color says its found it then click anywhere inthat traininng place

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

    Default

    you can use the command "IsUpText('ummy')" to check and see if the text at the upper left hand corner has the phrase "dummy" in it.

  11. #11
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    do i put that under MMouse in the clickdummy procedure and in advance thanks ur helping me alot

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

    Default

    You would put that after MMouse, yes, but here's a tip.

    SCAR Code:
    procedure ClickDummy;
    begin
    if (FindColor(x,y,8627906,0,0,252,220))Then
    MMouse(x,y,221,136);
    wait(400+random(200));
    Mouse(x,y,221,136,true);
    end;

    The way you have it set up... It'll search for the color, and if it finds the color, it'll move the mouse there. But if it doesn't find the color, it'll move on with the rest of the procedure.

    If you wrap MMouse through Mouse with a Begin and End;, it'll fix the problem.

  13. #13
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Heres my script so far
    it just click around the training place whats wrong with it?
    SCAR Code:
    program DummyPwnage;
    {.include SRL/SRL.scar}
    // start in dummy place cammera highest point
    //Compass exactly north otherwise it wont locate dummy :(
    procedure FindDummy;
    begin
    if (FindColorSpiral(x,y,8627906,0,0,493,313)) then
    writeln('Found Dummy Now Clicking');
    end;
    procedure ClickDummy;
    begin
    MMouse(x,y,221,136);
    if
    IsUpText('ummy') then
    wait(400+random(200));
    Mouse(x,y,221,136,true);
    end;
    Begin
    SetupSRL;
    FindDummy;
    ClickDummy;
    end.

  14. #14
    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 rudeboialex View Post
    Heres my script so far
    it just click around the training place whats wrong with it?
    SCAR Code:
    program DummyPwnage;
    {.include SRL/SRL.scar}
    // start in dummy place cammera highest point
    //Compass exactly north otherwise it wont locate dummy :(
    procedure FindDummy;
    begin
    if (FindColorSpiral(x,y,8627906,0,0,493,313)) then
    writeln('Found Dummy Now Clicking');
    end;
    procedure ClickDummy;
    begin
    MMouse(x,y,221,136);
    if
    IsUpText('ummy') then
    wait(400+random(200));
    Mouse(x,y,221,136,true);
    end;
    Begin
    SetupSRL;
    FindDummy;
    ClickDummy;
    end.
    You have it search for the dummy, but if it doesn't find the dummy, it'll go on with the next procedure.

    I'd like to suggest a few things:

    1) Instead of telling people to put the camera at the highest point and put their compass north, you can just use "HighestAngle;" and "PerfectNorth;"

    2) Try adding a tolerance to the color finding.

    3) And lastly, put the color finding in the repeat...until tags.

  15. #15
    Join Date
    Jun 2006
    Location
    N Wales
    Posts
    558
    Mentioned
    2 Post(s)
    Quoted
    56 Post(s)

    Default

    the reason why it clicks randomly when clicking on the dummy is because in the clickdummy procedure when you use Mmouse you have
    MMouse(x,y,221,136);
    this should be written like this
    MMouse(x,y,2,2);
    you thought that the two numbers after the x and y where coordinates but they arnt they are how far away from the exact point is allowed to click.

    try this code instead it should work.

    SCAR Code:
    program DummyPwnage;
    {.include SRL/SRL.scar}
    // start in dummy place cammera highest point
    //Compass exactly north otherwise it wont locate dummy :(
    procedure FindDummy;
    begin
    if (FindColorSpiral(x,y,8627906,0,0,493,313)) then
    writeln('Found Dummy Now Clicking');
    end;
    procedure ClickDummy;
    begin
    MMouse(x,y,2,2);
    if
    IsUpText('ummy') then
    wait(400+random(200));
    Mouse(x,y,2,2,true);
    end;
    Begin
    SetupSRL;
    FindDummy;
    ClickDummy;
    end.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mickaliscious's DummyPwner
    By mickaliscious in forum First Scripts
    Replies: 5
    Last Post: 11-12-2007, 11:35 PM
  2. DummyPwner
    By RudeBoiAlex in forum RS3 Outdated / Broken Scripts
    Replies: 14
    Last Post: 03-09-2007, 06:18 PM
  3. DummyPwner
    By RudeBoiAlex in forum OSR Help
    Replies: 1
    Last Post: 03-03-2007, 03:58 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
  •