Skip to content

Releases: triplea-game/triplea

2024-July-25 - 2.7.14820

25 Jul 00:52
1ccdf80
Compare
Choose a tag to compare
Pre-release
Startup behavior: Simplify extraction algorithm (#12767)

When handling '.zip' files in the 'downloadedMaps' folder on startup,
update extraction algorithm to be:
- If "extraction target" does not exist, then proceed with extraction
- If extraction target exists & is game-headed, then no-op
- If extraction target exists & is game-headless, then delete extraction
  target, and then proceed with extraction.

We also simplify extraction, we can rename the temp folder and/or delete
it more simply.

2024-July-24 - 2.7.14819

24 Jul 23:30
2417e5f
Compare
Choose a tag to compare
Pre-release
Startup behavior: Map extraction enhancements (#12766)

Changes behavior of the system when zipped map files are encountered on startup.

For context, current system will:
- see zip folder in downloaded maps folders
- create a temp folder in the downloaded maps folder
- extracts the zip file to the new temp folder
- creates the target map folder and moves all extracted files to that folder
- deletes the zip file

Changes:
- zip file is now extracted to a temporary folder in the systems temporary folder.
This way if the process fails later on, the temp files will not be seen as potential maps
(which can create duplicates). Additionally, any such files will now be automatically
cleaned up, the system temp folder is usually emptied on system reboot.

- smarter attempt to move zip files to a 'bad-zip' folder. Only attempt to do so if
the 'bad-zip' still exists

- cleanup temporary folder where map files are extracted. The folder was not being deleted
in a successful extraction case.

2024-July-24 - 2.7.14818

24 Jul 22:39
494ca21
Compare
Choose a tag to compare
Pre-release
Bot docker: create folder where saved files are saved. (#12765)

2024-July-24 - 2.7.14817

24 Jul 22:28
31479d3
Compare
Choose a tag to compare
Pre-release
Automatic Bot Moderators (#12758)

Updates to give the host of a network game 'mod' powers. If the game is a bot, then also give the 'oldest' player 'mod' powers.

Mod powers allow:

    disconnect players
    ban players (effective until restart of bot)

The bot case is interesting since the 'oldest' player can change. For example, two players enter a bot (to the staging screen), first is mod & then leaves. Now the second player needs to become moderator.

To achieve this we add a "moderator promoted" message which is sent by the server to inform players of the new moderator.

2024-July-24 - 2.7.14816

24 Jul 22:25
09fa340
Compare
Choose a tag to compare
Pre-release
Bot docker: create & run as 'bot' user with UID 999 (#12764)

OS users will need to be set up to match so that file
permissions will line up.

2024-July-24 - 2.7.14815

24 Jul 21:30
2d23af8
Compare
Choose a tag to compare
Pre-release
Bot docker: Parameterize port number (#12763)

2024-July-24 - 2.7.14814

24 Jul 17:06
e73fdec
Compare
Choose a tag to compare
Pre-release
Revert "Issues 12447 (Standardized Sorting of UnitCategory) (#12722)"…

… (#12762)

This reverts commit ab48e6be252b25b8b45eaf41757b744b4a588f5e.

2024-July-24 - 2.7.14813

24 Jul 05:11
49c6cbd
Compare
Choose a tag to compare
Pre-release
Bot Docker: how-to-run steps & parameterize Dockerfile (#12761)

2024-July-24 - 2.7.14812

24 Jul 05:11
791b06a
Compare
Choose a tag to compare
Pre-release
Map extract fix: add replace flag to overwrite bad zips (#12760)

If a bad map is downloaded and can't be extracted, it is moved
into the 'bad zips' folder. If the same map is redownloaded,
then we have a failure moving the bad zip because the target
folder already exists.

This is a patch to replace the bad zip if it already exists.

2024-July-23 - 2.7.14809

23 Jul 19:18
aad9b09
Compare
Choose a tag to compare
Pre-release
Bump version to 2.7 & Bot/Host Updates (#12753)

(1) Update game selection on staging screen. This introduces incompatibility
with bots, hence game version number is bumped to 2.7. Game selection updates
removes the options to "change to autosave odd" etc in favor of the save
game list available in the game selection list. The former autosave selections
are hopelessly broken since they assumed that the autosave file did not contain
the bot name. That was now fixed, thereby invalidating that autosave functionality.

(2) Favor strict use of system properties instead of CLI args. The old mechanism
parsed CLI args and then set each one in turn as a system property. We can just
use system properties directly to begin with and avoid the parsing & translation
layer.

(3) Add config to run bots with docker

(4) Update README instructions to be current for the variety of ways to run
a bot.