Commit Graph

42 Commits

Author SHA1 Message Date
Crypto City
034b4ae644 speed up script search and command execution 2025-08-25 14:20:21 +00:00
Crypto City
a01c2f6554 scripts can now be replaced
The replacement will be used when starting a new script, but already
started scripts will continue using the old one till finished

This will hopefully allow fixing small bugs as well as allow adding
more stuff to background scripts that are meant to supervise overall
game stuff like triggering events etc
2025-08-16 20:23:31 +00:00
Crypto City
1a3307ab97 add script type to replace ad hoc flags 2025-08-01 07:02:23 +00:00
Crypto City
ad354a018c tick scripts
run at every tick for every non-game player
2025-08-01 07:02:21 +00:00
Crypto City
4fa5b5eaf8 scripts can now have an optional group name
unused for now
2024-11-17 16:33:07 +00:00
Crypto City
68119ae832 vistas can now be saved on chain
scripts can also bookmark vistas for players

also a new unified vista dialog
2024-10-24 15:14:42 +00:00
Crypto City
d4b92a2e1c cache role_bonus in flag data
it's used for pos weights, so needs to be fast to get
2024-03-11 14:51:46 +00:00
Crypto City
d079502b34 deactivate active flags which have just changed owner
to avoid an exploit with keeping placeholders accounts with
different occupations and shuffling flags around at the right
times to get all bonuses
2024-03-11 14:51:45 +00:00
Crypto City
a745d7e476 hybrid PoW/PoS consensus
to protect against the first large monero miner to merge mine
being able to easily 51% the chain
2024-03-11 14:51:45 +00:00
Crypto City
e50340da45 named places can now be set to prevent buying land
by the game account

also remove the nonce based id, and rename priority to id,
so places are always enumerated in priority order

the game account now has no limit on places named, so this
can be used for storytelling purposes without having to play
the game competitively with the game account
2024-02-07 08:03:46 +00:00
Crypto City
5dc5eca758 delay user textures for a week after mining so they may be blocked
for anti abuse reasons
2023-09-12 06:41:18 +00:00
Crypto City
bbb124e13b allow auctions to lapse (set by auction creator) 2023-07-12 12:14:33 +00:00
Crypto City
7b176b52d0 db_tests: fix build after merchant ship changes 2023-06-09 05:07:42 +00:00
Crypto City
8ea9160fca game accounts can now be auctioned
can only be withdrawn from at the moment
2023-05-30 13:04:24 +00:00
Crypto City
d8c357153a db_lmdb: do not sort auction bids
they're supposed to be sorted already, and sorting them here
may hide a problem with pre-sorting as well as cause issues
with reverting
2023-05-30 13:04:24 +00:00
Crypto City
53480ea159 coru: jeopardy mode
the winner may pick a coin or rune of their choice from
the loser's deck
2023-05-30 13:04:02 +00:00
Crypto City
87ec510baf coru tournaments 2023-05-30 13:03:57 +00:00
Crypto City
c68faac405 coru: a "collectible card" minigame based on coins and runes
designed by syksy
2023-05-30 13:03:31 +00:00
Crypto City
d415791377 db_tests: fix return value on some errors 2023-04-27 09:26:34 +00:00
Crypto City
71ffbea68a divide time into epochs, for flavour 2023-03-29 10:38:35 +00:00
Crypto City
20aa5e7ab0 db_tests: fix uninitialized variable use 2023-01-28 17:03:00 +00:00
Crypto City
faea49e164 scripts can now have a storyline flag
to differentiate them for "technical" scripts
2023-01-28 17:03:00 +00:00
Crypto City
aa7bcbf6c9 there can now be more than once special event in a city at once 2023-01-28 17:02:58 +00:00
Crypto City
f9790980b4 new special event: merchant ship, selling items on the market 2022-08-04 15:57:39 +00:00
Crypto City
c004280dc7 user textures can now tile independently horizontally and vertically 2022-08-02 06:19:05 +00:00
Crypto City
ffbc1d3ae1 compress script blobs with zstd
- we don't really care if they're slow to compress
- we care about compression for blockchain usage (and max tx size)
2022-07-23 15:46:20 +00:00
Crypto City
46d22ceb89 allow texture creators to set the tile span 2022-07-23 15:46:20 +00:00
Crypto City
4c46b96faf user textures can now be used in game 2022-07-23 15:46:19 +00:00
Crypto City
5c2c002d17 user created textures and licencing - not yet usable on voxels 2022-07-23 15:46:19 +00:00
Crypto City
dd97761414 islander badge - number of buildings on an island 2022-07-04 21:15:34 +00:00
Crypto City
b1ab49720b players can now name areas 2022-07-04 21:15:34 +00:00
Crypto City
1a48b87d14 functional_tests: add whisper tests 2022-07-04 21:15:34 +00:00
Crypto City
9ffb213012 background scripts, tied to the game account 2022-06-28 16:49:49 +00:00
Crypto City
fe5272b288 add whispers - player messages on arbitrary locations 2021-11-23 16:22:28 +00:00
Crypto City
fdaaf64a7e db_tests: add tests for cc_nonces_used 2021-08-21 14:44:33 +00:00
Crypto City
f73670b90a db_tests: add cc_trade_used tests 2021-08-17 13:02:14 +00:00
Crypto City
5206ea2ec3 fix hunts conflicting with each other 2021-08-12 11:01:35 +00:00
Crypto City
a395ab3c37 remove various unused variables 2021-04-27 18:15:29 +00:00
Crypto City
618388ccab items can now be auctioned 2021-04-15 11:12:21 +00:00
Crypto City
c50b571fa9 allow the game account to enable/disable scripts 2020-11-29 23:38:03 +00:00
Crypto City
cf6a626937 auction creation and bidding, auction flags on mortgage default 2020-11-22 23:25:50 +00:00
Crypto City
fc43e99043 db_tests: new tests to test low level LMDB blockchain calls 2020-11-22 23:25:49 +00:00