Commit Graph

9988 Commits

Author SHA1 Message Date
Crypto City
1ddb6fb781 game: improve script choices ui 2021-09-21 17:48:48 +00:00
Crypto City
deea5fdbd6 game: make building "transaction(s) sent" a toast 2021-09-21 14:33:32 +00:00
Crypto City
aa978e3583 game: display locked notice for locked variants in palette screen 2021-09-21 14:29:33 +00:00
Crypto City
d691888d7e game: do not continue increasing startup tutorial index past the end 2021-09-21 12:18:18 +00:00
Crypto City
581bed0d09 game: partial palette guessing functionality on import 2021-09-21 12:18:18 +00:00
Crypto City
eb8db9dedf game: set trade screen to buy shortfall, not whole amount for building 2021-09-21 12:18:18 +00:00
Crypto City
e9955db73e game: fix loading schematic models with blocks larger than 8 bits 2021-09-21 12:18:18 +00:00
Crypto City
25cc1bf99a game: plug palette editor in import flow 2021-09-21 12:18:18 +00:00
Crypto City
a4f150cc05 game: fix colour mismatch between glow and non-glow techniques 2021-09-21 12:18:18 +00:00
Crypto City
f3b8d90a21 game: harvest FATAL as well as ERROR when parsing daemon log 2021-09-21 12:18:18 +00:00
Crypto City
28140be2af game: fix dameon log location for testnet and mainnet 2021-09-21 12:18:18 +00:00
Crypto City
5ef691fcad game: fix model placement if the selection changes 2021-09-21 12:18:18 +00:00
Crypto City
17510a73fe game: undo palette changes too on undo 2021-09-21 12:18:18 +00:00
Crypto City
c3428cf347 game: partial magica voxel extension support
Scenegraph support, so models split into submodels can be loaded
2021-09-21 12:18:18 +00:00
Crypto City
86067d2576 game: ensure loaded magica voxel model data fits in palette 2021-09-21 12:18:18 +00:00
Crypto City
cf76b9fd3e game: allow filtering by all known model file types 2021-09-21 12:18:18 +00:00
Crypto City
687b35ab94 game: optional automatic resource assignment on import shortfall 2021-09-21 12:18:18 +00:00
Crypto City
d49fc0f1c1 game: add a PlayerState::get_num_items convenience function 2021-09-21 12:18:18 +00:00
Crypto City
9edd5e0966 game: load schematic models
These seem to have models fitting in cubes, so the import looks
very blocky and crude
2021-09-21 12:18:18 +00:00
Crypto City
c510cbd056 cc: clearer script reserve requirements
Replace "counterparty" by "game" or "building owner"
2021-09-21 12:18:18 +00:00
Crypto City
bce1c23bdf game: request a wallet refresh as soon as a new wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
bbff557dc1 tx_pool: forbid two script actions for the same account (when enabled) 2021-09-21 12:18:18 +00:00
Crypto City
705935848a game: improve script UI 2021-09-21 12:18:18 +00:00
Crypto City
599a40f647 game: keep script icon aspect ratio 2021-09-21 12:18:18 +00:00
Crypto City
1d90a2bdfd game: fix PNG script icons 2021-09-21 12:18:18 +00:00
Crypto City
05730f5a3d game: improve new script dialog, allow loading from file 2021-09-21 12:18:18 +00:00
Crypto City
8436fba9b1 game: decrease memory usage in sparsely built areas 2021-09-21 12:18:18 +00:00
Crypto City
495bf0acdb game: decrease memory usage in built up areas 2021-09-21 12:18:18 +00:00
Crypto City
1cc0e70aa3 cc: a bit less easy to get cliffs 2021-09-21 12:18:18 +00:00
Crypto City
432c259802 game: drop all city sections when traveling to another town
Helps dampen a memory usage peak
2021-09-21 12:18:18 +00:00
Crypto City
1a36e53e6c game: fix destroyed buildings appearing in events, not buildings, in news 2021-09-21 12:18:18 +00:00
Crypto City
d6f07b7ce7 new optional message in set_script_variable command 2021-09-21 12:18:18 +00:00
Crypto City
346542ae8c game: fix styling check in runetone message 2021-09-21 12:18:18 +00:00
Crypto City
0901c7e7ef game: notify the player when they don't have runestone styling enabled 2021-09-21 12:18:18 +00:00
Crypto City
315f9c3b6f game: do not enable "play" script button when no wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
566e7f8baa cryptonote_core: do not relay match commands 2021-09-21 12:18:18 +00:00
Crypto City
6b54bc1a5f game: better wallet info screen layout 2021-09-14 22:54:51 +00:00
Crypto City
18ab361e8b give spread to match command matcher 2021-09-14 19:59:41 +00:00
Crypto City
cf503259b2 db_lmdb: remove redundant cursor op 2021-09-13 10:40:40 +00:00
Crypto City
ec7047485e game: default to screen resolution rather than 1024x768 2021-09-13 00:48:44 +00:00
Crypto City
59670f81f6 game: clear screen before drawing the splash screen 2021-09-12 22:29:01 +00:00
Crypto City
0493970b30 game: fix splash screen pixel aspect ratio 2021-09-12 21:44:14 +00:00
Crypto City
62c80b608c cc: fix overflow in terrrain in extreme cases 2021-09-12 21:25:38 +00:00
Crypto City
9bf39fd190 cc: fix division by zero in new_item command 2021-09-12 21:25:38 +00:00
Crypto City
9172b9396e rpc: return a block template even when "busy" 2021-09-12 21:25:38 +00:00
Crypto City
3e93a91c28 db_lmdb: do not use DUPSORT for cc_events table
It increase the size somewhat but can store events of arbitrary
length.
2021-09-12 21:25:38 +00:00
Crypto City
36bf25a85a blockchain: guard against exception adding events
Also add some more info when executing/reverting commands
2021-09-12 12:24:21 +00:00
Crypto City
cb3499f3aa blockchain: save a few allocations when moving a block 2021-09-12 12:24:15 +00:00
Crypto City
0475389d3c blockchain: break off early when exiting 2021-09-12 12:24:10 +00:00
Crypto City
7a60da3fee cc: includes hash and height in log when creating game update command 2021-09-12 12:24:03 +00:00
Crypto City
e61dabacd5 cc: guard against invalid food items 2021-09-12 12:23:58 +00:00
Crypto City
c16496b37b cc: extra sanity check in repair command 2021-09-12 12:23:52 +00:00
Crypto City
d9dae925ee game: allow "tip of the day" style tutorials on startup 2021-09-09 11:30:04 +00:00
Crypto City
29ac4fb42a game: fix terrain-cache build on windows 2021-09-09 10:21:24 +00:00
Crypto City
e6e3da6940 game: remove leftover debug printf 2021-09-08 14:26:01 +00:00
Crypto City
1532b015bc game: do not display building tooltip when buiding on it 2021-09-08 14:25:19 +00:00
Crypto City
ae92ca97a0 cc: set cliff terrain type a bit more easily 2021-09-08 13:44:14 +00:00
Crypto City
91d0d2bc66 game: fix use after free in tooltip history window 2021-09-07 21:56:17 +00:00
Crypto City
58ddc71e49 game: fix use after free on game exit 2021-09-07 20:37:11 +00:00
Crypto City
67442d0d73 game: disable ok button in building settings screen if read only 2021-09-07 20:37:11 +00:00
Crypto City
0a69e54512 game: fix wrong temperature before loading a wallet 2021-09-07 20:37:11 +00:00
Crypto City
f1bd4c85c0 cc: do not consider roads for the mountaineer badge 2021-09-07 20:37:11 +00:00
Crypto City
902e0852d0 game: do not show "cancel" for commands that cannot be cancelled 2021-09-07 20:37:11 +00:00
Crypto City
27f01535a5 game: mention the options screen in the terrain cache directory README 2021-09-07 20:37:11 +00:00
Crypto City
8761724ac8 game: compress delta heights for fast extra compression 2021-09-07 20:37:11 +00:00
Crypto City
7223212520 game: speed up elevation map at higher zooms in found city screen 2021-09-07 20:37:11 +00:00
Crypto City
6ec7229ccf game: click the amount of items owned to input that amount to sell 2021-09-07 20:37:11 +00:00
Crypto City
cb5d62dbe9 game: subsample non-influence potential textures for speed 2021-09-07 20:37:11 +00:00
Crypto City
4e842e93b1 game: allow jumping to an x/y location 2021-09-07 20:37:11 +00:00
Crypto City
a079220af6 game: make the terrain cache size a user option (including disabled) 2021-09-07 20:37:11 +00:00
Crypto City
fd90c0ca84 bump lower mountainer badge thresholds 2021-09-07 20:37:11 +00:00
Crypto City
0542412ec2 cc: improve terrain 2021-09-07 20:37:11 +00:00
Crypto City
697ef85904 game: fix leaks 2021-09-07 20:37:11 +00:00
Crypto City
622ab9d894 add on disk terrain caching system 2021-09-06 17:40:30 +00:00
Crypto City
de1162cb03 game: add an item view screen 2021-09-06 17:40:30 +00:00
Crypto City
e859c7c0ea prevent hunting in a snowstorm 2021-09-04 18:32:06 +00:00
Crypto City
4f4cea20a2 game: more resilient splash screen 2021-09-04 15:46:43 +00:00
Crypto City
1d58d2fd09 game: do not start audio before the scene displays
and stop audio when stopping
2021-09-04 14:44:09 +00:00
Crypto City
86380eb911 game: optional load/update timings dump 2021-09-04 14:14:08 +00:00
Crypto City
36c11b914a wallet2: do not recalculate the genesis block for mainnet/testnet
we can save a second or so on startup
2021-09-04 14:14:08 +00:00
Crypto City
7f3ed8564a game: do not update stuff we do not need to 2021-09-04 14:14:08 +00:00
Crypto City
494c1bc48c game: fix hang if initial wallet fails to load 2021-09-04 14:14:08 +00:00
Crypto City
ea1e85c2ba game: only force highlight refresh if a rebuilt flag intersects it 2021-09-04 14:14:08 +00:00
Crypto City
36ddd1f6be game: initialize audio later on in the start sequence 2021-09-04 14:14:08 +00:00
Crypto City
d9ef50dc28 game: pre-cache some terrain at load time 2021-09-04 14:14:07 +00:00
Crypto City
cf821870cb game: fix snowfall effect at night 2021-09-04 14:14:07 +00:00
Crypto City
28f10bb125 game: remove some obsolete code 2021-09-04 14:14:07 +00:00
Crypto City
814219c39c game: start daemon async 2021-09-04 14:14:07 +00:00
Crypto City
184168536e game: remove dynamic sky on/of option and fallback skybox
This was originally an option because the dynamic sky was slow,
but this is no longer an issue since it's only recreated when
new blocks come in
2021-09-04 14:14:07 +00:00
Crypto City
50e77624e0 game: smoother sky changes when lerping snowfall in or out 2021-09-04 14:14:07 +00:00
Crypto City
3a66c39d27 game: avoid creating an SSL key when using the auto local daemon 2021-09-04 14:14:07 +00:00
Crypto City
b8a66a44db game: fix vertical snowfall motion 2021-09-04 14:14:07 +00:00
Crypto City
7528d4bac4 game: wind audio ambience 2021-09-04 14:14:07 +00:00
Crypto City
5ca332ce7b game: allow F10 to open the player screen with no wallet or player
it then pops up the player selection screen
2021-09-02 14:07:08 +00:00
Crypto City
e814560883 game: remove "click to mint/smelt" when not on our own player screen
always use click to trade instead
2021-09-02 13:51:57 +00:00
Crypto City
b63225b4be cc: speedup gemstone potential bit 2021-09-02 10:16:23 +00:00
Crypto City
356a101d06 cc: speed up hill generation a little 2021-09-02 10:07:27 +00:00
Crypto City
8db3639fba cc: slight SingleSimplex speedup 2021-09-02 09:04:40 +00:00
Crypto City
e4b60d8545 fixes after merge 2021-09-01 23:21:48 +00:00
Crypto City
489a261db0 Merge remote-tracking branch 'origin/master' into cc
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
ef6bee2de1 game: disable SSL for locally run daemon for performance 2021-09-01 15:12:14 +00:00
Crypto City
6ea0eeb1d2 faster version of cc_get_game_events 2021-09-01 15:12:14 +00:00
Crypto City
e95536f6dd speed up news gathering 2021-09-01 15:12:14 +00:00
Crypto City
5842f7d12d db_lmdb: speed up reading serialized data a bit
The stringstream ctor likes to spend time in dynamic_cast
2021-09-01 15:12:14 +00:00
Crypto City
72dc5e7cc7 filter news candidates in the daemon for performance 2021-09-01 15:12:14 +00:00
Crypto City
7cf92828bf game: add estimate wording for building production numbers 2021-09-01 15:12:14 +00:00
Crypto City
eaedd0d811 decrease road bonuses 2021-09-01 15:12:14 +00:00
Crypto City
ef233ea492 game: fix building screen production numbers ignoring influence 2021-09-01 15:12:14 +00:00
Crypto City
7138ea53af game: take age info account checking settings of an exiting building 2021-09-01 15:12:14 +00:00
Crypto City
9394f73444 game: fix road bonus calculation 2021-09-01 15:12:14 +00:00
Crypto City
3410a97469 game: fix double clicking on a building in last update screen 2021-09-01 15:12:14 +00:00
Crypto City
996253e3b0 revert test v15 fork 2021-09-01 15:12:14 +00:00
Crypto City
2b5e114e89 game: use zmq pub/sub to know when to refresh at once 2021-09-01 15:12:14 +00:00
Crypto City
137f911c60 game: disable auction price widget if no account 2021-09-01 15:12:14 +00:00
Crypto City
32ead59828 game: remove notification on stop
This will error out creating a texture as display is dead already
2021-09-01 15:12:14 +00:00
Crypto City
7e319d4849 game: increase cloud wind speed now that they are further away 2021-09-01 15:12:14 +00:00
Crypto City
20e055b117 game: tweak clouds, and remove cover light modulation 2021-09-01 15:12:14 +00:00
Crypto City
ffd4fbc608 cc: tweak firefighting recovery curve 2021-09-01 15:12:14 +00:00
Crypto City
7934e19f45 game: pre-fill buy amounts in trade screen when appropriate 2021-09-01 15:12:14 +00:00
Crypto City
30a0db432b add snowstorm event and associated in game weather effeect 2021-09-01 15:12:14 +00:00
Crypto City
e9be3ae3c3 game: fix random grey clouds, move clouds higher to match higher terrain 2021-09-01 15:12:14 +00:00
Crypto City
1c6cd3ddc6 cc: fix leftover global message trace 2021-09-01 15:12:14 +00:00
Crypto City
3f1039fb79 wallet2: point out set max-reorg-depth is a wallet command 2021-09-01 15:12:14 +00:00
Crypto City
7902862dbb game: default to higher view distance and less terrain sunsampling 2021-09-01 15:12:14 +00:00
Crypto City
731555b99c game: print simple performance stats on F3 in debug mode 2021-09-01 15:12:13 +00:00
Crypto City
b5e734efd1 switch to existing backward compat code, and go back to glibc 2.25 2021-09-01 15:12:13 +00:00
Crypto City
0b33ba6f85 cc: fix repair message wording 2021-09-01 15:12:13 +00:00
Crypto City
cfa883088b rpc: fix wrong top hash in cc_get_snapshot response 2021-09-01 15:12:13 +00:00
Crypto City
a2b168f33e game: highlight items we have not enough of when repairing 2021-09-01 15:12:13 +00:00
Crypto City
1951538ca9 game: display runestone messages in a larger font 2021-09-01 15:12:13 +00:00
Crypto City
2adef1dd14 game: switch "built a new building" toast icon to match news 2021-09-01 15:12:13 +00:00
Crypto City
018e977c7a rpc: fix overflow in gold content reporting 2021-09-01 15:12:13 +00:00
Crypto City
26b3b55714 game: move cloud cover up/down with the camera too 2021-09-01 15:12:13 +00:00
Crypto City
2694eb6af4 game: improve snow effect, snowier with altitude, tweak temperature drop 2021-09-01 15:12:13 +00:00
Crypto City
9eb0170864 players can slowly manage more buildings as they age 2021-09-01 15:12:13 +00:00
Crypto City
d9d4c83c08 game: prevent multiple script actions at once 2021-09-01 15:12:13 +00:00
Crypto City
7f1d5eac6c cc: swap ressearch and luxury residential city level thresholds 2021-09-01 15:12:13 +00:00
Crypto City
920b025944 add payouts for research buildings 2021-09-01 15:12:13 +00:00
SChernykh
e52802baef Wallet2: fix optimize-coinbase for p2pool payouts
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.

