Results 1 to 9 of 9

Thread: Scripting help on dummy slapper

  1. #1
    Join Date
    Oct 2007
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Scripting help on dummy slapper

    Hi i tried to make a script 2day but i didn't work as it wont even click. It
    stops before i can start slapping dummy's. Ive got my script below please
    tell me how to make it work.

    thank you.

    p.s Please can you refurbish it and post it or tell me what to do

    SCAR Code:
    ////////////////////////////////////////////////////
    ///////////// Dummy puncher By Tomdavies////////////
    ///////////////////////////////////////////////////
    ///1. position yourself in varrock dummy place////
    ///2. press play/////////////////////////////////

    program FirstScript;
    {.include SRL/SRL.scar}

    var
    i,x,y:Integer;

    const
      DummyColor = 8430270;//The couler of the dummy to slap.

    procedure SlapD;
    begin
      i:= 0;
      repeat
        i:=i + 1;
        if(FindColor(x,y,DummyColor,0,0,683,358)) then
        begin
          Wait(1000 +random(500))
          Mouse(x, y, 3, 3, True); //moves the mouse.
          Wait(5000 +random(500));
        end;
      until(not(FindColor(x,y,Dummycolor,0,0,683,358)));
    end;

    begin
      SetupSRl; //will setup srl.
      SlapD; //will slap the dummy .
    end.

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    It looks like ti should click >_< unless the color is wrong.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    It probably doesn't find the Dummy-Color, and in your procedure SlapD you make the script break the loop if it does not find the color.

    -Knives

  4. #4
    Join Date
    Aug 2007
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ima test it for u in a sec see whats going wrong

  5. #5
    Join Date
    Oct 2007
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How do i loop it please could you post my script back with the loop on.
    Thankyou for helping Tomdavies

  6. #6
    Join Date
    Oct 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dunno, i did this all with an autoclicker, q:what if u get banned for such a simple script?

  7. #7
    Join Date
    Oct 2007
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Im changing trying to make it more auto friendly. Ive got it to work with colors but now i need to make a auto login before.
    Plus im goin to add the disguise Code to make it show as a regular program =p

  8. #8
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    to log a player in you'd use declare players and LoginPlayer(together)
    SCAR Code:
    ////////////////////////////////////////////////////
    ///////////// Dummy puncher By Tomdavies////////////
    ///////////////////////////////////////////////////
    ///1. position yourself in varrock dummy place////
    ///2. press play/////////////////////////////////

    program FirstScript;
    {.include SRL/SRL.scar}

    var
    i, x, y:Integer;

    const
      DummyColor = 8430270;//The couler of the dummy to slap.
      TimesToSlap = 50;

    procedure SlapD;
    begin//why did u have the i:=0 here?
      if(FindColor(x,y,DummyColor,0,0,683,358)) then
      begin
        Wait(1000 +random(500))
        Mouse(x, y, 3, 3, True); //moves the mouse.
      //well if it's found the dummy why keep on looking for it?
      //just keep on slapping it.
        for i:=0 to TimesToSlap-1 do
        begin
          wait(500+Random(1000));
          Mouse(x, y, 3, 3, True);
        end;
      end else
      begin
        writeln('there is no dummy!!');
        //here would be a good place to log him out.
        LogOut;
      end;
    end;

    begin
      SetupSRl; //will setup srl.
      SlapD; //will slap the dummy .
    end.

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  9. #9
    Join Date
    Oct 2007
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks for the help it keeps searching becuse it used to be a old wood cutter of mine. But how would i add in a login script area as i cant find how 2?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need Dummy Puncher (varrok)
    By William in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 10-12-2008, 06:00 PM
  2. [SRL 4] Varrock East Dummy Slapper
    By King of Knives in forum RS3 Outdated / Broken Scripts
    Replies: 19
    Last Post: 03-20-2008, 12:08 PM
  3. Dummy Pwner!
    By Birfday_Cake in forum RS3 Outdated / Broken Scripts
    Replies: 6
    Last Post: 10-04-2007, 05:39 PM
  4. Need Help With dummy hitter
    By Meanage in forum OSR Help
    Replies: 9
    Last Post: 01-29-2007, 11: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
  •