Simulate Mouse Events

This is a discussion on Simulate Mouse Events within the C++ Programming forums, part of the General Programming Boards category; I would like to generate a mouse event in existing video games without manipulating the code of the games. I ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    3

    Question Simulate Mouse Events

    I would like to generate a mouse event in existing video games without manipulating the code of the games.

    I have allready tried the "mouse_events" API without success.

    Since video games bypass windows, I can't simply use win32 API send messages to do what I want. I must somehow "trick" the computer into thinking a mouse event has actually occurred.

    How do I do this?

    Please help!

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    3
    I tried also with "SendInput".

    The function failed and I got a strange Err Msg

    "Operation complete successfully"

    Please Help Me!

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    You are trying to cheat?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    3
    I have a toon who can make items. To create items I need materials and Mana Points. I buy the materials then I need to click sevral times on the create button to create enough items. But MP goes out fast and I have to wait untill it's regenerate to make more items. The last time I did this, it took me 3 days to create all the items I was needed.

    So I want to build a programme who will click on the create button while I'm sleeping or afk to save some time. I don't want a "bot" program.

    Hope this help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mouse Events
    By tezcatlipooca in forum Windows Programming
    Replies: 2
    Last Post: 01-24-2008, 02:33 PM
  2. simulate keyboard events on windows xp
    By xximranxx in forum Windows Programming
    Replies: 4
    Last Post: 04-26-2007, 06:43 PM
  3. Mouse Events
    By disruptor108 in forum C# Programming
    Replies: 0
    Last Post: 01-23-2007, 11:40 PM
  4. API for mouse events?
    By jsimpson in forum C Programming
    Replies: 0
    Last Post: 03-08-2006, 11:38 PM
  5. Mouse Events
    By Jubba in forum Windows Programming
    Replies: 1
    Last Post: 10-30-2003, 12:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21