Commit Graph

4036 Commits

Author SHA1 Message Date
evanpelle 6e8a3b6f40 fix npe in radial menu when clicked right after spawn phase, rebalance weaken attacks to make up for expanded attack bonus range from previous commit 2024-12-31 10:45:58 -08:00
evanpelle b7af94ec47 bugfix: didn't call isTraitor so NPCs treated everyone as traitor 2024-12-31 10:26:43 -08:00
Evan 0553a56c06 Increase price of atom bomb to 750k 2024-12-30 20:27:44 -08:00
Evan 309ee84246 NPCs send boats at enemies when not adjacent 2024-12-30 20:23:09 -08:00
Evan c1f78e0e3b fix NPCs sending message showing raw html 2024-12-30 14:07:22 -08:00
Evan c4061e8848 NPCs only attack target when friendly, more bonus for larger attack vs defender troops 2024-12-30 13:55:30 -08:00
Evan ba67ac9507 create error modal when game crashes 2024-12-30 13:42:39 -08:00
Evan 0693b5db65 fix ip processing bug: ip was sometimes an array 2024-12-30 13:24:09 -08:00
Evan e9d9fe1d98 make hard & impossible more difficult 2024-12-30 13:21:46 -08:00
Evan f4c98318b6 Show player relations in player info overlay 2024-12-30 09:40:16 -08:00
Evan a159c50160 bugfix: NPCs not reseting enemy correctly, don't flip off NPCs, NPCs send messages to enemy 2024-12-27 20:56:07 -08:00
Evan ac1d0c0378 Add relations, NPCs attack enemies using relation, NPCs attack targeted players 2024-12-27 16:53:56 -08:00
Evan cb75f6780c log ip address for debugging (TODO remove logging before next release) 2024-12-27 12:36:06 -08:00
Evan bb968ec6b6 always recalc name, NPCs spawn warships less frequently 2024-12-27 10:59:41 -08:00
Evan 2ceeda051d added suez canal 2024-12-27 10:21:09 -08:00
Evan c9c10ccfa8 shell does not attack friendly units 2024-12-27 10:02:00 -08:00
Evan f12fd23e2b battleship doesn't attack trade ship if destroyer nearby 2024-12-27 10:01:07 -08:00
Evan 5ea10751ea display gold on leaderboard 2024-12-27 09:39:55 -08:00
Evan 1eb6066653 NPCs send nukes 2024-12-27 09:35:50 -08:00
Evan 5fdfc98893 NPCs spawn cities 2024-12-26 20:19:11 -08:00
Evan 4afe6f4cbf make territory more opaque, space bar makes territory invisible. 2024-12-26 19:41:52 -08:00
Evan fa3b3478b7 don't delete nukes when player dies. was creating a an error because nukeexecution tried deleting inactive unit. 2024-12-26 09:56:12 -08:00
evanpelle 2771d3d432 ctrl + click brings up build menu 2024-12-25 18:45:26 -08:00
evanpelle a6f75b5f82 build menu wraps on smaller devices 2024-12-25 18:15:04 -08:00
evanpelle dbf288d2c4 hide build menu when click on map on mobile 2024-12-25 17:38:49 -08:00
evanpelle fbdf26cff8 alt-r to redraw graphics 2024-12-25 17:07:11 -08:00
evanpelle 99e5a62ba6 make leaderboard & events box smaller 2024-12-25 15:36:28 -08:00
evanpelle 8e61632b8b implement pause feature,
bugfix: server stops in the beginning if no ticks found
2024-12-25 15:19:35 -08:00
evanpelle 57cbf5c55e Refactor: Split config into Config and ServerConfig 2024-12-25 14:04:19 -08:00
evanpelle 111775a3f4 generate mini map offline and load it from binary. this reduces loading time by 30-40% 2024-12-25 11:27:36 -08:00
evanpelle 933d32e2af stop tracking TODO 2024-12-24 15:42:32 -08:00
evanpelle 44d6962b88 have private lobby show players 2024-12-24 11:47:11 -08:00
Evan db4842f938 fix nuke bug, make spawn phase longer, show trade ships in overview 2024-12-24 11:40:25 -08:00
Evan 0d0b3ad65e bump version 2024-12-23 20:03:59 -08:00
Evan d39aa245d3 rebalance troops increase & max population 2024-12-23 20:03:34 -08:00
Evan 33b3255a38 try-catch on websocket message to prevent crashing server v0.13.0 2024-12-23 11:31:17 -08:00
Evan 07f8e4dd26 update duration for warn messages 2024-12-23 10:34:19 -08:00
Evan 4e1b37d976 make NPCs less likely to build warships 2024-12-23 10:13:35 -08:00
Evan 10d70d3327 fix nuke bug, make spawn phase longer, show trade ships in overview 2024-12-22 20:27:49 -08:00
Evan 240036a07c only send errors back to server 2024-12-22 12:59:52 -08:00
Evan 23b712623d better anonymize ip function 2024-12-21 20:43:48 -08:00
Evan 65ff9cfe19 warn if tick or render takes to long 2024-12-21 20:15:52 -08:00
Evan 361b1f7d6c retry archiving to bigquery & gcs 2024-12-21 19:44:51 -08:00
Evan 44afb2361b fade in on home page to prevent html loading before css 2024-12-21 13:27:16 -08:00
Evan f1119858e0 make atom bomb cheaper 2024-12-21 13:24:56 -08:00
Evan 2e2eea82e9 make NPCs less likely build boat 2024-12-21 13:24:29 -08:00
Evan 41e9087f8b bump version to v0.13.0 2024-12-21 13:10:43 -08:00
Evan 8347190c70 highlight human spawn 2024-12-21 13:09:17 -08:00
Evan f9b323ef70 updated how to play link 2024-12-21 11:05:20 -08:00
Evan a73b7eab91 use custom ip masking instead of library 2024-12-20 21:41:17 -08:00