Jump to content


Photo

MouseSolutions 3 - Maintenance Release [OpenSource


  • This topic is locked This topic is locked
74 replies to this topic

#1 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 09 February 2005 - 03:22 PM

UPDATE: 10th July, 2010

This release doesn't have much added features, but the sole reason I decided to call it version 3 is because it's not compatible with the previous verisons. The internal structure of the DLL has changed, since it has been rewritten (I lost the original source). And I've even decided to make it OpenSource. (You'll get the source along with the DLL download)

If you're already using MouseSolutions in your project, then continue with it. However, if you're starting a new project, the use this new release. This will ensure that nothing breaks in your existing application.

Also, this version comes with a new 'example' demonstrating the DLL's capabilities.

Following are the changes:

- The DLL has been rewritten. I lost the original source somewhere. In earlier version of the DLL, the DLL functions used to return strings even for numeric values, which were later converted into numbers inside GM by GM's 'real' function. I've now changed the DLL the return real values directly, and modified the DLL scripts accordingly.

- I've removed the keyboard simulation function from the DLL, since GM can already do that.

- GetMouseState now detects middle mouse button clicks.

- Unnecessary return statements from the GML scripts have been removed.


I'll now be more active in the GMC, so the download links should no longer be a problem. And if you have any additional feature request, I'll see if I can add it.

Use the link below to download. It'll take you to MouseSolutions' homepage. Any future updates will be made available there.

MouseSolutions DLL

Thanks,
SleeK GeeK

Edited by SleeK GeeK, 29 November 2010 - 04:41 AM.

  • 0

#2 Andreas

Andreas

    GMC Member

  • New Member
  • 85 posts

Posted 09 February 2005 - 05:28 PM

Amazing! Great dll and very original too. Im glad that you are back at dll makeing :) . By the way, do you still develop Gmpdf?
  • 0

#3 Spikehead777

Spikehead777

    GMC Member

  • GMC Member
  • 496 posts
  • Version:GM:Studio

Posted 09 February 2005 - 11:31 PM

Hmm...I was waiting for this to become reality...and then the download link doesn't work.
  • 0

#4 Alan

Alan

    I know where you live

  • New Member
  • 137 posts

Posted 10 February 2005 - 12:31 AM

YOU HAVE GOT TO BE KIDDING ME!!
IT WORKS!!!

thank you so so so so so much. I needed it!!

read my sig if you want a gmail invite, i'll be glad to give it to you!

B) B) B) B) B) B) B) B)

Edited by arussian, 10 February 2005 - 12:32 AM.

  • 0

#5 Alan

Alan

    I know where you live

  • New Member
  • 137 posts

Posted 10 February 2005 - 12:33 AM

Hmm...I was waiting for this to become reality...and then the download link doesn't work.

<{POST_SNAPBACK}>


It works, you just need to use IE (i tried firefox) then right click save as!
  • 0

#6 zerotri

zerotri

    GMC Member

  • New Member
  • 71 posts

Posted 10 February 2005 - 12:45 AM

It works, you just need to use IE (i tried firefox) then right click save as!

<{POST_SNAPBACK}>


actually, in firefox, click save link as and it works fine(besides, who uses IE anyways ;P)
also....this used with a dll that blocks CTRL+ALT+DELETE could make an awefully useful hacking program, so with any programs that use this...be careful of any games you are running.....my cousin opened a maphack by some random guy while playing Diablo 2 and he lost all his items, couldnt control his mouse or anything until his character was forcefully moved out of the game.....AND he was playing on closed BNet, so he couldnt hack his stuff back.
  • 0

#7 Tahnok

Tahnok

    Friendly Madman

  • GMC Member
  • 1854 posts
  • Version:GM:Studio

Posted 10 February 2005 - 01:24 AM

My computer won't allow me to download from freewebs (it doesn't like its security). I am extremely interested in this though. Could someone email me the file?

Email: [email removed]

Edited by tahnok100, 25 February 2007 - 06:53 AM.

  • 0

