Sign in to follow this  
Followers 0
dolph

Help poker robot

4 posts in this topic

Hi i want to make a very simple bot with autoit as the "brain" example code provided below

Loop

IfWinExist, Connected to "Play Money 4069908 - 5/10"

WinActivate ; use the window found above

{

PixelSearch, Px, Py, 335, 63, 336, 65, 0x000000, 3, Fast

if ErrorLevel

{

IfWinExist, Connected to "Play Money 4069908 - 5/10"

WinActivate ; use the window found above

WinWait, Play money 4069908 - Hold'em - 5/10,

IfWinNotActive, Play money 4069908 - Hold'em - 5/10, , WinActivate, Play money 4069908 - Hold'em - 5/10,

WinWaitActive, Play money 4069908 - Hold'em - 5/10,

MouseClick, left, 244, 475

Sleep, 100

}

else

WinWait, Play money 4069778 - Hold'em - 5/10,

IfWinNotActive, Play money 4069908 - Hold'em - 5/10, , WinActivate, Play money 4069908 - Hold'em - 5/10,

WinWaitActive, Play money 4069908 - Hold'em - 5/10,

MouseClick, left, 257, 484

Sleep, 100

}

#p::Pause

I have got it to click the right button fold but have a problem with the loop and now also with the click i thought it would be easier to do it this way than simply check color of ClassNN 327701 if red fold else goto next and click green

Any suggestions would be greately appreciated pleace test the code before post the full project will be posted here free of charge when ready and offcourse with GUI

Have A great Day

Dolph

Share this post


Link to post
Share on other sites



This isn't AutoIt. Wait, or is it? This looks like very very very old code. Maybe you should try upgrading to the latest version.

Share this post


Link to post
Share on other sites

HiLo Dolph

You are missing really alot......if you are wrtiing a script for the first time well you have shown some of the basics......

But

Poker scripts for or using Poker Inspector as the brain have come alot further and alot easier to understand once you see a good one.

Which site are you playing and maybe I can help you out.

zzpot

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

This isn't AutoIt. Wait, or is it? This looks like very very very old code. Maybe you should try upgrading to the latest version.

i know whats that

is its "autohotkey script" and i dono whats his trying to do with that heare

as far as know this is autoit forum not autohotkey :mellow:

and zzpot before posting pls look at the date first :)

this post is old like hell :(

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0