Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 3:44 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Mouseclick logger
PostPosted: Sat Sep 07, 2013 8:26 pm 
Offline
New Member

Joined: Sat Sep 07, 2013 7:23 pm
Posts: 1
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 ?


Top
 Profile  
 
 Post subject: Re: Mouseclick logger
PostPosted: Thu Sep 12, 2013 2:59 am 
Offline
Senior Member

Joined: Mon Mar 11, 2013 10:24 pm
Posts: 216
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


Top
 Profile  
 
 Post subject: Re: Mouseclick logger
PostPosted: Thu Sep 12, 2013 9:06 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
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.


Top
 Profile  
 
 Post subject: Re: Mouseclick logger
PostPosted: Thu Sep 12, 2013 9:57 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
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?


Top
 Profile  
 
 Post subject: Re: Mouseclick logger
PostPosted: Thu Sep 12, 2013 1:03 pm 
Offline
Senior Member

Joined: Mon Mar 11, 2013 10:24 pm
Posts: 216
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 ;-)


Top
 Profile  
 
 Post subject: Re: Mouseclick logger
PostPosted: Fri Sep 13, 2013 10:38 pm 
Offline
New Member

Joined: Wed Apr 03, 2013 4:19 pm
Posts: 6
http://pokerai.org/files/_hci/MouseLog22.zip


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group