Crypto City
2f47a45fc5
we can now build below existing blocks
2019-12-10 20:28:47 +00:00
Crypto City
33e475ebd4
tests: fix tests after recent emission changes
2019-12-09 18:45:25 +00:00
Crypto City
00849df620
unit_tests: fix tests after recent emission changes
2019-12-09 18:11:11 +00:00
Crypto City
8956d5368b
new demolish command
...
Recovers 20% of the flag budget, and the flag may now be reused
for another building role
2019-12-09 18:11:11 +00:00
Crypto City
94ba0790f4
change emission parameters
...
1 minute target
raise tail emission
decrease the number of decimals to 8
4 game updates per day
2019-12-09 16:28:11 +00:00
Crypto City
0ba1fce02d
cc: some more tweaking
2019-12-09 16:28:11 +00:00
Crypto City
e4f9735a23
add game subsidy
2019-12-09 16:28:11 +00:00
Crypto City
dc84cd44b9
rework production/requirements some
...
Will need more
2019-12-09 16:28:11 +00:00
moneromooo-monero
ec3e8fbb15
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
2019-12-09 16:28:10 +00:00
Crypto City
e93d76df6d
player names are now unique and format restricted
2019-11-18 20:11:19 +00:00
Crypto City
2ec7ef77bc
wallet_rpc_server: add cc_rename_flag wallet RPC
2019-11-17 21:41:56 +00:00
Crypto City
cb1114ce6b
Cities can now have a name
2019-11-16 14:36:22 +00:00
Crypto City
b0c0ed8dd6
flags (with a building) can now be named and renamed
2019-11-16 13:29:22 +00:00
Crypto City
3ec018cc1b
cc: save events to the db
...
This makes them retrievable from a snapshot, after a restart,
and after a reorg that crosses a game update
2019-11-15 00:01:30 +00:00
Crypto City
69498f2d6f
flag 0 is now invalid
...
makes it possible to have a "no flag applies" semantic
2019-11-13 00:33:26 +00:00
Crypto City
38ac170446
daemon: print cc command type in print_pool_sh
2019-11-12 22:23:24 +00:00
Crypto City
36f57a43ca
players can now select a name when creating an account
2019-11-12 19:17:52 +00:00
moneromooo-monero
d76e4907f4
core_tests: reset thread pool between tests
...
Avoids a DB error (leading to an assert) where a thread uses
a read txn previously created with an environment that was
since closed and reopened. While this usually works since
BlockchainLMDB renews txns if it detects the environment has
changed, this will not work if objects end up being allocated
at the same address as the previous instance, leading to stale
data usage.
Thanks hyc for the LMDB debugging.
2019-11-10 13:04:49 +00:00
Crypto City
e8bf52cba4
fix fresh clone build
2019-11-10 02:15:16 +00:00
Crypto City
2837627856
cc: repair command now takes a delta repair
...
rather than a from/to pair, which avoids it getting invalid if
a game update occurs before it gets mined
2019-11-10 00:33:02 +00:00
Crypto City
849794d49c
better error reporting when submitting invalid commands
2019-11-09 21:20:25 +00:00
Crypto City
ccfd4cb5c2
unit_tests: test get_cc_influence does not overflow
2019-11-09 10:16:28 +00:00
Crypto City
55a1d64469
cc: building settings costs more labour with distance to generators
2019-11-09 10:16:03 +00:00
Crypto City
b8786c8fbd
cc: fix get_distance, and add unit tests
2019-11-09 10:16:03 +00:00
Crypto City
e9ab9a5e70
unit_tests: fix missing parameter in flag_t ctor
2019-11-08 21:15:40 +00:00
Crypto City
16294de6d3
functional_tests: check popping all blocks restores initial state
2019-11-05 23:56:56 +00:00
Crypto City
cff86b0d4f
unit_tests: fix overread in influence calculation
2019-10-30 19:05:12 +00:00
Crypto City
1163339f56
unit_tests: fix user after free
2019-10-30 19:04:43 +00:00
Crypto City
38eb486da9
cc: add staff (extra payments per building count)
...
to incentivize richer people towards larger buildings rather
than many small ones
2019-10-29 01:22:26 +00:00
Crypto City
f7a9b73ba4
rejig repair a bit
...
Repair is now 0 before anything is built, and goes to 100% when
building. This makes it easier when building anew after a building
got destroyed due to decay
2019-10-28 20:03:19 +00:00
Crypto City
16d7b3b87c
fix reverting buy_land after trading flags
2019-10-27 17:29:51 +00:00
Crypto City
2fdb1440ce
Fixes after rebasing onto latest monero
2019-10-27 14:02:20 +00:00
Crypto City
e846ed456a
functional_tests: add command revert tests
2019-10-24 22:55:53 +00:00
Crypto City
be2ddd125b
remove tile data and set repair to 0 for derelict buildings
2019-10-24 22:55:53 +00:00
Crypto City
a567ed2c25
unit_tests: fix cc unit tests build
2019-10-24 22:55:53 +00:00
Crypto City
b9e1e11b14
building activation requires a thresold of the budget to be used
2019-10-24 22:55:26 +00:00
Crypto City
16a901906b
functional_tests: fix cc functional tests
2019-10-24 22:55:26 +00:00
Crypto City
b22ffd5f61
allow 50-1000 economic level (in steps of 50)
2019-10-24 22:55:26 +00:00
Crypto City
c37172735b
game: display "buildable" zone around generators
2019-10-24 22:53:06 +00:00
Crypto City
cf6ab59043
unit_tests: fix tests
2019-10-24 22:53:06 +00:00
Crypto City
1873400d9e
add repair command and UI
2019-10-24 22:53:06 +00:00
Crypto City
15087886e3
setting up buildings needs to have relevant generators nearby
2019-10-24 22:53:06 +00:00
Crypto City
ee2f4a043e
generators basics
2019-10-24 22:53:06 +00:00
Crypto City
20fd43c0b5
more work in influence
2019-10-24 22:53:06 +00:00
Crypto City
a369ba0965
new command to assign items to a flag
2019-10-24 22:53:06 +00:00
Crypto City
ba2895c6f1
functional tests: fix cc tests (adding building settings as a side effect)
2019-10-24 22:53:06 +00:00
Crypto City
27da0f937a
city support in game update command
2019-10-24 22:53:06 +00:00
Crypto City
5c95d32b2a
make shares 64 bit
2019-10-24 22:53:06 +00:00
Crypto City
f1d2e0b1d4
game update
2019-10-24 22:53:06 +00:00
Crypto City
4e034ca7e8
keep land if a building decays to 0
2019-10-24 22:53:05 +00:00