Results 1 to 4 of 4

Thread: Quick question on Mousespeed

  1. #1
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Quick question on Mousespeed

    Is higher or lower faster?

    Also, could I do this?

    Mousespeed:=Mousepeed-/+X

    Also, the command IS Mousespeed, right?

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    15 is faster that 5 <-- Example;

    Put
    SCAR Code:
    MouseSpeed := X;

    At the beggining of your main loop. (After SetupSRL; of course)
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm working on a function of my own right now, and needed to know how mousespeed works :P.

    Thanks for the information.

  4. #4
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Ok, look at the main loop in my Rimmington Miner,

    SCAR Code:
    begin
      setupsrl;
      ScriptID := '1038';
      SRLID := SRLStatsID;
      SRLPassword := SRLStatsPass;
      ClearDebug;
      Writeln('Setting up SMART')
      LoadSMART(SMART_World, False, True)
      //SmartSetup('world'+(inttostr(SMART_World)), True, False,false,false);
      Wait(7000)
      SetTargetDC(SmartGetDC);
      Disguise(The_Disguise)
      LoadDTMs;
      DeclarePlayers;
      if not loggedin then loginPlayer;
      repeat
        P := 0;
        Randoms;
        if not loggedin then loginplayer;
        SetupPlayer;
        repeat
          GoToMine;
          If(GetMMLevels('run', ColorSign) > 35)Then
          begin
            SetRun(True);
          End;
          So_What_I_mine;
          GoToBank;
          P := P + 1;
          inc(Loads)
          players[currentplayer].integers[4]:=(players[currentplayer].integers[4])+1;
          ReportVars[0] := ReportVars[0] + 1;
          Report;
        until(not(loggedin)) or (P >= LoadsB)
        LogOut;
     //   Report;
        NextPlayer(Players[CurrentPlayer].Active);
      until false
    end.

    All's you need to do is add,
    SCAR Code:
    MouseSpeed := 14;//Or whatever number you want
    After SetupSRL; in your Main Loop.
    So it ends up like this...

    SCAR Code:
    begin
      setupsrl;
      {==============}
      {=- MouseSpeed -=}
      {==============}
      MouseSpeed := 16;
      {==============}
      {=- MouseSpeed -=}
      {==============}  
      ScriptID := '1038';
      SRLID := SRLStatsID;
      SRLPassword := SRLStatsPass;
      ClearDebug;
      Writeln('Setting up SMART')
      LoadSMART(SMART_World, False, True)
      //SmartSetup('world'+(inttostr(SMART_World)), True, False,false,false);
      Wait(7000)
      SetTargetDC(SmartGetDC);
      Disguise(The_Disguise)
      LoadDTMs;
      DeclarePlayers;
      if not loggedin then loginPlayer;
      repeat
        P := 0;
        Randoms;
        if not loggedin then loginplayer;
        SetupPlayer;
        repeat
          GoToMine;
          If(GetMMLevels('run', ColorSign) > 35)Then
          begin
            SetRun(True);
          End;
          So_What_I_mine;
          GoToBank;
          P := P + 1;
          inc(Loads)
          players[currentplayer].integers[4]:=(players[currentplayer].integers[4])+1;
          ReportVars[0] := ReportVars[0] + 1;
          Report;
        until(not(loggedin)) or (P >= LoadsB)
        LogOut;
     //   Report;
        NextPlayer(Players[CurrentPlayer].Active);
      until false
    end.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Just a quick question? Did I say quick?
    By SeanJohn in forum OSR Help
    Replies: 3
    Last Post: 01-28-2009, 12:03 AM
  2. Quick Question
    By Strykr in forum OSR Help
    Replies: 10
    Last Post: 02-14-2008, 02:42 AM
  3. Quick question..
    By Wyn in forum OSR Help
    Replies: 2
    Last Post: 05-15-2007, 11:29 PM
  4. Quick Question
    By ganbree in forum OSR Help
    Replies: 6
    Last Post: 04-27-2007, 08:21 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
  •