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

Menu Options

Читайте также:
  1. ManualMode Options
  2. Menu Options
  3. Test Options Print Sun

Figure 5.1‑27 OpenHoldem File menu

Figure 5.1‑28 OpenHoldem Edit menu


 

The File menu contains the standard Windows options to open and save bot logic files. These logic files have the extension “.ohf”, for “OpenHoldem Formula”. There are also three OpenHoldem-specific options on this menu:

- Load Table Map: This option will force OpenHoldem to use a specific Table Map file and will override the automagic “Green Circle Button” method of connecting to poker tables.

- Connect and Disconnect: These options mirror the “Green Circle Button” and “Red Circle Button” on the main toolbar.

 

The Edit menu contains three options specific to OpenHoldem:

- Formula: This option will open the formula editor window – more information in the section {The Formula Editor}

- Preferences: This option will open a window to set various preferences for OpenHoldem’s operation.

- Force User Chair: This option will open a window allowing you to specify which seat at the table that OpenHoldem considers the “User Chair”. OpenHoldem usually autodetects the “User Chair” when card faces are seen in conjunction with action buttons, and this option will override that autodetection. This is probably only useful for testing purposes.

 


Figure 5.1‑29 OpenHoldem View menu

Figure 5.1‑30 OpenHoldem DLL menu


 

The View menu has the standard Windows Toolbar/Status Bar options, plus two options specific to OpenHoldem:

- Scraper Output: This option opens a window that allows you to monitor the output from the screen scraper engine. This is useful for debugging purposes.

- Shoot Replay Frame: This option will save a “Replay Frame” in the “replay” folder in your OpenHoldem installation directory. See the {Replay Frames} section for more information.

 

The DLL menu is not a standard Windows menu item, but rather is used to load user-created DLL’s containing bot logic for use by the OpenHoldem decision and action engine. See the {User DLL} section for more information.

- Load: This option will load the DLL specified in Preferences, or in the Formula file.

- Load Specific File: This option will present a standard File Open window to allow you to select a specific DLL file that you want to load.

 

 


Figure 5.1‑31 OpenHoldem Perl menu

Figure 5.1‑32 OpenHoldem PokerPro menu


 

The Perl menu is not a standard Windows menu item, but rather is used to load Perl files containing bot logic for use by the OpenHoldem decision and action engine. See the {Perl} section for more information.

- Load Formula: This option will load the Perl file specified in Preferences, or in the Formula file.

- Reload Formula: This option will re-load the Perl file specified in Preferences, or in the Formula file.

- Load Specific Formula: This option will present a standard File Open window to allow you to select a specific Perl file that you want to load.

- Check Syntax: This option will execute your Perl interpreters function to check the syntax of your Perl script.

- Edit Main Formula: This option will launch the editor specified in preferences and load it with your main Perl formula file.

 

The PokerPro menu is not a standard Windows menu item, but rather is used to connect OpenHoldem to a PokerPro server. PokerPro is an open server protocol designed by Ray Bornert. Full documentation on the PokerPro protocol can be found here: http://forum.winholdem.net/wbb/viewforum.php?f=22 More details can be found in the {PokerPro} section.

- Go: This option displays the PokerPro control window.

 

 

Figure 5.1‑33 OpenHoldem Help menu


 

The Help menu has the standard Windows “About…” option, plus one option specific to OpenHoldem:

- Force Crash: This option will literally cause OpenHoldem to crash with an error. Specifically, the error is an assignment to a NULL pointer, like so:

 

int *invalid_memory_access = NULL;

*invalid_memory_access = 0;

 

This option is present primarily for one reason, to allow you to test how your automation system will handle an OpenHoldem crash, if it occurs. OpenHoldem is very stable, but as with all software, the occasional bug creeps in. Also, as OpenHoldem allows the use of user-defined code (via DLLs, Perl scripts, etc), misbehaved user defined code can also cause crashes. See the chapter on {Automation} for more information.


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


Читайте в этой же книге: References | Installing the software | Creating a Table Map | Familiarizing yourself with OpenScrape | Manipulating symbol records using OpenScrape | Technical Reference | Manipulating region records using OpenScrape | Technical Reference | Manipulating font records using OpenScrape | Manipulating hash point records using OpenScrape |
<== предыдущая страница | следующая страница ==>
Manipulating hash records using OpenScrape| Toolbars

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