Results 1 to 7 of 7

Thread: edited humidify script

  1. #1
    Join Date
    Aug 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default edited humidify script

    Hey everyone, a friend and I worked to get this script we found on here to suit our needs by using hotkeys.

    Here's the code:
    Code:
    program humidifyBot;
    
    //Start with 27 empty vials and 1 astral rune in inventory with mouse over bank
    
    {$DEFINE SMART}
    {$I SRL-6/SRL.simba}
    
    procedure closeBank();
    begin
      typeSend('1');
    end
    
    procedure openBank();
    begin
      fastClick(MOUSE_LEFT);
    end
    
    procedure useHumidify();
    begin
      typeSend('q');
    end
    
    begin
        writeLn('The script will start in 5 seconds...');
        wait(5000);
      repeat
        useHumidify();
        wait(randomRange(2500,3000));
        openBank();
        wait(randomRange(1500,2000));
        closeBank();
        wait(randomRange(1000,1500));
      until isKeyDown(53) = true
    end
    Right now, it only works if I leave Runescape open, so I can't do anything else. How could I get smart to work with this, so I could leave it minimized while doing other stuff.
    Really new to this, sorry for the nooby question.

    thanks
    Last edited by baboushkah; 08-27-2014 at 05:28 PM.

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Simba Code:
    begin
      SetupSRL;  
      writeLn('The script will start in 5 seconds...');
      wait(5000);
      repeat
        useHumidify();
        wait(randomRange(2500,3000));
        openBank();
        wait(randomRange(1500,2000));
        closeBank();
        wait(randomRange(1000,1500));
      until isKeyDown(53) = true
    end.

  3. #3
    Join Date
    Aug 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey, I dont quite understand we already have that in our code
    oh nevermind the setupsl. Thanks trying it out now

  4. #4
    Join Date
    Aug 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey thanks for that, the smart works. Now, how can I get it so the cursor moves around every few minutes and make it so it's always over the bank.

  5. #5
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

  6. #6
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    Quote Originally Posted by cachuey View Post
    Hey thanks for that, the smart works. Now, how can I get it so the cursor moves around every few minutes and make it so it's always over the bank.
    check out other scripts antibans and break systems! check the srl include "antiban" it has some features for mouse movements you can use and read TheMayors tutorial on scripting to understand about color and DTMs so you move your mouse to the bank

  7. #7
    Join Date
    Aug 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey undorak, thanks for your help. We did find some antiban code that we want to use:
    Code:
     
    
    procedure smallRandomMouse(radius: integer = 80);
    var
      randSpeed: Extended;
      x, y, rx, ry, fs: Integer;
    begin
      fs := MouseSpeed;
      mouseSpeed := randomRange(10, 20);
      randSpeed := (random(MouseSpeed) / 2.0 + MouseSpeed) / 10.0;
      getMousePos(x, y);
    
      rx := randomRange(x-radius, x+radius);
      ry := randomRange(y-radius, y+radius);
    
      _humanWindMouse(x, y, rx, ry, 30, 55, (10.0/randSpeed), (12.0/randSpeed), (10.0*randSpeed));
      MouseSpeed := fs;
    end
    However we want this to happen every few minutes so like a random time between let's say 2 and 5 minutes.
    thanks again

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •