Читайте также:
|
|
Hand lists are used by the following calculated symbols, and can be referenced in OH-Script code, or by Perl or DLL-based logic.
Symbol | Meaning |
islist0 – islist999 | true if your hand is in the numbered (0-999) list |
islistcall | true if your hand is in list 0 |
islistrais | true if your hand is in list 1 |
islistalli | true if your hand is in list 7 |
isemptylistcall | true if the call list is empty |
isemptylistrais | true if the rais list is empty |
isemptylistalli | true if the alli list is empty |
nlistmax | highest list number in which your hand is listed |
nlistmin | lowest list number in which your hand is listed |
5.7 How the “Green Circle Button” finds tables
The “Green Circle Button” on the OpenHoldem toolbar is the usual way that one connects an OpenHoldem instance to a poker window. This is done automagically, however an explanation of what happens behind the scenes is useful if you have problems connecting to your target poker window. The following steps are taken to identify which windows on your screen are valid poker tables.
Step 1: A list of all visible top level windows that have a non-blank caption is collected
Step 2: Each window in this list is compared against each Table Map that you have placed in your “scraper” directory. For each step that follows, if a non-match is detected, OpenHoldem will then immediately move on to the next window/Table Map.
Step 3: The size of the client portion of the window is compared to the clientsize records in the Table Map. The window is considered a match if the Table Map indicates the correct size as given by the record clientsize, or if the size is within the size limits given by clientsizemin and clientsizemax.
Step 4: The window’s title text is compared to the keyword text filters provided by titletext records in the Table Map. The window is considered a match if the free-form text in any of the titletext records is found in the window’s title. Additionally, if any !titletext records are present in the Table Map, then a window is considered a non-match if the free-form text in any of the! titletext records is found in the window’s title.
Step 5: Any tablepoint records that exist in the Table Map are then the compared to the window’s pixels. If the color of any pixel does not match its tablepoint record then the window is considered a non-match.
In summary, OpenHoldem will connect to a window if it matches the client size, title text and pixel colors as specified in a Table Map.
Дата добавления: 2015-07-20; просмотров: 134 | Нарушение авторских прав
<== предыдущая страница | | | следующая страница ==> |
How OpenHoldem calls DLL functions | | | Preferences |