Skip to content

ggpwnkthx/docker-trinitycore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

The run scipts listed below will clone from a git repo, compile the source, extract map data from client, create a server project (inludes all databases, auth/bnetserver and worldserver), and starts the project's containers.

Arguments given to the run script will be passed thru to the respective scripts.

Windows

Use the run.bat file.

Linux

Use the run.sh file.

Requirements

Docker

Linux

https://docs.docker.com/v17.12/install/linux/docker-ce/binaries/

Windows

https://docs.docker.com/docker-for-windows/install/

Clients

Clients must be in the "clients" folder. Put the contents of the WotLK folder into "clients/3.3.5". Put the contents of the Shadowlands folder into "clients/9.1.0". For WotLK, the folder structure should look like:

clients
    3.3.5
        Data
        Interface
        {other files}

For Shadowlands, the folder structure should look like:

clients
    9.1.0
        _retail_
        Data
        .build.info

Scripts

Linux

run.sh

All in one. Builds from source, adds a project, starts the project. Will passthru arguments.

build.sh

-r | --repo "git://..."
	default: "git://github.com/TrinityCore/TrinityCore.git"
-b | --branch "master" or "3.3.5"
	default: "master"

This script will clone (or update/pull) the TrinityCore source and build it. The repository can be changed, but for most people, the only argument you'll want to change is the branch. For Shadowlands, use "master". For WotLK, use "3.3.5".

add_project.sh

-p | --project "Name of Project"
	default: "untitled"
-v | --version "9.1.0" or "3.3.5"
	default: "9.1.0"
-r | --realms "Trinity,Scarlet,Molten"
	default: "Trinity"
-d | --development
	default: false

This script will create a project folder and copy the necessary files for an authentication server and any specified (comma delimited) realms. One project can have both 3.3.5 and 9.1.0 world servers, but they will use separate authentication servers. One project will only have one authentication server for each version.

start_project.sh

-p | --project "Name of Project"
	default: "untitled"
-v | --version "9.1.0" or "3.3.5"
	default: "9.1.0"
-r | --realms "Trinity,Scarlet,Molten"
	default ""

This script will start up all the containers necessary for a given project. If realms argument is not set all realms for that project will be started.

Windows

run.bat

All in one. Builds from source, adds a project, starts the project. Will passthru arguments.

build.ps1

-repo "git://..."
	default: "git://github.com/TrinityCore/TrinityCore.git"
-branch "master" or "3.3.5"
	default: "master"

This script will clone (or update/pull) the TrinityCore source and build it. The repository can be changed, but for most people, the only argument you'll want to change is the branch. For Shadowlands, use "master". For WotLK, use "3.3.5".

add_project.ps1

-project "Name of Project"
	default: "untitled"
-version "9.1.0" or "3.3.5"
	default: "9.1.0"
-realms "Trinity,Scarlet,Molten"
	default: "Trinity"
-development $false
	default: $false

This script will create a project folder and copy the necessary files for an authentication server and any specified (comma delimited) realms. One project can have both 3.3.5 and 9.1.0 world servers, but they will use separate authentication servers. One project will only have one authentication server for each version.

start_project.ps1

-project "Name of Project"
	default: "untitled"
-version "9.1.0" or "3.3.5"
	default: "9.1.0"
-realms "Trinity,Scarlet,Molten"
	default ""

This script will start up all the containers necessary for a given project. If realms argument is not set all realms for that project will be started.

Remote Access (Administration)

When a worldserver/realm is started, the telnet port for RA will be shown. By default, the authserver will have an account "admin" with the password "admin" set up for RA. It would be very wise to change this immediately. From RA:

account set password admin new_password new_password

Client Access

https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74006268/Client+Setup

3.3.5

Data/enUS/realmlist.ftw

set realmlist url.to.authserver:port_number

9.1.0

_retail_/WTF/Config.wtf

SET portal "url.to.bnetserver:port_number"

Custom Client Launcher

This is not required for WotLK, only for Shadowlands clients. https://github.com/Arctium/WoW-Launcher/releases Put the executable in the same folder as the _retail_ folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published