Commit Graph

457 Commits

Author SHA1 Message Date
Crypto City
0d20478bd2 mayors may now control who can buy/build in their city 2021-10-14 10:47:26 +00:00
Crypto City
c263cba732 cc: allow embedding smaller quantities of gold in items 2021-10-14 10:44:47 +00:00
Crypto City
25cc1bf99a game: plug palette editor in import flow 2021-09-21 12:18:18 +00:00
Crypto City
18ab361e8b give spread to match command matcher 2021-09-14 19:59:41 +00:00
Crypto City
489a261db0 Merge remote-tracking branch 'origin/master' into cc
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
996253e3b0 revert test v15 fork 2021-09-01 15:12:14 +00:00
Crypto City
6794309459 functional_tests: ensure number of blocks to mine is integer 2021-09-01 15:12:13 +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
85319d34a8 functional_tests: improve reorg test 2021-08-21 16:11:28 +00:00
Crypto City
19b9af508f functional_tests: some more trader order book tests 2021-08-21 14:44:33 +00:00
Crypto City
83ebf8aad4 improve third party matching 2021-08-18 22:38:51 +00:00
Crypto City
9079a293d0 functional_tests: fix fire test sometimes breaking 2021-08-16 10:36:46 +00:00
Crypto City
5206ea2ec3 fix hunts conflicting with each other 2021-08-12 11:01:35 +00:00
Crypto City
b5f7cd94af functional_tests: fix firefighting test 2021-08-12 11:01:35 +00:00
Crypto City
ca01aa2221 functional_tests: add basic tests for firefighting 2021-07-23 09:10:52 +00:00
Crypto City
42f430cf08 functional_tests: test derelict buildings 2021-07-20 19:41:53 +00:00
Crypto City
21676e11be functional_tests: add tests for cc_is_invitation_used 2021-07-07 19:58:22 +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
ea37a84d86 functional_tests: fix city spec tests failing due to too high level 2021-07-05 16:33:54 +00:00
Crypto City
bf5e9909d2 fix inventory bug with mortgages that mature while being auctioned 2021-06-24 08:50:19 +00:00
Crypto City
1928507a29 functional_tests: fix auction bid fee 2021-06-24 08:49:53 +00:00
Crypto City
7ffaf6d3ae double spendable age to 20 2021-06-03 07:40:21 +00:00
Crypto City
449ec733d3 event badges can now have a custom design 2021-05-29 12:32:20 +00:00
Crypto City
135742961f add logging/quarrying/maintenance discoveries 2021-05-14 17:22:13 +00:00
Crypto City
8249a86017 add badge for number of cities built in 2021-04-27 18:15:30 +00:00
Crypto City
0e3a6ba8c8 functional_tests: fix python3 compatibility 2021-04-27 18:15:30 +00:00
Crypto City
907636077e functional_tests: more generous timeout for the large sync 2021-04-27 18:15:30 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
mj-xmr
6799e212cc
Tests: Mining test uses a parametric path for finding the calculation app
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27 06:21:02 +02:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
Crypto City
e8f35a87c8 halve block time for user friendliness in gameplay 2021-04-22 23:18:32 +00:00
mj-xmr
dc81e23e60 Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
Crypto City
56155d4154 functional_tests: add more tests 2021-04-16 11:15:51 +00:00
Crypto City
618388ccab items can now be auctioned 2021-04-15 11:12:21 +00:00
Crypto City
7eafb335b1 do not reuse flags, it only leads to mistakes in history 2021-04-12 13:48:34 +00:00
Crypto City
f2cf26638d invitations can now be tied to a particular recipient address 2021-04-11 10:22:59 +00:00
Crypto City
2392c7d372 functional_tests: add item ownership checks 2021-04-10 00:06:37 +00:00
Crypto City
cf9246ab08 functional_tests: fix random failure in discoveries test 2021-04-10 00:06:37 +00:00
Crypto City
f1fd56f172 functional_tests: give a bit more leeway in wood stocks 2021-04-10 00:06:37 +00:00
Crypto City
2eec2f6371 fix farming not being bothered by not having enough heating material
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
Crypto City
dccf609e29 functional_tests: a mortgaged flag can't be demolished, given, traded 2021-04-04 19:42:38 +00:00
Crypto City
b5277a67ef functional_tests: more runestone tests: demolish, remove blocks 2021-04-02 22:54:56 +00:00
Crypto City
1a8055684e rpc: remove obsolete width/height in cc_demolish 2021-04-02 22:54:56 +00:00
Crypto City
6d5b0222cf add runestone carving tests 2021-04-02 22:54:56 +00:00
Crypto City
c663b3b6b6 armour plate various commands' verification code 2021-04-02 15:17:28 +00:00
mj-xmr
45f01f577c [CI] Adaptive mining timeout, depending on available CPU power
Printing also available RAM. Add comprehensive description.
2021-03-30 05:48:55 +02:00
Crypto City
e3b256215f functional_tests: add test for fractional amount of gold in item 2021-03-26 20:37:15 +00:00
Crypto City
6261344b9a remove mime_type from custom items, and add gold content 2021-03-25 14:37:56 +00:00
Crypto City
5b2e27b2ad functional_tests: fix accounting error 2021-03-25 13:54:24 +00:00
Crypto City
8354848ec8 custom item secondary descriptions can now be updated 2021-03-23 23:36:38 +00:00
Crypto City
20b806a964 rpc: add cc_is_custom_item_data RPC 2021-03-23 23:36:38 +00:00
mj-xmr
c836dc11c9 [CI] Use Python3 for funcional tests, instead of Python2 2021-03-20 10:30:57 +01:00
Crypto City
59da6694be rpc: add a cc_get_predefined_item_info RPC 2021-03-13 19:50:44 +00:00
Crypto City
6be4416f10 functional_tests: fix occasional failure from tx misordering 2021-03-13 10:45:46 +00:00
Crypto City
afc4f6f913 new cc_get_item_ownership RPC and daemon command 2021-03-13 10:45:46 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00
Crypto City
3ffe13df7d extra land tax for lots left empty for more than 10 days 2021-03-13 10:45:46 +00:00
moneromooo-monero
b5209a09d2
functional_tests: hide check_missing_rpc_methods behind requests check 2021-02-23 20:10:03 +00:00
luigi1111
1614be4a41
Merge pull request #7371
1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
2021-02-18 14:11:55 -05:00
mj-xmr
1aecdcf536 Increase timeout for the mining test 4 times (to 240s) 2021-02-11 13:42:43 +01:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.

