Poker-AI.org

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

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Sun Nov 10, 2013 3:46 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
At last OCR has been defeated.


Attachments:
result.png
result.png [ 188.08 KiB | Viewed 27813 times ]
Top
 Profile  
 
 Post subject: Re: Welcome and Hello
PostPosted: Sun Nov 10, 2013 6:46 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
ups. after release it takes only 5 milliseconds :)


Top
 Profile  
 
PostPosted: Mon Nov 11, 2013 10:04 am 
Offline
Regular Member
User avatar

Joined: Sat May 25, 2013 7:36 am
Posts: 73
5ms is very fast ... Should get the job done. Congrats.

But let's see what we've got more ...
- Your have been playing or observing Hand #106244036685
- You do have mounted a drive/ partition D: containing a directory Poker_bot
- D: implies you are running Windows. More specifically: Considering the 'computer' icon in the top left corner I would assume you are running WinME or Vista. Vista seems more fitting
- Glimpsing at the filename I would assume you are located in the eastern europe/ western asian region. As least you are speaking a language originating from there
- Maybe there is an open window titled 'scr'
- If I knew what szachenie means I could maybe name your (foreign languaged) IDE which contains a list of recently opened files
- your background picture is white and slightly purple. Considering your avatar it could likely be an animee figure
- you do have word 2007 + excel 2007 (or newer) installed and an old version of adobe pdf installed
...

Even if a few guesses are brutally wrong - point is you (most likely) have given more information that you wanted to. You can almost certainly be sure that PokerStars security team is browsing this forum. I wouldn't fuck around with them. Just my two cents

But hey, good work! (Honestly)


Top
 Profile  
 
PostPosted: Mon Nov 11, 2013 11:08 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
Yes, I know that pokerstars security can easyly (30 min) find my account there. And even all info about me including adress, phone, internet pages, date of birth, friend, ets. They can also block my account (not mater that I have not yet break any law (not Ukraine, not UK, even not PS)). But.
Why I want write the best pokerbot ever? Money? 40$/day? ha ha :)
Glory and Art! That answer for why I will not hide my thoughts from the people.

p.s. New account in Ukraine, Russia, and some other contries - is not problem.
my future bot will have no any windows. and send info about state of the screen via TCP.
Buttons will be clicked by the real people, whose will see what to do on another computer.


Top
 Profile  
 
PostPosted: Thu Nov 14, 2013 1:31 pm 
Offline
Junior Member

Joined: Wed Sep 04, 2013 6:05 pm
Posts: 47
Nice nefton! :D

What are you using for OCR ?

Regards,

Mrnice


Top
 Profile  
 
PostPosted: Thu Nov 14, 2013 3:39 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
MrNice wrote:
What are you using for OCR ?


hmm... wide question.
1. Programing language: C++
2. Library to work with images: openCV
3. Screenshot teсhniques: hDesktopDC = GetDC(hDesktopWnd);

4. Find window teсhnique:
-find window coners (5 points of a certain color and a certain disposition)

5. OCR techniques:
-number of pixels a certain color
-find char and compare with database
-find a char and calculate average difference
-signatures (so I called it)
calculate sum of pixels in each row = signature Y
calculate sum of pixels in each col = signature X
Then сompare with the pattern
-Filters (any conditions you think. HSV=good, but not with red)
.....


Top
 Profile  
 
PostPosted: Wed Nov 20, 2013 3:06 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Do you also get your stats from OCR? Are you running Stars in a VM? Are you using any hooks or something like that, or just pure OCR?


Top
 Profile  
 
PostPosted: Wed Nov 20, 2013 3:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
HontoNiBaka wrote:
Do you also get your stats from OCR? Are you running Stars in a VM? Are you using any hooks or something like that, or just pure OCR?


Stats from ocr? its imposible. VM - no yet. hooks - no. I even cant use them yet :)
Juct OCR from full screem capture.

But recently (yesterday) I began to have doubts about are (the safety of this approach) is sufficient.
This theme is cause for concern.
viewtopic.php?f=26&t=2435&start=20#p3827
In any case. no program is 100% not detectable.
Now I think about external OCR. weigh the pros and cons.


Top
 Profile  
 
PostPosted: Wed Nov 20, 2013 9:14 pm 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
I just have a littel play with some variants of external OCR.
hmm... webcams I had test - not wery good. (bad. wery bed)
of course possible to think about something with webcams, but I found much better solution.
My old good canon eos 500D. Its perfect! Using some applications I got 20fps on USB2.0
Image is perfect. even with standard lens.
I can easyly process each point on my LCD monitor. (even better :) )
a little prolem that appear (on my way to glory :) ) is that canon do not get his SDK to each customer.

