Wednesday, September 23, 2009

Latest mangos Linux x86_64 compiles with UDB + NCDB + FDB

Here I want to share with some mangos compiles by me.
THIS IS NOT FOR BEGINNERS! DONT ASK ME HOW TO MAKE DIRECTORIES, SETTING PERMISSIONS OR HOW TO WORK WITH MYSQL!

Make shure you change the red highlighted data with your own.

It's compiled under a x86_64 debian system so I am not shure if it works under non 64 bit systems or yours.

If you dont know :(6): if you run a 64 bit system do this:

Code:
uname -a
if the output is similar to this one then you run on 64 bits:
Linux thecomputer 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 GNU/Linux


Install instructions (you must follow my instructions to make shure it works):
We will install it into /home/wow/wotlk

Download the file.

Open a terminal window.

Code:
cd /home
mkdir wow
sudo chown YOURUSERNAME.YOURGROUP wow
cd wow
move the downloaded file (wotlk.tar.gz) into this directory (/home/wow/)

Extract the file.

Code:
tar xzf wotlk.tar.gz
This should create a new directory "wotlk" inside your /home/wow directory.

Code:
sudo chown -R YOURUSERNAME.YOURGROUP wotlk
cd wotlk
chmod +x ./*
chmod +x ./bin/*
Now to your dbc's, maps and vmaps. Your must put them into their respective diretories in the "data" folder!!!!!! The dbc and map extractors are included in the data/tools folder. Place the files into your wow installation directory then run ad.exe and make_vmaps.bat. It works perfectly if you have wine installed.
If not run

Code:
sudo apt-get install wine

Now lets install the databases.

Code:
cd /home/wow/wotlk/database
Code:
mysql -u root -p -D mysql < "create_mysql.sql" 
(you will be asked for your mysql ROOT password!)

This will create a new user "wotlk" with the password "wotlk". Use this information to import the databases. The config scripts are already configured to use this username/password combination.


Code:
mysql -u wotlk -p -D realmd_wotlk < "realmd.sql" (remember, the password is wotlk) mysql -u wotlk -p -D characters_wotlk < "characters.sql" mysql -u wotlk -p -D mangos_wotlk < "mangos.sql" 

Now you can choose which database to use. DO NOT ASK ME WHICH ONE TO USE. IT's UP TO YOU. EACH OF THEM HAS IT'S PRO'S and CON'S! If you want you can try all 3 of them ;)


UDB Install:

Download the UDB database from my link and place it into the database directory (you should be in that directory anyway).
Extract the database
Code:
tar xzf udb_rev366.tar.gz
cd udb_rev366
mysql -u wotlk -p -D mangos_wotlk < "UDB_0.11.0_Core_7069_SD2_838.sql"
(remember, the password is wotlk)

Now we need to install SD2:
Code:
cd ../scriptdev2_rev838
mysql -u wotlk -p -D mangos_wotlk < "mangos_full_scripts.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2_script_texts.sql" mysql -u wotlk -p -D mangos_wotlk < "005_acid_695_mangos.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "005_acid_695_scriptdev.sql"

NCDB Install:

Download the NCDB database from my link and place it into the database directory (you should be in that directory anyway).
Extract the database
Code:
tar xzf ncdb_rev47.tar.gz
cd ncdb_rev47
mysql -u wotlk -p -D mangos_wotlk < "mangos_ncdb47_clean_without_updates.sql"
(remember, the password is wotlk)

Now we need to install SD2:
Code:
cd ../scriptdev2_rev838
mysql -u wotlk -p -D mangos_wotlk < "mangos_full_scripts.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2_script_texts.sql" mysql -u wotlk -p -D mangos_wotlk < "005_acid_695_mangos.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "005_acid_695_scriptdev.sql"

FDB Install:

Download the FDB database from my link and place it into the database directory (you should be in that directory anyway).
Extract the database
Code:
tar xzf fdb_rev77.tar.gz
cd fdb_rev77
mysql -u wotlk -p -D mangos_wotlk < "v7.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "sd2.sql"
(remember, the password is wotlk)

Now we need to install SD2:
Code:
cd ../scriptdev2_rev838
mysql -u wotlk -p -D mangos_wotlk < "mangos_full_scripts.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "scriptdev2_script_texts.sql" mysql -u wotlk -p -D mangos_wotlk < "005_acid_695_mangos.sql" mysql -u wotlk -p -D scriptdev2_wotlk < "005_acid_695_scriptdev.sql"

Congrats, you just have installed MrFreaky's mangos repack for linux.

Now lets check if it works.
I hope you followed my instructions. Let's make a dry run to check the output of the server:
Code:
cd /home/wow/wotlk
./bin/mangos-realmd
if this runs correctly open another terminal window and cd to /home/wow/wotlk
and run
Code:
./bin/mangos-worldd
wait until it finishes to load and your computer beeps. If this works (even if there are lots of errors scrolling by)
and it outputs something like this
Code:
WORLD: World initialized
User thread created.
pollPendingThreads()
Thread destroyed.
1 pending-thread reclaimed.
1 user-thread added.
Thread starting...
User thread created.
pollPendingThreads()
1 user-thread added.
Thread starting...

User thread created.
mangos>pollPendingThreads()
1 user-thread added.
Thread starting...
Max allowed socket connections 1024
press CRTL+C in those two terminal windows and lets run mangos with the real starter
Code:
./mangos-server start
To stop your server you type:
Code:
./mangos-server stop
Or if it doesnt start for the first time or if it crashed
Code:
./mangos-server restart

Connect with your wow client and enjoy

Logins are the default ones:
ADMINISTRATOR/ADMINISTRATOR
GAMEMASTER/GAMEMASTER
MODERATOR/MODERATOR
PLAYER/PLAYER

FILES
The password to download the files is MrFreaky.

fdb_rev77

ncdb_rev47

udb_rev366

and last but not least :)

MrFreaky's Mangos 7069 Linux x86_64 compile with SD2 rev.838

MrFreaky's Mangos 7076 Linux x86_64 compile with SD2 rev.838

And here the latest and hottest:

MrFreaky's Mangos 7092 Linux x86_64 compile with SD2 rev.841 and Acid 5.0

Thanks to:
The makers of Mangos
The makers of the respective databases
Keazain for converting NCDB

0 comments:

Post a Comment


Powered by: BlogSpot