Mangos How To Make a MaNGOS Server Easily (Windows)

Junior Spellweaver
Joined
Jun 13, 2008
Messages
169
Reaction score
27
are you using a 32 bit or 64 bit operating system?

if your using 64 bit you need to get Visual Studio (not Express).
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
If he's running a 64-bit OS, he can just compile the server in 32-bit rather than downloading VS2010.

But yeah, Express can't do 64-bit as far as I know. If you compile the server in 32-bit, it should compile.
 
Newbie Spellweaver
Joined
Jan 2, 2010
Messages
29
Reaction score
0
I have a problem...

When I try to Compile
I get alot of Skipped files...

[Picture]

Can you please help me?

EDIT: Solved!
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
Post the entire error log output at and post the link here so I can see what the problem is.
 
Initiate Mage
Joined
Feb 23, 2012
Messages
1
Reaction score
0
Cheers mate

 
Initiate Mage
Joined
Aug 7, 2012
Messages
2
Reaction score
0
First of all thank you for that awesome guide, it's the best one i could find and thanks to you my 2.4.3 server is now working (not quite yet as it should, but it works).
My Problem is that some mobs don't cast any spells, (well ok some actually do, but if they do the wow client crashes).
Secondly my serverlog lists dozens of errors like
2012-08-07 16:45:15 Loading CreatureEventAI Scripts...
2012-08-07 16:45:15 ERROR:CreatureEventAI: Event 224002 Action 2 param1 references non-existing entry (-47) in texts table.
2012-08-07 16:45:15 ERROR:CreatureEventAI: Event 224104 Action 2 param1 references non-existing entry (-47) in texts table.
would be really grateful if you could help me out. thanks
 
Last edited:
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
You're welcome. Those errors are because either the team that works on creature AI either made some mistakes or are working on scripting those creatures but haven't finished yet.

As long as most creatures cast spells, if some don't, that's because the AI team haven't scripted those creatures yet.
 
Initiate Mage
Joined
Aug 29, 2012
Messages
2
Reaction score
0
Hi,
I have followed the guide and get stuck on starting mangosd.exe. It seems like the DB version not matched. The log look like this:
Connected to MySQL database mangos@127.0.0.1:3306/mangos
MySQL client library: 5.1.49
MySQL server ver: 5.5.25
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
SQL: SELECT required_12141_02_mangos_mangos_command FROM db_version LIMIT 1
query ERROR: Unknown column 'required_12141_02_mangos_mangos_command' in 'field
list'
[0 ms] SQL: SELECT * FROM db_version LIMIT 1
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`

You need: --> `12141_02_mangos_mangos_command.sql`

You must apply all updates after [A] to 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.


In table db_version the latest field is "11785_01_mangos_instance_encounters.sql". And I can find three sql files releate to 12141_xxx in the "sql/updates":
12141_01_characters_character_currencies.sql
12141_01_mangos_command.sql
12141_02_mangos_mangos_string.sql
What shold I do? Any help will be appreciate.
 
Initiate Mage
Joined
Aug 29, 2012
Messages
2
Reaction score
0


Sorry, It is my mistake. I only execute one update sql.The guide is clear:
Then execute the next file and so on and so forth until you are at the latest file.
 
Initiate Mage
Joined
Nov 4, 2012
Messages
2
Reaction score
0
"Repository not found" when using git bash to download mangos on step one. Any help would be great thanks
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
"Repository not found" when using git bash to download mangos on step one. Any help would be great thanks

Use this GIT repo git://github.com/mangos-wotlk/server.git

MaNGOS moved around their GIT repos. I also fixed the URL in the tutorial.
 
Last edited:
Initiate Mage
Joined
Nov 4, 2012
Messages
2
Reaction score
0
Use this GIT repo git://github.com/mangos-wotlk/server.git

MaNGOS moved around their GIT repos. I also fixed the URL in the tutorial.

Thanks for your speedy reply
Been Compiling mangos and when finished
" 1 Successful , 0 failed , 11 skipped.

Is this normal ?

This took seconds to finish this is why I'm Querying , thank
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
No, that's not normal, you probably have some files set to not compile in the Configuration Manager. I'm too busy right now to check what should and should not be compiled but I will try to get back to you by tonight with what should be set to compile.
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
For a standard release server, the following should be set to compile:

ACE_Wrappers
Detour
Framework
G3DLite
Game
GenRevision
Mangosd
Realmd
Shared
TBB
TBBMalLoc
ZLib
 
Initiate Mage
Joined
Nov 12, 2012
Messages
3
Reaction score
0
Just want to say thx's for the guide!! Got server up and running, was unable to compile in 64bit though even with Microsoft sdk tools. Most likely something to do with the way I installed it all.

It's all running fine if I play the client on same pc but I get the realm loop problem if I try and log in from another location. Any ideas??
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
Check the IP you have for the server in the realmlist table. If it's a different IP from the one you used in your configs, change it to the one in the configs.
 
Initiate Mage
Joined
Nov 12, 2012
Messages
3
Reaction score
0
Hi darkicon,

I'm still having issues with getting this server public. Basically what I would like to achieve is: myself being able to log on from same computer and my brothers to be able to log on from parents house. I have tried various guides with no success, a lot of them have conflicting information in them to start with. If you could tell me what ip's need changing and which ports I need to open. It would be a massive help. I can't believe how frustrating this has been. I know I'm missing something simple.

Thank you for all your help

Mael
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
I suppose it could be a port issue. Try opening TCP ports 3306, 3724 and 3443. The IP you should be using in both the config and the realmlist table is your external IP (Go to ).

Hopefully that fixes it the issue.