Results 1 to 9 of 9

Thread: Reducing Mouse Speed

  1. #1
    Join Date
    Oct 2012
    Location
    Porto, Portugal
    Posts
    218
    Mentioned
    0 Post(s)
    Quoted
    42 Post(s)

    Question Reducing Mouse Speed

    Simple question. How do I reduce/increase Mouse Speed in certain movements?

  2. #2
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  3. #3
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    ^ 15 is default soo yeah

  4. #4
    Join Date
    Oct 2012
    Location
    Porto, Portugal
    Posts
    218
    Mentioned
    0 Post(s)
    Quoted
    42 Post(s)

    Default

    thanks another question non related. just dont want to create lots of threads...

    Simba Code:
    procedure Antiban;
    begin
      if not(LoggedIn) then
        Exit;
      FindNormalRandoms;
      case Random(10000) of
        1:
          begin
            Writeln('Antiban: Short AFK');
            MouseOffScreen;
            Wait(RandomRange(10000, 30000));
          end;
        2..5:
          begin
            Writeln('Antiban: Checking skills');
            Gametab(tab_stats)
            Wait(RandomRange(5000, 10000));
            Gametab(tab_Inv);
            Wait(RandomRange(100, 200));
          end;
        6..8:
          begin
            Writeln('Antiban: Checking Herblore XP');
            GameTab(tab_stats)
            Wait(RandomRange(200, 600));
            HoverSkill('Herblore', False);
            Wait(RandomRange(2000, 10000));
            Gametab(tab_Inv);
            Wait(RandomRange(200, 450));
          end;
        9..12:
          begin
            Writeln('Antiban: Sleep And Move Mouse');
            SleepAndMoveMouse(RandomRange(1000, 10000));
          end;
        14..15:
          begin
            Writeln('Antiban: Checking who is online');
            GameTab(tab_Friends);
            Wait(RandomRange(2000, 3000));
            GameTab(tab_Inv);
            Wait(RandomRange(100, 200));
          end;
        16..17:
          begin
            Writeln('Antiban: Checking money');
            if IsMoneyPouchOpen then
              Exit;
            else ToggleMoneyPouch(True);

            Wait(RandomRange(1000, 5000));
            ToggleMoneyPouch(False);
            Wait(RandomRange(100, 600));
          end;
        18..19:
          begin
            Writeln('Antiban: Checking XP Counter');
            if ToggleXPBar(True) then
            ToggleXPBar(False);
            else
            ToggleXpBar(True);
            Wait(RandomRange(600, 5000));
            TogglExpBar(False);
            Wait(RandomRange(700, 1500));
          end;
      end;
    end;


    This is my Antiban procedure. I get an error at

    Simba Code:
    16..17:
          begin
            Writeln('Antiban: Checking money');
            if IsMoneyPouchOpen then
              Exit;
           else ToggleMoneyPouch(True);    // HERE GETS HIGHLIGHTED - IDENTIFIER EXPECTED

            Wait(RandomRange(1000, 5000));
            ToggleMoneyPouch(False);
            Wait(RandomRange(100, 600));
          end;



    Whats wrong with it?

  5. #5
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Here you go...

    Simba Code:
    if (Conditional) then
      Method //You can't have a ";" here if you're not using begin end
    else

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  6. #6
    Join Date
    Oct 2012
    Location
    Porto, Portugal
    Posts
    218
    Mentioned
    0 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    Here you go...

    Simba Code:
    if (Conditional) then
      Method //You can't have a ";" here if you're not using begin end
    else
    oh. thanks! I didn't know that

  7. #7
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Nirvana View Post
    oh. thanks! I didn't know that
    Basically there shouldn't be a ";" before a else ever even if there are begin end.

    if ... then
    begin
    ...;
    end else //<-- see even here no ";"
    ..;

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  8. #8
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    MouseSpeed:=10;

    Just change the mousespeed everytime you want it changed
    didn't know that , higher to increase the speed and lower to slow it down?

  9. #9
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by The Killer View Post
    didn't know that , higher to increase the speed and lower to slow it down?
    Yes

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

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
  •