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/11/25 14:34] – [Compile] Sean Rhone | servers:games:trinitycore_3.3.5 [2023/07/30 19:24] – 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 ====== | ||
Line 115: | Line 115: | ||
* See [[games: | * See [[games: | ||
- | mkdir -p '/ | + | mkdir -p '/ |
===== Dependencies ===== | ===== Dependencies ===== | ||
Line 129: | 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 137: | 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 143: | 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 149: | 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 156: | 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 163: | 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 169: | 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 180: | Line 180: | ||
sudo restorecon -F -I -R '/ | sudo restorecon -F -I -R '/ | ||
- | ====== | + | ====== |
- | ===== authserver | + | sudo semanage fcontext --add --type ' |
- | ==== Copy ==== | + | sudo semanage fcontext --add --type ' |
- | sudo su ' | + | ====== Settings ====== |
- | + | ||
- | cp ~/' | + | |
- | + | ||
- | ==== Settings ==== | + | |
- | + | ||
- | sudo su ' | + | |
- | + | ||
- | nano ~/' | + | |
- | + | ||
- | < | + | |
- | WrongPass.MaxCount = 5 | + | |
- | WrongPass.BanTime = 0 | + | |
- | + | ||
- | StrictVersionCheck = 1 | + | |
- | + | ||
- | LoginDatabaseInfo = " | + | |
- | + | ||
- | Updates.EnableDatabases = 1 | + | |
- | + | ||
- | Updates.CleanDeadRefMaxCount = -1</ | + | |
- | + | ||
- | ===== worldserver ===== | + | |
- | + | ||
- | ==== Copy ==== | + | |
- | + | ||
- | sudo su ' | + | |
- | + | ||
- | cp ~/' | + | |
- | + | ||
- | ==== Settings ==== | + | |
- | + | ||
- | sudo su ' | + | |
- | + | ||
- | nano ~/' | + | |
- | + | ||
- | < | + | |
- | LoginDatabaseInfo | + | |
- | WorldDatabaseInfo | + | |
- | CharacterDatabaseInfo = " | + | |
- | + | ||
- | MaxCoreStuckTime = 10 | + | |
- | + | ||
- | CleanCharacterDB = 1 | + | |
- | PersistentCharacterCleanFlags = 14 | + | |
- | + | ||
- | RealmZone = 2 | + | |
- | StrictPlayerNames = 1 | + | |
- | StrictCharterNames = 1 | + | |
- | StrictPetNames = 1 | + | |
- | + | ||
- | DBC.Locale = 0 | + | |
- | + | ||
- | Instance.IgnoreRaid = 1 | + | |
- | + | ||
- | Quests.LowLevelHideDiff = -1 | + | |
- | + | ||
- | Motd = " | + | |
- | Server.LoginInfo = 1 | + | |
- | BirthdayTime = 1170471600 | + | |
- | + | ||
- | Updates.CleanDeadRefMaxCount = -1 | + | |
- | + | ||
- | Warden.Enabled = 0 | + | |
- | + | ||
- | PreserveCustomChannels = 0 | + | |
- | + | ||
- | Ra.Enable = 1 | + | |
- | + | ||
- | PacketSpoof.Policy = 0</ | + | |
- | + | ||
- | === Production === | + | |
- | + | ||
- | < | + | |
- | Warden.Enabled = 1 | + | |
- | Warden.ClientCheckFailAction = 2 | + | |
- | + | ||
- | SOAP.Enabled = 1 | + | |
- | SOAP.IP = " | + | |
- | + | ||
- | PreventRenameCharacterOnCustomization = 1 | + | |
- | + | ||
- | PacketSpoof.Policy | + | |
- | PacketSpoof.BanMode | + | |
- | AntiCheat.PendingMoveChangesTimeoutTime = 3000</ | + | * See [[notes: |
====== Create GM Account ====== | ====== Create GM Account ====== | ||
Line 297: | Line 214: | ||
* 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 321: | Line 239: | ||
===== 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 328: | Line 248: | ||
* 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 339: | Line 259: | ||
===== authserver ===== | ===== authserver ===== | ||
- | |||
- | ==== Service ==== | ||
sudo -e '/ | sudo -e '/ | ||
Line 361: | Line 279: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target</ | WantedBy=multi-user.target</ | ||
- | |||
- | === SELinux === | ||
- | |||
- | * :!: May have to re-run this series of commands over-time | ||
- | |||
- | sudo setenforce 0 | ||
- | |||
- | sudo systemctl start ' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | sudo setenforce 1 | ||
- | |||
- | nano ~/' | ||
===== worldserver ===== | ===== worldserver ===== | ||
- | * :!: Make sure worldserver' | + | * :!: Make sure worldserver' |
- | + | ||
- | ==== Service ==== | + | |
sudo -e '/ | sudo -e '/ | ||
Line 401: | Line 303: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target</ | WantedBy=multi-user.target</ | ||
- | |||
- | === SELinux === | ||
- | |||
- | * :!: May have to re-run this series of commands over-time | ||
- | |||
- | sudo setenforce 0 | ||
- | |||
- | sudo systemctl start ' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | sudo setenforce 1 | ||
- | |||
- | nano ~/' | ||
===== Information ===== | ===== Information ===== | ||
Line 568: | Line 456: | ||
* 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 662: | Line 549: | ||
==== Backup Database ==== | ==== Backup Database ==== | ||
- | mysqldump | + | |
- | mysqldump | + | |
==== Start Services ==== | ==== Start Services ==== | ||
Line 714: | Line 601: | ||
==== Drop Previous Database ==== | ==== Drop Previous Database ==== | ||
- | mysql -u ' | + | |
DROP DATABASE authserver; | DROP DATABASE authserver; | ||
Line 724: | Line 611: | ||
==== Re-create Databases ==== | ==== Re-create Databases ==== | ||
- | mysql -u ' | + | |
CREATE DATABASE authserver; | CREATE DATABASE authserver; | ||
Line 732: | Line 619: | ||
==== 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 757: | Line 644: | ||
rm ~/' | rm ~/' | ||
+ |
/var/www/wiki/data/pages/servers/games/trinitycore_3.3.5.txt · Last modified: 2023/07/31 08:27 by 127.0.0.1