Commit Graph

536 Commits

Author SHA1 Message Date
Evan f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 5e6f8f5d91 validate all intent input 2025-02-18 16:26:49 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
evanpelle 4f3ad5c1ac Merge pull request #39 from NewHappyRabbit/map-randomizer
Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates.
2025-02-18 11:30:10 -08:00
Evan 01a98c03e8 add back bugfix from 2760b11 2025-02-18 09:12:32 -08:00
NewHappyRabbit 53e48ed69a Changed math.random() to nextint 2025-02-18 09:38:50 +02:00
Evan 49ff20ce9a don't lose territory if surrounded at edge of map 2025-02-17 19:58:57 -08:00
Evan 5d0e0561ca give attack bonus starting at 35k 2025-02-17 19:43:12 -08:00
Evan 6a66d0c52d load archived game if not found 2025-02-17 19:30:30 -08:00
NewHappyRabbit 2249f5207e Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates. 2025-02-17 21:32:36 +02:00
Evan 969886331c create discord login button & flow 2025-02-16 12:18:50 -08:00
NewHappyRabbit adb1b9299b Made UserSettings nullable 2025-02-16 12:18:50 -08:00
NewHappyRabbit f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -08:00
Evan d9f2b683d7 add eq for zoom, chagne meta give more bonus large players, don't throw exception when attack self 2025-02-15 14:31:18 -08:00
Evan 484fecef27 rebalance hard and impossible 2025-02-15 10:02:48 -08:00
Evan d08b984c1a rebalance: attackers lose fewer troops, difficulties change troop increase rate 2025-02-15 10:00:37 -08:00
SunnyBoyWTF 138e7f0b8d Update BotNames.ts to include Queendom
A Queendom is a kingdom ruled by a Queen and I feel like both kingdom and Queendom should be included.
2025-02-14 11:48:51 -05:00
evanpelle f48670baca Merge pull request #34 from NewHappyRabbit/main
Removed offensive bot name 'Assyrian'. Traitor 'yes/no' text capitalized
2025-02-14 08:02:38 -08:00
Evan 0d4f91a52a make h-bomb smaller, make mirv 15 million 2025-02-14 08:01:46 -08:00
Hristiyan Simeonov 59e8786f9f Merge branch 'openfrontio:main' into main 2025-02-14 14:45:57 +02:00
NewHappyRabbit e272c5e9ed Removed offensive bot name 'Assyrian'. Traitor 'yes/no' text capitalized 2025-02-14 13:57:00 +02:00
Evan 2f8a746a52 greatly reduce attack bonus for large attacks. 2025-02-13 20:34:02 -08:00
Evan b859e5417b make impossible harder 2025-02-13 15:19:54 -08:00
Evan 64d13a46bd bugfix: bots were not losing troops in attack. rebalanced difficulties. 2025-02-13 11:50:15 -08:00
Evan 0b9ab34b63 bugfix: events display reported alliance accepted even when it was actually rejected 2025-02-13 09:18:44 -08:00
Evan 421c6e7841 use tileref instead of MapPos for UnitUpdate 2025-02-12 16:22:02 -08:00
Evan 5c85ac36fc rebalance nukes 2025-02-12 14:25:31 -08:00
Evan cc1291153c make max pop 100 million on creative so it fits in the UI panel 2025-02-12 12:42:30 -08:00
Evan 646806d132 remove old units in GameView to prevent memory leak 2025-02-12 12:35:10 -08:00
Evan 3639997f05 make bot names gray instead of bot emoji 2025-02-12 11:29:49 -08:00
Evan a8c04f11ee bugfix: emoji button to send to all players always active, shorten emoji cooldown 2025-02-12 10:24:32 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
evanpelle a30079ac94 Merge pull request #27 from NewHappyRabbit/main
Fixed countries.json. Fixed flag container overflowing.
2025-02-12 08:22:52 -08:00
NewHappyRabbit de01f322ac Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO 2025-02-12 16:51:39 +02:00
NewHappyRabbit 2cceacea4f Fixed: Creative mode no longer applies to bots and npcs 2025-02-12 16:46:04 +02:00
RealJosephStalin d6dce787c0 allow emojis in safestring 2025-02-12 02:55:12 -05:00
Evan 38ecbb9b87 give attack bonus to larger territories to speed up the end game 2025-02-11 20:53:31 -08:00
Evan c7847e4e44 update atack meta: don't give such large bonus for large attacks 2025-02-11 20:38:26 -08:00
Evan f7075f2f75 give humans more vibrant colors 2025-02-11 17:06:07 -08:00
NewHappyRabbit 1f1a07113c Fixed creative mode not working in private lobby 2025-02-12 02:21:46 +02:00
NewHappyRabbit 7fcbaa8584 Added creative mode. Everything costs 0 gold, builds instantly and you start with 100k population 2025-02-12 00:15:30 +02:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
Evan 78dddaf610 pass attacks from worker thread to main thread 2025-02-11 10:32:32 -08:00
Evan 6f02bd250e refactor: have players store attacks 2025-02-11 10:16:08 -08:00
Evan 81a83706c7 rebalance difficulties: adjust max pop on difficulties 2025-02-11 08:29:08 -08:00
evanpelle 3ced661e2c Merge pull request #15 from NewHappyRabbit/main
Added checkboxes to disable Bots and NPCs for single player and private lobbies
2025-02-11 08:28:24 -08:00
Evan 150887d593 rebalance MIRV 2025-02-10 19:59:37 -08:00
Evan df8fc4208e make hydrogen bomb slighly smaller 2025-02-10 18:01:34 -08:00
NewHappyRabbit 684b0bb2e0 Added checkboxes to disable Bots and NPCs for single player and private lobbies 2025-02-11 03:29:56 +02:00
Evan 9349d9b8ae bugfix: deduct gold from player when start construction 2025-02-10 11:08:35 -08:00