When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now.

With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction.

Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:50:15 +02:00
Crypto City
aba5f07a3d cc: increase influence less quickly with economic power 2021-08-22 14:03:00 +00:00
Crypto City
6a71c2c3b4 cc: fix bad harvest influence modifier 2021-08-22 12:56:45 +00:00
Crypto City
4e388d2f1e game: remove obsolete PlayerState argument to tile modification functions 2021-08-22 11:21:42 +00:00
Crypto City
9eb27df977 game: fix non-flat area block addition over unbuilt ground 2021-08-22 10:57:16 +00:00
Crypto City
1add331839 game: fix deadlock on exit when loading a wallet 2021-08-22 10:03:04 +00:00
Crypto City
8a34f00872 game: remove some minor information from the main panel 2021-08-22 08:34:44 +00:00
Crypto City
c6b2248611 game: guard against overflows in potential calculation 2021-08-21 22:22:17 +00:00
Crypto City
ebf813aae2 game: add influence and gemstone score to selection info 2021-08-21 21:24:39 +00:00
Crypto City
e5703bf002 game: force new snapshot when out of sync 2021-08-21 21:24:15 +00:00
Crypto City
dc1fc3e9ca game: set flag as dirty when changing building settings 2021-08-21 21:23:48 +00:00
Crypto City
f309f1422c fix sync failure when popping a game update block, but only it 2021-08-21 16:11:28 +00:00
Crypto City
964dd1bfd0 game: speed up selection info tooltip update 2021-08-21 14:44:33 +00:00
Crypto City
c8e28c14e4 cc: halve temperature decrease with altitude
it was multiplied by four with the previous height map redesign
2021-08-21 14:44:33 +00:00
Crypto City
0b9728c08d game: more optional command info in history 2021-08-21 14:44:33 +00:00
Crypto City
d7f541ad2e blockchain: fix missing nonces in cc_nonces_used 2021-08-21 14:44:33 +00:00
Crypto City
3790bc210e db_lmdb: clear returned accounts array before filling in is_cc_nonce_used 2021-08-21 14:44:33 +00:00
Crypto City
11fbeaa8ff cc: do not include dividend sender in counterparties if excluded 2021-08-21 14:44:33 +00:00
Crypto City
3cda06767b cc: add a simpler function to get a date as only a string 2021-08-21 14:44:33 +00:00
Crypto City
11872cbab8 cc: remove nonsensical test for palette changes 2021-08-21 14:44:33 +00:00
Crypto City
22bc59cb06 remove unused BlockchainDB method 2021-08-21 14:44:33 +00:00
luigi1111
0061da9e63
Merge pull request #7878
a9aaa47 wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:24 -04:00
luigi1111
8b9eea92f1
Merge pull request #7849
6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:59 -04:00
luigi1111
1b079e5195
Merge pull request #7845
e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:45:15 -04:00
luigi1111
5812b757e0
Merge pull request #7821
da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-20 16:33:53 -04:00
Crypto City
9a694824e9 game: fix rejected trade commands due to bad expiration time 2021-08-20 13:06:14 +00:00
Crypto City
11bca9bdc0 game: allow loading a readonly building settings screen without a wallet 2021-08-20 13:06:14 +00:00
Crypto City
ac2eba7e06 game: add user selected information to the selection tooltip 2021-08-20 13:06:14 +00:00
j-berman
e1af8dc02c Protect client from divide by 0 caused by integer truncation 2021-08-19 14:56:36 -07:00
j-berman
da2955feae Apply gamma distr from chain tip when selecting decoys
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:51:20 -07:00
tobtoht
a9aaa47abb
wallet_api: add make_uri 2021-08-19 15:35:37 +02:00
Crypto City
b8cb77eebe cc: add missing min size for workforce building 2021-08-18 22:38:51 +00:00
Crypto City
1b73444375 remove extra and cc signature from transaction where it can be 2021-08-18 22:38:51 +00:00
Crypto City
83ebf8aad4 improve third party matching 2021-08-18 22:38:51 +00:00
Crypto City
7ccf0e5963 cc: fix third party match cc_used_trades usage 2021-08-17 13:03:14 +00:00
Crypto City
7cb1d0f69d cc: prevent more bad matched nonces in trade and match commands 2021-08-17 13:02:14 +00:00
Crypto City
9bae95ca45 faster snapshot retrieval 2021-08-16 17:18:05 +00:00
Crypto City
9d091d880b rpc: fix bootstrap mode snapshot RPC mismatch 2021-08-16 13:51:15 +00:00
Crypto City
3e67738fa7 sinmgle out "destroyed by fire" in news 2021-08-15 14:04:18 +00:00
Crypto City
0b74ce603b game: fix travel to city screen when refreshing after a new block 2021-08-15 13:45:19 +00:00
Crypto City
5c433b3efc game: better history text canonicalization (should work with UTF-8) 2021-08-15 13:45:19 +00:00
Crypto City
9b6915640b cc: factor get_gemstone_power out 2021-08-15 13:45:19 +00:00
Crypto City
b53e354a7a blockchain: support for loading hoh data from townforge.net
It's trusted, but speeds up initial sync a lot, which is a fair
tradeoff for a game

