AutentificareUtilizatorParola
Autentifica-ma automat la fiecare vizita    
Inregistrare
Inregistrare
Mesaje private
Mesaje private
Pagina de start a forumului MuZone Forum » Guides

Creaza un subiect nou   Raspunde la subiect
Making a mangos WoW server on Linux
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
Astaroth
Admin
<b><font color=red>Admin</font></b>
Astaroth

Data inscrierii: 04/Oct/2006
Mesaje: 2640
Localitate: MuZone World!

MesajTrimis: 16/07/2007 00:12    Titlul subiectului: Making a mangos WoW server on Linux Raspunde cu citat (quote)

Downloads:
[url=http://filebeam.com/f1707abf9817bcfa401cbe7a6e6508b0]MaNGOS 2652 Release[/url]
DBC:
[url=http://filebeam.com/476ce8016f68cfe94c649f804300fbf9]1.12.1 [/url]

DATABASE:
[url=http://filebeam.com/00258bcce780fc6e9410380996a821a3]silver db 0.5.0 full [/url]
[url=https://opensvn.csie.org/SDB/patch/0.5.1/]silver db 0.5.1 svn patches [/url]
[url=https://opensvn.csie.org/SDB/patch/0.5.2/]silver db 0.5.2 svn patches [/url]
[url=https://opensvn.csie.org/SDB/patch/0.5.3/]silver db 0.5.3 svn patches [/url]

New MAPS:
[url=http://www.megaupload.com/it/?d=79YFAO8G]1.12.1 [/url]

[url=http://view.vi.funpic.de/ad.exe]New ad.exe [/url]


easy way to get it running - 1 Week Ago
ok, u have problem - try it this way 10 steps - it's easy

1.
install svn (subversion)
(debian e.g.) sudo apt-get install subversion

2.
create dir for mangos:

lala:/opt# mkdir mangos

3.
download newest ver by exec this:

notice - there is a link to svn, but you need to type it the as it is.
lala:/opt# svn checkout https://svn.sourceforge.net/viewvc/mangos/trunk /opt/mangos

If all went ok go to to next one

6.
run this one and have a cup of coffe -> it'll take some time
lala:/opt/mangos# make

7.
ok, so you'r not sleeping - good
now it's time to install it
lala:/opt/mangos# sudo make install


so - it's installed now - great but, it's not done yet.
u have to download maps -> link
and extras them into maps dir (in this archive is maps folder, so just copy&paste it in mangos dir.
and you need one more tihng DBC -> link
extract it into mangos dir (u have dbc dir in this archive so just copy&paste it into mangos dir).

8.
ok, you can start the server. go to mangos/bin directory and from first shell (or term window) start ./realmd by typing ./realmd

now start mangos from second shell or term window (also from your bin directory) type ./mangosd

it will end like this (if all went ok)
Loading Teleport Coords...
Loading Game Object Templates...
arrow Loaded 180105 game object templates
Scripts Library was successfully loaded.
Initializing Scripts...
Reference thread created.
1 reference-thread added.
Grid compression apply on creatures....
Grid compression apply on gameobjects....
WORLD: SetInitialWorldSettings done
WORLD: Starting Event System

Setting Grid clean up delay to 300 seconds.
Setting map update interval to 100 milli-seconds.
User thread created.
pollPendingThreads()
1 user-thread added.
User thread created.
Thread starting...
pollPendingThreads()
1 user-thread added.
Thread starting...

mangos>

9.
so now u have a server.
you can download acc creation page -> here
and if you want to add new realm (i've done that from phpmyadmin - open database realmd, click on realmlist - on left side, then on the right side click on insert. Fill in the field "name" and address (if you want to allow your network clients to connect) with your IP address of the "mangos" computer.

10.
patch your W*W to 1.12.1 or 1.12.2 and you can play.

-------------------------------------------------------------------------------------------------------------------------------------------

ok, one little update!!!!!

IF you download mangos via svn, it can be ver 0.6, and then u need maps 1.12.2 and u can find them here

(usualy, u get error that maps are outdated, then just download 1.12.2 maps and place them in /maps dir and play it again Sam )


--------------------------------------------------------------------------------------------------------------------

MySql tutorial

MySql is required for mangos to work, optional is PHPMyAdmin and PHP.

i.e. (debian) apt-get install mysql-server phpmyadmin php5 (to be able to install php5 and mysql 5 maybe you'll need to modify your apt source list - but that's way out of this tutor).

When you install MySql, download newest SDB (HERE - SDB forum - registration needed).

Ok, you have latest database, now let's lucrate database. If you installed phpmyadmin, point your browser to i.e. http://localhost/phpmyadmin/index.php login to your mysql server with usrname & passwd, and you'll see a field - Create new database, there fabricate database called mangos and once again create database realmd. Becouse phpmyadmin has a limitation of filesize to import, got to shell/terminal and type: lala:/where/u/xtracted/sdb/ mysql -p mangos < name-of-sql.sql (i.e. lala:/opt/mangos/sql# mysql -p mangos < mangosdb.sql)

It will take some time to import about 100-120mb of data.
Repeat the same action for realmd.sql (i.e. lala:/opt/mangos/sql# mysql -p realmd < realmd.sql ).

So you have your databases up and running. You need to edit realmd database table realmlist to set it the way you want (realmname, ip .. . .).

In case that it is needed, update your mangos db (in your mangos dir, there is dir sql, and inside is dir updates. There are located updates for mangos and realmd. So, point your browser to http://localhost/phpmyadmin/index.php login and on the left side select database mangos, then go to import, click browse and navigate to your mangos/sql/updates dir. select the update you want (recommended is to exec ALL UPDATES newer than your DB release) and hit go. If you get error, in most cases it means that the update you'r trying to do is already included in your database, but read the error output.

So, this is really short mysql tutorial, i'll try to add some more things later.
------------------------------------------------------------------------------------------------------------------
To update your mangos (core and sql) you can do it this way:

lala:/# svn up https://svn.sourceforge.net/viewvc/mangos/trunk /opt/mangos

it will download all updated files newer than your release, but you have to read a bit to figure out if some major update has been made (like transports.sql) becouse transports.sql needs transports.cpp and transports.h to work fine. That's just an example,
_________________
Making a mangos WoW server on Linux Making a mangos WoW server on Linux
Sus
Vezi profilul utilizatorului Trimite mesaj privat Trimite un mesaj
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului MuZone Forum » Guides Ora este GMT + 2 ore
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum

Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional

Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro