Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатика
ИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханика
ОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторика
СоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансы
ХимияЧерчениеЭкологияЭкономикаЭлектроника

Using Hand Lists

Читайте также:
  1. B. Using Projection in Calculations
  2. Complete the sentences below by using one of the idioms above. Some of them can be used more than once.
  3. Complete the sentences using Past Continuous of the verbs in the box.
  4. Examples of Projection Using the Units and Products
  5. Exercise 2. Why Do You Look So? Explain the reason people look so using the Present Perfect Continuous Tense. Use the given situations.
  6. Exercise 6. Answer the following questions using active vocabulary.
  7. Exercise 65. In pairs, ask and answer questions using the prompts given, as in the example.

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 | Нарушение авторских прав


Читайте в этой же книге: Manipulating hash records using OpenScrape | Menu Options | Toolbars | The Formula Editor | Secondary Functions | Menu Options | The Scripting Language | Calculated Symbols | Poker Value | User DLL |
<== предыдущая страница | следующая страница ==>
How OpenHoldem calls DLL functions| Preferences

mybiblioteka.su - 2015-2024 год. (0.005 сек.)