Poker-AI.org
http://poker-ai.org/phpbb/

Mouseclick logger
http://poker-ai.org/phpbb/viewtopic.php?f=26&t=2578
Page 1 of 1

Author:  theimmortalbg [ Sat Sep 07, 2013 8:26 pm ]
Post subject:  Mouseclick logger

Hello, I need a program that can record the mouseclicks in plain text so I see what actually bot did. I am using open holdem and I am new. Its not clear for me yet how to use .dll files for the bot. I want to have detailed log of time and position of all the clicks when bot is running. Also it will be helpful if there is some tool that make some printfoots of the mouse in real time. At all I need mouse logger. Some people says that it can be done with autoit but after my research I think its not possible. With java its not possible too I think. MB c++ is the language. Do you have some ideas tools links or suggestions ?

Author:  proud2bBot [ Thu Sep 12, 2013 2:59 am ]
Post subject:  Re: Mouseclick logger

You want to use the WinAPI (It's also possible in Java, just a bit uglier...): http://msdn.microsoft.com/en-us/library/ms644986(v=vs.85).aspx

Author:  HontoNiBaka [ Thu Sep 12, 2013 9:06 am ]
Post subject:  Re: Mouseclick logger

How would you do it in java? I thought about a transparent JFrame over the whole screen, but it doesnt work.

OP, what infos do you need in your logger? I might implement it to improve my c++ a little.

Author:  HontoNiBaka [ Thu Sep 12, 2013 9:57 am ]
Post subject:  Re: Mouseclick logger

I have implemented most of it in c++ now, I get the mouse coordinates etc. I also have a KeyBoard lgger, if you need that too.

What do you also need? Like the x, y coordinates and the time of the click? Or just a list of x, y coordinates?

Author:  proud2bBot [ Thu Sep 12, 2013 1:03 pm ]
Post subject:  Re: Mouseclick logger

HontoNiBaka wrote:
How would you do it in java? I thought about a transparent JFrame over the whole screen, but it doesnt work.


Hahaha, no I was thinking calling the WinAPI using JNI ;-)

Author:  Gnomikian [ Fri Sep 13, 2013 10:38 pm ]
Post subject:  Re: Mouseclick logger

http://pokerai.org/files/_hci/MouseLog22.zip

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/