User Tools

Site Tools


servers:windows:games:trinitycore_3.3.5_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

servers:windows:games:trinitycore_3.3.5_localhost [2025/09/01 02:15] Sean Rhoneservers:windows:games:trinitycore_3.3.5_localhost [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 10: Line 10:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;10|Windows 10 (21H2)]]+  * [[windows;11_ltsc|Windows 11 (24H2)]]
   * [[programs;windows;git|Git]]   * [[programs;windows;git|Git]]
   * [[servers;windows;mariadb|MariaDB]] (Dev components required; no service/networking)   * [[servers;windows;mariadb|MariaDB]] (Dev components required; no service/networking)
Line 29: Line 29:
   * Desktop development with C++ (C++ core desktop features)   * Desktop development with C++ (C++ core desktop features)
   * MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)   * MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
-  * Windows 11 SDK (10.0.26100.4188)+  * Windows 11 SDK (10.0.26100.4654)
  
   "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe"   "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe"
Line 107: Line 107:
 ===== Compile ===== ===== Compile =====
  
-  * 8 minutes i5-8400H ((Fastest time: ''Time Elapsed 00:07:34.23''))+  * 8 minutes i5-8400H ((2025/09/03: ''00:08:07.96''))
  
 <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release"</code> <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release"</code>
Line 124: Line 124:
  
   * Expects [[games;windows;world_of_warcraft_3.3.5#world_of_warcraft|World of Warcraft 3.3.5]]   * Expects [[games;windows;world_of_warcraft_3.3.5#world_of_warcraft|World of Warcraft 3.3.5]]
 +
 +  DIR "%ProgramFiles(x86)%\World of Warcraft 3.3.5\Wow.exe"
  
 ===== DBCs, Maps, and Cameras ===== ===== DBCs, Maps, and Cameras =====
Line 185: Line 187:
   COPY /Y "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.conf.dist" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.conf"   COPY /Y "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.conf.dist" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.conf"
  
-  MKDIR "%UserProfile%\Projects\TrinityCore-335\conf\authserver" +  MKDIR "%UserProfile%\Projects\TrinityCore-335\conf\authserver" "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\conf\authserver\localhost.conf"
- +
-  "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\conf\authserver\localhost.conf"+
  
 <code> <code>
Line 193: Line 193:
  
 # Connection # Connection
 +LoginDatabaseInfo = ".;3306;authserver;x;authserver"
 +MySQLExecutable = "C:\Program Files\MariaDB 12.1\bin\mariadb.exe"
 BindIP = "127.0.0.1" BindIP = "127.0.0.1"
-MySQLExecutable = "C:\Program Files\MariaDB 12.1\bin\mariadb.exe" 
-LoginDatabaseInfo = ".;3306;authserver;x;authserver" 
 AllowLoggingIPAddressesInDatabase = 0 AllowLoggingIPAddressesInDatabase = 0
  
Line 213: Line 213:
   COPY /Y "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.conf.dist" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.conf"   COPY /Y "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.conf.dist" "%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.conf"
  
-  MKDIR "%UserProfile%\Projects\TrinityCore-335\conf\worldserver" +  MKDIR "%UserProfile%\Projects\TrinityCore-335\conf\worldserver" "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\conf\worldserver\localhost.conf"
- +
-  "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\conf\worldserver\localhost.conf"+
  
 <code> <code>
Line 221: Line 219:
  
 # Connection # Connection
-BindIP = "127.0.0.1" 
-MySQLExecutable = "C:\Program Files\MariaDB 12.1\bin\mariadb.exe" 
 LoginDatabaseInfo = ".;3306;authserver;x;authserver" LoginDatabaseInfo = ".;3306;authserver;x;authserver"
 +CharacterDatabaseInfo = ".;3306;characters;x;characters"
 WorldDatabaseInfo = ".;3306;worldserver;x;worldserver" WorldDatabaseInfo = ".;3306;worldserver;x;worldserver"
-CharacterDatabaseInfo = ".;3306;characters;x;characters"+MySQLExecutable = "C:\Program Files\MariaDB 12.1\bin\mariadb.exe" 
 +BindIP = "127.0.0.1"
 AllowLoggingIPAddressesInDatabase = 0 AllowLoggingIPAddressesInDatabase = 0
  
Line 259: Line 257:
 ===== Block ===== ===== Block =====
  
-  "netsh.exe" advfirewall firewall add rule name="TrinityCore 3.3.5 localhost (authserver)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.exe"+****
  
-  "netsh.exe" advfirewall firewall add rule name="TrinityCore 3.3.5 localhost (worldserver)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.exe"+  "netsh.exe" advfirewall firewall add rule name="TrinityCore 3.3.5 localhost (authserver)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\TrinityCore-335\build\bin\Release\authserver.exe""netsh.exe" advfirewall firewall add rule name="TrinityCore 3.3.5 localhost (worldserver)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\TrinityCore-335\build\bin\Release\worldserver.exe"
  
 ===== Delete Rules ===== ===== Delete Rules =====
  
-  "netsh.exe" advfirewall firewall delete rule name="TrinityCore 3.3.5 localhost (authserver)"+****
  
-  "netsh.exe" advfirewall firewall delete rule name="TrinityCore 3.3.5 localhost (worldserver)"+  "netsh.exe" advfirewall firewall delete rule name="TrinityCore 3.3.5 localhost (authserver)""netsh.exe" advfirewall firewall delete rule name="TrinityCore 3.3.5 localhost (worldserver)"
  
 ====== Scripts ====== ====== Scripts ======
- 
-**** 
- 
-  MKDIR "%UserProfile%\Projects\TrinityCore-335\scripts" 
  
 ===== Server Start ===== ===== Server Start =====
  
-  "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-start.bat"+  * Shutdown order: ''worldserver'' -> ''authserver'' -> MariaDB 
 + 
 +  MKDIR "%UserProfile%\Projects\TrinityCore-335\scripts""notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-start.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE TrinityCore 335 Launcher
  
 START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini" START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini"
Line 295: Line 293:
 ===== Server Update ===== ===== Server Update =====
  
-  "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"+  MKDIR "%UserProfile%\Projects\TrinityCore-335\scripts""notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-server-update.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE TrinityCore 335 Updater
  
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" reset --hard "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" reset --hard
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" pull origin "3.3.5" --rebase "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\TrinityCore-335\src" pull origin "3.3.5" --rebase
  
-"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SYSTEMDRIVE%/local/boost_1_89_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.1\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.1\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="1"+"%ProgramFiles%\CMake\bin\cmake.exe" -S "%UserProfile%\Projects\TrinityCore-335\src" -B "%UserProfile%\Projects\TrinityCore-335\build" -G "Visual Studio 17 2022" --fresh -Wno-dev -DBOOST_ROOT="%SYSTEMDRIVE%/local/boost_1_89_0" -DMYSQL_INCLUDE_DIR="%ProgramFiles%\MariaDB 12.1\include\mysql" -DMYSQL_LIBRARY="%ProgramFiles%\MariaDB 12.1\lib\libmariadb.lib" -DWITHOUT_METRICS="1" -DTOOLS="0"
  
 "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release" "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\TrinityCore-335\build\ALL_BUILD.vcxproj" -target:"Build" -property:"Configuration=Release"
Line 313: Line 313:
 ===== Database Back-up ===== ===== Database Back-up =====
  
-  "notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-database-backup.bat"+  MKDIR "%UserProfile%\Projects\TrinityCore-335\scripts""notepad.exe" "%UserProfile%\Projects\TrinityCore-335\scripts\localhost-database-backup.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE WoW 3.3.5 Database Back-up
  
 START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini" START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini"
Line 343: Line 345:
 ===== Start Menu ===== ===== Start Menu =====
  
-  MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\World of Warcraft 3.3.5"+****
  
-  "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\World of Warcraft 3.3.5"+  MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\World of Warcraft 3.3.5" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\World of Warcraft 3.3.5"
  
 ==== Server Start ==== ==== Server Start ====
/srv/www/wiki/data/attic/servers/windows/games/trinitycore_3.3.5_localhost.1756707301.txt.gz · Last modified: by Sean Rhone