[Guia] Crear Servidor WoW 3.3 en Windows

Tema en 'World of Warcraft' iniciado por Wopero, 7 Ago 2010.

Estado del tema:
Cerrado para nuevas respuestas
  1. Esta Guía te explicará como crear tu servidor de WoW 3.3 en Windows desde el inicio a fin.

    Tabla de Contenidos:
    1. Programas que necesitas
    2. Obteniendo el código usando HG
    3. Compilando el nucleo
    4. Obteniendo y configurando la base de datos
    5. Configurando el nucleo y extrayendo los mapas
    5.5 Extraer Vmaps

    1. Programs you’ll need:
    Setting up any server, including TrinityCore requires a few extra programs.
    I’ve done my best to compile them into a simple list;

    Mysql: MySQL :: Select a Mirror to Start Downloading - mysql-essential-5.1.44-win32.msi
    Hit “No thanks, Just take me to the downloads!”

    TortoiseHG: http://bitbucket.org/tortoisehg/stab...3-hg-1.4.3.exe

    Microsoft Visual C++ Express: Microsoft Express Downloads
    3rd link from the top, on the left.

    Navicat: Navicat Lite - Free software downloads and software reviews - CNET Download.com

    Notepad++: Browse Notepad++ Files on SourceForge.net
    Optional, if you plan on editing your core or want a clean view of your configs. I’d recommend it but if you’re low on HD space don’t bother.

    Map/Vmaps Extractor Binaries
    If you don't plan on compiling these yourself.

    TrinityCore Development Libraries
    Open the archive, open "lib", then you'll see 4 folders;

    open win32_release
    you'll see some dlls and some Libs, take all of the libs and place them in C:/program files(x86)/Visual Studio 9.0/VC/lib/

    now restart your PC


    2. Obtaining the source using HG
    Make sure TortoiseHG has been installed correctly and that you have restarted if prompted.

    Create a folder on your desktop; this will be your source folder. It’s where you will compile and edit your core. Follow this picture:


    A Window will pop up, prompting for a few fields.
    Fill in “Source Path” as I did,
    “Destination Path” is the location of your source folder.


    Let the program run for a while, it could take up to 10 minutes depending on your Internet Speed.
    Once you see this, it’s safe to exit out of TortoiseHG


    Now we’re on to section 3!

    3. Compiling the core
    Open up your source folder. Then go to /SOURCE/WIN/
    Open “TrinityCore&Script VC90.sln” with VC++

    You should see something like this:


    Now go to the “Build” Tab then select “Configuration Manager”


    Change “Active Solution Configuration” from “Debug” to “Release”


    Now let the compiler do its thing.
    When it’s done you should get this:


    You’re halfway there!

    4. Obtaining and configuring your database

    TDB Link: https://trinitydb.googlecode.com/hg/full_db/
    The newest version is the file with the highest number (dur)
    (it’s NOT in the archive folder)

    Now put these aside for a bit, We’re going to set up MySQL

    Run the installer for MySQL that you downloaded at the beginning of the guide. (If you passed it by, it’s at the top of the page :p)

    Once MySQL is installed, it will ask you if you want to configure the server. Select Yes.
    Follow this picture to configure MySQL:


    After 9. Hit next, then on the 10th screen hit “Execute”


    You should get the all clear.
    Once you hit Finish, you’ve set up MySQL.

    I hope you still have those databases!

    Now open up Navicat.

    Up at the top, under “Connections” Select “MySQL”


    You’ll get a window with “maor stuff” to fill out.
    Fill out the window like this:


    Once you’re in.
    Create 3 new databases, “World” “Characters” “Auth”


    Now, find your TDB rar file
    Extract it to anywhere. (You need Winrar (dur))
    Now right click “world” select “Open Database”


    Then “execute batch file”


    Now navigate to find your TDB sql file

    Navicat will now execute your database (this could take a good 20 minutes)

    Once that’s finished, open “Characters” “execute batch file” navigate to
    “SOURCE FOLDER/sql/base/characters.sql” let that execute, then open “auth” and execute “SOURCE FOLDER/sql/base/auth.sql”

    Running the Updates
    In the “SOURCE\sql\updates\” folder are all of the updates you need to apply. Don’t worry about all of those files, because you only need to execute the ones that are a higher number than your CTDB or TDB database. Say your CTDB database is TDB_rev32_0.0.4_7441.sql
    The 7441 is the revision number it was made for. So you only need to execute the updates that are PAST 7441 (7442+, dur) You DONOT need to execute the character or realmd updates. Just the ones beginning with “world_” and a revision number past “7441”

    Once you’ve installed all of the necessary updates. All that’s left is your configs!

    Go into your “SOURCE/bin/win32_release/” folder. The 2 files we’re looking for are called “worldserver.conf.dist” and “authserver.conf.dist”
    You’re going to want to remove the .dist extension so that they both files become “worldserver.conf” and “authserver.conf” respectively.

    Now open worldserver.conf with WORDPAD, WORD, or Notepad++. Notepad will not work with TrinityCore config files.

    Look for these 3 lines:

    LoginDatabaseInfo     = ";3306;trinity;trinity;auth"
    WorldDatabaseInfo     = ";3306;trinity;trinity;world"
    CharacterDatabaseInfo = ";3306;trinity;trinity;characters"
    Change them to:

    LoginDatabaseInfo     = ";3306;root;YOURMYSQLPASS;auth"
    WorldDatabaseInfo     = ";3306;root;YOURMYSQLPASS;world"
    CharacterDatabaseInfo = ";3306;root;YOURMYSQLPASS;characters"
    Where YOURMYSQLPASS is your MySQL password you set while configuring your MySQL server.
    Now open authserver.conf with WORD, WORDPAD, or Notepad++
    Find the line:

    LoginDatabaseInfo = ";3306;trinity;trinity;auth"
    Replace it with

    LoginDatabaseInfo = ";3306;root;YOURMYSQLPASS;auth"
    Where YOURMYSQLPASS is your MySQL password you set while configuring your MySQL server.
    That’s all that’s necessary to do to get your server running!

    I highly recommend that you read ALL of these config files. What I’ve shown you is just the bare minimum. To really understand your server, and to customize it a lot more you NEED to read both config files completely.

    5. Extracting extra data
    The last small step you need to do is go to where you downloaded "maptools.zip" (at the top of the guide, if you missed it :p)
    now select everything in the zip file you downloaded and place them in your world of warcraft folder.
    First run mapextractor.exe
    (Vista and 7 users need to run this as admin)
    This will extract your maps and DBCs.

    It will do this, for quite a while (10-20 min)

    When mapextractor.exe closes, that means it has finished extracting all of its data.
    Now Drag and Drop your “maps” and “dbc” folders from your WoW directory to your “SOURCE/bin/win32_release/” folder.

    5.5. Vmaps

    Now run makevmaps3_simple.bat
    it will run for quite a while, (about a half an hour)
    once it has closed, it means it's done.
    drag the vmaps folder from your WoW directory to SOURCE/bin/win32_release/

    you can safely delete the "buildings" folder in your WoW directory, it's not needed.

    That's All! You should be able to start worlserver.exe and authserver.exe with no problems!

    If you have any questions, send me a PM or reply to this thread!
    Try to give me a specific error so I can get your problem solved faster!​
  2. How to make your newly compiled server public:
    Now that you have your new shiny server, you might be wondering how you can get your server public for some real fun.

    Step 1: Setting up a DNS
    Go to http://www.no-ip.com
    If you already have an account (You’ve set up a server before) log in.
    If not, you’re going to have to register here: http://www.no-ip.com/newUser.php

    Once you’re registered log in you’ll be greeted with this screen;

    Now you’ll be shown another page Fill it out like I have;

    YOUREALMLIST would be the name of your server.

    That’s all for your DNS

    Step 2: Modifying the database.
    Open up your Database Connection.
    Open your ‘auth’ database.
    Now open the ‘realmlist’ table

    Once you’ve opened the ‘realmlist’ table you’ll get a window that looks like this:

    This is also a good time to show you what each column does.
    Id: Used if you have more than 1 realm the lower the number, the closer to the top it is on the in-game realmlist.
    Name: The name of the realm in the in-game realmlist
    Address: The realmlist of the server. (What people set their realmlist in order to connect.)
    Port: Used if you have more than 1 realm (Each realm needs their own forwarded port)
    Icon: Reflects what you changed in the configs (doesn’t do anything if changed here)
    Color: Reflects what you changed in the configs (doesn’t do anything if changed here)
    Timezone: Reflects what you changed in the configs (doesn’t do anything if changed here)
    Allowedsecuritylevel: What GM rank you need to connect to the server
    Population: Not sure about this one, I know it handles "High, Low, etc" but I don't know the values for it.
    Gamebuild: Handles what client version is allowed to connect to the server. (11723 == 3.3.3a) This won’t affect anything if a new patch comes out but the core doesn’t have support for it!

    Once you’re done modifying the realmlist column to your liking, exit out of navicat.

    On to step 3!

    Step 3: Port Forwarding
    This part is actually extremely easy, if you know your router password and how to obtain your router’s IP

    Here are a few default router IPs you can try:
    If none of those work, you probably set your router to use a different IP, so you should know it.

    Once you’ve found your router IP, you’ll need to figure out the login.
    The password is almost always defaulted to “password” “password1” or “highspeed”
    The last one is only for Comcast
    The user is almost always “admin” or “cusadmin”
    Once again, the last one is for Comcast

    If none of these work, you can call the manufacturer of the router for the default user and pass of your router model or ask whoever set up your router for the credentials they set up.

    If you’ve gotten in successfully, then find the section related to ports “Port forwarding/Triggering” or just “Port forwarding”
    You’ll need to add 3 new ports “8085” "3306", and “3724”. If you’re interested in setting up a website too, then open port “80”

    That’s all you’ll need to do with your router. I apologize for the lack of specification in this section, but this step really is different for everyone.

    Now that you’ve stumbled through that last step
    You should be all set up!

    Account Management
    If you don't decide to make your server public, or you'd rather test things out before you go public. You'll need to make an account. Adding an account in the database doesn't work, so you'll have to make one in the console!

    1. Start both your authserver and worldserver.
    2. Open your worldserver window

    Make sure it has started up (the last line is

    Trinity process priority class set to HIGH
    You'll also notice you can type in your worldserver but not in your realmserver.

    3. Now, type this statement into worldserver;

    account create ACCOUNTNAME PASSWORD
    This creates a normal player account, no GM powers, no expansions.

    If you want to make someone a GM, you can use this piece of code;

    account set gmlevel ACCOUNTNAME GMLEVEL -1
    Where gmlevel is the account's new GM rank (1-3) for all of you wondering, yes 4 is the highest rank and it is NOT to be used in-game (reserved for the trinity console).
    -1 is stands for any realm. if you put -1 when doing this, the account would have a gm level of GMLEVEL on every realm.
    You can also specify realmIDs, (1, 2 etc...)

    If you want to raise someone's expansion, you can use this;

    account set addon ACCOUNTNAME ADDON
    ADDON is the expansion level
    0: Pre-BC
    1: BC
  3. Copy and paste... Esto no sirve de nada
  4. Tienen razón seguir este tutorial es perder el tiempo
Estado del tema:
Cerrado para nuevas respuestas