gmc_signature.png


#8 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 10 February 2005 - 03:57 AM

tahnok100, you have been emailed with dll as the attachment.

IMPORTANT NOTE FOR THOSE WHO ARE USING GM5, JUST USE THE SUPPLIED SCRIPT FILES AND SEE HELP.TXT FOR HELP ON USING IT.

A NEW VERSION FOR :) USERS. click here to download!

Edited by Shaltif, 10 February 2005 - 05:00 AM.

  • 0

#9 Tahnok

Tahnok

    Friendly Madman

  • GMC Member
  • 1854 posts
  • Version:GM:Studio

Posted 10 February 2005 - 08:11 AM

tahnok100, you have been emailed with dll as the attachment.

Thanks InfoProducts, but I just can't win. Now it's not recognizing the .zip file. It says that it is not a valid archive. I just downloaded Firefox and was able to download the file from freewebs, but the archive has the same problem (BTW, Firefox is awesome). I guess I will try it on a different computer.

Edited by tahnok100, 10 February 2005 - 08:12 AM.

  • 0

gmc_signature.png


#10 PromaneX

PromaneX

    Fixer of broken web things

  • New Member
  • 489 posts

Posted 10 February 2005 - 01:54 PM

Since this is a great DLL and so many people cant download it , i have uploaded it and will host it

if you want me to take it down I will

:) mousesol5.zip

:lol: mousesolution.zip

It works Really well , its really good and i know i will be using it :huh:
  • 0

#11 Tahnok

Tahnok

    Friendly Madman

  • GMC Member
  • 1854 posts
  • Version:GM:Studio

Posted 10 February 2005 - 07:51 PM

Since this is a great DLL and so many people cant download it , i have uploaded it and will host it

<{POST_SNAPBACK}>

It works! Great dll, it will be usefull for many projects. :whistle:
  • 0

gmc_signature.png


#12 Spikehead777

Spikehead777

    GMC Member

  • GMC Member
  • 496 posts
  • Version:GM:Studio

Posted 11 February 2005 - 12:43 AM

Never mind...THANK YOU PROMANEX!!! (huff-puffs) My dad didn't restrict that site yet, thank god...

Edited by Spikehead777, 11 February 2005 - 12:50 AM.

  • 0

#13 Abyssal_Nuclei

Abyssal_Nuclei

    GMC Member

  • GMC Member
  • 1695 posts

Posted 11 February 2005 - 01:06 AM

Good job, and it really isn't all that original as one was made before that worked perfectly outside of game window.
  • 0
America needs fewer laws, not more prisons.

The Ideal is attainable; We, as America, need to stop settling.

Our God is an awesome God!

#14 Tahnok

Tahnok

    Friendly Madman

  • GMC Member
  • 1854 posts
  • Version:GM:Studio

Posted 11 February 2005 - 01:17 AM

Good job, and it really isn't all that original as one was made before that worked perfectly outside of game window.

<{POST_SNAPBACK}>

Would you care to point us all in the direction of this elusive dll? There have been numerous requests for this dll and no one has been able to locate one that actually works outside the gm window.

I just tried the dll in an actual game and it works quite well other than not being able to click and drag. It would be great if you could simulate a prolonged click.

Edited by tahnok100, 11 February 2005 - 01:17 AM.

  • 0

gmc_signature.png


#15 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 11 February 2005 - 09:13 AM

tahnok1000, it looks like ur wish has been granted. I have released the new version of my mouse solution dll i.e. 2. it includes the following improvements.

Added command to set mouse position
Added position to get mouse position
Added clicking and dragging features

For help about these new features refer to the help.txt.

NOTE:: The new features have an example made currently only for gm6, gm5 users use the previous version example and use the dll and script.gml provided with new gm6 version.
dload it by clicking here

The new featurs are demostrated in click simulation room, BUT IS NOT MENTIONED in the room. after right clicking of start menu has been done, you have 3 seconds to move mouse to a position where u can see a drag. the mouse will drag to +40 x and y axis and after 3 seconds the drag will dissappear.

