Skip to content
Closed

v1.12 #296

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c749fb4
Server: user data
luskaner Nov 25, 2025
a8ec0ae
Server: now game define the functionality it needs more generic with …
luskaner Nov 27, 2025
b44fd64
243 implement challenge mode arena of the gods (#318)
luskaner Dec 20, 2025
e4d0b77
Server: Implement updating user profile data (#323)
luskaner Dec 22, 2025
6928c6a
Launcher: added Server.SingleAutoSelect (and related serverSingleAuto…
luskaner Dec 22, 2025
28fd7c0
Launcher: fix host cache not being used when checked if a host was a …
luskaner Dec 22, 2025
fc9fff3
Add support for windows 7/8.X, except for goreleaser and github actio…
luskaner Dec 23, 2025
e1e8ff6
Launcher: require isolation when using an official launcher. Moved Is…
luskaner Dec 23, 2025
2257d4a
Fix pidlock trying to kill process not belonging to us and also error…
luskaner Dec 24, 2025
6badb5d
Server: fix data race in session model (#331)
luskaner Dec 24, 2025
132d86c
Launcher: fix errorCode data race (#332)
luskaner Dec 24, 2025
2854c03
Stop the program and tell the user if a existing config file cannot b…
luskaner Dec 25, 2025
bb11d32
When logging is enabled write the configuration files data (#334)
luskaner Dec 26, 2025
0a038a2
Launcher: Check game CA if certificate needs adding like with the reg…
luskaner Dec 27, 2025
34844e6
Replace os-specific debug commands with a go script and cache tasks (…
luskaner Dec 28, 2025
d894fb0
Launcher: use local viper instance, unmarshall to struct and set defa…
luskaner Dec 29, 2025
2ff9d8c
Launcher: fix sometimes not detecting the server, improved perf. by 1…
luskaner Dec 29, 2025
b1b9209
Updated .github folder
luskaner Dec 29, 2025
0c01c02
Update go 1.24 to 1.25, libraries and documentation (#343)
luskaner Dec 29, 2025
29dac62
Server: uncommented line that limited logged response to 4k
luskaner Jan 4, 2026
46999a7
Server: fixed typo
luskaner Jan 4, 2026
284436e
Fix merge issue
luskaner Jan 4, 2026
5ea71a7
Fix to remaining merge issue
luskaner Jan 4, 2026
9d37f2c
Workflow: removed missing script
luskaner Jan 4, 2026
375effc
Launcher: add advanced logging when reading a certificate from server
luskaner Jan 5, 2026
f94645b
Archive: windows now always have .zip archives and the rest .tar.gz a…
luskaner Jan 5, 2026
f85d099
Fixed README.md and viper set mistakes
luskaner Jan 6, 2026
bc59d96
Use new functionality from go 1.25
luskaner Jan 6, 2026
808c7d7
336 generate goreleaser with a custom go script (#348)
luskaner Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ assignees: luskaner

---

**ℹ️ MAKE SURE YOU HAVE READ [TROUBLESHOOTING](https://github.com/luskaner/ageLANServer/wiki/Troubleshooting) and [QA](https://github.com/luskaner/ageLANServer/wiki/Questions-and-Answers-(QA)) FIRST**.
**ℹ️ MAKE SURE YOU HAVE READ [TROUBLESHOOTING](https://github.com/luskaner/ageLANServer/wiki/Troubleshooting)
and [QA](https://github.com/luskaner/ageLANServer/wiki/Questions-and-Answers-(QA)) FIRST**.

You are expected to do a followup on any doubts or testing required to reproduce or resolve the issue.

Expand Down Expand Up @@ -41,6 +42,7 @@ Check all that apply:
- [ ] Age of Empires: Definitive Edition
- [ ] Age of Empires II: Definitive Edition
- [ ] Age of Empires III: Definitive Edition
- [ ] Age of Mythology: Retold

**Server**

Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ updates:
- package-ecosystem: "gomod" # See documentation for possible values
directories: # Location of package manifests
- "/common"
- "/battle-server-*"
- "/launcher*"
- "/server"
- "/server-genCert"
- "/tools/scripts"
- "/tools/server-replay"
schedule:
interval: "daily"
7 changes: 6 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ jobs:
go build -o build/launcher/bin/config.exe ./launcher-config
go build -o build/launcher/bin/config-admin.exe ./launcher-config-admin
go build -o build/launcher/bin/config-admin-agent.exe ./launcher-config-admin-agent

go build -o build/battle-server-manager/battle-server-manager.exe ./battle-server-manager
go build -o build/tools/server-replay.exe ./tools/server-replay
go build -o build/tools/scripts/copyBattleServerManagerResources.exe ./tools/scripts/cmd/copyBattleServerManagerResources.go
go build -o build/tools/scripts/copyLauncherResources.exe ./tools/scripts/cmd/copyLauncherResources.go
go build -o build/tools/scripts/copyServerResources.exe ./tools/scripts/cmd/copyServerResources.go
go build -o build/tools/scripts/createServerResourcesFolder.exe ./tools/scripts/cmd/createServerResourcesFolder.go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Rename go.work
shell: bash
run: |
cp go.work.example go.work

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '~1.24.0'
go-version: '1.25.5'
cache-dependency-path: |
common/go.sum
server/go.sum
Expand All @@ -35,14 +34,17 @@ jobs:
launcher-config/go.sum
launcher-config-admin/go.sum
launcher-config-admin-agent/go.sum

battle-server-manager/go.sum
- name: Generate Goreleaser config
shell: bash
run: |
go run tools/scripts/cmd/generateGoreleaserConfig.go
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
go.work
go.work.sum
.tools
.task
.env
.idea/
dist/
Expand All @@ -10,4 +12,5 @@ build/**/*
!build/launcher/
!build/launcher/.gitkeep
!build/battle-server-manager/
!build/battle-server-manager/.gitkeep
!build/battle-server-manager/.gitkeep
.goreleaser.yaml
60 changes: 42 additions & 18 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ archives:
- launcher-config-admin_full_windows_amd64
- launcher-config-admin-agent_full_windows_amd64
- battle-server-manager_full_windows_amd64
name_template: "{{ .ProjectName }}_full_{{ .RawVersion }}_win_x86-64"
name_template: "{{ .ProjectName }}_full_{{ .RawVersion }}_win10_x86-64"
files:
- src: LICENSE
dst: docs/LICENSE.txt
Expand Down Expand Up @@ -403,7 +403,7 @@ archives:
- launcher-config-admin_full_windows_arm64
- launcher-config-admin-agent_full_windows_arm64
- battle-server-manager_full_windows_arm64
name_template: "{{ .ProjectName }}_full_{{ .RawVersion }}_win_arm64"
name_template: "{{ .ProjectName }}_full_{{ .RawVersion }}_win11_arm64"
files:
- src: LICENSE
dst: docs/LICENSE.txt
Expand Down Expand Up @@ -466,7 +466,7 @@ archives:
dst: battle-server-manager/resources/config.athens.toml
- src: battle-server-manager/README.md
dst: battle-server-manager/docs/README.txt
formats: tar.xz
formats: zip
- id: all_linux
ids:
- server_64_full_linux
Expand Down Expand Up @@ -577,7 +577,7 @@ archives:
dst: battle-server-manager/resources/config.athens.toml
- src: battle-server-manager/README.md
dst: battle-server-manager/docs/README
formats: tar.xz
formats: tar.gz
- id: server_windows
ids:
- server_32_windows
Expand All @@ -588,7 +588,7 @@ archives:
- server-genCert_64_windows_arm64
name_template: >-
{{- .ProjectName }}_server_
{{- .RawVersion }}_win
{{- .RawVersion }}_win10
{{- if eq .Arch "386" }}_x86-32
{{- else if eq .Arch "amd64" }}_x86-64
{{- else if eq .Arch "arm64" }}_arm64
Expand Down Expand Up @@ -647,7 +647,7 @@ archives:
dst: docs/README
- src: server/BattleServers.md
dst: docs/BattleServers.txt
formats: tar.xz
formats: tar.gz
- id: server_linux_tar_gz
ids: [ server_32_linux, server-genCert_32_linux, server_64_x86_linux, server-genCert_64_x86_linux ]
name_template: >-
Expand Down Expand Up @@ -689,6 +689,7 @@ archives:
dst: docs/README
- src: server/BattleServers.md
dst: docs/BattleServers
formats: tar.gz
- id: server_macos
ids: [ server_64_macos, server-genCert_64_macos ]
name_template: >-
Expand Down Expand Up @@ -725,6 +726,7 @@ archives:
dst: docs/README
- src: server/BattleServers.md
dst: docs/BattleServers
formats: tar.gz
- id: launcher_windows_amd64
ids:
- launcher_windows_amd64
Expand Down Expand Up @@ -757,7 +759,7 @@ archives:
dst: start_age3.bat
- src: launcher/resources/windows/start_athens.bat
dst: start_athens.bat
name_template: "{{ .ProjectName }}_launcher_{{ .RawVersion }}_win_x86-64"
name_template: "{{ .ProjectName }}_launcher_{{ .RawVersion }}_win10_x86-64"
formats: zip
- id: launcher_windows_arm64
ids:
Expand Down Expand Up @@ -791,8 +793,8 @@ archives:
dst: start_age3.bat
- src: launcher/resources/windows/start_athens.bat
dst: start_athens.bat
name_template: "{{ .ProjectName }}_launcher_{{ .RawVersion }}_win_arm64"
formats: tar.xz
name_template: "{{ .ProjectName }}_launcher_{{ .RawVersion }}_win11_arm64"
formats: zip
- id: launcher_linux
ids:
- launcher_linux
Expand Down Expand Up @@ -839,17 +841,39 @@ archives:
{{- if eq .Arch "amd64" }}_x86-64
{{- else if eq .Arch "arm64" }}_arm64
{{- end }}
formats: tar.xz
- id: battle-server-manager_windows
formats: tar.gz
- id: battle-server-manager_windows_amd64
ids:
- battle-server-manager_windows_amd64
name_template: "{{ .ProjectName }}_battle-server-manager_{{ .RawVersion }}_win10_x86-64"
files:
- src: battle-server-manager/resources/windows/clean.bat
dst: clean.bat
- src: battle-server-manager/resources/windows/remove-all.bat
dst: remove-all.bat
- src: battle-server-manager/resources/windows/start_age1.bat
dst: start_age1.bat
- src: battle-server-manager/resources/windows/start_age2.bat
dst: start_age2.bat
- src: battle-server-manager/resources/windows/start_age3.bat
dst: start_age3.bat
- src: battle-server-manager/resources/windows/start_athens.bat
dst: start_athens.bat
- src: battle-server-manager/resources/config.game.toml
dst: resources/config.age1.toml
- src: battle-server-manager/resources/config.game.toml
dst: resources/config.age2.toml
- src: battle-server-manager/resources/config.game.toml
dst: resources/config.age3.toml
- src: battle-server-manager/resources/config.game.toml
dst: resources/config.athens.toml
- src: README.md
dst: docs/README.txt
formats: zip
- id: battle-server-manager_windows_arm64
ids:
- battle-server-manager_windows_arm64
name_template: >-
{{- .ProjectName }}_battle-server-manager_
{{- .RawVersion }}_win
{{- if eq .Arch "amd64" }}_x86-64
{{- else }}_arm64
{{- end }}
name_template: "{{ .ProjectName }}_battle-server-manager_{{ .RawVersion }}_win11_arm64"
files:
- src: battle-server-manager/resources/windows/clean.bat
dst: clean.bat
Expand Down Expand Up @@ -918,7 +942,7 @@ archives:
dst: resources/config.athens.toml
- src: README.md
dst: docs/README
formats: tar.xz
formats: tar.gz
universal_binaries:
- id: server_64_macos
name_template: 'server'
Expand Down
14 changes: 8 additions & 6 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ Copy `go.work.example` to `go.work`
### System requirements

- OS requirements correspond to the server/launcher ones. Cross-compilation works on all systems out-the-box.
- [Go 1.24](https://go.dev/dl/).
- [Git](https://git-scm.com/downloads).
- [Go 1.25](https://go.dev/dl/) or higher, except for Windows 7-8 (and equivalent) which need an unofficial fork
like [thongtech/go-legacy-win7](https://github.com/thongtech/go-legacy-win7) (recommended)
or [XTLS/go-win7](https://github.com/XTLS/go-win7).
- [Git](https://git-scm.com/downloads), with the latest supported for Windows 7/8 being v2.46.2.
- [Task](https://taskfile.dev/installation/).
- [GoReleaser](https://goreleaser.com/).

Expand All @@ -18,12 +20,12 @@ the [Go extension](https://marketplace.visualstudio.com/items?itemName=golang.go

Depending on the module you want to debug, you will need to run the corresponding task **before**:

- server: ```task debug-prepare-server```
- server: ```task debug:prepare-server```
- genCert: ```task debug:prepare-server-genCert```
- launcher: ```task debug:prepare-launcher```
- config: ```task build-config-admin-agent```
- config-admin-agent: ```task build-config-admin```
- agent: ```task build-config-all```
- config: ```task debug:build-config-admin-agent```
- config-admin-agent: ```task debug:build-config-admin```
- agent: ```task debug:build-config-all```
- battle-server-manager: ```task debug:prepare-battle-server-manager```

### Build
Expand Down
Loading
Loading