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

Creating a Table Map

Читайте также:
  1. A RESPECTABLE WOMAN
  2. D. Read the article and complete the notes in the table. Speak about Peter the Great.
  3. If the condition of economy reliable, means, and the exchange rate will be stable, and any speculators here change can nothing.
  4. Project Timetable and Format of Project Report
  5. Quot;Creating Affluence: Wealth Consciousness in the Field of All Possibilities".
  6. Table A.1 Correspondence between OHSAS 18001:2007, ISO 14001:2004 and ISO 9001:2000

Creating a Table Map is not a difficult process, once you get the hang of it, but it does have a steep learning curve. The benefit is that once you learn how to create maps, you can quite quickly take your bot to any casino on the Internet.

 

OpenScrape is the program that is used to create Table Maps. It provides a graphical interface to provide a set of parameters that are stored in human-readable text files with the.tm extension. Try it – open any.tm file in Notepad and you can quite clearly see the way the file is laid out. Each Table Map has a set of parameters, grouped by record type. The following sections will discuss how to use each of these record types to create your map.

 

4.1 First thing’s first: connect to the poker window

Start a casino, and open up a play money table. You can even use “observer” mode for this activity if you like. Alternatively, once you learn how to use saved frames and OHReplay, you can also connect OpenScrape to these saved frames while offline from the casino.

 

For now, let’s keep it simple. Once you have a poker table setup, startup the OpenScrape program from the “c:\mpb” directory that you set up above. Arrange the casino table window and the OpenScrape windows on your screen in such a way that there is no overlap – OpenScrape needs a clear view of the poker table window to do its job.

 

Figure 4.1‑2 Arranged OpenScrape windows

 

Connect OpenScrape to the casino table by clicking on the Green Circle Button on the OpenScrape toolbar. A dialog with a list of top-level windows that are currently visible on your screen will appear. Select the one from the list that matches your casino table, and select OK. (Note, in this screenshot, we are connecting to a “ManualMode” window. You will learn more about ManualMode later in this document, but for now, just consider ManualMode to be a simulated, offline poker table).

Figure 4.1‑3 OpenScrape Green Circle Button selection window

 

A static image of the poker table window will be displayed in OpenScrape’s main window. Once OpenScrape has the poker table’s image displayed, you can minimize the poker table if you want, to give yourself more room to work. As the casino table changes state, and if you want to update the image that is displayed in the OpenScrape main window, you can do so at any time by clicking on the refresh button on the toolbar (Black and White arrows), or by choosing View/Refresh from the menu. When a refresh is requested, OpenScrape will bring the connected window to the front, grab the image, and then place it to the back again. Additionally, if you have OpenScrape connected to an OHReplay window, it automatically moves OHReplay to the next saved frame prior to grabbing the image.

 

 

Figure 4.1‑4 OpenScrape connected to poker table

 

Once we have the poker table image in OpenScrape, it is time to start building our Table Map, and providing the parameters that the OpenHoldem game state engine will use to “read” the poker table.

 


Дата добавления: 2015-07-20; просмотров: 136 | Нарушение авторских прав


Читайте в этой же книге: ЗАГАЛЬНІ ПОЛОЖЕННЯ | ПОЯСНЮВАЛЬНА ЗАПИСКА | ПРОЕКТУВАННЯ ПРОГРАМНОЇ СИСТЕМИ | Table of Figures | WinHoldem heritage | References | Manipulating symbol records using OpenScrape | Technical Reference | Manipulating region records using OpenScrape | Technical Reference |
<== предыдущая страница | следующая страница ==>
Installing the software| Familiarizing yourself with OpenScrape

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