This is stupid!


Top
 Profile  
 
PostPosted: Thu Nov 21, 2013 12:16 am 
Offline
New Member

Joined: Sat Mar 09, 2013 11:47 pm
Posts: 4
What do you mean SDK ?


Top
 Profile  
 
PostPosted: Thu Nov 21, 2013 12:23 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
Canon for their cameras made ​​libraries (such as API) for a variety of programming languages​​. And then, instead, to give them to the people, giving them only to firms developers on request.


Top
 Profile  
 
PostPosted: Thu Nov 21, 2013 3:20 am 
Offline
Regular Member
User avatar

Joined: Wed Oct 02, 2013 5:00 pm
Posts: 64
HontoNiBaka wrote:
Do you also get your stats from OCR? Are you running Stars in a VM? Are you using any hooks or something like that, or just pure OCR?

Hi HontoNiBaka, which stats are you referring to?

nefton wrote:
But recently (yesterday) I began to have doubts about are (the safety of this approach) is sufficient.
This theme is cause for concern.
viewtopic.php?f=26&t=2435&start=20#p3827
In any case. no program is 100% not detectable.

That's why I prefer to raise just one flag: Using a VM, with nothing else in it, besides the casino client and PokerTracker.


Top
 Profile  
 
PostPosted: Thu Nov 21, 2013 6:24 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
corintio wrote:
Hi HontoNiBaka, which stats are you referring to?


I am referring to PokerTracker stats. I would rather get the stats through normal SQL queries, but I have read, that it's safer to scrape the stats from the PT HUD which runs in the VM.


Top
 Profile  
 
PostPosted: Fri Nov 22, 2013 2:58 am 
Offline
Regular Member
User avatar

Joined: Wed Oct 02, 2013 5:00 pm
Posts: 64
What I'm planning is to install the PostgreSQL database in the host machine, so I think it's safe enough (and more reliable) to query it using SQL.

Right now I'm still fine tuning the scraper and tying it to the bot logic. Will incorporate the stats only after I have a playing bot.


Top
 Profile  
 
PostPosted: Fri Nov 22, 2013 11:27 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
But don't you need some sort of shared folder for that or some other way to exchange informations between the host and the guest? Won't that still make it unsafe?


Top
 Profile  
 
PostPosted: Fri Nov 22, 2013 3:26 pm 
Offline
Regular Member
User avatar

Joined: Wed Oct 02, 2013 5:00 pm
Posts: 64
PT software on the guest will access the PostgreSQL database on the host via TCP/IP, not a shared folder. I don't think this TCP connection is a red flag, as this is necessary for PT to work, and PT is a "approved" software.

And the casino software won't be able to know if there is any more apps connected to the database, because it's not running in the guest system (and could be easily detected with something like netstat)


Top
 Profile  
 
PostPosted: Fri Nov 22, 2013 7:52 pm 
Offline
Junior Member

Joined: Mon Mar 25, 2013 8:14 pm
Posts: 45
corintio wrote:
PT software on the guest will access the PostgreSQL database on the host via TCP/IP, not a shared folder. I don't think this TCP connection is a red flag, as this is necessary for PT to work, and PT is a "approved" software.

And the casino software won't be able to know if there is any more apps connected to the database, because it's not running in the guest system (and could be easily detected with something like netstat)

Rest of your bot has to perfectly mimic human behavior then. I think VM is a very serious flag because it narrows down their search to what, 0.05% of user base?


Top
 Profile  
 
PostPosted: Sat Nov 23, 2013 6:17 am 
Offline
Regular Member
User avatar

Joined: Wed Oct 02, 2013 5:00 pm
Posts: 64
Agreed. That's why I'm targeting a smaller and safer casino right now. If I can get a successful bot working, than I'll try to improve its stealthiness and go to a bigger casino. And my code can be easily adapted to a two physical machines setup.


Top
 Profile  
 
PostPosted: Mon Nov 25, 2013 11:13 pm 
Offline
New Member

Joined: Wed Apr 03, 2013 4:19 pm
Posts: 6
OCR defeated ? You meant OCR have won, PS was defeated with OCR.


Top
 Profile  
 
PostPosted: Tue Nov 26, 2013 8:26 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
Sory for my english.
I meant that I had won OCR. But now I understand how far this victory yet. Fixity table size, low noise immunity, and an application for screenshots. Still have to hope for incompetence of poker room. This is not a victory. I want to make very external OCR with the camera and the other computer. Unfortunately the time I have not so much, and I have to postpone the decision of external OCR.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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:
Powered by phpBB® Forum Software © phpBB Group