Skip to content

OpenDawngateServer v0.22

Choose a tag to compare

@Aisoga Aisoga released this 17 Nov 10:09
· 2 commits to main since this release

OpenDawngateServer v0.22, built by this repository's build workflow from commit df3b762.

  • v0.22.zip: Windows 10/11 64-bit. Start-Server.exe runs a server, Start-Client.exe plays. Put your own Dawngate.zip (archive.org) next to Start-Server.exe; the release contains no game file. See README.txt in the zip.
  • v0.22-linux.tar.gz: the same server for a 64-bit Linux machine (start-server, its match hosts under Wine).
  • Players and servers play together only on the same release: update both to this one.
  • The Windows programs are signed with the maintainer's Certum Open Source Code Signing certificate (Code signing policy).
  • BUILD.txt in each archive names the commit it was built from (the source, AGPL-3.0).

Maps with their own rules

  • A map can bring its own rules: a kill race (the first team to so many kills wins), a Binding race (the first team to destroy so many enemy Bindings), a time limit (then the team with more kills wins, in a Binding race the one that destroyed more Bindings, then more kills; a tie goes to sudden death: the next kill or Binding wins), everyone starting at a higher level (bots too), Bindings that come back after a while, and its own respawn times, minion waves, gold, XP, wells and surrender time. Destroying the Guardian and surrendering always still end the match.
  • You see them before you join: the game browser puts the rules in front of the game's name (such as [Race 20], [15 min] or [Bind 3]), and the lobby shows a Map: line under MATCH RULES.
  • In the match: about 10 seconds in, the chat's System lines give every number (a long list now comes as up to three lines instead of being cut). Alerts tell the race's milestones, the lead, the time left and "Sudden death!"; Bindings that come back count down to their return.
  • After the match: the website and Discord say how the game was won ("won the kill race 20-17", "won the Binding race 1-0", "won in sudden death").
  • Rating: a game whose way to win was changed (by the map or by the lobby) is unrated and doesn't count for the leaderboard; it stays in the match history. A map that only changes the balance (respawn, gold, waves...) stays rated.

The lobby's Win condition

  • Custom rules have a fifth category, Win condition: Guardian only (the default), Kill race 10, Kill race 20, Kill race 30, Most kills after 15 min, Race 20 or 20 min, First Binding, First to 3 Bindings. It works on every map without its own way to win, the classic Dawngate map included; on a map with its own, the category stays Guardian only and says why.
  • A map can also suggest the rules its lobbies start with; the lobby's creator can still change them.

Custom games with ten players

  • Ten-player custom games no longer hang at START. If a start's player data is ever too large for the match host, START is refused with a message and the lobby stays open; and if the match host doesn't confirm a start within 30 seconds, everyone goes back to the main menu instead of waiting forever.

Making maps

  • Map editor 0.3.0 goes with this release: Map > Rules... sets a map's rules with presets (Brawl, Kill Race, Gold Rush, Siege, Late Game Now...), plain fields and previews. Update Start-Client and the editor together: v0.22 only takes the editor 0.3.0, and the editor 0.3.0 only runs with v0.22. https://github.com/Aisoga/OpenDawngateMapEditor/releases/tag/v0.3.0

For server hosts

  • Back up the database before the update: stop the server and copy Dawngate-Data\data\accounts.db with its -wal and -shm files (Linux: the data folder of your install). At the first start v0.22 moves the database to schema 11 (a column for a match's map rules). v0.21 refuses a schema 11 database, so going back to v0.21 needs that backup.
  • Update together with your players (the version check): stop, unpack v0.22, start. Start-Server.ini and Dawngate-Data stay. With host machines, update them too, at the same time: the match host changed (the map rules, the win conditions, the start's confirmation). The main server refuses a host machine on another version, and its region's games then play on the main server.
  • New Start-Server.ini keys (both empty by default; an ini from an earlier release works unchanged; the hosting guide's Custom games' starting rules explains them):
    • rule_presets: a file in Dawngate-Data\data (for example presets.txt) with your own named presets, one id | Name | rules a line, such as brawl | Bind Brawl | pick=random,shop=onDeath,victory=bind1. A game whose rules are exactly a preset shows in the browser as [Bind Brawl] <name>; maps may suggest a preset by its id. Bad lines are left out with a line in the log; the server starts either way. Back the file up with the database.
    • default_rules: the preset every custom game's lobby starts with (standard, draft, aram, allRandom or one of yours), unless its map suggests another.
    • The same as dgserver flags: --rule-presets, --default-rules.
  • Maps with rules: a map package's rules block needs v0.22 to load; v0.21 refuses such a map.json.
  • The control channel between the server and its match hosts now takes lines up to 1 MiB; the server's log says no answer to startGame within 30s when a host didn't confirm a start (the host's log is in Dawngate-Data\logs\hosts\<match>\dgsim.log).
  • Signed like v0.21: Start-Client.exe, Start-Server.exe and host\dgsim.dll.