Update for
https://bitcointalksearch.org/topic/m.13478921It's an in-game auction (gems <-> coins) and price feed system (HUC in USD), in need of some testers (on testnet).
For Windows, with up-to-date testnet gamestate for the experimental version.
https://mega.nz/#!qQ0lgLRT!xmzSlbxP-HV0t-3LwkInJmMzoVohUQ6ZKgSy3uADnHA
Source
https://github.com/wiggi/huntercoin/tree/betterQt-with-storageuncomment "#define PERMANENT_LUGGAGE" to get the experimental version.
Nodes can switch between safe mode and experimental version (exit, rename executable and gamestate.dat, continue).
To use:
- Start client, wait until blockchain download is finished, open game tab, click middle mouse button to start tx monitor.
(2 files are updated for each new block: adventurers.txt and auction.txt)
- Set autoupdate without asking in Qt-creator: Tools | Options | Environment | when files are externally modified: reload all unchanged editors
(Vim, or Notepad++ can do the same)
- If an action is possible (buy, sell, feed, or send coins), auction.txt will come up with an example line
to be copied as chat message or console command.
Provisional rules:
If a hunter owns a "storage vault", i.e. is transferred to the vault address, they can post 1 (one) sell order. It will stay active when the player is offline and the price
is reduced by 1 tick every 100 blocks, until filled. (dutch auction)
To cancel: "GEM:HUC set ask 0 at 0", or just set it higher: "GEM:HUC set ask 1 at 1000000"
The "settlement price" will slowly move up or down, depending on the best ask price, and the game can later use this as estimated/collateral value.
It's not possible to place sell orders below the settlement price.
Every hunter can post a "fill or kill" buy order, which can fill against the current best ask.
For now, the client will refrain from sending coins all by itself but it would be trivial to do.
To get the feed reward (on testnet every 100 blocks, on mainnet this would be 10000), the feed price must be within +-5% of median feed from all players
Offline testing is also easy, with a setup like the testnet-in-a-box linked here
https://bitcointalksearch.org/topic/m.13371058just copy the official testnet blockchain to hunt1\testnet *and* to hunt2\testnet.