Sign in to follow this  
Followers 0
mark76

Can Autoit Be Used For The Following Project ....

4 posts in this topic

Hi,

I would like to automate a blackjackgame played via some internet casino software.

Im trying to figure out the language that is going to be most suited to this task.

AutoIT looks like it has all the functionallity to open the software select the blackjack game and press the buttons when I tell it to. The tricky part is grabing the graphical output (The numbers on the card graphics) that come back on the screen comparing them to a database of examples, deciding for example, the dealer has 7 and I have 16 and then using those numbers to look up a decision table and take the apropraite action. Press the hit button of the stand button etc ...

What do you suggest for this project. Can it all be done in AutoIT ?. Mabey I could script all the actions like open program and press button in Autoit and write an exe in another lanuage that grabs the graphics on the screen, works out what they are and somehow passes the results to Autoit ?

Or mabey there is a better language out there that it more suited to this task ?

Thats for you advice .

Mark.

Share this post


Link to post
Share on other sites



Hi,

I would like to automate a blackjackgame played via some internet casino software.

Im trying to figure out the language that is going to be most suited to this task.

AutoIT looks like it has all the functionallity to open the software select the blackjack game and press the buttons when I tell it to. The tricky part is grabing the graphical output (The numbers on the card graphics) that come back on the screen comparing them to a database of examples, deciding for example, the dealer has 7 and I have 16 and then using those numbers to look up a decision table and take the apropraite action. Press the hit button of the stand button etc ...

What do you suggest for this project. Can it all be done in AutoIT ?. Mabey I could script all the actions like open program and press button in Autoit and write an exe in another lanuage that grabs the graphics on the screen, works out what they are and somehow passes the results to Autoit ?

Or mabey there is a better language out there that it more suited to this task ?

Thats for you advice .

Mark.

You're not going to find many (if any) that will help you build something for online casino's. The way your asking the question, it seems that you have no prior programming knowledge (or you would have asked for something specific), then AutoIt may be more enjoyable past the casino aspect, and you could take the tutorial that one of the members made and get aquainted fairly quickly. But that's about as much help as you'll get in that area.

The tutorial: http://www.autoitscript.com/forum/index.php?showtopic=21048


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

You're not going to find many (if any) that will help you build something for online casino's. The way your asking the question, it seems that you have no prior programming knowledge (or you would have asked for something specific), then AutoIt may be more enjoyable past the casino aspect, and you could take the tutorial that one of the members made and get aquainted fairly quickly. But that's about as much help as you'll get in that area.

The tutorial: http://www.autoitscript.com/forum/index.php?showtopic=21048

That not really a very helpfull reply. I have a fair bit of programing experience mostly in C but I haven't really done anything much for five years. I was origanlly a coder but became a UNIX sysadmin 7 years ago and moved away from it.

I ask the question in a general kind of a way because at this stage im after a high level desciption about what the language can and can't do. If people don't like the idea of internet casinos then why not making auto it play a game of solitaire.

I've had a bit of a brief look at the language and written a couple of simple programs. So far I like it but if you take a look at my original question it can't be that hard to answer it can it ?

Mark.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

That not really a very helpfull reply. I have a fair bit of programing experience mostly in C but I haven't really done anything much for five years. I was origanlly a coder but became a UNIX sysadmin 7 years ago and moved away from it.

I ask the question in a general kind of a way because at this stage im after a high level desciption about what the language can and can't do. If people don't like the idea of internet casinos then why not making auto it play a game of solitaire.

I've had a bit of a brief look at the language and written a couple of simple programs. So far I like it but if you take a look at my original question it can't be that hard to answer it can it ?

Mark.

I gave you a reference guide that would help you figure it out.

Edit:

I was just in a conversation as a matter of fact of the function you would need to make this work.

Edit2:

You know what, I don't want you to think I was speaking in arrogance, I've not had any sleep and I'm off to bed now.

The function(s) for the graphics (pixels) would be found under "PixelSearch/PixelCheckSum/PixelGetColor" in the help file.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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