base: DestinyCore upstream @2d631f4e (fork SylvaniaCore ; sql/old retire)

This commit is contained in:
SylvaniaCore deploy
2026-06-17 09:00:37 +00:00
commit f8fcb8ad38
4834 changed files with 2810723 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
---
name: 🐞 Bug Report
about: Report a problem or unexpected behavior in the game or core
title: "[Bug] "
labels: [bug]
assignees: []
---
### 📝 Description
A clear and concise description of what the bug is.
### 📍 Location
Where did the bug happen? (Map, Instance, NPC, etc.)
### 🔁 Reproduction Steps
Steps to reproduce the behavior:
1. Go to '...'
2. Do '...'
3. Observe '...'
### ✔️ Expected Behavior
What did you expect to happen?
### 🖼️ Screenshots / Videos
If applicable, add screenshots or videos.
### 🌐 Server Revision / Hash
Provide the core revision or hash you're using.
+17
View File
@@ -0,0 +1,17 @@
---
name: 💡 Feature Request
about: Suggest a new feature, enhancement, or idea
title: "[Feature] "
labels: [enhancement]
assignees: []
---
### 🚀 Summary
What would you like to see added or changed?
### 🔍 Context
Why would this feature be useful or beneficial?
### 🧩 Additional Information
Add any other context or references here.
+23
View File
@@ -0,0 +1,23 @@
---
name: 🧍 NPC Issue
about: Report an issue with an NPC (behavior, spawn, dialogue, etc.)
title: "[NPC] "
labels: [npc]
assignees: []
---
### 🧍 NPC Name or Entry ID
Provide the name and/or entry ID of the NPC.
### 📍 Location
Where is the NPC located?
### 🔁 Problem Description
Explain what's wrong with the NPC.
### 📷 Screenshot / Video
Attach visual proof if available.
### 🌐 Server Revision / Hash
Provide your server revision/hash.
+23
View File
@@ -0,0 +1,23 @@
---
name: 🧾 Quest Issue
about: Report a bug or problem related to quests
title: "[Quest] "
labels: [quest]
assignees: []
---
### 📝 Quest Name or ID
Provide the quest name and/or ID.
### 📍 Location
Where does the issue occur?
### 🔁 Problem
Describe what is wrong with the quest (missing text, can't be accepted, no rewards, etc).
### 📸 Screenshots
Add screenshots if possible.
### 🌐 Server Revision / Hash
Provide the server revision or hash.
+39
View File
@@ -0,0 +1,39 @@
name: Clang
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/bin" >> "$GITHUB_OUTPUT"
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev clang-14
- name: Setup
env:
CMAKE_BUILD_TYPE: Debug
run: >
cmake -S ${{ github.workspace }} -B ${{ steps.strings.outputs.build-output-dir }}
-DWITH_WARNINGS=1 -DWITH_WARNINGS_AS_ERRORS=0 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=dynamic -DSERVERS=1 -DNOJEM=0
-DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG"
-DCMAKE_INSTALL_PREFIX=check_install
-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- name: Build
run: |
cd bin
make -j 4 -k && make install
- name: Check executables
run: |
cd ${{ github.workspace }}/check_install/bin
./bnetserver --version
./worldserver --version
+39
View File
@@ -0,0 +1,39 @@
name: GCC
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/bin" >> "$GITHUB_OUTPUT"
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
- name: Setup
env:
CMAKE_BUILD_TYPE: Debug
run: >
cmake -S ${{ github.workspace }} -B ${{ steps.strings.outputs.build-output-dir }}
-DWITH_WARNINGS=1 -DWITH_WARNINGS_AS_ERRORS=0 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=dynamic -DSERVERS=1 -DNOJEM=0
-DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG"
-DCMAKE_INSTALL_PREFIX=check_install
- name: Build
run: |
cd bin
make -j 4 -k && make install
- name: Check executables
run: |
cd ${{ github.workspace }}/check_install/bin
./bnetserver --version
./worldserver --version
+106
View File
@@ -0,0 +1,106 @@
name: Windows x64
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: windows-latest
env:
CMAKE_BUILD_TYPE: RelWithDebInfo
MYSQL_ROOT_DIR: C:/Program Files/MySQL/MySQL Server 8.0
OPENSSL_ROOT_DIR: C:/libs/openssl
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Get current OpenSSL version
id: openssl-info
run: |
$VersionsUrl = "https://api.github.com/repos/slproweb/opensslhashes/contents/win32_openssl_hashes.json"
$Headers = @{
Accept="application/vnd.github.raw+json"
Authorization="Bearer ${{ secrets.GITHUB_TOKEN }}"
}
$openSSL = (Invoke-RestMethod $VersionsUrl -Headers $Headers).files.PSObject.Properties |
Select-Object -ExpandProperty Value |
Where-Object { $_.arch -eq 'INTEL' } |
Where-Object { $_.bits -eq '64' } |
Where-Object { $_.light -eq $false } |
Where-Object { $_.installer -eq 'exe' } |
Where-Object { $_.basever -like '3.*' } |
Sort-Object -Descending @{ Expression = { [version]$_.basever } } |
Select-Object -First 1
[System.String]::Format("cache-key=openssl-{0}-win-{1}-{2}", $openSSL.basever, $openSSL.arch, $openSSL.bits) >> $env:GITHUB_OUTPUT
[System.String]::Format("url={0}", $openSSL.url) >> $env:GITHUB_OUTPUT
- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: ${{ env.OPENSSL_ROOT_DIR }}
key: ${{ steps.openssl-info.outputs.cache-key }}
- name: Download and install Openssl 3.x
if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }}
run: |
(New-Object System.Net.WebClient).DownloadFile("${{ steps.openssl-info.outputs.url }}", "${{ env.TEMP }}\openssl.exe")
Start-Process -Wait -FilePath "${{ env.TEMP }}\openssl.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES",/DIR=${{ env.OPENSSL_ROOT_DIR }}
# Quick Openssl install test
& ${{ env.OPENSSL_ROOT_DIR }}/bin/openssl.exe version
- name: Download and install Boost
uses: MarkusJx/install-boost@6d8df42f57de83c5b326b5b83e7b35d650030103
id: install-boost
with:
boost_version: 1.84.0
link: static
platform_version: 2022
toolset: msvc
- name: Initialize Visual Studio Environment
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Configure CMake
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
run: >
cmake -GNinja -S ${{ github.workspace }} -B ${{ steps.strings.outputs.build-output-dir }}
-DTOOLS=ON
- name: Build
run: |
cmake --build ${{ steps.strings.outputs.build-output-dir }}
- name: Copy Dependencies
run: |
cd ${{ steps.strings.outputs.build-output-dir }}/bin/${{ env.CMAKE_BUILD_TYPE }}
copy "${{ env.MYSQL_ROOT_DIR }}/lib/libmysql.dll" libmysql.dll
copy "${{ env.OPENSSL_ROOT_DIR }}/bin/libssl-3-x64.dll" libssl-3-x64.dll
copy "${{ env.OPENSSL_ROOT_DIR }}/bin/libcrypto-3-x64.dll" libcrypto-3-x64.dll
copy "${{ env.OPENSSL_ROOT_DIR }}/bin/legacy.dll" legacy.dll
- name: Check binaries
run: |
cd ${{ steps.strings.outputs.build-output-dir }}/bin/${{ env.CMAKE_BUILD_TYPE }}
./bnetserver --version
./worldserver --version
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
path: ${{ steps.strings.outputs.build-output-dir }}/bin/${{ env.CMAKE_BUILD_TYPE }}
name: DestinyCoreMasterWin64VS2022
# Set a custom retention for artifacts
#retention-days: 7