Skip to content

Releases: triplea-game/triplea

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)"…

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.

2024-July-23 - 2.6.14808

23 Jul 19:00
74cf57a
Compare
Choose a tag to compare
Pre-release
Game client warnings: Update warning for "found broken maps" to be si…