![]() The python module is placed in a out directory. twine (upload wheels binary to pypi repository).Video of scanning a tag/card and changing initiative.connect () print ( "Connected" ) asyncio. on_game_state = on_game_state await client. print ( game_state ) async def main (): client = ghh. round )) # To understand what you can get out of the game state print it out ghh. ![]() Use as a client #!/usr/bin/env python import glommhavenhelper as ghh import asyncio TCP_IP = '127.0.0.1' # server ip TCP_PORT = 58888 # server port async def on_game_state ( message_number, game_state ): # Do things with the game state. If you have a windows machine and want to host a server, I recommend just to use the original Gloomhaven Helper java application as a server. Installationįor an x86 (intel/amd cpu) running linux or macos, install with pip (3):įor older arm versions, open an issue and I can see if I can provide a build for those systems as well. ![]() If you want to use this project with c++ directly, look at the c++ codebase and the Makefile to figure out how to use it. Because of this, the core protocol is implemented in c++ and wrapped in swig for python bindings. The original purpose for this project was to connect an inexpensive wifi-enabled micro-controller to Gloomhaven Helper app and scan rfid/nfc tags to interact with the game state (like setting initiative or adding/removing characters). With port-forwarding enabled in your router, your friends can connect over the internet and you don't have to forward internet traffic to your personal computer.Īnother use-case is to connect as a client and hook it up to a bounch of hardware that changes depending on the game state. ![]() The purpose of this would be to have a small inexpensive always-on computer with your gloomhaven game state (like a raspberry pi). This project provides an open source alternative to talk to the application "Gloomhaven Helper".Ī simple example would be to run a headless server (no GUI) and connect to it with your clients. Supports Gloomhaven Helper with network sync up to version 8.4.x ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |