User Tools

Site Tools


servers:linux:games:trinitycore_3.3.5_localhost

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:linux:games:trinitycore_3.3.5_localhost [2026/05/20 20:47] – [TDB] Sean Rhoneservers:linux:games:trinitycore_3.3.5_localhost [2026/07/02 18:35] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * TrinityCore ((https://www.trinitycore.org))+  * TrinityCore 
 +  * ''3.3.5''
   * [[https://talk.trinitycore.org/t/singleplayer-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/33293/7|TrinityCore Forums]]   * [[https://talk.trinitycore.org/t/singleplayer-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/33293/7|TrinityCore Forums]]
- 
-  * These notes provide a local single-player server for World of Warcraft 3.3.5 
-  * For a traditional dedicated server see [[servers:linux:games:trinitycore_3.3.5|these notes]] 
- 
-  * :!: 2026/05/20: WIP 
  
 ===== Media ===== ===== Media =====
  
-  * [[https://www.youtube.com/watch?v=NaEoXA53tYM|localhost Server and Desktop Launcher Presentation Video]] 
   * [[https://media.realmofespionage.xyz/index/category/6|Progress Pics]]   * [[https://media.realmofespionage.xyz/index/category/6|Progress Pics]]
- +  * [[https://www.youtube.com/watch?v=JAWWS9EDqiY|Presentation Video]] 
-===== Resources ===== +  * [[https://www.youtube.com/watch?v=u-dBDlnmbLo|WoWee Test Video]]
- +
-  * [[https://trinitycore.org/|TrinityCore]] +
-  * [[https://trinitycore.info/|TrinityCore MMo Project Wiki]]+
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 177: Line 169:
  
   * https://github.com/TrinityCore/TrinityCore/releases   * https://github.com/TrinityCore/TrinityCore/releases
 +  * Expects [[#databases|Initial DB set-up]]
   * Last tested: ''TDB_full_world_335.25101_2025_10_21.7z''   * Last tested: ''TDB_full_world_335.25101_2025_10_21.7z''
  
Line 199: Line 192:
   mkdir -p ~/'Projects/TrinityCore-335/authserver.conf.d' && nano ~/'Projects/TrinityCore-335/authserver.conf.d/localhost-authserver.conf'   mkdir -p ~/'Projects/TrinityCore-335/authserver.conf.d' && nano ~/'Projects/TrinityCore-335/authserver.conf.d/localhost-authserver.conf'
  
-<code>[authserver]+<code> 
 +[authserver]
  
 # Connection # Connection
 BindIP = "127.0.0.1" BindIP = "127.0.0.1"
 MySQLExecutable = "/usr/bin/mariadb" MySQLExecutable = "/usr/bin/mariadb"
 +AllowLoggingIPAddressesInDatabase = 0
 +
 +# Database
 LoginDatabaseInfo = "127.0.0.1;../../mariadb.sock;authserver;x;authserver" LoginDatabaseInfo = "127.0.0.1;../../mariadb.sock;authserver;x;authserver"
  
 # Etc # Etc
-AllowLoggingIPAddressesInDatabase = 0 
 Updates.EnableDatabases = 1 Updates.EnableDatabases = 1
 Updates.CleanDeadRefMaxCount = -1 Updates.CleanDeadRefMaxCount = -1
Line 229: Line 225:
 BindIP = "127.0.0.1" BindIP = "127.0.0.1"
 MySQLExecutable = "/usr/bin/mariadb" MySQLExecutable = "/usr/bin/mariadb"
 +AllowLoggingIPAddressesInDatabase = 0
 +
 +# Databases
 LoginDatabaseInfo = "127.0.0.1;../../mariadb.sock;authserver;x;authserver" LoginDatabaseInfo = "127.0.0.1;../../mariadb.sock;authserver;x;authserver"
 WorldDatabaseInfo = "127.0.0.1;../../mariadb.sock;worldserver;x;worldserver" WorldDatabaseInfo = "127.0.0.1;../../mariadb.sock;worldserver;x;worldserver"
Line 331: Line 330:
 cp -f ~/'Projects/TrinityCore-335/run/etc/worldserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/worldserver.conf' cp -f ~/'Projects/TrinityCore-335/run/etc/worldserver.conf.dist' ~/'Projects/TrinityCore-335/run/etc/worldserver.conf'
  
-zenity --title 'WoW 3.3.5 Updater' --text 'localhost server update complete' --icon ~/'.wine/Icons/WoW-335-256.png' --timeout '3' --info+zenity --title 'WoW 3.3.5 Updater' --text 'localhost server update complete' --icon ~/'.wine/Icons/WoW-335-256.png' --timeout '2' --info 
 +:
  
 # End</code> # End</code>
Line 390: Line 390:
 cd '/tmp' cd '/tmp'
  
-zenity --title 'WoW 3.3.5 (localhost)' --text 'Starting DB maintenance...' --icon ~/'.wine/Icons/WoW-335-256.png' --timeout '1' --info+zenity --title 'WoW 3.3.5 (localhost)' --text 'Starting DB maintenance...' --icon ~/'.wine/Icons/WoW-335-256.png' --timeout '2' --info
  
 mariadbd-safe --no-watch --skip-syslog --datadir=$HOME/'Projects/TrinityCore-335/mariadb/database' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' mariadbd-safe --no-watch --skip-syslog --datadir=$HOME/'Projects/TrinityCore-335/mariadb/database' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock'
Line 529: Line 529:
  
   cd ~/'Projects/TrinityCore-335/run/bin' && ~/'Projects/TrinityCore-335/run/bin/worldserver' --config-dir ~/'Projects/TrinityCore-335/worldserver.conf.d'   cd ~/'Projects/TrinityCore-335/run/bin' && ~/'Projects/TrinityCore-335/run/bin/worldserver' --config-dir ~/'Projects/TrinityCore-335/worldserver.conf.d'
 +
 +===== DB Maintenance =====
 +
 +****
 +
 +  mariadbd-safe --no-watch --skip-syslog --datadir=$HOME/'Projects/TrinityCore-335/mariadb/database' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' && sleep '2' && mariadb-check --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER -o -A -f -e --auto-repair && mariadb-admin 'shutdown' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER
  
 ===== DB Reset ===== ===== DB Reset =====
  
   * ''DROP'' existing + ''CREATE'' + ''GRANT''   * ''DROP'' existing + ''CREATE'' + ''GRANT''
-  * [[#restore|Restore]] authserver/characters+  * Restore [[#restore|authserver/characters]] 
 +  * Import [[#world_database|World DB]]
  
   mariadb --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER --execute='DROP DATABASE authserver;DROP DATABASE characters;DROP DATABASE worldserver;CREATE DATABASE authserver;CREATE DATABASE characters;CREATE DATABASE worldserver;GRANT ALL PRIVILEGES ON authserver.* to 'authserver'@'localhost';GRANT ALL PRIVILEGES ON characters.* to 'characters'@'localhost';GRANT ALL PRIVILEGES ON worldserver.* to 'worldserver'@'localhost';FLUSH PRIVILEGES;'   mariadb --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER --execute='DROP DATABASE authserver;DROP DATABASE characters;DROP DATABASE worldserver;CREATE DATABASE authserver;CREATE DATABASE characters;CREATE DATABASE worldserver;GRANT ALL PRIVILEGES ON authserver.* to 'authserver'@'localhost';GRANT ALL PRIVILEGES ON characters.* to 'characters'@'localhost';GRANT ALL PRIVILEGES ON worldserver.* to 'worldserver'@'localhost';FLUSH PRIVILEGES;'
 +
 +===== WoWee Test =====
 +
 +  * https://github.com/Kelsidavis/WoWee
 +
 +  * Last tested: ''wowee-v1.9.4-preview-linux-x86-64.tar.gz''
 +  * 2026/06/06: Connects, loads characters, logs-in, character was above ground once (:?: multiple ''.tp'' all tele'd underground)
 +
 +  * [[https://ftp.lysator.liu.se/pub/opensuse/repositories/games/openSUSE_Tumbleweed/x86_64/libstorm9-9.23-2.5.x86_64.rpm|libstorm9-9.23-2.5.x86_64.rpm]] (''libstorm.so.9'')
 +  * [[https://github.com/unicorn-engine/unicorn/releases/download/2.1.4/ubuntu-cmake-shared-x64.7z|ubuntu-cmake-shared-x64.7z]] (''libunicorn.so.2'')
 +
 +  LD_LIBRARY_PATH=. '/home/espionage724/Downloads/wowee-v1.9.4-preview-linux-x86-64/extract_assets.sh' '/home/espionage724/.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Data' wotlk
 +
 +  LD_LIBRARY_PATH=. '/home/espionage724/Downloads/wowee-v1.9.4-preview-linux-x86-64/wowee'
  
/usr/local/www/wiki/data/attic/servers/linux/games/trinitycore_3.3.5_localhost.1779324449.txt.gz · Last modified: by Sean Rhone