Results 1 to 6 of 6

Thread: Hand recorder and mouse inputs questions

  1. #1
    Join Date
    Oct 2017
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default Hand recorder and mouse inputs questions

    Hello all,

    I have no clue if this is the right place to post my questions. If it isn't please help figure me out where it needs to be xd.
    Questions: -How does simba create inputs to the game so you can stil use the mouse cursor for other things? And would it be possible for a simple ahk (=autohotkey) script to run like this? (This meaning letting it run while i control the mouse cursor)

    -is there a way of recording your mouse movements and then letting simba do them in osrs? And I know there are programs out there that make a script out of it but I don't like them since I can't do anything else while the script is running plus it takes the speed between 2 clicks to know how fast the cursor needs to go doing the movement, so it doesn't look natural.

    Thanks in advance,

    avb

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    > How does simba create inputs to the game so you can stil use the mouse cursor for other things?

    To do this, you would need to use an external tool in concert with Simba that can provide fake input devices for Simba to use, as opposed to using the real ones attached to your computer. Examples are SMART or RDPWrap

    > And would it be possible for a simple ahk (=autohotkey) script to run like this?

    I doubt it, I don't believe AHK is anywhere near as feature-full as Simba, as far as being an extensible macro engine. You'd be best off asking that question on an AHK forum.

    > is there a way of recording your mouse movements and then letting simba do them in osrs?

    Not directly recording mouse movements, no, this isn't advisable at all. However you could use SRL to make Simba accurately reproduce actions in the context of OSRS.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  3. #3
    Join Date
    Oct 2017
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Thanks a lot for the reply
    That made me want to ask another question though. How could you make a script that looks like it is a real person playing. (multiple patterns and not point to point mouse movements)? Or is this exactly what SRL enables you to do?

    Thanks in advance,

    avb

  4. #4
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    "is there a way of recording your mouse movements and then letting simba do them"

    Sounds like an xy problem (https://meta.stackexchange.com/quest...em/66378#66378)
    Anyways, yes you can. You'd basically be having to write code that is constantly recording the mouse position. Just recording mouse position alone should be super easy.
    Here's some code to help you get started.
    Simba Code:
    var
      x, y: integer;

    begin
      for 1 to 50 do
      begin
        GetMousePos(x, y);
        writeln(x , ', ', y);
        wait(50);
      end;
    end.
    gl

  5. #5
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by avb View Post
    Thanks a lot for the reply
    That made me want to ask another question though. How could you make a script that looks like it is a real person playing. (multiple patterns and not point to point mouse movements)? Or is this exactly what SRL enables you to do?

    Thanks in advance,

    avb
    SRL contains a great deal of pesudo-randomness as well as other nice features such as human-like mouse algorithms. There is also a pretty full-featured set of "antiban" functions you can use to break up patterns in your scripts. For more information, check out the docs or this thread.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  6. #6
    Join Date
    Oct 2017
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Thanks so much guys.
    Those were all my questions for now

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
  •