Page 1 of 2 12 LastLast
Results 1 to 25 of 27

Thread: How Does Scar move the Mouse?

  1. #1
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default How Does Scar move the Mouse?

    Hey.

    Simple Question. What functions does scar use, to move the mouse. Something from the windows API ?.

    It obvioulsy doesnt use the mouse driver ...

    ~caused

  2. #2
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR uses kernel level functions to replace the old mouse position with the new, desired one. (MoveMouse(x, y)).

    We have mouse functions (Mouse, MMouse, etc.) so that it looks like a human is moving the mouse; otherwise, the mouse would teleport across the screen; that would not be good.
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  3. #3
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Macro_FTW View Post
    SCAR uses kernel level functions to replace the old mouse position with the new, desired one. (MoveMouse(x, y)).

    We have mouse functions (Mouse, MMouse, etc.) so that it looks like a human is moving the mouse; otherwise, the mouse would teleport across the screen; that would not be good.
    cool, thats why it is so fast =).

    Though it's detectable .. GameGuard and such are able to succesfully detect and block all those functions : [...


    ~caused

  4. #4
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by caused View Post
    cool, thats why it is so fast =).

    Though it's detectable .. GameGuard and such are able to succesfully detect and block all those functions : [...


    ~caused
    Are you sure? SCAR has never been detectable for me. :/
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  5. #5
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Macro_FTW View Post
    Are you sure? SCAR has never been detectable for me. :/
    100% .

    GameGuard also Blocks AutoIt.. But i think i may have found a way with autoit.

    Try games like "Flyff" or "Gunz" .. if you want to check it out for yourself ...

    If you want to move the mouse on the client window, the mousecursor just stops before it can enter the window.


    I Think it might be possible, that runescape detects the Mouse Functions in the same way gameguard does.
    Though it cant block the input, because the java applet cant access system ressources like GameGuard can.

    Hmn.. What do you guys think :O?

    ~caused
    Last edited by caused; 07-19-2009 at 12:42 AM.

  6. #6
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by caused View Post
    100% .

    GameGuard also Blocks AutoIt.. But i think i may have found a way with autoit.

    Try games like "Flyff" or "Gunz" .. if you want to check it out for yourself ...

    If you want to move the mouse on the client window, the mousecursor just stops before it can enter the window.


    I Think it might be possible, that runescape detects the Mouse Functions in the same way gameguard does.
    Though it cant block the input, because the java applet cant access system ressources like GameGuard can.

    Hmn.. What do you guys think :O?

    ~caused
    If they could detect that, all bots would be banned.
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  7. #7
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default




    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    They CAN detect your mouse movements, but they can't check all the 10000000* 1000000 mouse movements on the second .
    ~Hermen

  9. #9
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    They CAN detect your mouse movements, but they can't check all the 10000000* 1000000 mouse movements on the second .
    But they- RuneScape, at least- can't check whether the movements are coming from an actual MOUSE, or if they're coming from a program controlling the mouse.

    Not to mention that mousekeys is allowed in RuneScape. So actual players don't use the mouse 100% of the time.

    ~Macro_FTW
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  10. #10
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    scar mouse isn't that fast lol?
    you can change the speed by MouseSpeed=12; or w/e you want i usually put it on 7-9

  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by ~~Joker~~ View Post
    scar mouse isn't that fast lol?
    you can change the speed by MouseSpeed=12; or w/e you want i usually put it on 7-9
    That's SRL's mouse. SCAR's `mouse' is a simple mouse `Warp'.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    That's SRL's mouse. SCAR's `mouse' is a simple mouse `Warp'.
    ah i got you lol
    woops my bad.

  13. #13
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Macro_FTW View Post
    But they- RuneScape, at least- can't check whether the movements are coming from an actual MOUSE, or if they're coming from a program controlling the mouse.
    I'm actually not sure about that..

    If they could detect that, all bots would be banned.
    They obviously cant check all accounts all the time.


    ___
    Gotta try SetCursorPos() . Thanks Wizzup. Though it probably wont work :'D...

    ~caused
    Last edited by caused; 07-19-2009 at 08:11 AM.

  14. #14
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    why can you no just move the mouse instantly to the place and wait however long to click? its much cooler and they shouldnt be able to call that botting since the equivalent would be possible on a tablet.
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  15. #15
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Dan Cardin View Post
    why can you no just move the mouse instantly to the place and wait however long to click? its much cooler and they shouldnt be able to call that botting since the equivalent would be possible on a tablet.
    But with a tablet you never instantly warp to the correct position.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  16. #16
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    But with a tablet you never instantly warp to the correct position.
    What if you lift the pen so it looses contact with the board, and then place the pen at the new position?

  17. #17
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    the same with a touch screen cpu. i think this was discussed already
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  18. #18
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by caused View Post
    I Think it might be possible, that runescape detects the Mouse Functions in the same way gameguard does.
    Though it cant block the input, because the java applet cant access system ressources like GameGuard can.

    Hmn.. What do you guys think :O?

    ~caused
    What GameGuard does can't be replicated in pure Java. It hooks all of the standard mouse/keyboard manipulating calls. In order for Java to do that, you'd have to rely on JNI and use some other language to do the hooking. And then you wouldn't be able to run Runescape on any operating system.

  19. #19
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by EvilChicken! View Post
    What if you lift the pen so it looses contact with the board, and then place the pen at the new position?
    Then you get exactly what I just explained.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  20. #20
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    What GameGuard does can't be replicated in pure Java. It hooks all of the standard mouse/keyboard manipulating calls. In order for Java to do that, you'd have to rely on JNI and use some other language to do the hooking. And then you wouldn't be able to run Runescape on any operating system.
    Maybe it cant block the input.. But maybe it can detect it ?_?... I have no idea .. havnt been much into java programming, though i wouldnt say that it's impossible.

  21. #21
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by caused View Post
    Maybe it cant block the input.. But maybe it can detect it ?_?... I have no idea .. havnt been much into java programming, though i wouldnt say that it's impossible.
    Without relying on JNI, Java cannot tell the difference between you physically moving your mouse, and SCAR moving it for you.

  22. #22
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    And the chances of jagex using JNI, are very limited, since they want runescape to run for everybody. They're knowledge base has support for Windows and Mac but not Linux!

  23. #23
    Join Date
    Jul 2009
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i as just about to make a thread like this because i have a question.... so ok about scar warping the mouse....it doesn't warp it it just moves it at light speed right? therefore making it seem teleported? but that's not what i was going to ask.

    so game gaurd and all those other game blockers well specifically xtrap it doesn't block the movement of the mouse but it does block the clicking of the mouse. now in previous cases i though i had overcome this using "silent mouse" which was present in the previous versions of scar. (not sure though). when silent mouse wouldn't work i tried holdmouse instead of clickmouse [oh its not a srl based script and humanoid like countermeasures aren't required] which did work for another thing i was testing scar on, but not this one. so:

    does anyone know another way of clicking in scar? because not only does it block click from the client (window specified) but also outside it. [however i tried that when client started at 0,0....maybe should have tried higher so i can click a negative number.

    Quote Originally Posted by Wizzup? View Post
    oh i happen to notice this. do all the functions on this website work in scar? if they do, why arent they in the scar help file?

  24. #24
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Those Fucntions probably wont work with gameguard.

    GameGuard (gamemon) does also Block mouse movement.

    MoveMouse "Warps" the mouse.

    ~caused

    // We would need a function that would send something to the mousdriver to generate click xD...
    Last edited by caused; 07-20-2009 at 04:50 AM.

  25. #25
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Ouivile View Post
    i as just about to make a thread like this because i have a question.... so ok about scar warping the mouse....it doesn't warp it it just moves it at light speed right? therefore making it seem teleported? but that's not what i was going to ask.

    so game gaurd and all those other game blockers well specifically xtrap it doesn't block the movement of the mouse but it does block the clicking of the mouse. now in previous cases i though i had overcome this using "silent mouse" which was present in the previous versions of scar. (not sure though). when silent mouse wouldn't work i tried holdmouse instead of clickmouse [oh its not a srl based script and humanoid like countermeasures aren't required] which did work for another thing i was testing scar on, but not this one. so:

    does anyone know another way of clicking in scar? because not only does it block click from the client (window specified) but also outside it. [however i tried that when client started at 0,0....maybe should have tried higher so i can click a negative number.



    oh i happen to notice this. do all the functions on this website work in scar? if they do, why arent they in the scar help file?
    The Windows API call DOES zap the mouse to a certain position, and scar uses the Windows API.

    Other way of clicking would be using PostMessage from the Windows API, this way you can create your own Silent Mouse. ( http://msdn.microsoft.com/en-us/libr...44(VS.85).aspx )



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

Page 1 of 2 12 LastLast

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
  •