Follow us on Facebook Follow us on Twitter Pinterest Linked In Tumblr Watch us on YouTube My Space
Register
  • Complete Guide to creating vanilla wow private server from scratch.


    Probably many of you, folks, have at a certain point wondered what it would be to have a WOW server of your own. Some of you have even searched for information but have ended up finding some scattered forum comments or vague publications that have made you think it's very hard and you need to be somewhat of an IT developers in order to succeed. Well, as a matter if fact it is quite simple and in this article we will prove it. This guide provides detailed step-by-step directions to creating your own vanilla WoW private server. Moreover, a server created by using our guide will by no means fall short of the largest and most popular private WoW servers. But enough of small talk, let's get to work!

    The first step is acquiring and installing the software we will need in the process.


    1. Git - MySysGit
    Install with "Git bash here" support.



    2. Visual C++ 2008 or newer: Visual Studio Express Use "Visual Studio Express for Windows Desktop".
    3. Windows SDK - SDK for WIN 7 , SDK for WIN 8.1
    4. MySQL And Apache Server (Apache is optional, only install it if you are planning to create a server website.).

    Those of you with more advanced knowledge and IT skills will have no trouble installing and configuring the software. For those with no prior knowledge of MySQL and Apache servers, we suggest installing the following program:

    XAMMP - Here is a quick guide on how to install XAMMP

    5. MySQL client - SQLyog (There are many programs you can use but we highly recommend SQLyog) You need to download the latest available version wod Windows - SQLyog-xx.x.x-x.x86Community.exe.
    6. World of Warcraft client for Classic (1.12.x)

    7. Additional usefull software:
    Tortoise SVN (for easy database download)
    Notepad++ (An advanced text-editor with syntax highlighting)

    The next step is amassing the components of the server itself. We will spare you the details on what developments exist and which code is better because, our conscience clean, we can say that CMaNGOS have been the leader on this version for quite a long time now.

    So, the first thing you should do is colne Database

    The database contains information about every "living" being in WoW, about the objects, the characters, the items acquired during the game and your game history as a whole. Without this database your server will be nothing but a sandbox.

    Make a new folder: C:\Vanilla, right click and choose "Git Bash Here" (this menu appears after you have installed Git) A window will open where you should type the following:
    Code:
    git clone git://github.com/classicdb/database.git
    Press Enter and wait for the process to finish.




    The Core
    The core is what manages the server. It contains all scripts governing boss behaviour, instances, talents, spells and so on.

    In the same Git Bash window (where you cloned the database) type the following:
    Code:
    git clone git://github.com/cmangos/mangos-classic.git
    Press Enter and wait for the process to finish.


    Scripts
    Is an library which contains C++ scripts that, when added to core, handle special events, quests, encounters and bosses.

    Again in the same window type:
    Code:
    git clone git://github.com/scriptdev2/scriptdev2-classic.git mangos-classic/src/bindings/scriptdev2-classic
    We already have everything necessary to create our server. What we need to do now is transform all this code so as the machine will be able to process or, the so-called compiling. First, we will compile the core of the server.

    Go to folder C:\Vanilla\mangos-classic\win and start "mangosdVCXXX.sln" where the XXX = version of MS Visual Studio we installed earlier is.

    mangosdVC110.sln for Visual C++ 2013
    mangosdVC100.sln for Visual C++ 2010
    mangosdVC90.sln for Visual C++ 2008


    Wait for Visual studio to finish scanning.

    Open the menu "Build" > "Configuration Manager"
    Choose "Release" in the drop down box for "Active Solution Configuration"
    The drop down box "Active Solution Platform" should already be set to "Win32"
    Close the window
    Click the menu "Build" > "Build Solution"




    This will take some time.
    You might get some warning messages. Don't worry about it, that's normal.
    You must not get any error messages, although if you do so, you could click the menu "Build" > "Clean Solution" to restart the compile. If you cannot solve an error, please use our forums to ask for help.




    Next, we will also have to compile the scripts.

    Go to folder C:\Vanilla\mangos-classic\src\bindings\scriptdev2-classic
    Open the "sln" file that fits your version of Visual C++
    scriptVC110.sln for Visual C++ 2012
    scriptVC100.sln for Visual C++ 2010
    scriptVC90.sln for Visual C++ 2008
    Wait for Visual C++ to finish scanning.

    Open the menu "Build" > "Configuration Manager"
    Choose "Release" in the drop down box for "Active Solution Configuration"
    The drop down box "Active Solution Platform" should already be set to "Win32"
    Close the window
    Click the menu "Build" > "Build Solution"

    Good. We already have the compiled core and scripts. There is a little more work to do.

    Make a new folder where we will move all the files necessary for the server to work. We have named ours "Server".
    Transfer the files from your compile folder (C:\Vanilla\mangos-classic\bin\Win32_Release) into C:\Vanilla\Server
    Go to C:\Vanilla\mangos-classic\src\mangosd and copy "mangosd.conf.dist.in" to C:\Vanilla\Server and rename it to "mangosd.conf"
    Go to C:\Vanilla\mangos-classic\src\realmd and copy "realmd.conf.dist.in" to C:\Vanilla\Server and rename it to "realmd.conf"
    Go to CC:\Vanilla\mangos-classic\src\bindings\scriptdev2-classic and copy "scriptdev2.conf.dist.in" to C:\Vanilla\Server and rename it to "scriptdev2.conf"

    We now need to extract the game files that will make the server work. These are maps, buildings and a lot of information on what everything in WoW looks like.

    Copy the content of C:\Vanilla\mangos-classic\contrib\extractor_binary\ into your C:\World of Warcraft folder
    Run ExtractResources.sh from your C:\World of Warcraft.
    You must extract DBC/maps and vmaps for CMaNGOS to work, mmaps are optional (and take very long)
    When finish, create new folder "data" in C:\Vanilla\Server, move the folders maps, dbc and vmaps - optionally mmaps - that have been created in your C:\World of Warcraft to your C:\Vanilla\Server (the buildings folder is not required and can be deleted)

    Install databases
    First, we need to create the empty bases.
    Open SCLyog (The program you downloaded and installed in the beginning of this guide). Fill in the gaps and connect to your SCL Server.
    From the Database menu-> Create Database, create the following bases:
    vanilla_world
    vanilla_characters
    vanilla_scripts
    vanilla_realmd
    Fill world database:
    Right click the new base "vanilla_world" and click import ->execute SQL Script, navigate to folder C:\Vanilla\database\Full_DB and select file ClassicDB_1_2_1_z2401.sql or last version. click "open" and "execute".
    Now, we need to repeat this procedure for all files in folder C:\Vanilla\database\updates.



    Fill realmd database:
    Right click the new base "vanilla_realmd" and click import ->execute SQL Script, navigate to folder C:\Vanilla\mangos-classic\sql and select file realmd.sql, click "open" and "execute".
    Fill characters database:
    Right click the new base "vanilla_characters" and click import ->execute SQL Script, navigate to folder C:\Vanilla\mangos-classic\sql and select file characters.sql, click "open" and "execute".
    Fill scripts database:
    Right click the new base "vanilla_scripts" and click import ->execute SQL Script, navigate to folder C:\Vanilla\mangos-classic\src\bindings\scriptdev2-classic\sql and select file "scriptdev2_script_full.sql", click "open" and "execute".

    OK, we have already put all parts together. We only need to configure our new server.
    Go to folder C:\Vanilla\Server and open the file "realmd.conf" in a text editor program.


    Find the following row:

    Code:
    LoginDatabaseInfo = "127.0.0.1;3306;mangos;mangos;realmd"
    and replace it by your SQL server entry data
    Code:
    LoginDatabaseInfo = "127.0.0.1;3306;USERNAME;PASSWORD;vanilla_realmd"
    Again in folder C:\Vanilla\Server, open file "scriptdev2.conf"
    Find the following row:
    Code:
    ScriptDev2DatabaseInfo     = "127.0.0.1;3306;mangos;mangos;scriptdev2"
    and replace it by your data:
    Code:
    ScriptDev2DatabaseInfo     = "127.0.0.1;3306;USERNAME;PASSWORD;vanilla_scripts"
    The last file we need to configure is "mangosd.conf".
    Actually this is the file where you can all the settings of your server like drop rate, XP rate and so on. You should carefully read the entire configuration and adjust it according to your preferences.
    Now, we will show you what you need to do to start the server.



    Find the following rows:
    Code:
    DataDir = "."
    LoginDatabaseInfo     = "127.0.0.1;3306;mangos;mangos;realmd"
    WorldDatabaseInfo     = "127.0.0.1;3306;mangos;mangos;mangos"
    CharacterDatabaseInfo = "127.0.0.1;3306;mangos;mangos;characters"
    And change them into:
    Code:
    DataDir = "C:\Vanilla\Server\data"
    LoginDatabaseInfo     = "127.0.0.1;3306;USERNAME;PASSWORD;vanilla_realmd"
    WorldDatabaseInfo     = "127.0.0.1;3306;USERNAME;PASSWORD;vanilla_world"
    CharacterDatabaseInfo = "127.0.0.1;3306;USERNAME;PASSWORD;vanilla_characters"
    Done. We can now start the server.
    In folder Server, launch "realmd.exe". This module serves as a doorway to your server, it receives players' entry requests and connects the to the core (the game).
    It is time to start our server's core - "mangosd.exe".
    If you have carefully followed the instructions and nothing's gone wrong, you will see these two windows:




    Now, you need to register an account. In the core console type:
    account create MyNewAccount MyPassword
    And turn it into an admin account
    account set gmlevel MyNewAccount 3


    In order to log in to your new server, go to the WoW directory and open the "realmlist.wtf" file in a text editor. In the file type "set realmlist 127.0.0.1". Done. Now you can log in and have fun in your new server.


    For questions, problems and comments, please use our forum.
All times are GMT. The time now is 07:05 PM.
Powered by vBulletin® Version 4.2.0
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: ServerGaming
Protected by Copyscape Plagiarism Detector