How to create WoW Private Server using Mangos

This guide is about creating a WoW Private Server (WOTLK) using Mangos. And because previously we’ve learned on how to compile mangos obviously the next step would be setting up Mangos which is going to be covered in this guide :)

Requirements

World of Warcraft Client version 3.3.3 (11723) or the latest version that Mangos support as stated on Mangos project description here

This guide is tested on WoW 3.3.3a client, and as long as the WoW client is supported by Mangos, it’ll work, although you might need to make some adjustment to several things listed in this guide, like the filename for example

MySQL

If you currently don’t have MySQL installed on your computer, please follow my previous guide on how to install MySQL on Windows XP or how to install MySQL on Windows Vista or Windows 7

Compiled Mangos Binary / Executable

Check my previous mangos compile guide because without the binary / executable itself, you won’t be able to run your own WoW private server. And beside this guide is based on my mangos compilation guide. So if you follow my previous guide completely (including the directory structure) then it’ll make thing easier for you

TortoiseSVN

This is needed in order to get the database for Mangos, as for the installation process i’ve described it on the compile guide. So if you follow the previous compile guide then you don’t need to reinstall it again

UDB and ACID Database

UDB and ACID is required so you can see NPC and doing quest in the WoW World, see below for instruction to get UDB and ACID

Downloading UDB and ACID

The first step is obviously downloading the required database in order for your WoW server to function as it should be, to do this we’re going to use TortoiseSVN to fetch the required files

1. Open Windows Explorer and right click on an empty space then choose SVN Checkout and type

http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk

as the repository address

udb svn co udb done

2. After finished with the above process, wow we need to download SD2 ACID. Type

 http://sd2-acid.svn.sourceforge.net/svnroot/sd2-acid

as the svn repository url

sd2 acid svn co sd2 acid done

And now we’re done with the requirements

Initial Setup

Creating Directory Structure

Create new folder in C:\ named WoW and inside the WoW directory you just created, create two directories named data and mangos. So it’ll look like this

creating directory structure

Although this step can be considered non essential, but if you created a directory structure, it can make upgrading Mangos and the required files such as DBC and Maps much easier later and beside in this guide i’m using the directory structure specified here so other than that it can make things easier for you to follow this guide

Extracting DBC, Maps and VMaps

1. Copy the ad.exe from contrib directory inside your mangos compile directory (on my compile example, the mangos compile directory is C:\Mangos-git) into your WoW installation directory. Then run the ad.exe and when it’s done you’ll see two new folders created named DBC and Maps

copy ad.exe ad.exe done

2. After finished with the extraction process, now you need to move the DBC and Maps directory from your WoW installation directory to C:\WoW\data

Note: Back when i write this, VMaps is disabled by default so i didn’t include it in the steps here but because now it’s enabled by default, to reduce / hopefully prevent further question regarding vmaps, all you have to do:
1. Copy the vmapExtractor3.exe and vmap_assembler.exe from the extractor_binary directory and then copy the make_vmaps.bat from vmap_extractor_v3 directory (both of them are located under contrib directory) to your WoW installation directory
2. Run make_vmaps.bat and wait till it finished and move the vmaps directory to C:\WoW\Data

Copying Mangos Config Files

Remember the directory structure we’ve created earlier? if yes, then that’s good because in this example i’m going to use the directory structure created earlier, if you choose to skip the creating directory structure part then make sure to adjust everything accordingly

1. Now you’ll need to copy the mangosd.conf.in, realmd.conf.in, scriptdev2.conf.in from your Mangos compile directory (use the search function as shown at below image) to C:\WoW\Mangos

mangos conf

2. And then copy everything from the Bin directory inside your mangos compile directory into C:\WoW\Mangos and then rename mangosd.conf.in, realmd.conf.in and scriptdev2.conf.in into mangosd.conf, realmd.conf, scriptdev2.conf. So in the end, you have these files (see below image) inside C:\WoW\Mangos directory

mangos necessary files

Setting Mangos Datadir

Go to directory C:\WoW\Mangos and open mangosd.conf and search for

DataDir = "."

and replace it with

DataDir = "C:\WoW\data"

mangos datadir

Installing the Databases

Note: For future version (if you didn’t read this at the time this post published), adjust the SQL filename (for Mangos SQL Updates files and UDB SQL files) and directory name accordingly

Installing Mangos Databases

Before starting in this process, please note that the directory structure used is based on the mangos compile guide so if you use different path, make sure to adjust them accordingly. Also if you get "mysql is not recognized as an internal or external command, operable program or batch file." that means you didn’t set up MySQL to be installed to your Environment Variables PATH. See the MySQL Installation Guide on my previous guide for more info

Note: This step is intended for fresh installation only, if you’re upgrading mangos skip this step otherwise you’ll lose all your characters and logins data in your mangos database

1. Open Command prompt, and then type

cd /d c:\mangos-git\sql

then followed by

mysql -uroot -p -v < create_mysql.sql

creating mangos database

This will create mangos database structure and also create the necessary user (because using root is dangerous)

2. Then type

mysql -uroot -p -v -D realmd < realmd.sql

importing realmd

This will import the necessary realmd tables into the realmd database

3. Finally type (but don’t close the command prompt yet)

mysql -uroot -p -v -D characters < characters.sql

importing characters

This will import the necessary tables into the characters database

Installing UDB (Unified Database)

1. Remember the part about downloading database? if yes, then go to the directory where you download the UDB database, and then extract the UDB_0.12.0_mangos_9582_SD2_1639.zip inside the Full DB directory of your UnifiedDatabase directory so it’ll look like this

extracting udb

2. And now we’re going to import the database (it may take a while depending on how fast your computer is). From the command prompt window from before, type (don’t close the command prompt window yet again)

cd /d C:\unifieddb\Full_DB
mysql -uroot -p -v -D mangos < UDB_0.12.0_mangos_9582_SD2_1639.sql

importing udb fulldb

Updating Mangos Database

Because the Full UDB database is designed for Mangos Revision 9582, and at the time i wrote this the compiled Mangos binary we previously compiled at the compiling mangos guide is at Revision 9771, we need to import all sql files in your mangos compile directory\sql\updates after 9582 to mangos database unless there is no sql update file after that version (which is unlikely)

Tips: look at the UDB filename it state mangos 9582 which means that every mangos core update before and equal to Mangos 9582 has been applied and so we need to apply all sql updates that is released after revision 9582. And to check your mangos revision, just run mangosd.exe or realmd.exe and then open server.txt or server.log file to see the Mangos revision you’re running

For example right after 9582 in sql\updates\0.16 in mangos compile directory there is a sql file named 9589_01_mangos_creature_template.sql, so we need to import that one first and you can do this by simply typing:

