User Tools

Site Tools


servers:games:trinitycore_3.3.5

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:games:trinitycore_3.3.5 [2023/07/30 19:24] Sean Rhoneservers:games:trinitycore_3.3.5 [2023/07/31 08:27] (current) – [TDB] Sean Rhone
Line 11: Line 11:
   * [[servers:mariadb|MariaDB]]   * [[servers:mariadb|MariaDB]]
   * [[games:wine:world_of_warcraft_3.3.5|World of Warcraft (3.3.5)]] ((required for content extraction, and since the core and tools are compiled on Linux the extraction tools also require Linux))   * [[games:wine:world_of_warcraft_3.3.5|World of Warcraft (3.3.5)]] ((required for content extraction, and since the core and tools are compiled on Linux the extraction tools also require Linux))
- 
-===== Notes ===== 
- 
-  * :!: As of 2022/09/30, these notes were tested on F36 up until the systemd scripts; TODO: fix them 
-  * :!: Do **not** use Warmane's WotLK client for content extraction nor to play with as it's modified and fails if ''authserver.conf/StrictVersionCheck = 1'' 
-  * [[https://wowdl.net/index|WoWDL]] has a [[https://wowdl.net/client/3.3.5a-win-us|clean 3.3.5 client]] that works fine with ''authserver.conf/StrictVersionCheck = 1'' 
  
 ====== Create Group and User ====== ====== Create Group and User ======
Line 34: Line 28:
 ====== Firewall ====== ====== Firewall ======
  
-  * 3724/tcp is loginserver and needs forwarded from the router also for WAN +  * :!: 3724/tcp is loginserver and needs forwarded from the router for both LAN and WAN 
-  * 8085/tcp is worldserver and needs forwarded from the router also for WAN+  * :!: 8085/tcp is worldserver and needs forwarded from the router for both LAN and WAN
   * 3443/tcp is Remote Console   * 3443/tcp is Remote Console
   * 7878/tcp is SOAP   * 7878/tcp is SOAP
Line 81: Line 75:
 ===== TDB ===== ===== TDB =====
  
-  * TDB335.21121 +  * :!: Check https://github.com/TrinityCore/TrinityCore/releases for updates
-  * Check https://github.com/TrinityCore/TrinityCore/releases for updates+
   * :!: Make certain the database is ''335'', and not ''927'' or etc   * :!: Make certain the database is ''335'', and not ''927'' or etc
   * :!: Do this **after** the initial compile ((the compile command below wipes out the ''run'' folder if it exists before compiling))   * :!: Do this **after** the initial compile ((the compile command below wipes out the ''run'' folder if it exists before compiling))
Line 150: Line 143:
  
   cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && mkdir -p 'mmaps' && ./'mmaps_generator' --bigBaseUnit 'true' --threads $(nproc) && sync   cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && mkdir -p 'mmaps' && ./'mmaps_generator' --bigBaseUnit 'true' --threads $(nproc) && sync
- 
-===== Archive Content ===== 
- 
-  * Should be around 1.5GB 
-  * :!: Run on the machine that did the content extraction 
- 
-  cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && tar -cvzf ~/'Downloads/WotLK-content-'$(date +%Y-%m-%d)'.tar.gz' 'dbc' 'maps' 'vmaps' 'mmaps' 'Cameras' && cd ~ && sync 
  
 ===== Transfer Content to Server ===== ===== Transfer Content to Server =====
Line 182: Line 168:
 ====== SELinux ====== ====== SELinux ======
  
-  sudo semanage fcontext --add --type 'bin_t' '/var/lib/trinity/Projects/trinity-335/run/bin/authserver' && sudo restorecon -F -I -R -v '/var/lib/trinity/Projects/trinity-335/run/bin/authserver'+  sudo semanage fcontext --add --type 'bin_t' '/var/lib/trinity/Projects/trinity-335/run/bin/authserver' && sudo restorecon -F -I -R '/var/lib/trinity/Projects/trinity-335/run/bin/authserver'
  
-  sudo semanage fcontext --add --type 'bin_t' '/var/lib/trinity/Projects/trinity-335/run/bin/worldserver' && sudo restorecon -F -I -R -v '/var/lib/trinity/Projects/trinity-335/run/bin/worldserver'+  sudo semanage fcontext --add --type 'bin_t' '/var/lib/trinity/Projects/trinity-335/run/bin/worldserver' && sudo restorecon -F -I -R '/var/lib/trinity/Projects/trinity-335/run/bin/worldserver'
  
 ====== Settings ====== ====== Settings ======
  
-  * See [[notes:trinitycore_confs|authserver.conf and worldserver.conf]]+===== authserver.conf =====
  
-====== Create GM Account ======+  * See [[notes:trinitycore_confs#authserverconf|authserver.conf]]
  
-  Starting the ''worldserver'' by itself and first is intentional+===== worldserver.conf ===== 
 + 
 +  See [[notes:trinitycore_confs#worldserverconf|worldserver.conf]] 
 + 
 +====== Create GM Account ======
  
   sudo su 'trinity' -s '/usr/bin/bash'   sudo su 'trinity' -s '/usr/bin/bash'
 +
 +  cd ~/'Projects/trinity-335/run/bin' && ~/'Projects/trinity-335/run/bin/authserver'
 +
 +  * Ctrl + C
  
   cd ~/'Projects/trinity-335/run/bin' && ~/'Projects/trinity-335/run/bin/worldserver'   cd ~/'Projects/trinity-335/run/bin' && ~/'Projects/trinity-335/run/bin/worldserver'
Line 214: Line 208:
   * Any additional console use should come from ''telnet'' from a remote machine on the local network   * Any additional console use should come from ''telnet'' from a remote machine on the local network
   * :!: Credentials for the remote console are the same as the GM account created above   * :!: Credentials for the remote console are the same as the GM account created above
-  * 2023/07/30: TODO: ''sed'' didn't work as-expected, hence this isn't a one-liner :p+  * 2023/07/30: TODO: ''sed'' didn't work as-expected, hence this isn't a one-liner yet 8-)
  
   sudo su 'trinity' -s '/usr/bin/bash'   sudo su 'trinity' -s '/usr/bin/bash'
Line 232: Line 226:
   * To be done after databases are initialized   * To be done after databases are initialized
   * Applies to the first realm   * Applies to the first realm
-  * :!: If running a LAN server, change ''wow.realmofespionage.xyz'' to LAN IP 
  
   sudo mysql   sudo mysql
Line 260: Line 253:
 ===== authserver ===== ===== authserver =====
  
-  sudo -e '/etc/systemd/system/tc-335-auth.service' && sudo systemctl daemon-reload && sudo systemctl enable 'tc-335-auth'+  * 2027/07/30: TODO: Rename the service as ''tc-335-auth'' isn't rememberable 
 + 
 +  sudo -e '/etc/systemd/system/tc-335-auth.service' && sudo systemctl daemon-reload && sudo systemctl enable 'tc-335-auth' --now
  
 <code> <code>
Line 279: Line 274:
 [Install] [Install]
 WantedBy=multi-user.target</code> WantedBy=multi-user.target</code>
 +
 +  sudo systemctl status 'tc-335-auth' -l
  
 ===== worldserver ===== ===== worldserver =====
  
   * :!: Make sure worldserver's Console is disabled before starting the ''worldserver'' service   * :!: Make sure worldserver's Console is disabled before starting the ''worldserver'' service
 +  * 2027/07/30: TODO: Rename the service as ''tc-335-world'' isn't rememberable
  
   sudo -e '/etc/systemd/system/tc-335-world.service' && sudo systemctl daemon-reload && sudo systemctl enable 'tc-335-world'   sudo -e '/etc/systemd/system/tc-335-world.service' && sudo systemctl daemon-reload && sudo systemctl enable 'tc-335-world'
Line 303: Line 301:
 [Install] [Install]
 WantedBy=multi-user.target</code> WantedBy=multi-user.target</code>
 +
 +  sudo systemctl status 'tc-335-world' -l
  
 ===== Information ===== ===== Information =====
/var/www/wiki/data/attic/servers/games/trinitycore_3.3.5.1690759465.txt.gz · Last modified: 2023/07/30 19:24 by Sean Rhone