Commit Graph

1961 Commits

Author SHA1 Message Date
Crypto City
1640e4e93a wallet2: remove old format load/save
boost serialization and portable archives are obsolete in Monero,
kept only for loading old data, which does not apply in Townforge
2023-03-06 13:51:01 +00:00
Crypto City
dbf58ec851 add odin's bounty - gold bonus based on randomly chosen named place 2023-02-16 19:21:19 +00:00
Crypto City
694cb85f97 add integer gaussian probability function (fixed 8000 variance)
relies on a precalculated lookup table to avoid floating point
2023-02-16 14:32:03 +00:00
Crypto City
1af5d7b313 functional_tests: fix rare spurious failure from lack of wood 2023-02-16 14:18:40 +00:00
Crypto City
c4a776f182 include service efficiency in cc_get_flag RPC when applicable 2023-02-16 14:18:40 +00:00
Crypto City
0737d151f2 functional_tests: fix attempt to use more money than available 2023-02-16 14:18:40 +00:00
Crypto City
f71b6df441 craft buildings can now runestones from regular stones 2023-02-16 14:18:40 +00:00
Crypto City
cb4b2c71a6 functional_tests: check all cc_* RPC entry points are tested 2023-02-16 14:18:40 +00:00
Crypto City
1a68d7e1ad functional_tests: add cc_allow_styling tests 2023-02-16 14:18:40 +00:00
Crypto City
f96628d988 functional_tests: add cc_change_palette tests 2023-02-16 14:18:40 +00:00
Crypto City
c09c6fed54 functional_tests: add cc_get_rare_fish_data tests 2023-02-16 14:18:39 +00:00
Crypto City
e22accf518 functional_tests: add cc_replace_script_blob tests 2023-02-16 14:18:39 +00:00
Crypto City
2d63fde471 functional_tests: add cc_get_badge_scores tests 2023-02-16 14:18:39 +00:00
Crypto City
fc6fc1d498 functional_tests: add cc_get_production tests 2023-02-16 14:18:39 +00:00
Crypto City
7bd8d1a99a functional_tests: add cc_get_crop_yield tests 2023-02-16 14:18:39 +00:00
Crypto City
06554b555d functional_tests: add cc_get_terrain tests 2023-02-16 14:18:39 +00:00
Crypto City
bbcb70f62a functional_tests: add cc_get_stats tests 2023-02-16 14:18:39 +00:00
Crypto City
0c7c0109df functional_tests: add cc_get_blobs/cc_get_blob_info tests 2023-02-16 14:18:39 +00:00
Crypto City
69e5252303 functional_tests: add cc_get_foreclosures tests 2023-02-16 14:18:39 +00:00
Crypto City
7e07b242d8 functional_tests: add cc_get_used_nonces tests 2023-02-16 14:18:39 +00:00
Crypto City
349ebe8b3c functional_tests: add cc_get_temperature tests 2023-02-16 14:18:39 +00:00
Crypto City
0e00348dd1 functional_tests: add cc_are_discoveries_enabled tests 2023-02-16 14:18:39 +00:00
Crypto City
f762e0898d functional_tests: add cc_get_service_fee tests 2023-02-16 14:18:39 +00:00
Crypto City
26b4b4489d functional_tests: add cc_get_bonuses tests 2023-02-16 14:18:39 +00:00
Crypto City
bf4339a8ad functional_tests: add cc_get_badge_totals tests 2023-02-16 14:18:39 +00:00
Crypto City
0126e0dd43 functional_tests: add cc_get_accounts tests 2023-02-16 14:18:39 +00:00
Crypto City
28ac9ef30e functional_tests: add cc_get_special_events tests 2023-02-16 14:18:39 +00:00
Crypto City
698fe07fe9 functional_tests: add cc_get_last_update_events tests 2023-02-16 14:18:39 +00:00
Crypto City
37ac59f737 functional_tests: add cc_get_nonces_mined tests 2023-02-16 14:18:39 +00:00
Crypto City
b90e5c3859 functional_tests: add cc_find_flag tests 2023-02-16 14:18:39 +00:00
Crypto City
04537a0a0b functional_tests: add cc_lookup_account tests 2023-02-16 14:18:39 +00:00
Crypto City
2d34ccf168 destroy assigned items on involuntary building destruction
eg, fire, derelict buildings...
2023-02-16 14:18:39 +00:00
Crypto City
8932eac499 add placeholder chat type to chat command
there might be more than one chat at some point
2023-02-16 14:18:39 +00:00
Crypto City
2a06fb53d2 compress a few more from/to strings in commands 2023-02-16 14:18:38 +00:00
Crypto City
890af738d6 fix transfer functional tests with transfer to self 2023-02-06 14:10:15 +00:00
Crypto City
12ade5e935 add an extra fee to create items with prestige and/or role bonuses
to prevent abuse
2023-02-06 14:10:15 +00:00
Crypto City
46d4dc442a fix naming an empty flag before building on it 2023-01-29 08:44:11 +00:00
Crypto City
d6170c130d items can now be retrieved from flags
except labour and construction materials
2023-01-29 08:10:02 +00:00
Crypto City
90989c35ef functional_tests: ensure scripts are finished after testing scripts 2023-01-28 17:03:26 +00:00
Crypto City
406eef2d68 compress player profile previous/new strings in command 2023-01-28 17:03:01 +00:00
Crypto City
f789d40e7c creating user textures now needs a cultural building
since user texture space is at a premium, this will discourage
spamming and DoS
2023-01-28 17:03:01 +00:00
Crypto City
a0497a35d9 cc: constrain dividend note length 2023-01-28 17:03:01 +00:00
Crypto City
4613cdb321 add a tiny fee by dividend recipient
for abuse prevention
2023-01-28 17:03:01 +00:00
Crypto City
14d8120aa9 shares for cities which restrict settlers count for half for subsidy
for abuse prevention
2023-01-28 17:03:01 +00:00
Crypto City
309d0c6123 add visiting scholar special event 2023-01-28 17:03:01 +00:00
Crypto City
0cd2e67d06 research buildings now offer a bonus and can be used as a service 2023-01-28 17:03:00 +00:00
Crypto City
c38b346452 functional_tests: ensure fishery does not deactivate while testing 2023-01-28 17:03:00 +00:00
Crypto City
20aa5e7ab0 db_tests: fix uninitialized variable use 2023-01-28 17:03:00 +00:00
Crypto City
60b22f6ccc functional_tests: fix rare failure due to lack of money 2023-01-28 17:03:00 +00:00
Crypto City
1ec00af4b1 tests: fix libwallet_api_tests build 2023-01-28 17:03:00 +00:00