Commit Graph
100 Commits
Author SHA1 Message Date
evanpelle 5273450526 reduce traitor debuff 2025-07-23 17:01:35 -07:00
evanpelle b4d4c03eb6 update CLA to link to gist 2025-07-22 10:07:26 -07:00
evanpelle 49e1281e18 pass in otel secrets in github deploy workflow 2025-07-21 16:40:10 -07:00
evanpelle 259b73e58d fix build menu not showing correct # units 2025-07-18 08:51:57 -07:00
evanpelle fab1f265cb fix build menu shortcut 2025-07-13 13:08:49 -07:00
evanpelle f0c37ec9c5 bugfix: ColorAllocator not copying fallbackColors causing it to be empty, causing npes 2025-06-10 14:43:37 -07:00
evanpelle 02f7caef88 format code with prettier 2025-06-06 12:45:53 -07:00
evanpelle fe293af735 removed unused import to fix prettier error 2025-06-05 10:01:01 -07:00
evanpelle 270244c835 ensure that player records maintain the same order as in start info, this caused replay issues, as players were assigned to the wrong team 2025-06-03 17:35:00 -07:00
evanpelle 4eff20b502 bugfix: checking is socket was null broke hash verification on replay 2025-06-03 17:34:19 -07:00
evanpelle f5a561398c page.redirect was not a function, causing the url not to redirect. als remove the # check so we are no longer serving ads 2025-06-03 16:37:19 -07:00
evanpelle 27ab2210f9 bugfix: ships in alternate view have incorrect color due to bad sprite caching, cached as [Object], not color string 2025-06-02 17:04:29 -07:00
evanpelle 33f7415d2c fix build errors due to bad merge 2025-06-02 14:17:55 -07:00
evanpelle df0d99e212 cap tradeShipSpawnRate at 50, 7740909 removed cap, reducing trade too much 2025-06-02 12:39:37 -07:00
evanpelle ca0a848f9f show news button 2025-05-29 19:44:53 -07:00
evanpelle be2e64c85c put meta changes in news modal 2025-05-29 19:18:34 -07:00
evanpelle 682918732a remove ads.txt 2025-05-29 17:19:55 -07:00
evanpelle 5b42e746a0 generate unique env file for each deployment to prevent conflicts 2025-05-29 17:14:53 -07:00
evanpelle 5e7bfb2708 add steam wishlist link on win modal 2025-05-29 11:33:42 -07:00
evanpelle 535df61ffd add robots.txt 2025-05-29 11:07:04 -07:00
evanpelle 24183412f9 add advertisement on site link 2025-05-29 09:52:51 -07:00
evanpelle 46252176d8 update privacy policy for playwire ads 2025-05-29 09:34:27 -07:00
evanpelle 5446620788 fix null vs undefined trade ship check 2025-05-28 11:40:37 -07:00
evanpelle 1548d0a76f fix zod validation on units due to malformed array 2025-05-27 18:30:08 -07:00
evanpelle 85006e9375 Fix game failing to archive bug, players move to info object, and archiveFullGameToR2 was not updated 2025-05-27 11:43:43 -07:00
evanpelle 385161ca1d rename in-game add to openfront-io_300x250_game 2025-05-23 13:51:47 -07:00
evanpelle 90d7625a9f do not allow attacking same team 2025-05-23 11:29:28 -07:00
evanpelle b4c0a5b0d2 bugfix: pressing lobby button causes player to attempt to join invalid game 2025-05-19 18:35:36 -07:00
evanpelle d9b4ffa141 update gatekeeper commit 2025-05-19 16:36:41 -07:00
evanpelle 2f6619edbc update gatekeeper 2025-05-19 16:30:25 -07:00
evanpelle d7e7df1df6 Revert "enable otel logs and metrics for staging environments"
This reverts commit c1fe956f4e.
2025-05-19 16:10:37 -07:00
evanpelle bcf7a238c9 have master remove game id if it fails to fetch game from worker 2025-05-19 16:10:09 -07:00
evanpelle c1fe956f4e enable otel logs and metrics for staging environments 2025-05-18 19:58:09 -07:00
evanpelle 0cd32c807a don't, make a copy of input array, instead shuffle it in PseudoRandom.shuffleArray 2025-05-18 14:04:25 -07:00
evanpelle 2f091bf24b reduce log spam during test: use debug logging for map generation, disable debug logging for unit tests 2025-05-17 18:32:22 -07:00
evanpelle 0871c08858 update version 2025-05-17 08:23:27 -07:00
evanpelle 1a0b3dbe88 LocalServer: call endGame on replay when all turns have been executed 2025-05-17 08:20:02 -07:00
evanpelle 4cba9ae573 bugfix: when warship searches for patrol tile, fallback to allowing a shore tile. Return undefined to prevent unreachable code exception. 2025-05-17 08:19:53 -07:00
evanpelle 86ce96fff5 update gatekeeper submodule ref 2025-05-16 10:00:58 -07:00
evanpelle 99a5d5b8d7 use prod env for deployment to openfront.io 2025-05-15 15:17:51 -07:00
evanpelle 8b91fac717 bugfix: numWorkers() is called by the client, which does not have access to env variables, causing 'ReferenceError: process is not defined'. Long term solution, the client should not need to know how many workers there are. 2025-05-15 10:47:38 -07:00
evanpelle 005f0ddd03 have nginx support up to 40 workers 2025-05-14 15:47:27 -07:00
evan 36759eaa87 remove tournament advert from win/lose modal 2025-05-12 21:03:20 -07:00
evan cb864f6fe9 on error makes sure to return status with json body, otherwise the request hangs 2025-05-12 20:43:31 -07:00
evan 8ed7b9eb52 increase number of worker in prod config 6=>20 2025-05-12 17:45:39 -07:00
evan 0fa751fc0a deploy.sh: replace us with nbg1 2025-05-12 17:30:25 -07:00
evan 6711dbfbf7 move privacy button to the top right 2025-05-11 21:44:45 -07:00
evan 95919d2392 add addinplay ads 2025-05-11 21:40:40 -07:00
evan 1aede67f8c remove SERVER_HOST_US from deploy because server has been turned down 2025-05-11 20:38:58 -07:00
evan 824ca2e07e fix: resolve RNG overflow issues that caused poor distributions (and possibly desyncs) by implementing XorShift algorithmRetryClaude can make mistakes. Please double-check responses. 2025-05-09 20:46:48 -07:00
evan 7f6068ebbe anonymize ips 2025-05-09 14:40:52 -07:00
evan c5152f035f add endpoint to kick players from a game given admin token, game id & client id 2025-05-09 13:00:39 -07:00
evan c58ac10835 add news button for update release notes 2025-05-08 13:15:01 -07:00
evan b3c59da29d validate persistent id on client reconnect, validate client message ClientID and intent ClientID match to prevent spoofing 2025-05-06 19:44:18 -07:00
evan d49272e17e teammode: bots can attack each other now to prevent them from ganging up on players 2025-05-06 09:52:13 -07:00
evan c97eca0ed2 double the player count of team games (max 150), and do 3:1 ffa:team ratio 2025-05-05 11:23:29 -07:00
evan cea6e0bc11 update & refactor MapPlaylist: remove big/small map distinction, ensure no map is repeated within 5 rounds, update how map is shuffled 2025-05-05 10:55:53 -07:00
evan 2e9c393744 add server debug for vscode 2025-05-05 10:55:53 -07:00
evan ef7b7aed7c move dependencies into 'dependencies' layer to speed up build time 2025-05-04 13:45:20 -07:00
evan ee5b7fa1b8 add commit.txt to check commit server was built at 2025-05-04 12:12:39 -07:00
evan f6fdbc8374 put link to development & translation discord in README 2025-05-04 11:51:12 -07:00
evan 1f474a368c add footer link to privacy policy and terms of service 2025-05-02 19:43:49 -07:00
evan 813bdac701 remove upload.sh, no longer used 2025-05-02 19:24:49 -07:00
evan ec43d6519c use timestamp for image tag, remove volume mounts when starting container 2025-05-02 19:24:07 -07:00
evan d5a5fb1aa7 remove notify PR step because it is causing workflow to fail 2025-05-02 15:04:11 -07:00
evan 8bdda67b2a disable remote logging and metrics on dev & staging to reduce load on monitoring stack 2025-05-02 12:53:48 -07:00
evan 8c20e1f690 remove master metrics, we'll be using node exporter instead for system info 2025-05-02 12:25:55 -07:00
evan 7b31cd6223 add node exporter and otel collector in setup 2025-05-02 12:22:26 -07:00
evan 0dd762e3a8 change worker metrics to guage 2025-05-02 08:45:52 -07:00
evan e19e08d542 type: Sierra Leone in Africa.json 2025-05-02 08:02:24 -07:00
evan d24a3ddcec don't allow building units during spawn phase 2025-05-02 08:01:15 -07:00
evan e849cbd091 add deployment option to enable basic auth 2025-05-01 12:59:01 -07:00
evan 2476f3e84b add deployment for masters 2025-05-01 11:48:01 -07:00
evan 2bef39408c add otel secrets to github deployment 2025-05-01 11:10:48 -07:00
evan 4852ada7f3 show team in player overlay panel 2025-04-30 14:39:06 -07:00
evan 491ad109da in spawn phase highligh player as green if on the same team 2025-04-30 14:09:51 -07:00
evan 997bdca02a remove docker login as the repo is public 2025-04-30 10:57:06 -07:00
evan 41f5faf34c re-enable donation in ffa 2025-04-29 19:28:21 -07:00
evan 3e5a1eacdb add ssh-keyscan to github deploy workflow 2025-04-29 14:10:51 -07:00
evan 84b5545c5b remove DiscordBot.ts, since this will be handled in a seperate service 2025-04-29 09:58:59 -07:00
evan 03429d6d93 add privacy policy and terms of service 2025-04-29 09:48:05 -07:00
evan a36fdcaaed re-enable stacking 2025-04-28 15:18:50 -07:00
evan 910480cc71 use HOSTNAME for job name to prevent conflict 2025-04-28 13:01:09 -07:00
evan 09e95ebdf9 increase UDP buffer sizes to fix cloudflare tunnel issues 2025-04-28 10:48:39 -07:00
evan 94e828e408 use environment variable to store R2_BUCKET 2025-04-28 09:54:04 -07:00
evan 8e8df5c308 bugfix: make sure not to add TerraNullius as enemy in BotBehavior as the causes a crash when checking isFriendly 2025-04-28 09:53:07 -07:00
evan eed489a551 bugfix: make sure to add teams before assigning players, this caused all team games to have only two teams 2025-04-27 20:39:24 -07:00
evan 8e30227204 disable defense post shooting ships for now 2025-04-26 09:49:30 -07:00
evan a509bc3b82 reduce structureMinDist to 12, allow for some overlap 2025-04-26 09:43:42 -07:00
evan de70321c4b bugfix: remove unit before updating tile in UnitImpl.move(). This is because if a unit moves too fast or on border, UnitGrid will not find the existing unit, causing duplicate units 2025-04-26 09:35:47 -07:00
evan 8b37cccbc3 cleanup SAMLauncher execution, warheadTargers & target local variable instead of field 2025-04-26 09:31:17 -07:00
evan 386e1916a3 update discord link 2025-04-24 14:18:47 -07:00
evan bbe8ec4cde bfs bugfix: add the original tile to seen. this was causing single surrounded tiles to not get conquered 2025-04-24 13:47:51 -07:00
evan 3c586455a8 disable defense under name until new meta is live 2025-04-24 13:14:30 -07:00
evan 84b58b9929 revert meta back to v21 2025-04-24 13:11:33 -07:00
evan ea323f919e increase traitor duration 15s => 30s 2025-04-24 12:58:57 -07:00
evan 4899c3383f remove transport ship embark delay 2025-04-24 12:45:47 -07:00
evan ff535820c5 bugfix: don't show build icon in radial during spawn phase, bugfix: log warning and hide playerpanel if tile not owned by player 2025-04-24 12:40:51 -07:00
evan 7a944e670a disable multitab detector on DEV environment 2025-04-24 12:15:47 -07:00
evan 9428ac1a28 add back old europe map as Europe Classic 2025-04-24 08:56:36 -07:00