Turned off with --no-trusted-block-hashes
2021-08-15 10:37:54 +00:00
Crypto City
6b095b6c03 game: fix history text canonicalization 2021-08-14 12:51:41 +00:00
Crypto City
21e93566ee game: process events when a building is removed due to land tax default 2021-08-14 11:45:45 +00:00
Crypto City
b9b4efb971 game: remove notifications from chat
we now have a news screen for this
2021-08-14 11:40:52 +00:00
Crypto City
8f7a81fe35 game: fix loading ignore recommendations bugs
it ignored flags not in the current city, and items not currently
loaded in the game state (which lazy loads), and possibly players
2021-08-14 11:01:26 +00:00
Crypto City
fd71529c3b game: fix nameless buildings not being refered to as "flag N" 2021-08-13 23:37:18 +00:00
Crypto City
ac6c36043b game: do not show view ipfs button for ignored items 2021-08-13 19:22:14 +00:00
Crypto City
f53332f99c scripts can now add a storyline event string, shown in news 2021-08-13 17:42:23 +00:00
Crypto City
c1a1157d40 game: include new storyline scripts in news 2021-08-13 16:47:07 +00:00
Crypto City
cd02e54998 game: fix "is this chat line for me" detection 2021-08-13 15:53:03 +00:00
Crypto City
67ec4b41a7 game: fix "out of X in Y" using current (not selected) player inventory 2021-08-13 15:38:56 +00:00
Crypto City
188ae3f271 game: enlarge min cloud size 2021-08-13 14:06:08 +00:00
Crypto City
d0b7882c6d cc: make gemstones a bit easier to find with flag area 2021-08-13 13:49:50 +00:00
Crypto City
945d347610 game: fix missing clouds 2021-08-13 10:56:34 +00:00
Crypto City
072b718bf5 game: fix crash travelling to another city 2021-08-12 23:55:12 +00:00
Crypto City
364e20464d game: add influence terrain modes 2021-08-12 13:15:35 +00:00
Crypto City
6fb0af6482 game: early out adding flag areas when possible 2021-08-12 11:01:36 +00:00
Crypto City
1ad13c63b9 add more vegetation materials 2021-08-12 11:01:36 +00:00
Crypto City
71fd61cd37 game: fix crash placing blocks 2021-08-12 11:01:36 +00:00
Crypto City
ae51ddaac7 game: speed up terrain generation a bit 2021-08-12 11:01:36 +00:00
Crypto City
52318c2cf1 game: fix terrain blur indexing 2021-08-12 11:01:36 +00:00
Crypto City
c42a9770be game: use 16 bit single compoment image for heightmap
saves memory, and possibly a bit of time
2021-08-12 11:01:36 +00:00
Crypto City
5db3e646af make potential/height functions safer 2021-08-12 11:01:36 +00:00
Crypto City
7827f70905 game: add terrain subsampling to options 2021-08-12 11:01:36 +00:00
Crypto City
5b50f4ee74 game: subsample terrain for memory and speed gains 2021-08-12 11:01:35 +00:00
Crypto City
2c75c589c2 game: move selection highlight to the fragment program
Should be faster, avoids extra geometry and fixes Z fighting
on uneven terrain
2021-08-12 11:01:35 +00:00
Crypto City
c5ab837276 game: log texture and their sizes (disabled) 2021-08-12 11:01:35 +00:00
Crypto City
5206ea2ec3 fix hunts conflicting with each other 2021-08-12 11:01:35 +00:00
Crypto City
d26f8fe73b game: decrease memory usage 2021-08-12 11:01:35 +00:00
Crypto City
42383b5c45 game: cancel wallet ops on exit 2021-08-12 11:01:35 +00:00
Crypto City
fd9a94543a game: fix loading icon leak 2021-08-12 11:01:35 +00:00
Crypto City
4212585cf4 game: add city info in the travel to city screen 2021-08-12 11:01:35 +00:00
Crypto City
f593cdeb41 tx_pool: move various errors to L1, to match existing ones 2021-08-12 11:01:35 +00:00
Crypto City
6f7bf6069c game: add city foundation to news screen, tweak other news icons 2021-08-12 11:01:35 +00:00
Crypto City
ee5110249e bump sprawling city specialization to 10% 2021-08-12 11:01:35 +00:00
Crypto City
400c1a099e cc: fix sprawling cty specialization from 20% to 5% 2021-08-12 11:01:35 +00:00
Crypto City
f85253beb2 cc: do not count collectible coins for item collector badge 2021-08-12 11:01:35 +00:00
Crypto City
dd065998d3 game: speedup history filtering 2021-08-12 11:01:35 +00:00
Crypto City
bee7630bdb game: fix crashes in the toast notifications 2021-08-12 11:01:35 +00:00
Crypto City
fb9d84b807 game: remove player name in player history screen
it's always the same and unnecessarily takes up space
2021-08-12 11:01:35 +00:00
Crypto City
33ec88a3aa game: add all event info to the export file 2021-08-12 11:01:35 +00:00
Crypto City
ffb1c272d0 game: make trade txes short lived if they're fully matched 2021-08-12 11:01:35 +00:00
Crypto City
1fd1697750 game: fix harvesting inactive flags 2021-08-12 11:01:35 +00:00
Crypto City
922e732250 game: fix selling land/cities 2021-08-12 11:01:35 +00:00
Crypto City
1dec7c7954 tx_pool: remove txes with commands with invalid signatures
even if kept_by_block, since that'll be moot due to locking
2021-08-12 11:01:35 +00:00
Crypto City
88c2c3d68a do not consider commands with bad signatures in chat/pending
These are probably from another chain, or malicious, though
they could be due to a reorg
2021-08-12 11:01:35 +00:00
luigi1111
89664fcee5
Merge pull request #7811
3d3a671 Daemon: Update average block size table (rbrunner7)
2021-08-11 22:37:56 -04:00
luigi1111
521b4d9ded
Merge pull request #7809
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:35:15 -04:00
luigi1111
cb08466394
Merge pull request #7802
a3d2b71 wallet_api: expose offline mode status (rating89us)
2021-08-11 22:33:38 -04:00
luigi1111
5cebb8edc0
Merge pull request #7800
b48074f Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:32:39 -04:00
luigi1111
1bb8ec1b97
Merge pull request #7795
87a0928 rpc: source file extensions must be explicit (cmake warning) (selsta)
2021-08-11 22:31:34 -04:00
luigi1111
62844a776d
Merge pull request #7786
9c6e094 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:11 -04:00
j-berman
6f15a0c8d3 Make sure node returns to wallet that real output is unlocked 2021-08-11 07:28:10 -07:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist 2021-08-05 17:29:25 +00:00
luigi1111
ed506006d2
Merge pull request #7796
0c6e1d3 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
2021-08-02 18:54:46 -04:00
luigi1111
eeda76570c
Merge pull request #7790
bc8d764 wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:05 -04:00
luigi1111
8c41d14ad5
Merge pull request #7788
f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
2021-08-02 18:50:25 -04:00
luigi1111
894e5b2794
Merge pull request #7767
5fa1c90 Fix describe_transfer for multiple txes in a txset (Alex Opie)
2021-08-02 18:47:05 -04:00
luigi1111
0cdb8d02e8
Merge pull request #7757
d689b94 protocol: fix delayed 'you are now synchronized...' message (moneromooo-monero)
2021-08-02 18:43:44 -04:00
luigi1111
9aa2d4c16e
Merge pull request #7747
8cf95c8 wallet2: refresh: check error and throw before potentially breaking out of loop (tobtoht)
2021-08-02 18:42:32 -04:00
Alex Opie
5fa1c90102
Fix describe_transfer for multiple txes in a txset
This ensures each list of recipients is only the recipients
for one transaction. It also adds a new field "summary"
that describes the txset as a whole.