BTW thanks promaneX for uploading a mirror, would u mind updating the gm6 version with the new one?

Thanks you!
  • 0

#16 Tahnok

Tahnok

    Friendly Madman

  • GMC Member
  • 1854 posts
  • Version:GM:Studio

Posted 11 February 2005 - 09:43 AM

Thanks greatly! This is the most usefull dll I have ever seen. I am working on something that will make great use of this.

BTW, thanks for the gmail too.
  • 0

gmc_signature.png


#17 Abyssal_Nuclei

Abyssal_Nuclei

    GMC Member

  • GMC Member
  • 1695 posts

Posted 11 February 2005 - 06:45 PM

Would you care to point us all in the direction of this elusive dll?


I wouldn't really mind.

Mouse simulation dll v1.1 released!. I finished the dll for so far. You can now click with the left, right and middle button of your mouse (simulations).

It's available right here: Click here

by: Leon Meijer (msn: llmll@hotmail.com mail only: leon_meijer_16@msn.com)


Found in this topic here: Link

There have been numerous requests for this dll and no one has been able to locate one that actually works outside the gm window.


I have tryed to help when I can, and you might not want to use the words "no one" as that implys "not one person ever" which is clearly wrong as I have:Link

BTW this was found on the seventh page of the Extending GM forum, which just goes to prove that people dont use the search function enough. :whistle:

To the InfoProducts your DLL is obviously better now that you have released version 2.
  • 0
America needs fewer laws, not more prisons.

The Ideal is attainable; We, as America, need to stop settling.

Our God is an awesome God!

#18 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 13 February 2005 - 02:23 AM

version 2.1 of mousesolutions is out. now supporting right click and drag on request from arussian. this function will be executed after the left mouse drag demostration in the example. the script.gml is also updated so that gm5 users can grab it. dload it
http://www.freewebs....esolution21.zip
  • 0

#19 PromaneX

PromaneX

    Fixer of broken web things

  • New Member
  • 489 posts

Posted 13 February 2005 - 02:55 AM

I will mirror the new versions in the morning , im going sleeps now lol
  • 0

#20 Alan

Alan

    I know where you live

  • New Member
  • 137 posts

Posted 14 February 2005 - 02:08 AM

version 2.1 of mousesolutions is out. now supporting right click and drag on request from arussian. this function will be executed after the left mouse drag demostration in the example. the script.gml is also updated so that gm5 users can grab it. dload it
http://www.freewebs....esolution21.zip

<{POST_SNAPBACK}>


YES :angry: , Thanks, I am going to make my new version (alpha 2.1) of joystick to key+mouse now :blink:
:angry: :angry: :angry:
  • 0

#21 myg00t

myg00t

    GMC Member

  • New Member
  • 75 posts

Posted 26 February 2005 - 06:27 PM

THANK YOU!!
  • 0

#22 avanderveen

avanderveen

    GMC Member

  • New Member
  • 120 posts

Posted 12 March 2005 - 05:01 PM

it would be great if you could simualate keypresses, and I don't mean the function built into GML. I want to simulate keypresses in other windows (and no I do not mean like ctrl+alt+delete).
  • 0

#23 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 12 March 2005 - 05:04 PM

yes i can create one that can simulate keypresses too. i will try this.
  • 0

#24 avanderveen

avanderveen

    GMC Member

  • New Member
  • 120 posts

Posted 14 March 2005 - 12:54 AM

thank you sooo much (i needed it really bad, and was considering learning how to use c++ with directinput just for this)

Edited by avanderveen, 14 March 2005 - 02:17 AM.

  • 0

#25 bobby2guns2003

bobby2guns2003

    Whateva!

  • New Member
  • 149 posts

Posted 28 March 2005 - 04:46 AM

you can already simulate key presses... I made a key macro over a year ago called simukey, If I can find the source Ill post it..

and thnx for makin this dll, will help me alot in the rogram im workin on

Edited by bobby2guns2003, 28 March 2005 - 04:47 AM.

  • 0

