Commit Graph

15397 Commits

Author SHA1 Message Date
Crypto City
27457e0840 game: allow searching for a flag by id 2023-04-06 18:55:03 +00:00
Crypto City
1280a80034 game: flags can now be overlaid on maps 2023-04-06 18:55:03 +00:00
Crypto City
99cfd28568 display avatars for spectators too (up to a limit) 2023-04-06 18:55:03 +00:00
Crypto City
294867d6bb db_lmdb: allow opening older database without cc_epochs table readonly 2023-04-06 18:55:03 +00:00
Crypto City
2b8c4951cf fix confusion between research hub and academic hub 2023-04-06 18:55:03 +00:00
Crypto City
a7a9e53a3f game: mark buildings which are on fire in the flag select screen 2023-04-06 18:55:03 +00:00
Crypto City
c8cac9ccdc game: ensure the top of the avatar text is wrapped as needed 2023-04-06 18:55:03 +00:00
Crypto City
d46122b08a game: fix deadlock on reorg 2023-04-06 18:55:03 +00:00
Crypto City
b39809a7b5 game: fix missing building name in fight fire screen 2023-04-06 18:55:03 +00:00
Crypto City
e9f7312120 game: fix going to a flag in another city 2023-04-06 18:55:03 +00:00
Crypto City
3ae7078668 game: allow viewing high EP building in building settings screen
even if an existing building uses an EP we have not yet unlocked
2023-04-06 18:55:03 +00:00
Crypto City
e2dad2a6e3 tx_pool: set tvc error for conflicting pool txes 2023-04-06 18:55:03 +00:00
Crypto City
a1ff1fca3b game: allow cancelling all failing commands 2023-04-06 18:55:03 +00:00
Crypto City
df78be31c7 game: fix missing terrain on mac 2023-04-06 18:55:03 +00:00
Crypto City
7bf2e1709b add some badge adjectives/nouns, and rename a badge 2023-04-06 18:55:03 +00:00
Crypto City
998bfa7826 cn_deserialize: add monero coinbase tx
and do extra last, since it's more of a catchall with high
probability of partial decoding
2023-04-05 07:54:01 +00:00
Crypto City
ddb4a5fcda merge_mining_proxy: proxy a few new RPC 2023-04-05 07:54:01 +00:00
Crypto City
e04f562bcf startup fixes
don't fixup epoch table in readonly mode
make sure we delete downloadable hoh if it can't be checked or loaded
catch exceptions at top level just in case
2023-04-05 07:54:01 +00:00
Crypto City
417c2fbd27 game: fix materials showing as unlocked early with architectural flair 2023-04-05 07:54:01 +00:00
Crypto City
d2ffd41c3c game: add help button for auction time 2023-04-05 07:54:01 +00:00
Crypto City
47757ab641 game: fix auction screen layout with large item count 2023-04-05 07:54:01 +00:00
Crypto City
7f27bbdd13 blockchain: name downloadable hoh file the same as the remote file
avoids confusion
2023-04-05 07:54:01 +00:00
Crypto City
683926d1b9 forward more errors to the game when rejecting a tx 2023-04-05 07:54:01 +00:00
Crypto City
5abc5f6742 chat: fix sending chat lines after chat type addition 2023-04-05 07:54:01 +00:00
Crypto City
9fd627bc46 add discoverable scripts to start the game 2023-04-05 07:54:01 +00:00
Crypto City
80cccc0089 fix pearl found count tracker 2023-04-05 07:54:00 +00:00
Crypto City
c01ffcccf0 game: error message when trying to withraw with zero wallet balance 2023-04-05 07:54:00 +00:00
Crypto City
9fa8e2526e manual: fix influence table for fishery 2023-04-05 07:54:00 +00:00
Crypto City
12b38f1026 fix a few typoes 2023-04-05 07:54:00 +00:00
Crypto City
bd984072a7 game: fix minor gemstones missing in the prestige screen 2023-04-05 07:54:00 +00:00
Crypto City
c05e2a5f91 game: fix welcome screen not clipped if the lower part is empty 2023-04-05 07:54:00 +00:00
Crypto City
623fedf608 only consider military buildings in the town a hunt takes place in 2023-04-05 07:54:00 +00:00
Crypto City
2c378941dd players can now have a title
chosen among a set of predefined components
2023-04-05 07:54:00 +00:00
luigi1111
e06129bb4d
Merge pull request #8805
4f1262b build: prepare v0.18.2.2 (selsta)
2023-04-02 20:53:20 -04:00
luigi1111
a371e60a30
Merge pull request #8813
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02 20:46:21 -04:00
luigi1111
2f62dd5b78
Merge pull request #8811
c742fa4 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-04-02 20:45:47 -04:00
Crypto City
ffe4b0df3b game: only consider the current player for NEW markers in history 2023-04-01 08:48:33 +00:00
Crypto City
70d07fd291 db_lmdb: add version fields to serialized data 2023-04-01 08:48:33 +00:00
Crypto City
56bc673661 new demonetizer badge 2023-04-01 08:48:33 +00:00
Crypto City
4aac07752a fix tagline bodge for existing cities
it'd break functional tests as it's not specific enough
2023-04-01 08:48:33 +00:00
Crypto City
d3f2008ff4 game: make the game account overlay blink
we really want it not to be missed
2023-04-01 08:48:33 +00:00
Crypto City
eec251ac89 tb: fix crash in research building window 2023-04-01 08:48:33 +00:00
Crypto City
58d1aa544f functional_tests: check city tagline 2023-04-01 08:48:33 +00:00
Crypto City
ed3c5e3e4c cc: add a few epoch related operands to scripts 2023-04-01 08:48:33 +00:00
Crypto City
c68ae5c9b6 cc: add Coinage historian and Timeless badges 2023-04-01 08:48:33 +00:00
Crypto City
71ffbea68a divide time into epochs, for flavour 2023-03-29 10:38:35 +00:00
jeffro256
059b975388 cryptonote core/protocol: don't drop peers for soft offenses
Also: txs with tx_extra which is too large will not get published to ZMQ

Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com>
2023-03-29 02:07:15 -05:00
SChernykh
c742fa4c6e Fixed deadlock and crash when syncing with full dataset on Windows
It's not allowed to use WaitForSingleObject with _beginthread, because the thread closes its own handle before exiting.

So the wait function will either wait on an invalid handle, or on a different handle used by something else.

Or, if it starts waiting before the thread exits, the behavior is undefined according to MS: "If this handle is closed while the wait is still pending, the function's behavior is undefined."

In my test sync I observed threads getting stuck infinitely on WaitForSingleObject, and then rx_set_main_seedhash spamming new threads when RandomX seed changes again. Eventually the system ran out of resources, and monerod aborted with "Couldn't start RandomX seed thread" message.

This PR fixes it by using `_beginthreadex` instead and explicitly closing the handle when it's safe.
2023-03-29 08:44:20 +02:00
selsta
4f1262bae9
build: prepare v0.18.2.2 2023-03-27 18:52:04 +02:00
Crypto City
98b05d9e90 game: fix emerald/amethyst news image 2023-03-27 14:12:29 +00:00