In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
Crypto City
49faf95c40 fix flag destruction not keeping full state 2021-02-03 16:26:08 +00:00
Crypto City
56d5455d9b functional_tests: fix some python2/python3 differences 2021-02-03 16:26:08 +00:00
Crypto City
d9e81d0c5b cc: remove obsolete transportation discoveries 2021-02-03 16:26:08 +00:00
Crypto City
4956a6aa5e Merge remote-tracking branch 'origin/master' into cc 2021-01-18 01:33:53 +00:00
Crypto City
a4f6efb6db add unlock levels for chat colours 2021-01-16 20:44:45 +00:00
Crypto City
e760d4b2ed cc: remove pig farming discoveries 2021-01-16 20:44:45 +00:00
Crypto City
7e87bcc711 fix functional tests 2021-01-16 20:44:45 +00:00
Crypto City
8c3d9ff405 functional_tests: fix trade tests after matchable fix 2021-01-16 20:44:45 +00:00
Crypto City
8599ef7f67 sort items before patents and gemstones 2020-12-01 12:54:08 +00:00
Crypto City
1c1e2827e4 functional_tests: default to fast city test 2020-11-29 23:38:03 +00:00
Crypto City
c50b571fa9 allow the game account to enable/disable scripts 2020-11-29 23:38:03 +00:00
Crypto City
171858da4c cc: balance changes 2020-11-29 23:38:02 +00:00
luigi1111
7a0334742a
Merge pull request #6937
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29 01:49:39 -06:00
Crypto City
e21f521283 functional_tests: fix occasional failure due to firewood burning 2020-11-26 19:48:41 +00:00
Crypto City
1d4273c31e add prestige ranking and bonus from subsidy
also fix a couple bugs in coin collection scoring
2020-11-26 19:48:41 +00:00
Crypto City
accda4481e functional_tests: add test for the total amount of gold 2020-11-22 23:25:50 +00:00
Crypto City
cf6a626937 auction creation and bidding, auction flags on mortgage default 2020-11-22 23:25:50 +00:00
Crypto City
dd434d46d4 functional_tests: only mine past the coin minting window if necessary 2020-11-22 23:25:50 +00:00
Crypto City
4ba0fe2080 functional_tests: fix occasional discovery test failure 2020-11-22 23:25:50 +00:00
Crypto City
203ecd44d6 functional_tests: expand script test 2020-11-22 23:25:50 +00:00
Crypto City
182863edc9 blob deduplication for scripts 2020-11-22 23:25:49 +00:00
Crypto City
7bad65991c cc: every script state can now have actions 2020-11-22 23:25:49 +00:00
Crypto City
f6498b3f05 db_lmdb: set last service height to current height on construction 2020-11-22 23:25:49 +00:00
Crypto City
80195fb627 functional_tests: fix functional tests 2020-11-22 23:25:49 +00:00
Crypto City
dde3bf4c4a functional_tests: fix typo in item count retrieval 2020-11-22 15:27:07 +00:00
Crypto City
722fabc6d3 Higher economic powers now depend on civil engineering discoveries 2020-11-22 15:27:07 +00:00
Crypto City
402d9ce769 land can now be given 2020-11-22 15:27:06 +00:00
Crypto City
cb40955cc6 new custom language for scripts 2020-11-22 15:27:06 +00:00
Crypto City
933046c95d simpler large game update test 2020-11-22 15:27:06 +00:00
Crypto City
7b290450f4 functional_tests: give the discoveries test a bit more money 2020-11-22 15:27:06 +00:00
Crypto City
8687b9773f remove remnants of obsolete resource availability 2020-11-10 18:17:43 +00:00
Crypto City
25c78c4f5e functional_tests: more leeway for discovery tests 2020-11-01 18:59:15 +00:00
Crypto City
98d4ae7c2b land cost now costs more near the city center and far away
also fix overflows in land/tax cost
2020-11-01 17:34:31 +00:00
Crypto City
fa9a377279 add player script variables 2020-11-01 17:33:55 +00:00
Crypto City
86639dcd7d functional_tests: fix discoveries test after cost increase 2020-11-01 16:47:20 +00:00
mj-xmr
8a282f64c9 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
Add monero_add_minimal_executable and use in tests

This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-28 20:08:26 +01:00
Crypto City
e349e5694e give higher level woods more heating power 2020-10-26 13:09:35 +00:00
Crypto City
f2808a6a39 more tile size optimization
Tiles are now stored as a single packed byte stream,
including in the game, and unpacked/repacked as necessary
2020-10-25 18:47:26 +00:00