#26 avanderveen

avanderveen

    GMC Member

  • New Member
  • 120 posts

Posted 29 March 2005 - 12:30 PM

you can simulate key presses within the Game Maker window with code I know, but I want to simulate keypresses outside the window.

When I downloaded it from the link for GM6 and opened it it said that the zipped file was corrupt or invalid

Edited by avanderveen, 02 April 2005 - 07:36 PM.

  • 0

#27 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 05 April 2005 - 05:57 AM

Version 2.2 released. i added the keyboard simulation feature on avanderveen's request. The command to simulate a key is SimKeys(key) where key is something like VK_A etc which can be found in gm help file or msdn.

Click here to download
  • 0

#28 avanderveen

avanderveen

    GMC Member

  • New Member
  • 120 posts

Posted 06 April 2005 - 02:41 AM

thank you very much!

ok I tried it, but in the scripts it doesn't define the SimKeys function and I don't know what the function is called in your DLL, so I can't really define the function myself. Can you release new scripts for it.

Edited by avanderveen, 06 April 2005 - 02:43 AM.

  • 0

#29 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 06 April 2005 - 04:26 AM

function name is simkeys in the dll and takes one string argument.
  • 0

#30 avanderveen

avanderveen

    GMC Member

  • New Member
  • 120 posts

Posted 06 April 2005 - 03:52 PM

ok, thanks

Edited by avanderveen, 06 April 2005 - 03:53 PM.

  • 0

#31 eagle8O

eagle8O

    GMC Member

  • New Member
  • 120 posts

Posted 09 April 2005 - 12:54 PM

nice dll
i'm going to use it in a program
wich makes it possible to controll
the mouse with the keyboard
(in case your mouse does'nt work)

EDIT:
installer version
zip sfx version
this is a mouse controller i made with the dll (and another dll)it makes you controll your mouse with the keyboard
it's called mousekey

Edited by eagle8O, 10 April 2005 - 04:18 PM.

  • 0

#32 bobby2guns2003

bobby2guns2003

    Whateva!

  • New Member
  • 149 posts

Posted 11 April 2005 - 09:02 PM

you can simulate key presses within the Game Maker window with code I know, but I want to simulate keypresses outside the window.

When I downloaded it from the link for GM6 and opened it it said that the zipped file was corrupt or invalid

<{POST_SNAPBACK}>

You can simulate key presses out of the window already with gm.
Or atleast I ca get gm6 to do it for me..


But yeah props to SleeK GeeK for making this very nice mouse click ddl
  • 0

#33 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 12 April 2005 - 08:47 AM

Atleast someone likes it. I didnt know that Gm supports keyboard simulation...
  • 0

#34 Porfirio

Porfirio

    GMC Member

  • GMC Member
  • 1209 posts

Posted 12 April 2005 - 10:11 AM

Atleast someone likes it. I didnt know that Gm supports keyboard simulation...

<{POST_SNAPBACK}>


it supor teyboard_key_press and release

but your dll is realy cool :)
  • 0

#35 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 12 April 2005 - 10:34 AM

Well thanks for that. Any new features you guyz make like in it?
  • 0

#36 Abyssal_Nuclei

Abyssal_Nuclei

    GMC Member

  • GMC Member
  • 1695 posts

Posted 13 April 2005 - 04:06 AM

I cannot get SimKeys(VK_A) to generate a keypress. I just use that in step event, and then in the "a"event I have it show a message and it doesn't.
  • 0
America needs fewer laws, not more prisons.

The Ideal is attainable; We, as America, need to stop settling.

Our God is an awesome God!

#37 bobby2guns2003

bobby2guns2003

    Whateva!

  • New Member
  • 149 posts

Posted 14 April 2005 - 12:20 AM

well I know there is already a dll for mosue wheel but you can always add that.
  • 0

#38 Iceman

Iceman

    GMC Member

  • Validating
  • 171 posts

Posted 27 December 2005 - 03:42 PM

Which language was this dll scripted in?

