Results 1 to 7 of 7

Thread: Can't find the basic mouse functions???

  1. #1
    Join Date
    Nov 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Can't find the basic mouse functions???

    I'm looking to make a script that will run in a webpage. I made a script a couple months ago, but it looked something like this:

    Simba Code:
    MoveMouse(65, 38);
          wait(150);
          ClickMouse(65, 38, 1);
          wait(1000);
          repeat
            wait(20);
          until(getcolor(1412, 42) = 23254);
          wait(2000);
          MoveMouse(1512, 42);
          wait(100);
          ClickMouse(1512, 42, 1);
          wait(1000);

    Obviously it's pretty rough, it failed every 2 or 3 cycles. What are the best mouse functions to use for clicking in webpages, and also typing? And for failsafes, whats recomended? is getcolor(x, y) fine? Or maybe DTMs?

    You guys are the experts, let me know! :P

    Waffle

  2. #2
    Join Date
    Jul 2013
    Location
    An horse
    Posts
    300
    Mentioned
    9 Post(s)
    Quoted
    120 Post(s)

    Default

    The mouse functions have changed quite a bit... you can go here to find out how to use them. Here is an adapted version of your script.

    Simba Code:
    mouse(point(65, 38), MOUSE_LEFT);
    wait(1000);
    repeat
      wait(20);
    until(getcolor(1412, 42) = 23254);
    wait(2000);
    mouse(point(1512, 42), MOUSE_LEFT)
    wait(1000);
    Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.

  3. #3
    Join Date
    Nov 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh, Mouse is the one I was looking for. I remember back in the day using Mouse(x, y, xrand, yrand, button). Guess thats changed. Thanks!

  4. #4
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Foundry View Post
    The mouse functions have changed quite a bit... you can go here to find out how to use them. Here is an adapted version of your script.

    Simba Code:
    mouse(point(65, 38), MOUSE_LEFT);
    wait(1000);
    repeat
      wait(20);
    until(getcolor(1412, 42) = 23254);
    wait(2000);
    mouse(point(1512, 42), MOUSE_LEFT)
    wait(1000);
    The script hesing using can still work, movemouse and clickmouse are still the same. The only thing that has changed is srl5-srl6 mouse functions which he isn't using


    OT: it's good to make a main loop that check for every possibility and executes stuff accordingly

  5. #5
    Join Date
    Jul 2013
    Location
    An horse
    Posts
    300
    Mentioned
    9 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    The script hesing using can still work, movemouse and clickmouse are still the same. The only thing that has changed is srl5-srl6 mouse functions which he isn't using


    OT: it's good to make a main loop that check for every possibility and executes stuff accordingly
    Oh yeah, forgot it was for a webpage
    Currently lurking while messing around with dll injection. Will continue contributing after I finish my quest.

  6. #6
    Join Date
    Nov 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, Im using mouse now, but its SOOOO wavy in its movement, has it been changed in the last few months? Is there a more straight or fast function I could use? Mouse will do, its just that it hovers over menus sometimes and opens them up

  7. #7
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    yes, the ones you had in the script originally!

    http://docs.villavu.com/simba/script...ighlight=mouse

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
  •