mysql -uroot -p -v -D mangos < 9589_01_mangos_creature_template.sql

and right after 9589_01_mangos_creature_template.sql there’s another sql update filename called 9590_01_mangos_db_script_string.sql, so then you need to type

mysql -uroot -p -v -D mangos < 9590_01_mangos_db_script_string.sql

and so on, basically you’ll need to locate each sql update file that contain mangos in the filename (ignore the realmd and characters), and then manually import each sql file accordingly

In the future, in case you want to upgrade your mangos installation, you can do so by importing each sql file including the realmd and characters if there’s any. But why we didn’t import sql files that contains characters and realmd in it’s filename in this guide? the answer is, because we’re doing a fresh installation the realmd database and characters database already using the latest update, but if you’re upgrading in the future chances are there’s an update for either realmd and characters database also

For example, 9767_03_characters_characters.sql. Means that it should be imported to characters database and to import it you need to type

mysql -uroot -p -v -D characters < 9767_03_characters_characters.sql

And for realmd update, the sql filename 9748_01_realmd_realmlist.sql and to import it you need to type

mysql -uroot -p -v -D realmd < 9748_01_realmd_realmlist.sql

That’s it basically, this may be confusing at the beginning but once you get used to it, it’ll be easy for you

Updating UDB

Now we need to update our UDB database too (because there’s an update at the time i wrote this), here’s how to do this

cd /d c:\unifieddb\Updated\0.12.0_additions
mysql -uroot -p -v -D mangos < 389_updatepack_mangos.sql
mysql -uroot -p -v -D mangos < 390_updatepack_mangos.sql

importing udb updatepack 389 importing udb updatepack 390

Tips: if there’s an update for UDB in the future all you have to do is just import the correct update accordingly

Installing and Updating Scriptdev2

From the command prompt type

cd /d c:\scriptdev2\sql
mysql -uroot -p -v < scriptdev2_create_database.sql
mysql -uroot -p -v -D scriptdev2 < scriptdev2_create_structure_mysql.sql
mysql -uroot -p -v -D scriptdev2 < scriptdev2_script_full.sql
mysql -uroot -p -v -D mangos < mangos_scriptname_full.sql

creating scriptdev2 database installing scriptdev2 tables

installing scriptdev2 database install scriptdev2 to mangos database

In the future, if you want to upgrade Scriptdev2 (assuming that you have recompiled Mangos and Scriptdev2 and also imported the updated Mangos sql files and also UDB if there are updates as described in the Updating Mangos and Updating UDB). You just need to execute this from the command prompt:

mysql -uroot -p -v -D scriptdev2 < scriptdev2_script_full.sql
mysql -uroot -p -v -D mangos < mangos_scriptname_full.sql

Installing ACID Database

From the command prompt again type

cd /d c:\sd2-acid\trunk\wotlk\3.0.4
mysql -uroot -p -v -D mangos < 3.0.4_acid.sql

installing acid database

Adjusting Realmlist and Creating Account

Editing realmlist.wtf

The next step would be editing your realmlist.wtf file located inside your wow installation directory\data\enUS (or your WoW Region like enGB, etc) and insert this

set realmlist 127.0.0.1

replacing everything inside the realmlist.wtf (make sure to create backup)

Creating GM Account

Now before getting into the World of Warcraft world, you need to create an account first for you to use, and to do that first you need to make sure realmd and mangosd process is running and then in the mangosd window type

account create username password

Where username is whatever username you want, and password is whatever you want for the account password. And then type

account set addon username 2

To set the expansion pack to Wrath of the Lich King (0 = Classic WoW, 1 = The Burning Crusade, 2 = Wrath of the Lich King) for the username you choose. And finally type

account set gmlevel username 3

To give the highest GM (Game Master) level to the username you choose, so he/she can do anything he/she want from wreaking havoc to causing apocalypse

create mangos gm account

in the example above, i create a new gm account with reaper as username and ilovekeikokitagawa as the password (p.s don’t take the password seriously) :P

Note: later in the game you can to type .commands to see all available commands for you (or feel free to look at the GM Commands List page)

Optional: Setting up Public WoW Server (LAN or Internet)

If you’re planning on allowing people to connect to your server either from the Internet or LAN, then there’s one more thing you need to do so other people can connect to your wow server

First you need to open the command prompt as usual and then type

mysql -uroot -p

now type

use realmd;

and finally type

select * from realmlist;

and you’ll see the realm address is set to 127.0.0.1 by default, but because you’re going to allow other people to connect to your server / computer, you need to change the ip address into your Public IP Address. The easy way to know your public ip address is by visiting whatismyip.com and make a note of your IP Address

Once you’ve obtained the public ip address the next step would be changing the ip address in the realmlist table, and to do this just type

update realmlist set address = 'your public ip address';

then to make sure the change has been applied successfully, you need to type

select * from realmlist;

If you’ve changed it then you’ll see your new public ip address instead of 127.0.0.1

The next step is restart realmd.exe, and mangosd.exe process in order for the change to take effect

Now after finished with the above process, you’ll need to open your realmlist.wtf and change the set realmlist into your public IP Address …. and tell your client to use the your public ip address in their realmlist.wtf file and you’re all set ;)

Note: if you’re behind router, make sure to forward port 3724 and 8085 (default port used by WoW) on your router or set up DMZ. And if you’re behind firewall make sure to allow incoming connection on port 3724 and 8085

Special Note: To those with Dynamic IP Address

If your internet provider gave you a dynamic ip address, then the solution is to get yourself a dyndns address first, and to do this you need to go to www.dyndns.com and register an account there, and i assume that your wow server is called mycoolwowserver.dyndns.com

Then after finished with the registration process, all you have to do is just follow the above but instead of writing your public ip address you need write your dyndns.com address

For example at this part:

update realmlist set address = 'your public ip address';

You need to replace the command with

update realmlist set address = 'mycoolwowserver.dyndns.com';

And then continue with the rest of setting up public wow server part. And after finished with all public wow server part, now you need to open hosts file located in Windows\System32\drivers\etc (C:\Windows\System32\drivers\etc\hosts), and then add this at the bottom of the file (for lan users change the 127.0.0.1 below to the LAN IP address where the mangos server located)

127.0.0.1 mycoolwowserver.dyndns.com

And …

WoW Screenshot

That’s it you’re done … if i forgot something, don’t be shy just let me know so i can fix it immediately. And if you got any questions or have a request for the next article, feel free to post your comment :)

And, if you want to create custom npc on your mangos server, please check how to create custom npc guide

Too much work, give me the fastest way

