Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Rewritten part about moving directories created by usage of tools


Panel
borderColor#3399cc
bgColor#DCF1FC
titleColor#FFFFFF
titleBGColor#3399cc
borderStylesolid
titleGuide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.

Sección


Columna

<< Step 2: Core Installation


Columna

Step 4: Databases Installation >>




Now that you have the source compiled, you need to extract some necessary files.

Extractors

Trinity requires certain files obtained from World of Warcraft client. You must compile the core with tools and put them on in the same directory your World of Warcraft binary is, after that you must run the tools.

Some are optional but highly recommended, the files are:

DirectoryBranch
dbcallMandatory
mapsallMandatory
vmapsallHIGHLY Recommended
mmapsallHIGHLY Recommended
camerasallRecommended

gt

master onlyMandatory

Then you must copy them After extracting all necessary files simply copy all the newly created directories to the directory you have configured on the DataDir value on your worldserver.conf, to avoid errors you can simply copy all the directories on the same directory has worldserver binary without modify worldserver.confwith worldserver binary. Alternatively you can specify directory where you want to keep them changing DataDir value in worldserver.conf file.

Use ONLY Trinity's extractors. Others are NOT supported.

If you use extractors from other projects it is almost certain that your TrinityCore will not recognize the extracted data! There is only one way in which you can be certain to obtain the correct extractors. If you add the option TOOLS in CMake before compiling, you will get them in your D:\Build\bin\Release\ folder after compilation is complete.

P.S: you need the extractors of for the client version you are trying to use, the numbers of maps versions aren't wow versions, if you plan to extract maps from 3.3.5a client you will need to use extractors of branch 3.3.5a, if you plan to extract maps from other wow versions you must compile the extractors of those branches.

RECOMMENDATION: compile tools on in release mode , to save time, debug mode extraction takes a lot of times is much longer and it's only needed if you have one a crash to report.


Panel
borderColor#BBB
bgColor#F0F0F0
borderStylesolid

Contents

Tabla de contenidos
maxLevel2



Linux Server Setup

OS X Server Setup

Windows Server Setup


When this is complete you will receive the following message which can be safely ignored.

Bloque de código
Processing Map 724
[################################################################]
Extracting GameObject models...Extracting World\Wmo\Band\Final_Stage.wmo
No such file.
Couldn't open RootWmo!!!
Done!
 
Extract V4.00 2012_02. Work complete. No errors.


worldserver.conf / authserver.conf (bnetserver.conf for 6.x/ master) (you must remove .dist from worldserver.conf.dist / authserver.conf.dist / bnetserver.conf.dist files to obtain them)

Scroll down to the LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo config configuration options and enter MySQL Server login information for the server to be able to connect to your database.

On a newly compiled configconfiguration, you should have the following values:

Panel
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth" worldserver.conf / authserver.conf (bnetserver.conf for 6.x/master)    
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world" worldserver.conf    
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters" worldserver.conf

It follows this structure:

Panel
Variablename = "MySQLIP;Port;Loginname;Password;database"  


The following settings must be verified:

  • The hostname (127.0.0.1) can stay the same if Trinity is being installed on the same computer that you run WoW on.
    Otherwise, follow the instruction in Realmlist Table if this is not the case. 
  • The port (3306) is the standard configured value. Depending on your settings, you must change it accordingly.
  • The username and password can be variable. You can choose to either:
    • Run on your root password you used when you installed MySQL Server Community Edition (e.g. 'root':'password'), which is strongly not recommend if recommended if the server is somehow public.
    • create an unique login within a User Manager within your prefered preferred database management tool (commonly identified by an icon that looks like a person or people) and give it necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).
  • All other default options should be sufficient, but it is recommended that you take some time after your server is finished to read through the configs and see all the ways to customize your server.

    Advertencia
    titleImportant

     If you choose NOT to run vmaps or mmaps, you must make the following changes:

    • vmap.enableLOS = 1 – set this to 0
    • vmap.enableHeight = 1 – set this to 0
    • vmap.petLOS = 1 – set this to 0
    • vmap.enableIndoorCheck = 1 – set this to 0
    • mmap.enablePathFinding = 0 (default - keep this 0)


Nota

 If you change your mind and decide to extract and use vmaps or mmaps later, make sure to change these values back to "1" to take advantage of them.


Sugerencia
titlePro Tip

 For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.


Advertencia
titlePublic Servers

The TrinityCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice.


Troubleshooting

"Unable to open wmo_list.txt! Nothing extracted."

you need to run Mapextractor.exe before the makevmaps_simple.bat.


Insertar extracto
_Installation Helper
_Installation Helper
nopaneltrue



Panel
borderColor#3399cc
bgColor#DCF1FC
titleColor#FFFFFF
titleBGColor#3399cc
borderStylesolid
titleGuide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.

Sección


Columna

<< Step 2: Core Installation


Columna

Step 4: Databases Installation >>