Commit Graph

10945 Commits

Author SHA1 Message Date
Crypto City
80d2269217 player names are now unique and format restricted 2019-12-13 01:31:25 +00:00
Crypto City
6a4b803920 game: improve chat UI
Display /me lines in italic, and display timestamps in smaller font
2019-12-13 01:31:25 +00:00
Crypto City
ff42976c39 wallet_rpc_server: add cc_repair wallet RPC 2019-12-13 01:31:25 +00:00
Crypto City
84f16018d8 wallet_rpc_server: add cc_rename_flag wallet RPC 2019-12-13 01:31:25 +00:00
Crypto City
ecc038155a wallet_rpc_server: add new name field to building_settings 2019-12-13 01:31:25 +00:00
Crypto City
06401c86be game: save wallet cache on exit 2019-12-13 01:31:25 +00:00
Crypto City
da8a630d7f game: fix logic to get a new snapshot based on received blocks 2019-12-13 01:31:25 +00:00
Crypto City
d0915ab55e wallet2: add on_reorg callback 2019-12-13 01:31:25 +00:00
Crypto City
9de3148dd9 Add in-game chat through non-mineable txpool transactions 2019-12-13 01:31:25 +00:00
Crypto City
bcfa9ac956 cryptonote: fix prunable hash calculation 2019-12-13 01:31:25 +00:00
Crypto City
84d87d51a2 wallet2: fix cc_nonce not being serialized in pending_tx 2019-12-13 01:31:25 +00:00
Crypto City
629fcd44da game: add a console
Not the builtin one, since it's has builtin behaviour I don't want
and I'll need to extend this one
2019-12-13 01:31:25 +00:00
Crypto City
a762173511 game: add model export to Magical voxel format 2019-12-13 01:31:25 +00:00
Crypto City
87a2ab33de game: add save api (not used yet) 2019-12-13 01:31:25 +00:00
Crypto City
a0b6135cc9 game: don't display a dialog when trying to remove a block already on chain
It is aggravating
2019-12-13 01:31:25 +00:00
Crypto City
998730ef6e game: disable buy button when there is no selection 2019-12-13 01:31:25 +00:00
Crypto City
585b7c806d cc: tax empty land the same as a min level building 2019-12-13 01:31:25 +00:00
Crypto City
9770001686 Cities can now have a name 2019-12-13 01:31:25 +00:00
Crypto City
f0d7b3a8c4 game: use a 5x5 section setup from a 3x3 2019-12-13 01:31:25 +00:00
Crypto City
d7063d99d8 flags (with a building) can now be named and renamed 2019-12-13 01:31:25 +00:00
Crypto City
6b6ce844a3 game: don't display uninitialized timestamps in events window 2019-12-13 01:31:25 +00:00
Crypto City
5127173182 game: the events viewer can now explore history 2019-12-13 01:31:25 +00:00
Crypto City
5922cdad67 better player name lookup in game
Automatic lookup, and snapshots include the current set
2019-12-13 01:31:25 +00:00
Crypto City
cf0aca6c9b game: display owner name in flag window 2019-12-13 01:31:25 +00:00
Crypto City
d781e35365 game: display flags with the same colour if they have the same owner 2019-12-13 01:31:25 +00:00
Crypto City
761d212b53 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-12-13 01:31:25 +00:00
Crypto City
b89e696a80 flag 0 is now invalid
makes it possible to have a "no flag applies" semantic
2019-12-13 01:31:25 +00:00
Crypto City
8f613351ec daemon: print cc command type in print_pool_sh 2019-12-13 01:31:25 +00:00
Crypto City
3e41959825 players can now select a name when creating an account 2019-12-13 01:31:25 +00:00
moneromooo-monero
fe48fe2790 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-12-13 01:31:04 +00:00
Crypto City
be0ebbe148 fix fresh clone build 2019-12-13 01:31:04 +00:00
Crypto City
6b7bb1493b 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-12-13 01:31:04 +00:00
Crypto City
fd45f4bce9 game: note when building settings costs are over player inventory 2019-12-13 01:31:04 +00:00
Crypto City
c9616f7f83 better error reporting when submitting invalid commands 2019-12-13 01:31:04 +00:00
Crypto City
8261e1f03c game: disable building settings OK button on invalid configuration 2019-12-13 01:30:29 +00:00
Crypto City
d5f371143c game: pass resource flags upstream and include them in command 2019-12-13 01:30:29 +00:00
Crypto City
79b4718b07 game: show extra labour in building settings dialog 2019-12-13 01:30:29 +00:00
Crypto City
6d1c0dfcf8 unit_tests: test get_cc_influence does not overflow 2019-12-13 01:30:29 +00:00
Crypto City
6f24dc5dc7 game: fix estimated land tax in building settings window 2019-12-13 01:30:29 +00:00
Crypto City
b2a77a2b39 cc: building settings costs more labour with distance to generators 2019-12-13 01:30:29 +00:00
Crypto City
f6e2faeeb7 wallet_rpc_server: add parent to build command 2019-12-13 01:30:28 +00:00
Crypto City
9853c226ef wallet_rpc_server: add resource_flags to building_settings request 2019-12-13 01:30:28 +00:00
Crypto City
3543d06137 rpc: return influence in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
b2ce755525 cc: fix get_distance, and add unit tests 2019-12-13 01:30:28 +00:00
Crypto City
1d765e5689 cc: remove leftover debug trace 2019-12-13 01:30:28 +00:00
Crypto City
a3f97c26ec wallet_rpc_server: return command nonce in build command 2019-12-13 01:30:28 +00:00
Crypto City
c42899adc9 unit_tests: fix missing parameter in flag_t ctor 2019-12-13 01:30:28 +00:00
Crypto City
1570a58471 db_lmdb: set economic power to 0 for new land (before any building) 2019-12-13 01:30:28 +00:00
Crypto City
ddb878c0b0 rpc: serialize missing field in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
ed4ccaa3cf wallet: remove unused budget field in building_settings response 2019-12-13 01:30:28 +00:00