Results 1 to 10 of 10

Thread: Opposite Mouse!

  1. #1
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default Opposite Mouse!

    Well, I was bored. So yeah

    Basically, it inverts the mouse movements.

    PHP Code:
     // By Mayazcherquoi/Dan's The Man.
     //  - Run the script by the run button to run.
     //  - Either manage to press the stop button or press F3 to stop the script.
     //  - Enjoy!

    program OppositeMouse;

    var
      
    cdXcdYInteger;
      
    XYsXsYInteger;

    begin
      SetDesktopAsClient
    ;
      
    GetClientDimensions(cdXcdY);

      
    repeat
        GetMousePos
    (XY);
        
    Sleep(1);
        
    GetMousePos(sXsY);

        
    := + ((sX X) * -1);
        
    := + ((sY Y) * -1);

        if(
    1then
          X 
    := else
            if(
    >= cdX 1then
              X 
    := cdX 2;

        if(
    1then
          Y 
    := else
            if(
    >= cdY 1then
              Y 
    := cdY 2;

        
    MoveMouse(XY);
      
    Until(IsKeyDown(VK_F3));
    end
    Enjoy! Cos' it only took a couple of seconds to make :/
    Last edited by Daniel; 09-05-2010 at 09:11 AM.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Lol, i ran this, then my autofighter. It failed horribly =DD

    pretty neat this

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Pretty cool
    Hup Holland Hup!

  4. #4
    Join Date
    Oct 2006
    Posts
    500
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Haha, win
    Verrekte Koekwous

  6. #6
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    This is actually pretty cool.

    It might be an interesting "prank" to do on some unsuspecting victims.
    Last edited by JPHamlett; 09-05-2010 at 10:20 PM.

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

    Default

    im attempting to play rs with this, its not hard actually, but fun script

    i'll be using this as a prank soon
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

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

    Default

    Works on Linux too.



    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)

  9. #9
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Lol, it was kinda annoying to make, because at first I thought all you needed to do was just:
    PHP Code:
      repeat
        GetMousePos
    (XY);
        
    Sleep(1);
        
    GetMousePos(sXsY);

        
    := + ((sX X) * -1);
        
    := + ((sY Y) * -1);

        
    MoveMouse(XY);
      
    Until(IsKeyDown(VK_F3)); 
    But when you moved it to the edges of the screen, it screwed up. But I tackled it eventually

    Quote Originally Posted by Wizzup? View Post
    Works on Linux too.
    Of course. What is a Simba script without Linux and Windows support out-of-the-box?
    Last edited by Daniel; 09-06-2010 at 12:01 PM.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  10. #10
    Join Date
    Jan 2007
    Location
    the middle of know-where
    Posts
    1,308
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hahaha, this is way more entertaining than it should be.

    E: I totally am going to add this to a few friends' startup. mod it to switch to the more hidden mode though. hehe... good stuff.
    Last edited by anonymity; 09-06-2010 at 03:40 PM.
    On vacation in NeverLand,
    Code:
    typedef int bool;
    enum { false, true };

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
  •