Commit Graph

14871 Commits

Author SHA1 Message Date
Crypto City
fb48c2e73e add procedures to scripts 2022-06-28 16:49:49 +00:00
Crypto City
981a6098e8 storyline event and log can now take a format string 2022-06-28 16:49:49 +00:00
Crypto City
a1eebef592 game: fix up news about lightning strikes 2022-06-28 16:49:49 +00:00
Crypto City
88442e6bc5 fix choice reserves acounting 2022-06-28 16:49:49 +00:00
Crypto City
ccf94054fa db_lmdb: always remove 0 amount entries from item_balances on write 2022-06-28 16:49:49 +00:00
Crypto City
73824c40f1 fix */+- precedence in scripts 2022-06-28 16:49:49 +00:00
Crypto City
17f4e63baf daemon: add cc_scripts and cc_script_variables daemon commands 2022-06-28 16:49:49 +00:00
Crypto City
beef16dd19 fix line numbers in scripts where multiline strings are used 2022-06-28 16:49:49 +00:00
Crypto City
a8f9d9e14e tb: allow relative font sizes with <size> in edit fields 2022-06-28 16:49:49 +00:00
Crypto City
a530e93341 game: better handling of mouse between 3D view and UI 2022-06-28 16:49:49 +00:00
Crypto City
31e5ad49fa game: print script id in script list for the game account
helps with managing scripts
2022-06-28 16:49:49 +00:00
Crypto City
17348a6a32 game: improve variable replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
f831633de4 game: allow more variable substitutions in script strings 2022-06-28 16:49:49 +00:00
Crypto City
8e6714e54a game: do not send a command to set a variable to its current value 2022-06-28 16:49:49 +00:00
Crypto City
2f27497111 db_lmdb: fix setting to 0 a script variable that's already unset 2022-06-28 16:49:49 +00:00
Crypto City
d787ede306 add log action to scripts
for debugging help
2022-06-28 16:49:49 +00:00
Crypto City
c8654eb73b make override integer values 64 bit 2022-06-28 16:49:49 +00:00
Crypto City
87bf592ea4 game: allow multiple override levels
eg, ${${foo}}
2022-06-28 16:49:49 +00:00
Crypto City
26d4914710 fix double blob replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
af0b093a3f cc: ensure an exception in command check/execute/revert fails it 2022-06-28 16:49:49 +00:00
Crypto City
9ffb213012 background scripts, tied to the game account 2022-06-28 16:49:49 +00:00
Crypto City
78a42233fd cc: remove unused variable 2022-06-28 16:49:49 +00:00
Crypto City
f654ba68ec fix snow storm enable condition check 2022-06-28 16:49:49 +00:00
Crypto City
6b2211365a fix player id op when dumping script 2022-06-28 16:49:49 +00:00
Crypto City
5474600c6a make if in scripts more generic, and allow an else branch too 2022-06-28 16:49:49 +00:00
Crypto City
867e9b359f remove restricted items hack 2022-06-28 16:49:49 +00:00
Crypto City
aec4aede5e allow mulitple enabled statements in choice, they are an OR condition 2022-06-28 16:49:49 +00:00
Crypto City
5b80d3a076 game: add storyline events to news also when triggered at script start 2022-06-28 16:49:49 +00:00
Crypto City
ca27a104bd add per choice script reserves
This will allow script options to scale with player balances
2022-06-28 16:49:49 +00:00
Crypto City
0317a1eddd add division and modulo to scripts 2022-06-28 16:49:49 +00:00
Crypto City
43515cfd5e add animal design for the newbie coins 2022-06-28 16:49:49 +00:00
Crypto City
7ac4e219ae keep game account prestige at 0
it'll likely have large amounts of gold coins to distribute,
so would get a prestige boost which isn't fair to players
2022-06-28 16:49:49 +00:00
Crypto City
61b81b5d4e Revert "scripts can now mint event coins"
This reverts commit 14ae96ca39233a88b191c9803864260bd226e5d8.
2022-06-28 16:49:49 +00:00
Crypto City
d4fbf59fe2 scripts can now mint event coins 2022-06-28 16:49:49 +00:00
Crypto City
857fb10ae2 Revert "game: replace terrain material"
This reverts commit acc876cc9a.
2022-06-28 16:49:49 +00:00
Crypto City
7d9172ceba Revert "game: terrain material patch"
This reverts commit 21a7c0ab85.
2022-06-28 16:49:49 +00:00
Crypto City
10ad9c0733 do not give the rarest newbie coins to redeemed accounts 2022-06-28 16:49:49 +00:00
Crypto City
0ba526c764 game: show city coins separately from other coins 2022-06-28 16:49:49 +00:00
Crypto City
d85d5012eb newbie coins - each new player gets a random one
collecting all the set gives a prestige boost
2022-06-28 16:49:48 +00:00
tobtoht
04c0da2986
Chunk /gettransactions to avoid hitting restricted RPC limit 2022-06-27 21:23:56 +02:00
tobtoht
db8181adf8
wallet2: force using output distribution for ringct outs
Co-authored-by: j-berman <justinberman@protonmail.com>
2022-06-25 13:06:11 +02:00
tobtoht
50ccc7e726
wallet2: remove obsolete rpc version check 2022-06-24 21:58:07 +02:00
TheCharlatan
6f3abbead5
Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) 2022-06-22 23:39:03 +02:00
moneromooo-monero
4278a3a7e3
cryptonote_basic: catch crypto api errors 2022-06-20 22:17:57 +00:00
hinto.janaiyo
41b1a6b0dd
simplewallet: print usage when given no args 2022-06-20 08:15:07 -04:00
j-berman
8460fcc32b Revert "Merge pull request #7937"
This reverts commit 50410d1f7d, reversing
changes made to d054def63f.
2022-06-13 18:44:09 +01:00
mj-xmr
61d0712ed5 Gitian: refresh the stale Monero dir via --setup switch 2022-06-06 15:52:36 +02:00
Kris Zyp
ade464a5a0
ITS#9385 fix using MDB_NOSUBDIR with nonexistent file 2022-06-03 16:46:59 +01:00
Howard Chu
033a32a20b
Remove check is_directory check on lmdb path
The check interferes with raw device/partition support.
2022-06-03 16:46:47 +01:00
Howard Chu
b096e16699
Revert "db_lmdb: test for mmap support at init time"
This reverts commit bd96536637.

The check interferes with raw device/partition support.
2022-06-03 16:46:35 +01:00