If you feel overwhelmed by everything listed in this guide then feel free to use this option, but make sure you have mysql installed as listed on mysql guide for vista and 7 (for vista users) and mysql guide for xp for windows xp users

  1. Extract the file into C:\
  2. Copy ad.exe from tools directory into your WoW installation directory and let ad.exe finished with extracting DBC and MAPS and then move the DBC and MAPS directory to C:\WoW\data
  3. Run import.bat and when prompted for password, enter your mysql root password
  4. Start realmd.exe and mangosd.exe
  5. Edit the realmlist.wtf file and create new account as described in the Adjusting Realmlist and Creating Account part … and play

Enjoy, consider this as a supplement for this extremely long guide and oh make sure your WoW client is version 3.3.3 and it’ll create a fresh installation so if you previously have used mangos and don’t want to lose your precious data make sure to create backup first

Download Supplement from Megaupload | Download Supplement from Rapidshare

Comment?

Note: Comment may not appear right away.

846 comments on “How to create WoW Private Server using Mangos

  1. i think i did the most of it right. i dont know tho. but i keep getting this, and i cant seem to get past it

    ERROR:SQL: SELECT
    required_9768_01_mangos_command FROM db_version LIMIT 1

    Unknown column ‘required_9768_01_mangos_command’ in ‘field list’

    `db_version` have field `required_11785_01_mangos_instance_encounters` but expected `required_9768_01_mangos_command`! Not all sql updates applied?

    1. You need to apply / import each sql file as described in the Updating Mangos Database :)

    2. As you said i updated from the UDB version, but it still asks me for the same, it want a file, that dosnt excist in these maps. ?

    3. If you still get the same error message then there’s one or more sql files that haven’t been imported yet to the database. My suggestion is:

      1. Reimport the UDB Full database (and note the version). When i write this comment i checked that the UDB version is designed for Mangos revision 11792 as you can see from the filename UDB_0.12.2_mangos_11792_SD2_2279.zip

      2. Now you need to run mangos and see the Mangos revision (if it disappear immediately after you started it see the server.txt file to see the mangos revision) … for example purpose let’s assume the mangos version is at 12000

      3. Now you need to go inside sql directory (and perhaps the subdirectories too) and locate all sql files that contains mangos_xxxxx_.sql on its filename where xxxxx must be higher than the UDB version, in this case you need to apply all sql files update from 11793 onward. Also you may need to apply UDB update located at the UDB SVN under directory /trunk/Updates/0.12.2_additions that contains updatepack on its filename

    4. Yes but Reaper. thats what i did. but my revision is the same as one described. and i tried all that. when i try to open i get same error. it want a file that does not excist in all that i downloaded.

    5. Sorry for all these messy comment replies. :p but i need to download a new’er Mangos database right?

    6. No problem actually if you take a look a few comment pages behind you’ll see this is still better :P

      As for your question, could you post your server log (server.txt file) into pastebin.com? or other paste site you prefer just in case the error were caused by something else

      Usually the error were caused:

      1. Forgetting one or more sql updates

      2. Maps files and VMaps missing (back then when i write this, VMaps is disabled by default so i didn’t include it in the steps here but basically all you have to do is just copy the vmaps extractor and assembler from the extractor_binary and then copy the make_vmaps.bat from vmap_extractor_v3 directory (both of them are located under contrib directory) to your WoW installation directory and run make_vmaps.bat and wait till it finished and move it to vmaps directory just like what you do at the dbc section) :)

      3. And finally, trying to use Mangos with WoW client 4.0.6 and higher which is still not supported yet

    7. The next problem is just that it wont extract the Vmaps. or im doing it wrong idk. :P

    8. Ah the vmaps problem :P … i believe i’ve wrote it in my previous comment (see #2) :D

      Basically it’s the same with the DBC and maps but this time there’s a folder named Vmaps after you’re done with the vmaps extraction

    9. Well here comes the next problem then, The Vmap folder and buildings map it creates are just empty..

    10. Try running the vmapExtractor3.exe directly and when it’s done type this at the command line

      1. make sure to change directory first to your wow installation directory at the same vmap_assembler.exe and vmapExtractor3.exe located, this can be done by typing cd /d "x:\your wow installation directory

      2. vmap_assembler.exe buildings vmaps

      When it’s done, move the vmaps directory to the same directory you put DBC and Maps directory

    11. New problem lol. When i try to log in. it procces. then says you have been disconnected

    12. Usually you get the disconnect problem (or stuck in realm selection) if there’s a difference between ip listed on the realmlist.wtf file and the realmlist table in the database. So i need you to tell me:

      1. What ip or domain name the realmlist.wtf (inside your WoW\data\enUS (or your locale) directory) points to?
      2. Then execute this command from the command prompt (mysql need to be included in your path or else you’ll need to give full path to mysql.exe) and tell me the output

      mysql.exe -u root -p -D realmd -e "select id,name,address,port from realmlist"

      Or you can simply change your realmlist.wtf file and/or realmlist table by yourself it if you don’t want to write it here

    1. Are you running WoW Client version 3.3.5a (the complete version number is 3.3.5 build 12340) ? that error message usually caused by incompatible WoW client :)

    2. Unfortunately downgrading from 4.3 into 3.3.5 seems impossible. My suggestion is, if you still have WoW install CD plus have access to Burning Crusade and Wrath of The Lich King CDs. You should use those cds to install WoW into different directory and then upgrade your installation manually by downloading the patches file and installing it yourself (you can get the urls for older patches at http://www.wowwiki.com/Patch_mirrors_%28old_patches%29 ) but that is only if you don’t mind doing all of that lol

  2. I do not have it installed, was asking if anyone had a link to it, but I figured it out. Download just the WotLK files from a WoW 3.3.5a torrent. Thanks for the great guide!

  3. Hello. Can anyone tell me where I can get the data files for WOTLK? When I run WoW.exe and log in, it tells me I have access to WOTLK but the data files are not installed.

    1. Do you have WOTLK expansion installed? if not, you’ll need to download it first … search from google using this keyword ;) World of Warcraft: Wrath of The Lich King Client

    2. I got everything set up, but quest-specific items are not interactable. Is it client side or server side? How do I fix it?

    3. It is unfortunately at server side, and if specific quests items don’t work as it should, then that quest haven’t been scripted yet in the database

      There are two options for this case:

      1. Wait for database update (UDB in this case), and import the update as described in the Updating Database part

      2. Edit the database by yourself. In this case you’ll need to read about the database structure first and know about editing database manually … or you can also try Quice – http://quice.indomit.ru/ (not sure whether it still works with the current version of Mangos because the last version is 1.2.6 – Fri, 24 Jun 2011)

  4. Hey i have been looking ot try to set up a wow server and i was wondering if you could help me do it ive got good speced boxs to host it on and skills with mysql and websites i was wondering if you could help me with the part of getting the server up my skype is panda91111 or email me at [email protected] if you could help

  5. Hey all ive got a problem with Extracting DBC and Maps when i load the ad.exe it flashes up this disappears and nothing happens so i dont get the DBC and Maps folders any idea’s?

    thanks

    1. Yes, that’s correct. And make sure that you’re running WoW Client version 3.3.5a because that’s the highest client version supported by Mangos at the time i wrote this

    2. i also keep getting this on this part of the build scriptVC90.sln and then set the build configuration to release and if you’re trying to build the x64 version make sure to change the Win32 to x64 as well

      ========== Rebuild All: 0 succeeded, 0 failed, 1 skipped ==========

      i am using x64 i am running windows 7 x64

    3. Are you using Visual Studio Express to build the x64 binary? if so, unfortunately the free version (Express version) can’t be used to build x64 binary. You’ll need to use the paid version (Pro version or higher) to build the x64 version :)

    4. RealmID = 1
      DataDir = “C:\WoW\data”
      LogsDir = “”
      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”
      LoginDatabaseConnections = 1
      WorldDatabaseConnections = 1
      CharacterDatabaseConnections = 1
      MaxPingTime = 30
      WorldServerPort = 8085
      BindIP = “0.0.0.0”

      starting to give in lol have tryed and tryed lol thanks for your help mate checking your picture to mine on Setting Mangos Datadir but it is different is this still right?

    5. If you placed the DBC and Maps according to this guide (at C:\WoW\Data) then yes that’s correct :)

    6. Updating Mangos Database when updating mangos what is the first part ment to read c:\unifieddb\Full_DB>mysql -uroot -p -v -D mangos < 9589_01_mangos_creature_template.sql
      as everytime i type this i get a message sayin the system cannot find the file specified

    7. You need to change the directory first by using the CD command to where that file is located

      But basically what you need to do is:

      1. You need to know the mangos revision you’re using first (the step described at the updating mangos database)

      2. You need to know the UDB full database version you’re using (look at the UDB filename to see the version, as described at the updating mangos part)

      3. If UDB version is lower than Mangos version, then you need to apply / import each sql files right after your UDB version

      Here’s an example:

      Assuming your mangos version / revision is 9999 and the UDB version is 9000.

      Now you need to look at the sql folder inside your Mangos directory, to see every sql files that is exist right after revision 9000 (that means 9001++) and import all of them using the command given at the updating mangos database part :)

  6. hey its me again, soz im not that good yet with this stuff, but ive got this far and i do not wanna leave it now, but when i trie to update the mangos DB and i type the first update i req, wich is mysql -uroot -p -v -D mangos < 1178_02_characters_insance.sql
    it says:ERROR 1146 at line 1: Table ‘mangos.character_db_version’ doesnt’t exist
    i am baffled

    1. If you get that message that basically says there’s a table that is missing, perhaps you forget to import the characters.sql ?

      Because the character_db_version table is created automatically when you import the characters.sql as described in the Installing Mangos Database :)

    1. Ah yes, the problem exist because you’re trying to use the supplement (quick way) that was designed for WoW Client 3.3.3 and since you’re using 3.3.5a it’s not going to work, and unfortunately you’ll have to go through all these steps (but before that you’ll need to compile it first as described at the Requirements part

    2. Can you tell me what is your WoW Client Build? is it build 11723?

      You can see it by:

      1. Running ad.exe on your wow directory and see if the build number is like in this screenshot

      http://oi40.tinypic.com/dfag7r.jpg

      2. Look at the wow.exe properties and see if the version number is 3.3.3.11723

      Note that: several people said that they can get the quick way method working on wow 3.3.3a (don’t know the exact version number because i didn’t test it) :)

      Btw … actually it’ll be much better if you compile and use the newest mangos version (in my opinion)

  7. I tried running the ad.exe ( both long way or easy way ) within the World of Warcraft installation area and that app seem to not do anything at all ( not extracting the DBC and maps ) so I don’t have anything to move and now stuck. Can you please help ?

    1. OK – it looks like you have to run ad.exe from within command window ( like DOS run ). this wasn’t quite clear on your visuals, anyways, now getting error tho that looks something like this–> ‘Detected locale: enUS
      Opening ./Data/enUS/locale-enUS.MPQ
      Fatal error: Invalid component.wow-enUS.txt file format!’

    2. Actually you don’t need to run ad.exe via the command prompt directly (or using batch file) .. unless you need to see the error message (if the ad.exe is not working)

      As for that error message you see, are you sure you’re running a supported WoW client? … at the moment its only support WoW 3.3.5a

  8. After following your excellent guide, I ran into a problem; mangos latest version (downloaded yesterday) needs the vmaps extracting, assembling and putting in the data direstory.
    This involved more compiling, but I was able to figure it out.

    Thanks for an (as I said before) excellent guide.

  9. Hello, great guide:D

    I’m stuck on the mysql step: I installed the newest mysql, but it didn’t give me an option to add a Windows Path, so import.bat couldn’t recognize mysql. After fiddling with it, I tried installing the 5.1 version you used, but most of the time it would freeze upon hitting the “execute” button. The one time one of the older versions worked (i tried installing a bunch of different mysql builds), it held up on the 4th Execute command, saying that if I didn’t have root access, possibly because I’ve tried setting up servers before.

    Mysql 5.1.45 has an option to erase old configurations, but that freezes upon Execute as well.

    Would you have any idea how to go about this, or erase everything and start over?

    1. Hello Aznangel,

      I just tested downloading and installing latest MySQL (5.5.19) before writing this from http://www.mysql.com/downloads/mysql/ ( just to make sure because i’m still using 5.5.8 on my machine )

      And actually the installation steps is pretty much the same like the old version and so you don’t need to use the old version

      Basically what you need to do is:

      1. Download and install the latest MySQL (5.5.19 at the time i wrote this)

      2. Make sure when you’re installing MySQL you choose Custom and Launch the MySQL Instance Config Wizard is checked (by default it is checked)

      3. Now you just need to follow the MySQL Installation Instruction provided at the requirements part (note that if you don’t want to run a webserver you just need to follow the MySQL installation part only) … and done

      If you want to start a fresh MySQL installation (which means that you’re going to delete your entire MySQL data). Make sure that:

      1. Do not uninstall MySQL first

      2. Go to where you installed MySQL and open the my.ini file using notepad and then search for DataDir and innodb_data_home_dir to locate MySQL data and InnoDB location

      For example (based on the 5.5.19 default installation), the data location is at C:/ProgramData/MySQL/MySQL Server 5.5/Data/ so basically you just need to delete that folder in order to perform a fresh installation

      3. Uninstall and reinstall MySQL again for a fresh start :)

    2. Thanks for the quick reply!
      I installed the newest Mysql, but the installer ended up just updating 5.1. Anyway, I got past the first 3 bullet points, but on Security it now says
      Error Nr. 1045
      Access denied for user ‘root’@’localhost’ (using password: YES)
      If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306…(I did open up 3306)

      If you are re-installing after you just uninstalled MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Config Wizard from the start menu (I tried, using the same password I’ve done every instance)

      Do you have an idea on what might be going on?
      Thanks lots!

    3. I’m sorry for the late reply. As for your question:

      I’d suggest you to test whether you have installed MySQL previously with different root password (basically this is done to test whether there’s MySQL data left in your harddrive):

      1. Open command prompt

      2. Type this (replace the mysql location with your mysql installation directory with bin path appended) and write your root password when prompted.

      cd /d "X:\MySQL Location\bin"
      mysql -uroot -p
      

      3. If you can’t login even if you use the right root password created using the config wizard then continue below

      Since we’ve found the problem i’d suggest you to locate the mysql data location (i’ve described on how to do it on my previous reply to you) and delete it then re-run the config wizard / reinstall mysql again to re-create the data again

      And because i forgot to mention this on my previous reply … actually there are two data stored, the first one is InnoDB and the second data is for MyISAM and you need to delete them both

      p.s if you have important data in your MySQL database that you don’t want to lose, you can try resetting your root password. But if you don’t have anything there, the easiest way is to delete the data directory :)

    4. phew got over that obstacle. Thanks a bunch, I didn’t notice the hidden folder that MySQL planted under Program Data!

      I’ve got everything set up, except for when I double click mangosd.exe, the window pops up and then disappears. I managed to screenshot this: http://tinypic.com/r/2welaav/5
      I’m not sure why this installation’s giving me so much trouble – I’ve used this same exact guide about a year ago on a different computer and that went flawlessly:P

    5. Sorry for the delay in my response because well it’s holiday here lol :D

      And good to know that you’re able to get it working :)

  10. I’m on the creating GM account section, but mangosd.exe exits after it has launched with an error report stating that “0004331.map’ is non-compatible version… Please create new using ad.exe program”.

    I did, using the updated exe in the contrib folder of mangos-git but the error continued to display.

    I then used the vmap extractor/assembler, using the simple .bat file, after it was placed within the Data folder of World of Warcraft.

    Now mangosd runs, loads the various files through loot-tables and then closes.

    Thanks for the help beforehand.

    1. Yes, I extracted the maps, dbc and vmaps folders – even tried it again with a fresh extract but the program still closes; the last segment I could catch was “loading scripts”.

      Thanks for the response.

    2. You’re welcome Brolok and btw i didn’t see anything strange from your server log not even the map problem you’ve mentioned. Are you sure that’s all from your server log?

    3. Yes, I imported the vmaps folder after noticing the error; I just thought it might have had something to do with mangosd closing.

      I’ll try the tutorial again starting with the faster method. Thanks for all the help.

  11. I tried adding the path to system properties, but it still doesn’t work.

    If we both use the same IP adress as my PC, the person on my network can actually log in, but when selecting the realm it say’s ‘logging in to game server’, and then it returns to the realm screen.

    But i guess im not technical enough to get it to work xP

    1. I tried adding the path to system properties, but it still doesn’t work.

      Suppose you have installed MySQL at C:\Program Files\MySQL\MySQL Server 5.5 then you need to add that path to your system environment variables in Windows System Properties => Advanced tab => Environment Variables => at the System Variables in the PATH entry append ;C:\Program Files\MySQL\MySQL Server 5.5\bin after everything else

      If we both use the same IP adress as my PC, the person on my network can actually log in, but when selecting the realm it say’s ‘logging in to game server’, and then it returns to the realm screen.

      Assuming that you only want to give access to LAN only, first you need to know your LAN IP Address and then change the realmlist address in the database to your lan ip using below command (note that, mysql must be in your path for below command to work … or else you’ll need to give full path to your mysql.exe location at the first command)

      mysql -uroot -p -D realmd
      UPDATE realmlist SET address = 'YOUR LAN IP ADDRESS';
      quit
      

      And then open your realmlist.wtf file and change it to use your LAN IP too

      That’s it :)

  12. I have a server and everything set up. Now some1 from the same network wants to connect. We basicly changed the realmlist to our IP adress. Now he can connect with the account i made for him, but as he chooses the server he emediatly gets returned to the realm selection screen.

    I was gonna try this tutorial, but as soon as i type mysql -uroot -p in command prompt I get the message that mysql ain’t being reccognized as an intern or extern command, program or batchfile.

    Any help on this?

    1. We basicly changed the realmlist to our IP adress. Now he can connect with the account i made for him, but as he chooses the server he emediatly gets returned to the realm selection screen.

      You need to make sure the realmlist address set in the database and also realmlist.wtf file (in your wow data directory) match

      I was gonna try this tutorial, but as soon as i type mysql -uroot -p in command prompt I get the message that mysql ain’t being reccognized as an intern or extern command, program or batchfile.

      Assuming that you have installed MySQL and you forget to check Include Bin Directory in Windows PATH during the configuration process then you need to add your mysql bin path manually to your System Environment Variables (it’s located in System Properties -> Advanced Tab -> Environment Variables)

    1. I’d recommend you to check scriptdev2 website directly for the documentation although you need to know / understand C++ :)

    2. I would like to update the Scriptdev2 DB, I have downloaded the lates files with GIT. However, i’m not sure how to do the rest, do i have to recompile something ? or just to replace folders…

    3. To update scriptdev2, you need to recompile Mangos and Scriptdev2 again and also importing the scriptdev2 sql files to the database

      Also, i’d recommend you to grab the latest mangos revision too before recompiling :)

    4. Wel, I recompiled the latest mangos revision as well as Scriptdev, I applied mangos updates in order to make the server run (Last update to 11856 ) . Everything is running but i don’t know what SQL updates you were talking about :$
      “also importing the scriptdev2 sql files to the database”
      Thank you for helping =)

    5. You’re welcome Maximus :)

      As for “also importing the scriptdev2 sql files to the database” … Actually you need to import the sql files in your scriptdev2 directory

      If you didn’t import scriptdev2 sql files (assuming the scriptdev2 sql files are updated) you won’t receive that updates

      Basically what you should do (after applying the mangos sql update). You need to redo the Installing Scriptdev2 part but this time you only need to execute the last two command only (the lines that contains scriptdev2_script_full.sql and mangos_scriptname_full.sql)

      And i’ve updated the post at the installing scriptdev2 part to mention the above

    6. Done ;) Thanks ! Now i’m waiting for SD2 team to fix the gossip function of npc “Barrett Ramsey”, Coliseum master in “TRIAL Of The Crusader” instance so I can lunch the encounter, I can’t even interact with this npc, It’s a SD2 problem i guess, isn’t it ?
      and the floor of the instance isn’t exactly where it should be :S Once i’m in, I fall down to the last boss !
      what does this problem concern ?

    7. Not sure about that one, quite possible it’s in scriptdev2 area if it’s a complex scripting :D

    1. You’re welcome as for that error message, i just tested downloading it via svn and i didn’t get that message and it works fine. So my suggestion is delete the udb directory and redownload it via svn :)

      Note: the svn client version i’m using is the command line version not GUI

      svn co http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk/ udb
      A    udb\Updates
      A    udb\Updates\0.12.2_additions
      A    udb\Updates\0.12.2_additions\402_corepatch_characters_11377_to_11792.sql
      A    udb\Updates\0.12.2_additions\403_corepatch_mangos_11793_to_11840.sql
      A    udb\Updates\0.12.2_additions\402_corepatch_mangos_11377_to_11792.sql
      A    udb\Updates\0.12.2_additions\402_updatepack_mangos.sql
      A    udb\Updates\0.12.2_additions\403_updatepack_mangos.sql
      A    udb\Full_DB
      A    udb\Full_DB\ForCleanInstallOnly
      A    udb\Full_DB\ForCleanInstallOnly\realmd.sql
      A    udb\Full_DB\ForCleanInstallOnly\create_mysql.sql
      A    udb\Full_DB\ForCleanInstallOnly\scriptdev2_create_database.sql
      A    udb\Full_DB\ForCleanInstallOnly\characters.sql
      A    udb\Full_DB\UDB_0.12.2_mangos_11792_SD2_2279.zip
      Checked out revision 403.
      

      and btw … actually if you’re having problem with the svn client, you can always download it directly by visiting that url :)

      assuming that you haven’t downloaded the UDB yet via svn AND your mangos revision is higher than 11792 AND want to download it directly, you need these files

      Note: path relative to the trunk directory

      1. /Full_DB/UDB_0.12.2_mangos_11792_SD2_2279.zip

      2. /Updates/0.12.2_additions/402_updatepack_mangos.sql

      3. /Updates/0.12.2_additions/403_updatepack_mangos.sql

    2. Could you clarify exactly which files I have to download from that link and where to put them/what to do with them?

    3. The files you need to download (if you are having problem with the SVN client and can’t download it using the SVN program) are listed on my previous comment (see the numbered items from 1 – 3 at last part of my previous comment) and then continue with the rest of the steps :)

      Basically, because you said that you’re having problem downloading the UDB files using the svn program i give you an alternative way to download the UDB files directly by pointing your browser to go to the UDB svn address directly :)

    4. Right, but you’re downloading the updates, the udb and the cleaninstal only. Using that link however, I can only download the udb itself. When clicking on the updates or cleaninstal, it directs me to the packages inside them, and when I click on those, it just shows me the code inside it, which is not downloadable.

    5. Actually you can just right click on the link and choose to save the link if you’re visiting the https version and if you’re on non https version you’ll automatically redirected to the ViewVC when clicking on Full_DB or updates, and then you can choose to save the entire directory structure as tar or save individual files from UDB as it is :)

      And just in case you didn’t know, Mangos only support WoW 3.3.5a only atm. If you’re using WoW Client with version higher than 3.3.5a it’s not going to work

    6. So, I got to download UDB_0.12.2_mangos_11792_SD2_2279.zip. As for the updates and cleaninstal only, I used ‘save source as’ for every subdirectory. As such I now have 9 separate files plus the mangos zip. Is that correct? Shouldn’t those separate files be bundled somewhere? It is quite confusing.. Why is the mangos.zip downloadable and all others are not?

    7. Actually if you visit

      http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk/

      and you click on Updates or Full_DB then ForCleanInstallOnly you’ll be automatically redirected to the ViewVC version (where you can see SCM Repositories – unifieddb message)

      And then you can just simply click on trunk ( unifieddb.svn.sourceforge.net/viewvc/unifieddb/trunk/ ) and you can choose to download it as Tarball :)

      But to make it easier for you here is the direct link to the tarball archive ;)

      http://unifieddb.svn.sourceforge.net/viewvc/unifieddb/trunk/?view=tar

    8. Well it won’t let me into the place you describe, but the direct link does work. As such I have progressed quite a bit, for which my thanks. During the guide I have stumbled upon some differences between yours and mine, but that might be due to our different operating systems. Either way, so far it seems to work less or more.

      Next up is the updating of Mangos. Could you clarify it a bit more? Isn’t it outdated a little by now? Exactly what files do I need to import?

    9. Also, when updating the second updateback of mangos for the updating of the udb, I get the following error: mangos.gameobject_addon does not exist.

    10. Well it won’t let me into the place you describe, but the direct link does work

      I just tested it before writing this comment, and it works fine in 4 different browsers. So not sure on what went wrong on your side

      Next up is the updating of Mangos. Could you clarify it a bit more? Isn’t it outdated a little by now? Exactly what files do I need to import?

      Perhaps you missed the first two paragraph at the updating mangos part (but don’t skip the rest, lol)? And actually the step about updating mangos is still same since a long time ago with the only difference you have to adjust the filename accordingly :)

      Also, when updating the second updateback of mangos for the updating of the udb, I get the following error: mangos.gameobject_addon does not exist.

      If you didn’t do the updating mangos part correctly like for example you forgot to import a single sql update file it’ll cause problem later

      For example, in this case (for the gameobject_addon error message only) that error was caused due to 11807_01_mangos_gameobject_addon.sql haven’t been imported to your mangos database ;)

    11. I still don’t quite get it. In order to update the mangos database, exactly which files have to be imported, and in which directory are they located? I’m assuming it’s in c:\mangos-git\sql\updates.16, but the command doesn’t seem to work.

    12. Basically to put it short, all you have to do:

      1. Know what Mangos revision you’re using
      2. Know the UDB version you’re using
      3. If UDB version is lower than Mangos version / revision then search for all sql files in mangos sql\updates directory (including sub-directories) that contains xxxx_mangos_yyyy.sql where xxxx should be higher than your UDB version

      For example in this guide (when i wrote this), Mangos version is 9771 while UDB version is 9582, so you’ll need to search for all sql files with version number higher than 9582 and import them to the database

      But as i already noted, in the updating mangos part, since what you’re doing a fresh install, you only need to apply all sql files that contains xxx_mangos_yyy.sql in it’s filename only

    13. So, I check my mangos revision version by opening mangosd.exe. It pops up a window and immediately vanishes before I can see what version i is. I solved it by making a bat file that pauzes it. So, my mangos revision version is 11840.

      Then, I check my udb version. I’m not quite sure how to do that, but I just went to the unpacked sql file that’s located in D:\trunk\Full_DB (I use other paths than you) and that is called UDB_0.12.2_mangos_11792_SD2_2279.sql

      So I figure the version is 11795. So you say I go to C:\mangos-git\sql\updates and find all files that have xxx_mangos_yyy.sql, in which xxx is 11795 or higher. I found some of them, and starting with the lowest between them, I used the command you provided: mysql -uroot -p -v -D mangos < filename.

      However, whichever file I choose, it keeps saying: error 1054 (42S22) at line 1: unknown column 'required_other file' in 'db_version'.

      What am I doing wrong?

    14. Actually you don’t need to use batch file to check mangos version, you can just simply run it and when it close you can simply open server log file ;)

      As for your UDB version, you just need to take a look at the UDB filename (as written on paragraph 2 on updating mangos part). In your case your UDB version is 11792

      So you need to apply any filename that contains mangos and higher than 11792 :)

      As for that error message, i’m not sure on what file you’re importing because when i checked the mangos source tree on github https://github.com/mangos/mangos/tree/8125239fcd643525f0997090c73ee4ef6067af3d/sql/updates there’s no 11795 sql file listed there

      My suggestion is:

      1. Try reimporting the big UDB sql file again to overwrite everything in your mangos database

      2. Import mangos sql file from 11807 and above to your mangos data (when i checked mangos source tree on github, you just need to import 5 sql files). Note that you need to import the sql file that contains mangos only in it’s filename. The reason for that is explained in updating mangos part

    15. Right, that does the trick, thank you and sorry for the noobish mistakes.

      So I’ve continued with everything else and it seems to go fine. There were a few errors, but those were because I already created a database and the likes.

      Everything is done, so I start up the realm and then mangosd.exe in order to create an account, but there it goes wrong again. Just like before, mangosd.exe immediately closes upon opening before I can see what’s going on. So I used a batch file again, and saw that it errors:

      VMap file ‘D:/WoW/data/vmaps/000.vmtree’ is missing or point to wrong version vmap file, redo vmaps with latest vmap_assembler.exe program
      Correct *.map files not found in patch ‘D:/WoW/data/vmaps’ or *.vmtree/*.vmtile files in ‘D:/WoW/data/vmaps’. Please place *.map and vmap files in appropriate directories or correct the DataDir value in the magosd.conf file

      I’ve pretty much tried everything. As you’ve seen, my files are in D:\WoW, but that shouldn’t bring any difficulties. As for the whole / and \ stuff, I know in windows it’s \ so I tried that first in mangosd.conff, but that didn’t work either. So I tried changing it to / because it does the same to maps and vmaps, but it’s no difference at all. And yes, the directories maps and dbc, created by ad.exe, are located in D:\WoW\data like the guide says and like mangosd.exe expects.

      So close now. :D

    16. No problem actually and i figured that you’re going to ask about vmaps :D

      The answer to your question can be found below (there are 3 other person asking the same question already on this page) :)

      I guess i need to update this post if VMaps is enabled by default now

    17. Right, that does the trick, thank you very much. It’s up, so I’ll be digging around a bit to see how it all works.

    18. Now, this isn’t quite the place to ask, but I don’t know where else to put it.

      Obviousely there are bugs, but those are meant to be fixed. Sadly, as far as I know, gm commands aren’t sufficient for them all. So, for mob and quest scripting, where to turn? Would you know where to find the actual programming for quest and the likes, and how they can be editted?

    19. Assuming that you’re already familiar with SQL, i’d suggest you to check mangos website directly for the table structure of the world because you’ll need to know that first to create / fix quests or anything related to the database unlike most (if not all) boss scripts or anything that is coded directly and need to be recompiled

    20. Sadly I only know the basics of sql and while I do know a few programming languages, c++ nor lua are among them. But it would help a lot to know where to find all the date for quests and character classes, and perhaps how to properly open .dbc files without having to use expensive programs.

      A few smaller questions still: how to change the name of your realm (it’s currently just called ‘mangos’) and how to host more than one realms? Also, as a gm, how to learn skills to a character? The .learn command only works for spells, and the .setskill command only works if the skill is already known. Internet says there should be a .learnsk command, but it doesn’t seem to exist. So if a bug occurs in which a character does not have a weaponskill that he/she should have, I cannot fix that? It should be possible, for there is a command that teaches all skills, including weapon skills and armor proficiencies, so there must be a way to teach them separately too, right?

      A lot of thanks, you really helped me.

    21. You’re welcome Rai, as your for questions:

      But it would help a lot to know where to find all the date for quests and character classes, and perhaps how to properly open .dbc files without having to use expensive programs.

      If you’re looking to see where the quest is stored, it’s actually stored in the database (world database or mangos database) in a table called quest_template not in dbc files :)

      A few smaller questions still: how to change the name of your realm (it’s currently just called ‘mangos’)

      Someone already asked this question on this comment page too, but well here goes the code:

      UPDATE realmlist SET name = 'My Realmd Name';

      Make sure to login to mysql first before using that command :)

      how to host more than one realms?

      I guess you missed the related post which is located right above this comment area :P (although it’s automatically generated but in this post i think the first link is quite accurate lol)

      Anyway please check Creating 2 Realmd / World using Mangos if that’s what you’re looking for

      Also, as a gm, how to learn skills to a character? The .learn command only works for spells, and the .setskill command only works if the skill is already known. Internet says there should be a .learnsk command, but it doesn’t seem to exist

      From my old comment i wrote in 2007 in the Mangos GM Commands post

      on the first comment page / oldest comment page (copy paste from my old comment with some modification because back then it use lookupxxxx format where xxxx is the type you’re looking for without space and also use formatting)

      for example if you want to learn dual wield skill :

      .lookup spell dual wield

      then

      .learn the_idnumber

      and yet another example if you want to modify your enchanting skill to the max

      .lookup spell enchanting
      .learn the_enchanting_id
      .lookup skill enchant
      .setskill enchant_id max_value

      Hopefully it still work … and that is what you’re looking for

    22. And where might I find this database, and how to edit it?

      I’ve seen the same command that you provided to someone else, but I asked it myself because it doesn’t work. After logging in to mysql and using that command, it says: error 1046: no database selected.

      Thanks for the link, I’ll check it out.

      With the gm commands, I falsly assumed that skills like swords, dual wield, bows and whatnot were considered skills. So I did .lookup skill swords, and used that id for the .learn command, but .learn only works for spells. It seems there are also spell id’s for the skills, and those do work, thank you.

    23. Hms, I lack an edit button. Another reply it is.

      Never mind about the changing of the realmname error, I did some experimenting myself and it works now.

    24. I’m sorry actually i forgot to mention that you need to switch to the realmd database first (i assume the person that asked this question before already know about it) :)

      And just in case someone else reading through this comment in the future, what you need to do to change the realm name is by using this command:

      mysql -uroot -p -D realmd
      UPDATE realmlist SET name = 'My New Realmd Name';
      
  13. thx for everything …
    i did everything that u said but in Final adjustment part , when i run mangosd.exe get this Error in DBE erros log in C:\wow\mangos directory … what am i do ? :|

    SQL: SELECT required_11831_02_mangos_command FROM db_version LIMIT 1
    — query ERROR: Unknown column ‘required_11831_02_mangos_command’ in ‘field list’
    — The table `db_version` in your [WORLD] database indicates that this database is out of date!

    [A] You have: –> `11785_01_mangos_instance_encounters.sql`
    [B] You need: –> `11831_02_mangos_command.sql`

    You must apply all updates after [A] to [B] to use mangos with this database.
    — These updates are included in the sql/updates folder.
    — Please read the included [README] in sql/updates for instructions on updating.

    1. You need to apply all the sql updates, as described in the error message. Basically you need to apply every sql update files that contains mangos in it’s filename ( like xxxx_mangos_xxxx.sql ) from 11786 onward :)

    2. thx for help
      i did that u said :) in my c:\mangos-git\sql\updates i find :
      11785_01_mangos_instance_encounters
      11785_02_characters_instance
      11807_01_mangos_gameobject_addon
      11813_01_mangos_mangos_string
      11827_01_mangos_creature_linking_template
      11831_01_mangos_mangos_string
      11831_02_mangos_command
      as u and Error said ( between A – B ), i updated these files :| as ur mangos update guide part :|
      now when i run mangose.exe there is no error in DBEerrors but my mangosd.exe window will be close :|
      … what should i do ? :)

    3. Actually you don’t need and shouldn’t import 11785_02_characters_instance.sql to your world database (mangos database). Because it is designed to be imported to the characters database only :)

      As for the mangosd window closing itself when you run it, you can check the log file in your mangos directory, if it’s too long you can use pastebin.com to paste your logfile, and post the link to your pastebin here :)

    4. Ah no, not that one, the log file can be found at the same place where you run mangosd.exe and realmd.exe

    5. That’s the correct log file and actually just because it’s a log file, that doesn’t mean it always end with .log extension :D

      As for your problem, it was caused by VMaps which is enabled by default (not sure since when), because back when i wrote this guide (and long before that) it’s not enabled by default for memory usage reason

      Anyway, the answer to your question is right before your comment (because there are two people on this page already asked this question right before you asked this question) :D

  14. When i try to start the server i get a error

    2011-11-08 23:05:07 WORLD: VMap data directory is: C:\WoW\data/vmaps
    2011-11-08 23:05:07 ERROR:VMap file ‘C:\WoW\data/vmaps/000.vmtree’ is missing or point to wrong version vmap file, redo vmaps with latest vmap_assembler.exe program
    2011-11-08 23:05:07 ERROR:Correct *.map files not found in path ‘C:\WoW\data/maps’ or *.vmtree/*.vmtile files in ‘C:\WoW\data/vmaps’. Please place *.map and vmap files in appropriate directories or correct the DataDir value in the mangosd.conf file.

    And when i try to use Vmaps it dosen’t work either. What am i doing wrong?

    1. You need to copy all files from contrib\vmap_extract_assembler_bin directory into your WoW installation directory and then run the makevmaps_SIMPLE.bat and when it’s done, move the vmaps directory into the same directory where you put the maps and dbc :)

  15. I’m getting this error,there was nothing in the guide about vmaps
    plz help

    2011-10-21 13:24:41 WORLD: VMap data directory is: C:\Wow\Data/vmaps
    2011-10-21 13:24:41 ERROR:VMap file ‘C:\Wow\Data/vmaps/000.vmtree’ is missing or point to wrong version vmap file, redo vmaps with latest vmap_assembler.exe program
    2011-10-21 13:24:41 ERROR:Correct *.map files not found in path ‘C:\Wow\Data/maps’ or *.vmtree/*.vmtile files in ‘C:\Wow\Data/vmaps’. Please place *.map and vmap files in appropriate directories or correct the DataDir value in the mangosd.conf file.

    1. Actually i decided at the time i wrote this post that it’s better for me not to write about VMaps here due to it’s not enabled by default (back then at least) and mangos will still work without it. But if it’s on by default now, then you can always run the vmap_assembler.exe inside your wow directory (copy vmap_assembler from your mangos directory). And then later move the vmaps directory to C:\Wow\data :)

    2. I tried what you told
      but
      when i open the vmap_assembler.exe file it says
      usage: C:\Users\…\WoW\vmap_assembler.exe [config file name]
      and then the window closes in a second

    3. and when i launch the vmapExtractor i get a folder named buildings but not vmaps
      and its same with i open the .bat files

    4. Ok i got the vmaps done
      but now a new problem is there
      when i type account set addon username 2
      it says there is no such command
      plz help :(
      and plz forward me to a page on how to change realmname
      thanks :)

    5. Well i got it running
      but i don’t know how the other players will connect w/o registering
      and also found out icc isn’t scripted so if you know how i can script in mangos(srry m a way to beginner in c++)
      help appreciated :)
      thanks again!

    6. You don’t have any instances scripted in the database?
      even the battleground or arena isn’t scripted
      could use some help in it

    7. Because i never play on official servers i don’t know whether everything in Mangos World is correctly scripted or not (i guess i forgot to mention that here but i already mentioned it on many of my articles and comments long time ago lol).

      But one thing for sure is, if you don’t see even a single monster or boss talking that mean scriptdev2 isn’t being used, so double check on that one first

      As for changing realm name without using additional tools other than the MySQL command line tool (actually i never use that Navi thing you’re talking about). You can just use this command

      UPDATE realmlist SET name = 'My Realmd Name';

  16. I have the same problem, just installed V. 4.0.0 and ad.exe closes ” Fatal error: invalid component.wow-enUS.txt file format!

    any ideea?