#39 Chirantha

Chirantha

    GMC Member

  • New Member
  • 502 posts

Posted 28 December 2005 - 06:10 PM

Its not working

SimKeys("91"); //Hit the Windows Logo Key
  • 0

#40 i_forget

i_forget

    GMC Member

  • New Member
  • 347 posts

Posted 04 January 2006 - 01:43 AM

where do you put the dll?
  • 0

#41 coolsmile

coolsmile

    Programmer

  • New Member
  • 1346 posts

Posted 04 January 2006 - 10:59 PM

Very awesome dll ::lmao::
  • 0

#42 Canilash

Canilash

    GMC Member

  • New Member
  • 203 posts
  • Version:GM:Studio

Posted 22 January 2006 - 05:45 AM

About the keyboard simulation:How exactly do you write the argument? No matter the argument, It simulates "h".
  • 0

#43 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 22 January 2006 - 09:25 AM

GM already has a function to simulate keystrokes. I thought it didnt and so i added that functionality to the dll. But as GM already has that feature, i guess i wouldn't have to check-up any bugs or so.

Regards,
SleeK GeeK.
  • 0

#44 ¿°¿

¿°¿

    GMC Member

  • New Member
  • 25 posts

Posted 12 June 2006 - 12:49 AM

Dude, this is a great dll. I used it to make a program that let's me control my mouse with a playstation controller (with the psx to usb adapter from radioshack)! But there's one thing I don't really like, and I don't even know if it can be changed. The problem is, on most games that use a mouselook type camera, they don't detect any movement produced by the dll moving the pointer (or if I use game maker to position the mouse). Is there any other way to make the mouse move and have the games detect it?
  • 0

#45 Alert Games

Alert Games

    GMC Member

  • GMC Member
  • 1119 posts
  • Version:GM8

Posted 12 June 2006 - 01:07 AM

why would you need a game to detect mouse movement? You can use the directions by a range of 1-0. Unless the controller doesnt work with gm...
  • 0

#46 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 12 June 2006 - 05:47 PM

As far as i know, my dll should work even in that case. In games what i've played so far in PC, when the mouse is moved, the angle of view is changed to reflect it and mouse is set at the center again. Well, thats my feeling, though it might not be correct. But thats how recoil hacks work, so i believe it does.

Regards,
SleeK GeeK.
  • 0

#47 ¿°¿

¿°¿

    GMC Member

  • New Member
  • 25 posts

Posted 16 June 2006 - 11:57 PM

why would you need a game to detect mouse movement? You can use the directions by a range of 1-0. Unless the controller doesnt work with gm...

<{POST_SNAPBACK}>

I want it to detect the mouse movement so I can move/aim the camera! Not all games allow camera movement with keys on the keyboard. And what do you mean by "You can use the directions by a range of 1-0"?

And the problem I have with games not detecting movement is only in some games (anything made in darkbasic, Gunz: the duel, probably some others). But what's weird about it is if I have it show the pointer, it does move, but the game does nothing. I move my real mouse and the camera turns. Everything except those games works fine. I can drag icons around on my desktop, I can draw in paint. Maybe the games are using some kind of direct check on the keyboard and mouse...
  • 0

#48 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 17 June 2006 - 02:47 PM

Maybe some of them (Like GUNZ) are trying to prevent any anti-recoil hack or something, if there is any. Or they are using a different way of checking things.

Regards,
SleeK GeeK.
  • 0

#49 penguinboy

penguinboy

    GMC Member

  • New Member
  • 24 posts

Posted 27 June 2006 - 04:49 AM

the keyboard simulation functions wont work for me, the rest works fine though. nice job! :D
  • 0

#50 Smarttart62

Smarttart62

    designFUSION

  • New Member
  • 2619 posts

Posted 27 June 2006 - 04:56 AM

GM already has a function to simulate keystrokes. I thought it didnt and so i added that functionality to the dll. But as GM already has that feature, i guess i wouldn't have to check-up any bugs or so.

-Steve
  • 0