Commit Graph

  • 3f2b0820d9 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog scamiv 2025-11-24 20:15:40 +01:00
  • 93647399c1 Refactor slice budget calculation in ClientGameRunner to improve backlog handling. Introduced dynamic slice budget scaling based on backlog size, allowing for longer processing times when necessary while maintaining UI responsiveness. scamiv 2025-11-24 19:59:10 +01:00
  • 9b125c8cfe Bugfix: nation strength undefined in only place it is used (#2498) VariableVince 2025-11-24 19:30:18 +01:00
  • 049485cd39 Fix: Correct percentage (%) placement in Persian UI (RTL handling) (#2501) NOBODY 2025-11-24 21:59:08 +03:30
  • a5cdd23c00 feat: added retaliate button (#2426) Rj Manhas 2025-11-24 10:34:04 -07:00
  • 9fda9bfd40 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog scamiv 2025-11-24 17:44:38 +01:00
  • 9d63fcabe9 Implemented time-sliced catch-up on the main thread to keep input responsive. src/client/ClientGameRunner.ts now drains pending game updates in small chunks (max 100 updates or ~8ms per slice) via requestAnimationFrame, merging and rendering per slice, and only clears the processing flag when the queue is empty. scamiv 2025-11-24 17:40:11 +01:00
  • 77e4a19344 Merge pull request #2507 from scamiv/catchUpMode scamiv 2025-11-24 15:28:27 +01:00
  • 8508baee84 Clean up previous implementations scamiv 2025-11-24 15:01:17 +01:00
  • ec9c859add feat(ping): improve ping system and fix rendering issues Restart2008 2025-11-24 01:15:13 -08:00
  • d88a6ba887 remove human vs nation from public game playlist v0.27.1 evanpelle 2025-11-23 12:38:50 -08:00
  • b458d00157 Worker now self-clocks; no heartbeats needed scamiv 2025-11-23 21:03:22 +01:00
  • ddbd2d7b40 frameskip scamiv 2025-11-23 21:02:22 +01:00
  • f8ce8d71c0 Batch worker updates in client catch-up mode to reduce render cost scamiv 2025-11-23 19:28:34 +01:00
  • 91a88e27e1 remove timeout evan-opl evanpelle 2025-11-23 08:12:41 -08:00
  • d2a9506605 Add client catch-up mode scamiv 2025-11-23 14:07:12 +01:00
  • 647b22c55e feat: Add temporary console logs for ping debugging Restart2008 2025-11-22 15:20:07 -08:00
  • 4225f6a2d9 feat(debug): add console logs to EventBus Restart2008 2025-11-22 14:58:23 -08:00
  • 94ef89375b refactor(FxLayer): simplify ping event subscription Restart2008 2025-11-22 14:45:42 -08:00
  • 12498ab762 feat(debug): add console logs to FxLayer Restart2008 2025-11-22 14:33:17 -08:00
  • bc49debfa1 fix(ping): resolve ping type undefined issue and remove preview layer Restart2008 2025-11-22 14:17:19 -08:00
  • 8e8e240af9 feat(ping): add debug logs and fix ping feature Restart2008 2025-11-22 13:46:18 -08:00
  • 3c3af58155 tweaked values again trains-borders scamiv 2025-11-22 22:33:06 +01:00
  • 0ac881fb3a fix: resolve various build errors Restart2008 2025-11-22 13:32:02 -08:00
  • fd24755606 fix(ping): use string literals for PingType and fix parsing errors Restart2008 2025-11-22 13:17:27 -08:00
  • 1907c61fb4 Adjust train gold refill time and modify fare calculation logic scamiv 2025-11-22 22:14:25 +01:00
  • ed67c0647d if cluster no longer contains the destination, invalidate this train immediately scamiv 2025-11-22 21:50:30 +01:00
  • d5d5588d09 reduce routing table max distance scamiv 2025-11-22 21:30:33 +01:00
  • 34e511deb3 reduce train max hops scamiv 2025-11-22 21:28:26 +01:00
  • 5fbdea3c39 Show enzo tutorial video on death screen if played less than 3 games v0.27.0 evanpelle 2025-11-22 12:23:33 -08:00
  • 38abed125d experiment: distribute part of track profits scamiv 2025-11-22 21:20:23 +01:00
  • 21c9594788 Refactor recency penalty and profit estimation in TrainStation scamiv 2025-11-22 20:45:39 +01:00
  • ad5d5eecd0 tweaked profits scamiv 2025-11-22 20:27:22 +01:00
  • 3e69bbfc4f integrate the previous merges properly with pathing scamiv 2025-11-22 19:39:31 +01:00
  • 1a996c5ea1 reduce CONGESTION_EMA_ALPHA scamiv 2025-11-22 19:21:20 +01:00
  • eee3c5aad3 toggle TerritoryWebGLStatus with TogglePerformanceOverlayEvent scamiv 2025-11-22 18:30:27 +01:00
  • a769a1be20 Merge branch 'feature/train-station-demand' into trains-borders scamiv 2025-11-22 17:35:04 +01:00
  • a442deae0b Refactor Railroad and TrainStation classes to improve railroad management scamiv 2025-11-21 21:49:41 +01:00
  • 160c8b2e94 Color railroad segments based on cost and add changes required for that scamiv 2025-11-21 18:29:03 +01:00
  • 5d87c2189c Enhance train count management and congestion tracking in Railroad scamiv 2025-11-21 18:56:51 +01:00
  • e6736e4698 Simplify fare calculation logic by separating length and congestion components for better clarity. scamiv 2025-11-21 18:30:20 +01:00
  • 66af4715b1 sett the origin of player.addGold to center tile of railroad remove message from message window scamiv 2025-11-21 18:00:50 +01:00
  • 3e744d62ed FXLayer also show messages for negative income in onBonusEvent scamiv 2025-11-21 17:56:43 +01:00
  • 2d2d0e8b5a Add dynamic railroad fares based on segment length and congestion scamiv 2025-11-21 16:19:14 +01:00
  • 1f1e0341cf Add TerserPlugin to preserve layer class names in production builds scamiv 2025-11-20 22:43:05 +01:00
  • c3796acd9b Also listen to ContextMenuEvent for hoverHighlight scamiv 2025-11-19 20:40:16 +01:00
  • c3ff69df04 fffff scamiv 2025-11-19 01:31:22 +01:00
  • de085076c4 again scamiv 2025-11-19 01:30:47 +01:00
  • ba77ca9468 Updated tests/core/game/RailNetwork.test.ts station mock to include onStationRemoved, matching the production API. Expanded tests/core/game/TrainStation.test.ts mocks: added game.x/y, ensured trainExecution.shareJourneyInfo() returns the expected structure, and gave the otherUnit mock a tile() for parity with real units. scamiv 2025-11-18 21:32:20 +01:00
  • 1528a91154 Fix arrival vs. termination handling to avoid wrong stats and double counting scamiv 2025-11-18 19:39:48 +01:00
  • 27f2c7b7a3 Enhance train routing logic and memory management - Added search radius - Updated several properties in TrainStation class to be readonly for better immutability and clarity. - Introduced heat decay interval and factor for more flexible heat management. - pre-computed decay factors avoiding Math.pow in critical paths. - Enhance logging - Refined routing logic - removed journeyPreviousStation property - removed RecentArrivals - unbounded StationTraffic.heat -> score can now be negative scamiv 2025-11-18 15:08:26 +01:00
  • 73826e0a5d removed journey source and replaced it with recent stations during journey transmission, journeySource wasnt loop proof scamiv 2025-11-18 14:02:14 +01:00
  • 56b7f7aa7b feat: Implement local train routing with discovery and greedy path selection scamiv 2025-11-18 12:31:40 +01:00
  • 40b0fe990a TrainStationMapAdapter.cost(node) uses node.getPassengerDemandScore() so higher passenger demand and level → slightly lower traversal cost: const demand = node.getPassengerDemandScore(); return 1 / (1 + 0.25 * demand); scamiv 2025-11-22 17:10:07 +01:00
  • 477704d768 add station passenger demand and time-based payouts scamiv 2025-11-22 17:07:16 +01:00
  • e41bf06982 Revert "Halloween Event (#2285)" evanpelle 2025-11-04 09:26:48 -08:00
  • 6eb696d21d fix: resolve parsing errors in FxLayer and RadialMenuElements Restart2008 2025-11-21 21:48:03 -08:00
  • 9ae7260a23 fix(FxLayer): correct syntax error in init method Restart2008 2025-11-21 21:06:05 -08:00
  • 53f9c02e84 feat(ping): add Ping.ts with PingType and PingPlacedEvent definitions Restart2008 2025-11-21 20:59:35 -08:00
  • c712ca9f65 fix(tests): update InputHandler.test.ts to match new constructor Restart2008 2025-11-21 20:46:28 -08:00
  • 2157bfc5bc feat: Add ping feature Restart2008 2025-11-21 20:39:36 -08:00
  • 930a79e31c Merge branch 'v27' evanpelle 2025-11-21 20:22:40 -08:00
  • 0b651b6941 Update copyright notice & footer (#2496) Evan 2025-11-21 20:22:17 -08:00
  • 4d46852e2b opl version evanpelle 2025-11-21 14:44:11 -08:00
  • e946f71ab3 Shorten long Nation names to fix failing tests evanpelle 2025-11-20 19:58:14 -08:00
  • df91a70355 Bugfix: transport ships were not working on compact-maps because the shore & water was not processed on the downscaled map binaries evanpelle 2025-11-20 19:21:48 -08:00
  • 689efe8d6a Bugfix: Kick player in private lobby not working evanpelle 2025-11-21 14:06:31 -08:00
  • 33810e41c5 Optimize edge lookup railnetwork (#2493) scamiv 2025-11-21 23:33:08 +01:00
  • 024285389a Implement donation troops/gold between human players after forming an alliance (#2450) Loacky 2025-11-21 23:25:41 +01:00
  • 37996e1969 Shorten long Nation names to fix failing tests opl evanpelle 2025-11-20 19:58:14 -08:00
  • 4ab975f508 Bugfix: transport ships were not working on compact-maps because the shore & water was not processed on the downscaled map binaries evanpelle 2025-11-20 19:21:48 -08:00
  • 92372b770b Merge branch 'v26' into v27 v0.27.0-beta7 v0.27.0-beta6 evanpelle 2025-11-21 14:08:43 -08:00
  • 7d7ef40ae4 Merge branch 'v26' evanpelle 2025-11-21 14:08:27 -08:00
  • 44920f030b Bugfix: Kick player in private lobby not working v26 evanpelle 2025-11-21 14:06:31 -08:00
  • b0e6661c97 mls (v4.9) (#2487) Aotumuri 2025-11-22 04:51:14 +09:00
  • 26b965468f Only open news modal if the user has seen an existing version. This prevents brand new players from seeing the news popup. Move NewsButton into NewsModal.ts Refactor & simplify NewsButton v0.27.0-beta5 v0.27.0-beta4 v0.27.0-beta3 evanpelle 2025-11-21 10:57:07 -08:00
  • 3f0d4f94a5 fixing codeRabbit issues animation_pings Restart2008 2025-11-20 23:35:30 -08:00
  • 162773a79b feat: Implement visual on-map pinging system Restart2008 2025-11-20 23:14:19 -08:00
  • c619129b3f Revert "feat: Update ExclamationMarkIcon.svg for WatchOut ping" Restart2008 2025-11-20 23:11:14 -08:00
  • c05b99fdb6 feat: Update ExclamationMarkIcon.svg for WatchOut ping Restart2008 2025-11-20 22:54:53 -08:00
  • 9bd2b54ad7 Merge branch 'v27' evanpelle 2025-11-20 20:11:56 -08:00
  • a1640a421f Shorten long Nation names to fix failing tests evanpelle 2025-11-20 19:58:14 -08:00
  • c5b1bca6c6 fix z-index of homepage modals & buttons so modals always appear above the buttons evanpelle 2025-11-20 19:35:07 -08:00
  • c60b0bcb2b Bugfix: transport ships were not working on compact-maps because the shore & water was not processed on the downscaled map binaries evanpelle 2025-11-20 19:21:48 -08:00
  • cf7e658d3d Remove yenisei because there is no source in map-generate/assets so the map cannot be rebuilt evanpelle 2025-11-20 19:18:37 -08:00
  • f4a7788cdf Change wiki site from miraheze to openfront.wiki (#2483) Lavodan 2025-11-21 01:34:29 +01:00
  • 9287d0323d bugfix: emoji table was too small on firefox evanpelle 2025-11-20 16:49:45 -08:00
  • 8f04a60b89 Change wiki site from miraheze to openfront.wiki (#2483) Lavodan 2025-11-21 01:34:29 +01:00
  • 03d51281af Merge branch 'main' into 2393-show-boat-troops-as-attacking-troops 2393-show-boat-troops-as-attacking-troops Rj Manhas 2025-11-19 21:27:22 -07:00
  • 83710c809e stopped guessing Rj Manhas 2025-11-19 21:26:37 -07:00
  • 2a3a56b0c7 Bump glob from 10.4.5 to 10.5.0 in the npm_and_yarn group across 1 directory (#2481) dependabot[bot] 2025-11-19 19:33:48 -08:00
  • 46bbc8f296 New Map! "Four Islands" 🏝️ (#2482) FloPinguin 2025-11-20 04:33:05 +01:00
  • 4463236e8b Lobby Team Preview UI (#2444) Abdallah Bahrawi 2025-11-20 05:27:41 +02:00
  • 599342995c fix(2388): troop penalty applied to boat retreat (#2389) v0.27.0-beta2 unique-coder-124 2025-11-20 07:37:48 +11:00
  • ce2b353dbe Merge branch 'v26' evanpelle 2025-11-19 12:33:01 -08:00
  • dcf5d1b103 Fading handshake (#2474) Hauke12345 2025-11-19 22:32:01 +02:00
  • 9840306753 fix translation for humans vs nations in public lobby v0.27.0-beta1 evanpelle 2025-11-19 12:12:29 -08:00
  • bc5a1606ab Also listen to ContextMenuEvent for hoverHighlight scamiv 2025-11-19 20:40:16 +01:00
  • 807151b723 Revert "Improve random spawn (#2465)" evanpelle 2025-11-19 10:58:49 -08:00
  • 0ba709c40d Create clan stats modal (#2479) Evan 2025-11-19 10:34:23 -08:00