Recent Posts

Pages: [1] 2
General Discussion / Re: Blah
« Last post by Amelthia on February 01, 2017, 12:22:00 pm »
changed combatability mode and got in.
General Discussion / Re: Blah
« Last post by Amelthia on February 01, 2017, 08:58:11 am »
well i can get in, but i get DC as soon as i get into the world
General Discussion / Re: Blah
« Last post by Amelthia on January 31, 2017, 11:32:49 am »
ruled out a firewall problem ( turned it off) , still get the "login server down" error. Realm list is set, check to make sure i was on the right version of wow. any ideas?
General Discussion / Re: Blah
« Last post by Amelthia on January 31, 2017, 08:50:58 am »
On the fun server, im on 3.3.5. atm says login server down now so idk
General Discussion / Re: Blah
« Last post by LordPsyan on January 25, 2017, 09:47:56 am »
Which realm are you trying to play?
General Discussion / Blah
« Last post by Amelthia on January 24, 2017, 01:31:30 pm »
Cant patch with the wow version i had for some reason. put the patch in, logged in shows 2 servers offline. *shrugs* on ward to the downloads page!
Linux / Re: How to install MaNGOS on debian 8 x64
« Last post by LordPsyan on December 18, 2016, 03:38:43 pm »
Continuing with Database install...

Step 3. Database Installation:

This section will explain how to install the database via Command Line. If you are familiar with SQLyog then I recommend using that.

First, we need to change to the database directory, and switch to the develop21 branch. Then we need to grab the Realm files. Assuming you are still in the same directory from the previous post...

Code: [Select]
cd ../../database/
git branch -a
git checkout develop21
git submodule init
git submodule update

The way I do things can sometimes be seen as difficult, or unnecessary. I do them actually for simplicity and speed. This next step will combine all the world tables into a single file. MaNGOS has provided a script for this, so this step is simple:

Code: [Select]

Now we get to connect to mysql, create the databases, and populate them with the proper data.

Code: [Select]
mysql -u root -p
CREATE DATABASE `character0` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Now we have the databases created, we have to setup the structure. mangosd0 and character0 can be done easily. realmd will require

Code: [Select]
mysql -u root -p realmd < Realm/Setup/realmdLoadDB.sql

And we do the same thing for character0 and mangos0 Then we need to populate mangos0 with all the data from the combined sql file we created earlier in this post.

Code: [Select]
mysql -u root -p character0 < Character/Setup/characterLoadDB.sql
mysql -u root -p mangos0 < World/Setup/mangosdLoadDB.sql
mysql -u root -p mangos0 < full_db.sql

And now your database is all setup. The next part you can figure out for yourself. Creating dbc maps vmaps and mmaps. I don't do this part in linux, and if you do use windows, you can check out the windows tutorial where it will explain it there.
Linux / How to install MaNGOS on debian 8 x64
« Last post by LordPsyan on December 18, 2016, 02:42:12 pm »
I have searched for a good install guide for MaNGOS, and found none. I have attempted to use the file, and it can work, but this tutorial will show you how to do it properly, on a fresh Debian install.

This will work for any version of mangos. I will be installing MaNGOSzero in this tutorial.

I will be using virtualbox to install everything needed, and putty to connect. Other programs I will use are winscp and SQLyog. For this tutorial, I will not be using winscp nor SQLyog. I will do everything, including database stuffs, via command line.

Links to software:
Core and Database files:

I will not add how to make your server public, or how to install virtualbox or debian. Plenty of tuts out there for that. The next step will assume you have virtualbox with debian installed. (or you have your dedicated debian server running). I will also assume you have sqlyog, winscp, and putty installed as well. This will take awhile, and you will notice more than just those when Debian asks you to confirm.

A quick note: I am an idiot, and always use root. I do not recommend this. I would use a different account, or make one specifically for MaNGOS.

Step 1. Requirements:

Some of these files are not actually required, but will come in handy later especially if you want to run a website.

We start with apt-get to install all the main stuffs. I will type the commands so you can copy/paste it, but also show it in putty.

Code: [Select]
apt-get install git cmake make gcc g++ libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip phpmyadmin libace-dev mercurial screen

I prefer to download all files into the /opt directory. For the rest of this tutorial, I will use "user" as the username for both mysql and debian login account. You can replace this with root, or some other username.

Next we must grab the core and database.

Step 2. Core Installation:

Using git, we will grab all the files we need. This step will have more pictures, because we want to use "develop21" branch of mangos.

The commands to grab the files are simple (You can change mangoszero for mangosone mangostwo, etc.):
Code: [Select]
cd /opt
git clone
Code: [Select]
git clone

Now we must change into the server directory, so we can switch branches and start the compile process.
Code: [Select]
cd server
git branch -a
git checkout develop21

Now that we are on the right branch (same commands to switch database to that branch, but I will include that later), we need to grab some extra stuffs. SD3, Eluna, Dep, realmd, etc. This took me awhile to figure out, because nowhere on MaNGOS forums or website explained it, but it turns out it is really simple.

Code: [Select]
git submodule init
git submodule update

Now we need to get things ready for a compile. This will require making a new directory, and issuing a cmake command. Feel free to change the location of your install. I never install it to the home directory, but it is common practice to advise to install stuff there. Normally, I would install it to /var/server.

Code: [Select]
mkdir build
cd build

This sets MaNGOS Zero to install with playerbots, but without Eluna or Soap. You can play with the options if you like. I don't use Eluna nor Soap, so I don't need them. You might.
Code: [Select]
This script builds the MaNGOS server.
  Options that can be used in order to configure the process:
    CMAKE_INSTALL_PREFIX    Path where the server should be installed to
    CONF_DIR                Path to the configs, can be absolute or relative.
    DEBUG                   Debug mode (strict compile, all warnings)
    ACE_USE_EXTERNAL        Use external ACE
    BUILD_MANGOSD           Build the main server
    BUILD_REALMD            Build the login server
    BUILD_TOOLS             Build the map/vmap/mmap extractors
    SOAP                    Enable remote access via SOAP
   Scripting engines:
    SCRIPT_LIB_ELUNA        Compile with support for Eluna scripts
    SCRIPT_LIB_SD3          Compile with support for ScriptDev3 scripts
    PLAYERBOTS              Enable Player Bots
  To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.

Only 2 more things to do in order to have your new MaNGOS server ready to run (not including website or database stuff).
You need to compile. Then you need to install.

Code: [Select]

This takes awhile, so go watch a movie or play with the kids.

My Virtualbox only has a single core, but if you have multiple cores, you can utilize them with the -jN option. The N is number of cores. Example: if you have a quad core processor (or 4 cores set in virtualbox) use the following command:

Code: [Select]
make -j4
The last thing you need to do in order to complete the installation of MaNGOS, its to install.

Code: [Select]
make install

This was a long post. The next post will describe how to properly setup the database.
General Discussion / General Chat
« Last post by LordPsyan on December 15, 2016, 02:45:07 pm »
Feel free to post anything about anything. Let's try to keep it clean. No flaming/trolling and Please, no spam
Pages: [1] 2