BitShares Forum
Other => Graveyard => DAC PLAY => Topic started by: HackFisher on September 30, 2014, 12:05:38 pm
-
For guide, please refer to testnet #1:
https://bitsharestalk.org/index.php?topic=9406.0
The command for play dice now changed to:
wallet_play_dice [Account] [amount] [O] [G]
O is the odds, also means how many sides a dice have. e.g 6-sides dice
G means the guess number, 1 =<G <= O, the number player think the dice will roll out.
Example, but 100 dices, and do (which means guessing the right side of a coin)
wallet_play_dice test123 10 2 1
2014-09-30T11:57:32 16 test123 test123 0.00000 PLS register test123 327,722.81984 PLS 0.50000 PLS 91102938
2014-09-30T11:58:24 21 test123 ORDER-6WkvXDp8 10.00000 PLS buy 100 DICE @ 100 PLS 327,712.31984 PLS 0.50000 PLS 335718da
2014-09-30T11:58:43 23 test123 test123 0.00000 PLS play dice 327,711.81984 PLS 0.50000 PLS 8238a755
2014-09-30T12:00:20 33 MARKET test123 19.80 DICE winjackpot with lucky number: 0 19.80 DICE 0.00000 PLS [55a948]
And the result is I won 9.8 dice :)
PS: A mistake in the memo, 0 in "winjackpot with lucky number: 0" should be 1.
-
only 1 connect and hang on block 37846
(wallet closed) >>> getinfo
{
"blockchain_head_block_num": 37846,
"blockchain_head_block_age": "5 days old",
"blockchain_head_block_timestamp": "2014-10-04T21:02:30",
"blockchain_average_delegate_participation": "0.25 %",
"blockchain_confirmation_requirement": 1,
"blockchain_delegate_pay_rate": "0.00001 PLS",
"blockchain_share_supply": "1,999,999,999.80949 PLS",
"blockchain_blocks_left_in_round": 29,
"blockchain_next_round_time": "at least 5 minutes in the future",
"blockchain_next_round_timestamp": "2014-10-09T15:20:00",
"blockchain_random_seed": "59933cc080a920b746dc092d705aeae39ec04ae7",
"client_data_dir": "e:/code/BITSHA~2/vs2013/programs/client/Release/data",
"client_version": "unknown-testnet-2",
"network_num_connections": 0,
"network_num_connections_max": 200,
"ntp_time": "2014-10-09T15:15:11",
"ntp_time_error": 5.6043690000000002,
"wallet_open": false,
"wallet_unlocked": null,
"wallet_unlocked_until": null,
"wallet_unlocked_until_timestamp": null,
"wallet_last_scanned_block_timestamp": null,
"wallet_scan_progress": null,
"wallet_block_production_enabled": null,
"wallet_next_block_production_time": null,
"wallet_next_block_production_timestamp": null
}
-
I get a segmentation fault: 11 every time I attempt to buy DICE or BET
-
Charity subforum ?
-
I get a segmentation fault: 11 every time I attempt to buy DICE or BET
Didn't catch that in time, do you still have the log running in gdb?
-
Charity subforum ?
The subforum was just renamed to Play, to avoid the confusion.
-
The testnet is over, we just made some refactoring to the game layer, to separate the game codes from blockchain librariy.
Now in the develop branch, all game related operation are located in a single game library, in this way, game developers can provide game source code for easy merging.
The ideal status is that the games can be plug into the play platform as plugins, and their logic data on blockchain also required to separate from each other.
The next testnet will be with GUI and chip exchange interface, stay tuned.
-
The next testnet will be with GUI and chip exchange interface, stay tuned.
Great seeing this moving forward. The modularity is VERY cool. Can't wait to check out the GUI.
-
Has the RNG problem been solved? I've read the discussion in these threads https://bitsharestalk.org/index.php?topic=6764.0 https://bitsharestalk.org/index.php?topic=7989 . You whitepaper still seems to contain your own original proposal, which in my understanding is still vulnerable to several of the problems mentioned in those threads.
-
Has the RNG problem been solved? I've read the discussion in these threads https://bitsharestalk.org/index.php?topic=6764.0 https://bitsharestalk.org/index.php?topic=7989 . You whitepaper still seems to contain your own original proposal, which in my understanding is still vulnerable to several of the problems mentioned in those threads.
The original RNG still stand for a lot of cases or requirement. And FreeTrade's idea is good, deserved to be involved in.
But remember that RNG is no longer the core feature of PLAY, because we've switched from gambling to game asset platform.