[Guide] Setting up Private Lan Server

This is a discussion on [Guide] Setting up Private Lan Server within the WoW Private Server Info & Help forum part of the WoW forum category; In this guide we will only show you how to set up for a local installation and hosting situation. If ...


+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 18

Thread: [Guide] Setting up Private Lan Server

  1. #1
    hendricius's Avatar
    hendricius is offline Administrator
    hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future
    Join Date
    Feb 2007
    Location
    Hamburg, Germany
    Posts
    5,877
    Downloads
    108
    Uploads
    144
    Rep Power
    13
    Reputation
    1536

    [Guide] Setting up Private Lan Server

    In this guide we will only show you how to set up for a local installation and hosting situation. If you need assistance in setting up for a LAN or on the Internet, then see this guide.


    Required Software:

    * A Windows or Linux Operating System.
    * A copy of World of Warcraft, updated to 1.12.1 (US) or 1.12.2 (EU) ONLY.
    * A compiled binary of MaNGOS.
    o Pre-compiled here or learn to compile your own here.
    * The "ad.exe" map extractor tool here.
    * The *.dbc extraction tool mpqe.exe. (REQUIRES .NET FRAMEWORK)
    * http://dev.mysql.com/downloads/mysql/5.0.html#downloads
    * Any MySQL client. SQLyog is free and very popular. Found here. SQLyog will be used in this guide.


    Install SQL Applications

    Install MySQL

    1. Launch the MySQL installation application. (Setup.exe)
    2. When prompted, select "Typical" for setup type.
    3. When prompted, select "Skip Sign-Up".
    4. When install is complete you will be given the option to "Configure the MySQL Server Now". Make sure this is checked, then press finish.
    5. When prompted, select "Standard Configuration"
    6. When prompted, place a check in "Install as Windows Service" and "Launch the MySQL Server Automatically". Service name should be "MySQL"
    7. When prompted select "Modify Security Settings". In the two empty dialog boxes, type in the password you wish to use for the MySQL root (aka Administrator) account. This is the most important account on MySQL and has full access to all databases and functionality. It's recommended you use a very strong password to prevent access to your MySQL server instance. (If you plan on administering your MySQL instance from a remote machine, then select "Enable root access from remote machines". If you don't know if you need this, then do not select it.)
    8. Select execute to apply all of your configuration settings.


    Install SQLyog (or your preferred MySQL tool)

    1. Launch SQLyog installation application. (SQLyog519.exe)
    2. Accept license agreement when prompted.
    3. Install in default location when prompted. (You can install in an alternate directory if you prefer.)
    4. When installation is complete, place a check in the box for "Run SQLyog 5.19".
    5. When SQLyog launches you will be prompted to fill in the following:
    * MySQL host address: Usually this will be "localhost" or the IP address of the server where your MySQL database is running.
    * UserName: "root"
    * Password: this is the password you selected in your MySQL installation for the root account (step #7 above).
    * Database(s): "realmd;mangos"
    * Leave other options to defaults.
    6. Press Connect. This will connect you to your MySQL instance.
    7. Once the interface opens, right-click on root@localhost in the left pane, and select "Create Database".
    8. When prompted for a database name type "mangos".
    9. Repeat steps 7 and 8 and type "realmd" for the second database.

    Setup MaNGOS Server Directory:

    * Create a directory for your MaNGOS installation. For example: "C:\MaNGOS"

    * Extract all files from your downloaded binary to this MaNGOS directory.
    o If you created your own binary copy all of the *.exe and *.dll files from your \bin\release directory into the MaNGOS directory.
    o Make sure that the files mangosd.conf and realmd.conf are placed in this same directory. (Some binary compilations will have these files in an "extras" folder.)
    o If you've compiled your own binaries then you will need to copy the mangosd.conf.in and realmd.conf.in files from your "\src\mangosd" and "\src\realmd" directories. Rename them both by removing the ".in" portion of the file name.
    o If you've downloaded your binary files, make sure it included two .dll files "libeay32.dll", and "libmySQL.dll" and that these are placed in your MaNGOS directory. If these were not included in the binary d/l check with the provider to see if they have these files in a seperate archive. If you compiled your own release, you will have these files in your release directory.

    Extract Client .dbc and map Files

    Extract map files

    * Place ad.exe into the client's root directory. ("C:\World of Warcraft")
    * Create a subdirectory called 'maps'. ("C:\World of Warcraft\maps")
    * Launch ad.exe. This will begin the extraction of map files. (This can take a long time depending on your system.)
    * When ad.exe has finished, copy the folder "C:\World of Warcraft\maps" and place it in your ManGOS server directory ("C:\MaNGOS"). So you should now have a "C:\MaNGOS\maps" directory containing numerous (2400+) .map files.
    * You may now safely delete the directory "C:\World of Warcraft\maps".

    Extract *.dbc files

    * Create a directory for your .dbc files in the MaNGOS server directory. ("C:\MaNGOS\dbc")
    * Extract all the files of the mpqe archive into the client data directory. ("C:\World of Warcraft\data")
    * Open up your dos command window. (Start->Run, type "cmd" then enter.)
    * Change your directory to "C:\World of Warcraft\data". (type cd "C:\World of Warcraft\data")
    * Type in the following:
    CODE
    mpqe /p dbc.MPQ DBFilesClient\*.dbc
    * mpqe will now extract the dbc files to a new directory in your client's data directory called \MPQOUT\DBFilesClient. ("C:\World of Warcraft\data\MPQOUT\DBFilesClient")
    * When mpqe has completed, copy the content all of the .dbc files from the output directory listed in the previous step to your server's dbc directory. ("C:\MaNGOS\dbc") You should have 158 .dbc files.
    * You may now delete the client output directory ("C:\World of Warcraft\data\MPQOUT") if you wish.

    Install the Database

    Realmd Database

    * Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
    * In the left pane, right-click on realmd and select "Import Batch File". (Note: In SQLyog v5.22 select "Restore from SQL Dump".)
    * Browse to the "realmd.sql" file in your server directory. ("C:\MaNGOS\sql")
    * Execute. This should only take a moment and you will get a message that it's complete.
    * Close Dialog.

    ***CRITICAL***
    You have two options when loading the MaNGOS database. You can use a standard empty database that provides table structure and core components only, OR you can install a playable database that includes everything you would need to start playing immediately.

    The baseline database is called "mangos.sql" and can be found in your server's "\sql" folder. This database has no NPCs, no monsters, no quests or other data. It ONLY provides the SQL table structure.

    For a playable database you need to go to Silver's Database Site and download a FULL database that is compatible with your current MaNGOS binaries. After the downloaded file is extracted it should be at least 40MB and as large as 100MB.

    MaNGOS Database

    * Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
    * In the left pane, right-click on mangos and select "Import Batch File". (Note: In SQLyog v5.22 select "Restore from SQL Dump".)
    * Browse to the database file that you wish to load to create your database. (This will either be the basic mangos.sql from the binary downloads or a large full database from Silver's forum or another source.)
    * Execute. This will take quite some time depending on your system. At points it may seem like it's hung. LET IT RUN! When it's complete you will have all the data you need to run MaNGOS.
    * Close Dialog.

    Configure MaNGOS

    Setup your realm:

    * Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
    * Open the realmd branch in the left pane and select "realmlist".
    * At the bottom of SQLyog click on the "Table Data" tab.
    * Change the "name" field to your preferred realm name. It CANNOT be the default "MaNGOS".
    * For now leave the address to "localhost" or "127.0.0.1". (This will be the same address that your clients must set in their realmlist.wtf files to connect.)
    * Select the "Save Changes" button.

    Configure realmd.conf:

    * Open realmd.conf in notepad. It should be in your root server directory ("C:\MaNGOS).
    * Find "LoginDatabaseInfo =" Change it to "LoginDatabaseInfo = "127.0.0.1;3306;root;[password];realmd".
    * Save and close file.

    Configure mangosd.conf:

    * Open mangosd.conf in notepad. It should be in your root server directory ("C:\MaNGOS).
    * Find these lines and set as shown:
    o DataDir = "."
    o WorldDatabaseInfo = "127.0.0.1;3306;root;[password];mangos"
    o LoginDatabaseInfo = "127.0.0.1;3306;root;[password];realmd"
    * Save and close file.
    Congratulations! MaNGOS is now ready to run!

    * Launch realmd.exe then mangosd.exe. When the server is ready you will hear a system beep. Clients can then login.

    * All clients that wish to connect to your server must modify their realmlist.wtf file in the client directory to match your realm information as you specified in SQL. For example: "set realmlist 127.0.0.1".

    * There are 3 basic accounts already provided when you start. To view these accounts and their passwords you will need to look at the "account" table in the realmd database. The GM levels should be self-explanatory in their default settings.


    If you have any questions or run into problems with these procedures please post your issues as a reply to this thread and someone will attempt to help you through it. That is, if we can tell you did what the procedures said to do.

    posted by Spuddlethud on Mangosproject.org

  2. #2
    Join Date
    Feb 2007
    Posts
    4
    Downloads
    0
    Uploads
    0
    Rep Power
    4
    Reputation
    0

    [Guide] Setting up Private Lan Server

    well i think i did this right first time using this stuff but your info was good but when i try to connect i cant and also it says " the ap has failed cause msvcr71d.dll is gone reinstall to fix whats that mean thanks in advance.
    Nitrous is like having sex with a hott chick with an STD, you know you wanna hit it but are afraid of the outcome!

  3. #3
    hendricius's Avatar
    hendricius is offline Administrator
    hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future hendricius has a brilliant future
    Join Date
    Feb 2007
    Location
    Hamburg, Germany
    Posts
    5,877
    Downloads
    108
    Uploads
    144
    Rep Power
    13
    Reputation
    1536

    [Guide] Setting up Private Lan Server

    Unzip and copy that in your Mangos Install dir and into System32.

    Hope this helps.

  4. #4
    Caramba is offline Premium Member
    Caramba will become famous soon enough
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    1,864
    Downloads
    1
    Uploads
    0
    Rep Power
    4
    Reputation
    58

    [Guide] Setting up Private Lan Server

    Works good for me, seriously

    Gonna try it soon !

    Big thanks

  5. #5
    Grotak is offline Member
    Grotak is an unknown quantity at this point
    Join Date
    Feb 2007
    Posts
    38
    Downloads
    0
    Uploads
    0
    Rep Power
    4
    Reputation
    0

    [Guide] Setting up Private Lan Server

    I would try it...but i dont understand any of that LOL )
    You may be a winner in game but your a loser in life <br />:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0: 0:0:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UM....PWNT!

  6. #6
    Join Date
    Feb 2007
    Posts
    4
    Downloads
    0
    Uploads
    0
    Rep Power
    4
    Reputation
    0

    [Guide] Setting up Private Lan Server

    well all is good its working on my server but i cant connect with my main machine for some reason gets stuck at the choose a server screen and i dont understand why works fine on the server though. any insight. good right up btw.
    Nitrous is like having sex with a hott chick with an STD, you know you wanna hit it but are afraid of the outcome!

  7. #7
    byte is offline Newbie
    byte is an unknown quantity at this point
    Join Date
    Mar 2007
    Posts
    1
    Downloads
    0
    Uploads
    0
    Rep Power
    4
    Reputation
    0

    [Guide] Setting up Private Lan Server

    thx u m8
    "There is now war without me"

  8. #8
    Join Date
    Feb 2007
    Posts
    4
    Downloads
    0
    Uploads
    0
    Rep Power
    4
    Reputation
    0

    Re: [Guide] Setting up Private Lan Server

    absolutely great on my lan but i dont think it works on the net for my friends to connect to my server.
    Nitrous is like having sex with a hott chick with an STD, you know you wanna hit it but are afraid of the outcome!

  9. #9
    XplittR's Avatar
    XplittR is online now Ex-Admin with OrangePower

    XplittR is a splendid one to behold XplittR is a splendid one to behold XplittR is a splendid one to behold XplittR is a splendid one to behold XplittR is a splendid one to behold XplittR is a splendid one to behold XplittR is a splendid one to behold
    Join Date
    Feb 2007
    Location
    Norway
    Posts
    2,625
    Downloads
    6
    Uploads
    0
    Rep Power
    8
    Reputation
    777

    Re: [Guide] Setting up Private Lan Server

    Quote Originally Posted by AyCaramba
    Works good for me, seriously

    Gonna try it soon !

    Big thanks
    Tell me, how can it work good for you, when you havent even tryed it yet? "Its the best ive tryed, and ill try it soon!", Does'nt that sound suspicious?

  10. #10
    Psymon is offline Newbie
    Psymon is an unknown quantity at this point
    Join Date
    Apr 2007
    Posts
    2
    Downloads
    0
    Uploads
    0
    Rep Power
    3
    Reputation
    0

    Re: [Guide] Setting up Private Lan Server

    Hello I have a problem ... I run realmd.exe it work ! But when I run mangosd.exe it occured an error and that crash the apply...

    The error is:

    Error with the "creature template" table, probably SQL file format was updated (there should be 66 fields in sql)


    I don't understand I do everything as you write in you post ...


    Please Help ...

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Dboyz Interactive Skillhackers