servers:games:trinitycore_3.3.5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
servers:games:trinitycore_3.3.5 [2022/09/30 18:36] – Sean Rhone | servers:games:trinitycore_3.3.5 [2023/07/30 19:03] – [Two-Factor Authentication] Sean Rhone | ||
---|---|---|---|
Line 10: | Line 10: | ||
* [[distros: | * [[distros: | ||
* [[servers: | * [[servers: | ||
- | * [[games: | + | * [[games: |
===== Notes ===== | ===== Notes ===== | ||
Line 16: | Line 16: | ||
* :!: As of 2022/09/30, these notes were tested on F36 up until the systemd scripts; TODO: fix them | * :!: As of 2022/09/30, these notes were tested on F36 up until the systemd scripts; TODO: fix them | ||
* :!: Do **not** use Warmane' | * :!: Do **not** use Warmane' | ||
- | * [[https:// | + | * [[https:// |
====== Create Group and User ====== | ====== Create Group and User ====== | ||
Line 89: | Line 89: | ||
sudo su ' | sudo su ' | ||
- | rm -Rf '/ | + | rm -Rf '/ |
====== Compile ====== | ====== Compile ====== | ||
* :!: This wipes out the '' | * :!: This wipes out the '' | ||
+ | * :!: For content extraction, Fedora major versions should match between the compiler and extraction machines for Boost libraries ((can use '' | ||
sudo su ' | sudo su ' | ||
Line 114: | Line 115: | ||
* See [[games: | * See [[games: | ||
- | mkdir -p '/ | + | mkdir -p '/ |
===== Dependencies ===== | ===== Dependencies ===== | ||
Line 128: | Line 129: | ||
* :!: Run on the machine doing the content extraction | * :!: Run on the machine doing the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
==== VMaps ==== | ==== VMaps ==== | ||
Line 136: | Line 137: | ||
* :!: Run on the machine doing the content extraction | * :!: Run on the machine doing the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
=== Assemble === | === Assemble === | ||
Line 142: | Line 143: | ||
* :!: Run on the machine doing the content extraction | * :!: Run on the machine doing the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
==== MMaps ==== | ==== MMaps ==== | ||
Line 148: | Line 149: | ||
* :!: Run on the machine doing the content extraction | * :!: Run on the machine doing the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
===== Archive Content ===== | ===== Archive Content ===== | ||
Line 155: | Line 156: | ||
* :!: Run on the machine that did the content extraction | * :!: Run on the machine that did the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
===== Transfer Content to Server ===== | ===== Transfer Content to Server ===== | ||
Line 162: | Line 163: | ||
* :!: Run on the machine that did the content extraction | * :!: Run on the machine that did the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
===== Cleanup on Client ===== | ===== Cleanup on Client ===== | ||
Line 168: | Line 169: | ||
* :!: Run on the machine that did the content extraction | * :!: Run on the machine that did the content extraction | ||
- | cd ~/'Wine Prefixes/World of Warcraft 3.3.5/ | + | cd ~/'.wine/World of Warcraft 3.3.5/ |
===== Move Content on Server ===== | ===== Move Content on Server ===== | ||
Line 183: | Line 184: | ||
===== authserver ===== | ===== authserver ===== | ||
- | ==== Copy ==== | + | ===== authserver.conf ===== |
- | | + | |
- | + | * Last commit: [[https:// | |
- | | + | |
- | + | ||
- | ==== Settings ==== | + | |
- | + | ||
- | sudo su ' | + | |
nano ~/' | nano ~/' | ||
< | < | ||
+ | [authserver] | ||
+ | LogsDir = "" | ||
+ | MaxPingTime = 30 | ||
+ | RealmServerPort = 3724 | ||
+ | BindIP = " | ||
+ | PidFile = "" | ||
+ | UseProcessors = 0 | ||
+ | ProcessPriority = 0 | ||
+ | RealmsStateUpdateDelay = 20 | ||
WrongPass.MaxCount = 5 | WrongPass.MaxCount = 5 | ||
WrongPass.BanTime = 0 | WrongPass.BanTime = 0 | ||
+ | WrongPass.BanType = 0 | ||
+ | WrongPass.Logging = 0 | ||
StrictVersionCheck = 1 | StrictVersionCheck = 1 | ||
+ | BanExpiryCheckInterval = 60 | ||
+ | SourceDirectory | ||
+ | MySQLExecutable = "" | ||
+ | IPLocationFile = "" | ||
+ | AllowLoggingIPAddressesInDatabase = 1 | ||
+ | # CHANGEME | ||
LoginDatabaseInfo = " | LoginDatabaseInfo = " | ||
+ | # CHANGEME | ||
+ | LoginDatabase.WorkerThreads = 1 | ||
+ | LoginDatabase.SynchThreads | ||
+ | TOTPMasterSecret = | ||
Updates.EnableDatabases = 1 | Updates.EnableDatabases = 1 | ||
+ | Updates.AutoSetup | ||
+ | Updates.Redundancy | ||
+ | Updates.AllowRehash = 1 | ||
+ | Updates.CleanDeadRefMaxCount = -1 | ||
+ | Appender.Console=1, | ||
+ | Appender.Auth=2, | ||
+ | Logger.root=3, | ||
- | Updates.CleanDeadRefMaxCount = -1</ | + | # End</ |
===== worldserver ===== | ===== worldserver ===== | ||
Line 296: | Line 318: | ||
* Any additional console use should come from '' | * Any additional console use should come from '' | ||
* :!: 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: '' | ||
sudo su ' | sudo su ' | ||
Line 320: | Line 343: | ||
===== Two-Factor Authentication ===== | ===== Two-Factor Authentication ===== | ||
+ | |||
+ | * :!: 2023/07/30: This may have different behavior, see '' | ||
* To be done after databases are initialized | * To be done after databases are initialized | ||
Line 327: | Line 352: | ||
* Authenticator will be prompted from the game client on each log-in | * Authenticator will be prompted from the game client on each log-in | ||
- | mysql -u root -p | + | |
UPDATE `authserver`.`account` SET `token_key` = ' | UPDATE `authserver`.`account` SET `token_key` = ' | ||
Line 567: | Line 592: | ||
* This backs up an archive to the local disk | * This backs up an archive to the local disk | ||
- | * :!: Everything below this line may need re-factored and isn't tested with the updated notes as of 2019/02/19 | ||
==== authserver ==== | ==== authserver ==== | ||
Line 661: | Line 685: | ||
==== Backup Database ==== | ==== Backup Database ==== | ||
- | mysqldump | + | |
- | mysqldump | + | |
==== Start Services ==== | ==== Start Services ==== | ||
Line 713: | Line 737: | ||
==== Drop Previous Database ==== | ==== Drop Previous Database ==== | ||
- | mysql -u ' | + | |
DROP DATABASE authserver; | DROP DATABASE authserver; | ||
Line 723: | Line 747: | ||
==== Re-create Databases ==== | ==== Re-create Databases ==== | ||
- | mysql -u ' | + | |
CREATE DATABASE authserver; | CREATE DATABASE authserver; | ||
Line 731: | Line 755: | ||
==== Restore Database ==== | ==== Restore Database ==== | ||
- | mysql -u ' | + | |
- | mysql -u ' | + | |
==== Reapply Permissions ==== | ==== Reapply Permissions ==== | ||
- | mysql -u ' | + | |
GRANT ALL PRIVILEGES ON authserver.* to ' | GRANT ALL PRIVILEGES ON authserver.* to ' | ||
Line 756: | Line 780: | ||
rm ~/' | rm ~/' | ||
+ |
C:/www/wiki/data/pages/servers/games/trinitycore_3.3.5.txt · Last modified: 2023/07/31 08:27 by Sean Rhone