Results 1 to 2 of 2

Thread: SIMBA mouse speed help

  1. #1
    Join Date
    Nov 2007
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Angry SIMBA mouse speed help

    I'm trying to figure out how to change the mouse speed... this is what my hotkey script looks like. Everything I read is outdated. I just moved on from SCAR to simba


    program New;
    {. SRL-6/SRL.simba}
    {. SRL-6/lib/core/mouse.simba}
    {. SRL/SRL/core/simba.simba}

    {. include SRL/SRL/core/math.simba}
    {. include SRL/SRL/core/mouse.simba}
    {. include SRL-6/SRL.simba}
    var

    X,Y,X1,Y1 : Integer;
    begin

    repeat
    if(isKeyDown(90) ) then begin //86

    if(FindColorTolerance(X1,Y1,5337217,562,259,790,46 5,2 )) then begin
    sleep(45+random(148));
    MoveMouse (X1-random(28)+random(28),Y1-random(28)+random(28));



    end;
    end;
    if(isKeyDown(32) ) then begin //86
    writeLn('Fire!');
    if(FindColorTolerance(X1,Y1,5337217,562,259,790,46 5,2 )) then begin
    sleep(215+random(548));
    MoveMouse (X1-random(15)+random(15),Y1-random(15)+random(15));

    getMousePos(X1,Y1);

    sleep(281+random(828));

    HoldMouse(X1,Y1,mouse_left);
    sleep(21+random(221));
    //////////////
    if(random(31)=1) then begin
    sleep(21+random(148));
    writeLn('Longer mouse');

    end;
    ///////////
    getMousePos(X1,Y1);

    //////////
    if(random(11)=1) then begin
    sleep(21+random(121));
    writeLn('Longer hold');
    end;
    //////////
    sleep(21+random(148));
    writeLn(getTimeRunning);
    ReleaseMouse(X1,Y1,mouse_left);


    end;
    end;
    sleep(100);
    until(false);
    end.

  2. #2
    Join Date
    Apr 2016
    Posts
    126
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Simba Code:
    mouseSpeed := 28;
    mouse(point(x, y), MOUSE_MOVE);
    fastClick(MOUSE_LEFT);
    Will move the mouse with a speed of 28 and left click. The default mouseSpeed is 20.

    It's better to use gaussRangeInt instead of random. To do this you can either change random to gaussRangeInt in
    Simba Code:
    MoveMouse (X1-random(28)+random(28),Y1-random(28)+random(28));
    Or you can use
    Simba Code:
    mouseBox(intToBox(x1, y1, x2, y2), MOUSE_MOVE);
    which is a gaussBox. Note that moveMouse will tele your mouse to the given coordinates, so you don't need a mouseSpeed there.
    I hope this answers your question.

    TIP: put your code between simba tags to make it easier on the eyes.
    EDIT: they mayor's all in one guide is fully up to date.

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
  •