Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Configuring the server

 

Browse into your Release folder  (Can differ depending on OS)

...

  • Linux has it within /trinitycore/etc/
  • Mac has them within /opt/trinitycore/etc/

worldserver.conf

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

...

  • 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)
    • Note: 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.
    • Pro Tip: For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.

authserver.conf

Scroll down to the LoginDatabaseInfo and enter MySQL Server login information.

...

Just like the worldserver.conf, you have to enter these necessary values and customize your preferences.

Realmlist Table

You need to make sure that your authserver application directs incoming connections to your realm.

  • Run your chosen database management tool (ex. SQLYog or HeidiSQL, but also web-applications like Phpmyadmin for servers with php extension)*
  • Open the auth database and find the realmlisttable. You need to edit the address field according to your needs:
    • LAN IP (192.168.x.x) - If you are installing TrinityCore on a different computer from where you run WoW, but all the computers involved are on the same network (router) use that computer's Local Area Network IP.
    • 127.0.0.1 - Also known as "localhost". Leave this setting alone here and in your configs if you've installed TrinityCore on the same computer you run WoW on, and only you are connecting to it.
    • External IP – If you want other people to connect to your server, use your external IP. Visit http://www.whatismyip.com/ to find your external IP address.

      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.

Running and Connecting to Your Server

After completing all the steps listed above you can now start your server.

  • Run the authserver and worldserver to run your server. Both must stay running for your server to accept connections to it.
    • Tip: The authserver allows you to enter your username/password to connect to the Realm Selection screen, and the worldserver allows you to connect to the realm itself. Once you are in-game, the authserver can be safely closed if you wish.
  • Open the realmlist.wtf file inside your World of Warcraft\Data folder. The IP in the realmlist.wtf file should be exactly the same as the IP address you entered in the realmlist table above.
    • Change the first line to: set realmlist <IP address used in realmlist table>
    • Example: set realmlist 127.0.0.1
  • (Optional) If you wish to use the WoW Launcher.exe to run your client then you must change your set patchlist to the same ip/dns name as your realmlist.

Final Steps

You can type commands inside the worldserver program, similar to a command prompt.

...