Fixes #7344
2021-08-02 20:39:49 +02:00
selsta
979d121ed7
blocks: fix cmake syntax 2021-07-28 00:39:48 +02:00
luigi1111
960376b960
Merge pull request #7782
a48db50 device_trezor_base: fix typo (anon)
2021-07-27 17:04:14 -04:00
luigi1111
d9c9a11c54
Merge pull request #7772
eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
2021-07-27 17:01:42 -04:00
luigi1111
69e714c749
Merge pull request #7745
d52d21b ledger: don't lock for software device (tobtoht)
2021-07-27 16:56:37 -04:00
luigi1111
62bcdc1d3c
Merge pull request #7744
ce40c33 ledger: use software device if we have view key (tobtoht)
2021-07-27 16:56:09 -04:00
luigi1111
2d5b8a6ff7
Merge pull request #7740
8cea9d8 wallet: Reset RPC Pay ID on node switch (tobtoht)
2021-07-27 16:55:14 -04:00
luigi1111
ca4de5f96d
Merge pull request #7698
7359d51 cmake: fix non portable code (selsta)
2021-07-27 16:53:55 -04:00
rbrunner7
3d3a67142c Daemon: Update average block size table 2021-07-27 13:45:55 +02:00
Crypto City
b9664f7cb9 game: fix wrong land cost for non default city in selection tooltip 2021-07-24 15:22:14 +00:00
Crypto City
0cdee84fd2 game: remove leftover debug info in selection tooltip 2021-07-24 15:21:54 +00:00
Crypto City
9159efb446 cc: fix integer overflow in new flag cost calculation 2021-07-24 12:41:25 +00:00
Crypto City
5504ea5bc8 nicer looking terrain attenuation around origin 2021-07-24 12:08:47 +00:00
Crypto City
01af6fa4c5 wallet2: fix loss of precision as number of outputs grow 2021-07-23 09:12:40 +00:00
Crypto City
ca01aa2221 functional_tests: add basic tests for firefighting 2021-07-23 09:10:52 +00:00
Crypto City
8734751d37 wallet2_api: add Status_BadPassword error mapping 2021-07-21 23:37:59 +00:00
Crypto City
6875a1bdd4 cc: fix missing flag name in game events 2021-07-21 23:37:25 +00:00
Crypto City
42f430cf08 functional_tests: test derelict buildings 2021-07-20 19:41:53 +00:00
Crypto City
2877109b92 game: go to flag on double click in flag search screen 2021-07-20 12:03:42 +00:00
Crypto City
fe994ffd28 game: add prestige weight to gemstone/coins description 2021-07-20 11:50:09 +00:00
Crypto City
a6eb2ab64e daemon: add cc_accounts command 2021-07-20 10:56:49 +00:00
Crypto City
548b3450e7 rpc: add some sanity checks to cc_get_production 2021-07-20 09:33:45 +00:00
Crypto City
7a9cc14c68 bump version to 0.32.1.0 2021-07-19 13:44:54 +00:00
Crypto City
7f16723ac9 core: add testnet hoh 2021-07-19 13:44:54 +00:00
Crypto City
8a9b3a2384 game: add gemstone icons for "found a gemstone" news 2021-07-19 13:30:51 +00:00
Crypto City
f37b3d4c92 add some space for extra gemstones 2021-07-19 13:30:51 +00:00
Crypto City
feff83d4ac forbid a give command giving nothing from v15 2021-07-19 13:30:51 +00:00
Crypto City
8f6610e24d core: skip topological sort when syncing block
the block already has a tx order
2021-07-19 11:51:19 +00:00
Crypto City
5e1f9e4b8b wallet2: default to not encrypt keys in memory - faster
For a game, it's the better tradeoff
2021-07-19 11:51:19 +00:00
Crypto City
fbd6a9cc51 game: add news screen 2021-07-19 11:51:19 +00:00
rating89us
a3d2b71ee9 wallet_api: expose offline mode status 2021-07-19 00:30:36 +02:00
Crypto City
a64ef67405 game: click to trade unmintable coins we have none of 2021-07-18 17:47:00 +00:00
Crypto City
c96b9dd18f rpc: take building influence into consideration in cc_get_production 2021-07-18 17:47:00 +00:00
moneromooo-monero
5a66775599 wallet2: chunk get_outs.bin calls to avoid sanity limits 2021-07-18 17:47:00 +00:00
SChernykh
b48074fb8d Fixed json serialization of rct::RCTTypeNull
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 10:52:14 +02:00
moneromooo-monero
0c6e1d343e
wallet2: chunk get_outs.bin calls to avoid sanity limits 2021-07-15 17:25:07 +00:00
selsta
87a092811d
rpc: source file extensions must be explicit (cmake warning) 2021-07-15 09:42:57 +02:00
tobtoht
f5eb2ce968 wallet2: Don't auto lock device on process parsed blocks 2021-07-14 13:02:54 +02:00
Dusan Klinec
bc8d7644d2
wallet: rephrase error message on invalid device address 2021-07-14 11:02:29 +02:00
Dusan Klinec
9c6e0941cb
fix #7784 - deinit wallet in wallet dtor 2021-07-14 10:46:16 +02:00
anon
fe76d7dee7
cmake: fix undefined symbols and multiple definitions 2021-07-13 08:00:20 +02:00
anon
a48db50b1c
device_trezor_base: fix typo 2021-07-10 23:52:15 +00:00
luigi1111
de3456e127
Merge pull request #7764
e24875e simplewallet: don't truncate integ. address in export_transfers (selsta)
2021-07-10 18:01:35 -04:00
luigi1111
1e8cbc995f
Merge pull request #7762
8ae6c85 trezor: add #if for ByteSizeLong (selsta)
2021-07-10 18:00:45 -04:00
luigi1111
3c8c8e5a5b
Merge pull request #7761
8ef51dc wallet_api: fix typo in exportKeyImages (selsta)
2021-07-10 17:59:56 -04:00
luigi1111
9903b35345
Merge pull request #7754
8ff21e1 doc: update IRC references to Libera (fdov)
2021-07-10 17:59:23 -04:00
luigi1111
6043c85afe
Merge pull request #7753
f0df726 add singapore.node.xmr.pm to seed nodes (lza_menace)
2021-07-10 17:58:22 -04:00
luigi1111
c53e22c40a
Merge pull request #7748
bbeb555 wallet_api: getPassword (tobtoht)
2021-07-10 17:57:39 -04:00
Crypto City
2e6bb351c8 some belt and braces checks 2021-07-10 17:30:32 +00:00
Crypto City
4aeb8b2870 remove leftover noisy debug traces 2021-07-10 17:09:17 +00:00
Crypto City
a2cfd32a31 wallet2_api: fix build after stop API change 2021-07-09 16:02:19 +00:00
Crypto City
3881ced32f bump version to 0.32.0.1 2021-07-09 12:33:38 +00:00
Crypto City
1ea6bd8980 bodge version string on UTF-8 challenged windows 2021-07-09 09:29:38 +00:00
Crypto City
274d6c71d8 game: fix editing secondary item description 2021-07-09 09:28:42 +00:00
Crypto City
374159faf5 game: fix crash at new year start 2021-07-09 01:31:02 +00:00
Crypto City
5dec72a218 bump version to 0.32.0.0 2021-07-08 01:23:36 +00:00
Crypto City
63c1c92eb6 do not add 0 item to event item list 2021-07-08 01:23:36 +00:00
Crypto City
6f067ea045 remove internal info from payout events 2021-07-08 01:23:36 +00:00
Crypto City
fcf3261ef5 daemon: add a few parameters to cc_get_last_events 2021-07-07 19:58:23 +00:00
Crypto City
a9188a1b6b game: some minor research UI fixes 2021-07-07 19:58:23 +00:00
Crypto City
7a6beb4b3c rpc: return expiration block in cc_is_invitation_used 2021-07-07 19:58:22 +00:00
Crypto City
e1bb818a90 game: collapse production/consumption in game update notification 2021-07-06 20:50:44 +00:00
Crypto City
4a23415de3 game: add appropriate message in hunt screen if no non-road building 2021-07-06 20:50:44 +00:00
Crypto City
5b070cd0bd game: add a wallet function to get current hard fork version 2021-07-06 20:50:44 +00:00
Crypto City
5c29d4356c fix hunting allowing an empty building as condition 2021-07-06 20:50:44 +00:00
Crypto City
da83f01ff4 make dividend command more flexible
it can optionally distribute to unowned items only, as well as
pay per item rather than split
2021-07-06 12:52:33 +00:00
Crypto City
01a62fa9b8 display new item name in event/notification 2021-07-06 09:50:44 +00:00
mj-xmr
eda5c303cd
Doc: Update blockchain stats with review comments 2021-07-06 07:12:33 +02:00
Crypto City
7d55777ba9 pass hard fork version to cc command check/execute/revert 2021-07-05 13:55:19 +00:00
Crypto City
3536b1d36a some things are now affected by how much a flag is south oriented 2021-07-05 00:49:36 +00:00
tobtoht
bbeb555f00 wallet_api: getPassword 2021-07-05 02:49:27 +02:00
Crypto City
fed2fb90ac rpc: add a cc_get_production RPC 2021-07-04 08:20:46 +00:00
Crypto City
9553ad44d9 game: print average slope in meters, not internal units 2021-07-03 19:29:51 +00:00
Crypto City
dc40776480 game: omit penalty/bonus messages from game update notification 2021-07-03 19:29:04 +00:00
Crypto City
9ea41cd6e9 add cliffhanger badge - max altitude span on a flag 2021-07-03 18:42:42 +00:00
Crypto City
0e49625986 bonus/penalties based on average flag slope 2021-07-03 15:40:49 +00:00
Crypto City
4b6e430553 higher and more intereresting landscape, and tweak some potential maps 2021-07-03 15:39:42 +00:00
Crypto City
68ec39eb09 game: fix missing decrement using height data 2021-07-03 15:38:28 +00:00
Crypto City
2d5ceada54 cc: fix using floating point in consensus code 2021-07-03 13:34:12 +00:00
Crypto City
41cf05df0e lessen the land tax increase rate 2021-07-03 11:34:54 +00:00
Crypto City
b6fe314645 cc: fix mountainer badge thresholds scale (48 -> 64) 2021-06-29 09:40:52 +00:00
Crypto City
42886701b3 game: add a notifications history screen in options 2021-06-29 08:56:56 +00:00
Crypto City
20c28e3138 game: fix stray "lv N" strings in chat colour widget 2021-06-28 17:49:25 +00:00
Crypto City
5f3c9ee7ac cc: minor speedup to terrain generation bottleneck 2021-06-28 17:37:25 +00:00
Crypto City
f97eb0eefd hunting in a city now require at least a non road building there 2021-06-28 16:43:17 +00:00
Crypto City
943c6735b9 daemon: print number of merged mined blocks in bc_dyn_stats 2021-06-28 16:25:51 +00:00
Crypto City
23c02806b9 decrease min trade timeout 2021-06-28 15:58:04 +00:00
Crypto City
55ef3b7edf increase auction description max length 2021-06-28 15:57:47 +00:00
Crypto City
ece002068c game: save wallet cache when loading another wallet 2021-06-28 15:57:32 +00:00
Crypto City
2e9d80187f don't keep bid amount in reserve when those bids get outbid 2021-06-28 15:51:19 +00:00
Crypto City
d2f715b225 game: add "owned" terrain map 2021-06-28 14:02:22 +00:00
Crypto City
9428ba293e game: fix number of invited players always using the current account 2021-06-28 13:34:10 +00:00
Crypto City
ddb56cca7a game: only add notification when sending a command succeeds 2021-06-28 08:57:37 +00:00
Crypto City
8074f7c4cc game: add note about smelting coins rather than destroying them 2021-06-28 08:23:09 +00:00
Crypto City
407e823951 game: fix adding blocks underneath others 2021-06-28 07:29:58 +00:00
selsta
8ae6c85efd
trezor: add #if for ByteSizeLong
Turns out Ubuntu 18.04 ships with an old protobuf version.
2021-06-27 23:43:36 +02:00
Crypto City
194c2f4118 game: fix double notifications 2021-06-27 21:08:20 +00:00
Crypto City
17d42adef6 game: fix importing model without enough budget 2021-06-27 20:52:31 +00:00
Crypto City
966d99768a bump version to 0.31.4.0 2021-06-27 12:28:17 +00:00
Crypto City
f45f13dcc6 game: fix bad account id after restarting daemon 2021-06-27 12:28:17 +00:00
Crypto City
3b8bea8cc1 game: guard against out of range discoveries 2021-06-27 10:48:32 +00:00
Crypto City
a045cccf67 game: fix trades with multiple matches only notifying about one match 2021-06-27 10:38:56 +00:00
Crypto City
bae1c0ca3d cc: fix bad prerequisites for maintenance discoveries 2021-06-27 09:46:52 +00:00
Crypto City
204baeb016 game: add icon to deposit/withdraw messages 2021-06-27 09:46:52 +00:00
Crypto City
e742f48189 game: add toast notifications when creating/redeeming an account 2021-06-26 21:42:12 +00:00
Crypto City
639c6b9145 game: fix read buffer overflow creating loading icon 2021-06-26 13:17:55 +00:00
Crypto City
861852d8ea bump version to 0.31.3.1 2021-06-25 18:02:33 +00:00
Crypto City
ec2f74827d game: fix invitation creation after miner hijack change 2021-06-25 18:01:51 +00:00
Crypto City
91f6af37a1 bump version to 0.31.3.0 2021-06-25 14:57:09 +00:00
Crypto City
5e7d8563ee game: add cliff potential to the terrain view 2021-06-25 14:55:04 +00:00