Page 2 of 2 FirstFirst 12
Results 26 to 32 of 32

Thread: bot is right clicking every monster

  1. #26
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    All the knowledge you learned is still relevant, except for small changes.

    ClickNorth(True) -> SRL_ANGLE_HIGH/SRL_ANGLE_LOW/SRL_ANGLE_NONE
    Same goes for SetAngle(True);

    Mouse() now uses mouse_Left for left clicking and mouse_Right for right click.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  2. #27
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    Wow, I suck. So I just spent 3 hours learning how to script in SRL4?
    stuff is named differently... does slightly different things

    you'll be able to use srl5 functions just like you do srl4, they just do different things...

    go through srl includes and read what different procedures and functions do
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  3. #28
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    yeah if you learn how to script you learn how to script! yull be a mem in no time (*wink)

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

    Default

    Quote Originally Posted by wantonman View Post
    yeah if you learn how to script you learn how to script! yull be a mem in no time (*wink)
    Stop being so butthurt you were temp banned for spamming the forums. It had nothing to do with your application.


    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!

  5. #30
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks for the help, ill give it a try now

    so i've attempted these methods and still no luck, it right clicks then chooses attack and repeats on the monster after each hit


    this is the section I think is causing the problem
    procedure GMouse(x, y, rx, ry: Integer; left: Boolean);
    var
    StartX, StartY, TargetX, TargetY, Button: Integer;
    DeltaX, DeltaY: Integer;
    Neliojuuri, K: Extended;
    begin
    GetMousePos(StartX, StartY);
    GMMouse(x, y, rx, ry);
    GetMousePos(TargetX, TargetY);
    if left then Button := MOUSE_LEFT
    else Button := MOUSE_LEFT;
    //else Button := MOUSE_RIGHT;
    HoldMouse(TargetX, TargetY, Button);
    Wait(25+Round(Gaussian(70, 2.3, True)));
    if (Random(15) = 0) then
    begin
    DeltaX := TargetX-StartX;
    DeltaY := TargetY-StartY;
    Neliojuuri := Sqrt(DeltaY*DeltaY+DeltaX*DeltaX);
    if (Neliojuuri = 0) then MoveMouse(TargetX-1+Random(3), TargetY-1+Random(3))
    else begin
    K := 1.5/Neliojuuri;
    MoveMouse(TargetX+Round((K*DeltaX)), TargetY+Round((K*DeltaY)));
    end;
    end;
    Wait(25+Round(Gaussian(70, 2.3, True)));
    ReleaseMouse(TargetX, TargetY, Button);
    end;
    Last edited by Slither1; 01-18-2012 at 12:47 AM.

  6. #31
    Join Date
    Sep 2007
    Location
    Australia, NSW
    Posts
    934
    Mentioned
    6 Post(s)
    Quoted
    145 Post(s)

    Default

    Quote Originally Posted by PatDuffy View Post
    I edited the pest control script last night to work, it took me 2 edits of lines.
    He's 100% right; it took me 2 lines to fix it too i would help, but I'd be leaking a member's script. I hope this gives some people out there the incentive to learn how to script

    INACTIVE
    How-to: Make S.M.A.R.T. less laggy

    Sell me your Maple Shieldbows (u)! Up to 95gp ea!

    My Scripts:
    Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
    99 x78 | 99 x10 | 99 x2 | 99 x12


    Use the REPORT tags when posting progress reports to make life easier (:
    [REPORT]Put progress report in here![/REPORT]

    Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]

  7. #32
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah that's cool, any chance you could give me any clues? just a pointer towards what is causing it

Page 2 of 2 FirstFirst 12

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
  •