Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides > Mangos Guides

Mangos Guides This section is for WoW emulated server, Mangos guides.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
  #1  
Old 03-31-2008
Ophie's Avatar
Ophie is offline.
Knight
  
 
Join Date: Aug 2006
Location: bin/laden
Posts: 194
Reputation: 66
[2.3.3]Create your own MaNGOS Server! [No Repack]

Step by step guide of a typical MaNGOS installation on a Windows platform with screenshots included!
This guides is for people who want to actually learn something other than click & run. No gay repack is used!

1. Getting MaNGOS Source
You will need a SVN client in this case we'll be using TortoiseSVN, which can be downloaded [Only registered and activated users can see links. ].
Once you installed it, make any folder anywhere and double click on it! Select "SVN Checkout" and copy paste the below link and click "OK".
[Only registered and activated users can see links. ] - The sources will now be downloaded.
Click the image to open in full size.
To update the sources you only have to click "SVN Update" and it will download all new or modified source files.
[Only registered and activated users can see links. ]

2. Compiling MaNGOS in to Executables
To compile MaNGOS on Windows you will need to download Microsoft Visual Studio 2008 Express Edition (C++), which can be found [Only registered and activated users can see links. ]!
After downloading and installing and whatnot, the time comes to actually import the project file from the downloaded source folder and finally compiling!
Click the folder icon to open solution and navigate to your Folder/win/ and select /mangosdVC90.sln and open it! Now in Visual Studio change "debug" to "release" if necessary and hit "Build Solution".
[Only registered and activated users can see links. ]
If MaNGOS compiles successfully it should look like this:
[Only registered and activated users can see links. ]
Than everything is good, if otherwise make sure you did everything here and consult the FAE or ask on the forums.
Now I assume you would need AI to your mobs/bosses/npc's, because it's very important to the game. ScriptDev2 is the answer! After MaNGOS successfully been compiled it's time to compile ScriptDev2.
Make a new folder in Folder/src/bindings called "ScriptDev2", so it would look like Folder/src/bindings/ScriptDev2. Right click on it and select "SVN Checkout" same as before and copy paste the below link, after that hit "OK" so everything can be downloaded.
[Only registered and activated users can see links. ]
Open Visual Studio if not opened and open the ScriptDev2 solution file, which can be found in Folder/src/bindings/ScriptDev2/scriptVC90.sln.
Wait for it to finish then proceed to the next step.

3. Installing MaNGOS
After successfully compiling MaNGOS it's time to get the spewed out executables and take it to the next level!
The compiled binaries can be found in Folder/bin/release
[Only registered and activated users can see links. ]
Copy the .dll files and the .exe files to a new folder anywhere. Oh btw, you will be needing the .conf files too from Folder/src/mangosd(realmd)/mangosd.conf.in and realmd.conf.in, which you will have to rename to mangosd.conf and realmd.conf!
[Only registered and activated users can see links. ]

4. Extracting Maps and DBC (Vmaps not included)
Maps
The ad.exe can be found in the Folder/contrib/map_extractor/ad.exe, which you need to copy in the World of Warcraft folder. Create a folder called "maps" and hit the ad.exe.
[Only registered and activated users can see links. ]
At this point you will have to wait until it finishes. If errors out and says something along the lines of "patch-2.mpq" not found, than disregard it. It's only necessary when it's patch x.x.3 for example, in this case MaNGOS supports 2.3.0 and the patch-2.mpq is not included. Just copy the "maps" folder in the MaNGOS server root directory.
DBC
The dbc extractor can be found at the download section [Only registered and activated users can see links. ]!
Place it in World of Warcraft/Data/enGB(enUS)/ folder and hit the .cmd!
It only takes a couple of moments! Take the folder that was automatically created to the server root directory and rename it to "dbc".

5. MySQL, SQLyog
MySQL is needed to run a database for MaNGOS and SQLyog is the GUI (Graphical User Interface) to it.
Both can be downloaded from [Only registered and activated users can see links. ]!
Install both like usual programs, however after MySQL installation finishes it asks for you to configure it. In the configuration wizard hit "next" on everything until you get to where it asks for you password. Write anything there (not too easy to guess) and remember it as you will need it in the future. Hit next and execute.

6. Creating and importing the databases
There are mainly 2 databases; Unified Database, which is a SDB and MoDB merge and Project Silvermoon database, which is more leaned towards "funserver" style.
We'll go with UDB this time. We offer UDB for download [Only registered and activated users can see links. ]! After download finished and unarchived it's ready to be imported in the newly created database.
Open SQLyog and write in the username field "root" and to the password the password you gave in the MySQL configuration wizard. If it connects ok, than create 3 databases: mangos, realmd and characters and.
[Only registered and activated users can see links. ]
Right click on the mangos database and select "Restore from SQL dump" and navigate than select the database you just downloaded and hit execute.
Do the same with realmd database only the .sql file is the "sql" folder within the source folder". Select realmd.sql and execute it. Next to it's the characters.sql and execute that in the characters database.
NOTE: As of ScriptDev2 Revision 220, it should be created in a separate database, thus now there are 4 databases: mangos, realmd, characters and scriptdev2.
Right click on the scriptdev2 database and navigate to /sql/ directory. Find and execute create_tables.sql.

7. Updating the Database(s)
Updating the database is very logical. You need to know what version was the full database you downloaded and executed supported. Let's say the newest full Database of UDB supports MaNGOS 4950 and ScriptDev2 213. You just compiled and updating the core with MaNGOS reivision 4960 and ScriptDev 215. The update brought along .sql updates to MaNGOS AND ScriptDev2. Check the SQL folder for newer databse strcture updates than the supported revision, which you checked. Execute them if more than one. NOTE: There aren't always updates.
[Only registered and activated users can see links. ]
8. Configuring MaNGOS and Launching
Go to your MaNGOS server root directory and open with notepad mangos.conf and realmd.conf.
mangos.conf
Set DataDir = "."
Here you change mangos;mangos to root;yourpassword. Everything else should be as is change if it is necessary and you know what your doing. As of newer revisions you must change the "Bind IP" to whatever you want it.
[Only registered and activated users can see links. ]
You do the exact same thing with realmd.conf.
As of ScriptDev2 Revision 220 you will need to retrieve ScriptDev2.conf from the source directory and palce it in your server root folder. Change the values as shown above, it's the same thing! (NOTE: You must import the EventAI.sql in that database!)

And now your done! And it's time to run MaNGOS!
[Only registered and activated users can see links. ]
Guide created by me (Ophie), this can be also found here:
[Only registered and activated users can see links. ]
__________________
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #2  
Old 04-03-2008
Iluox's Avatar
Iluox is offline.
Master Sergeant
  
 
Join Date: Aug 2007
Location: Finland
Posts: 72
Reputation: 5
Points: 927, Level: 2
Points: 927, Level: 2 Points: 927, Level: 2 Points: 927, Level: 2
Level up: 6%, 473 Points needed
Level up: 6% Level up: 6% Level up: 6%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Did You Know These Download Files is Corrupted.
Reply With Quote
  #3  
Old 04-04-2008
Kidron is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Mar 2008
Posts: 3
Reputation: 1
Hello there. I'm new to all this crap about Private Servers and such, but shouldn't there be an explanation to how you connect to the server?
The guide says "For those who actually wants to learn something", but I didn't understand anything about how you create an account on the server, nor did I understand how I should connect to it in general.
Can anyone please explain to me, how you do this shizzle?

/regards
Daniel
Reply With Quote
  #4  
Old 04-04-2008
Ophie's Avatar
Ophie is offline.
Knight
  
 
Join Date: Aug 2006
Location: bin/laden
Posts: 194
Reputation: 66
Quote:
Originally Posted by Kidron View Post
Hello there. I'm new to all this crap about Private Servers and such, but shouldn't there be an explanation to how you connect to the server?
The guide says "For those who actually wants to learn something", but I didn't understand anything about how you create an account on the server, nor did I understand how I should connect to it in general.
Can anyone please explain to me, how you do this shizzle?

/regards
Daniel
In this guide I assume you know at least that.
__________________
Reply With Quote
  #5  
Old 04-04-2008
Kidron is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Mar 2008
Posts: 3
Reputation: 1
Didn't see there was no questions allowed. -.-

Last edited by Kidron; 04-04-2008 at 05:17 PM.
Reply With Quote
  #6  
Old 04-04-2008
Ecoman is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Aug 2007
Posts: 3
Reputation: 1
Thnx you ahve really helped
Reply With Quote
  #7  
Old 04-07-2008
asahi is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Oct 2007
Posts: 10
Reputation: 1
If you guys want to learn more about the real mangos with being able to patch it and everything just go to [Only registered and activated users can see links. ]. Just don't tell them you're making a public server they don't like that.
Reply With Quote
  #8  
Old 04-13-2008
lolthom is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Apr 2008
Posts: 4
Reputation: 1
Ive got the serverr running but not the NPC's can someone help me plz?
Reply With Quote
  #9  
Old 04-15-2008
Ophie's Avatar
Ophie is offline.
Knight
  
 
Join Date: Aug 2006
Location: bin/laden
Posts: 194
Reputation: 66
Quote:
Originally Posted by lolthom View Post
Ive got the serverr running but not the NPC's can someone help me plz?
[Only registered and activated users can see links. ]
you need a full database.

Quote:
Didn't see there was no questions allowed. -.-
Of course it's allowed, however this guide only covers how to install the server.
__________________
Reply With Quote
  #10  
Old 06-17-2008
visitor is offline.
Contributor
  
 
Join Date: Mar 2008
Location: Behind you
Posts: 197
Reputation: 85
very nice post
and to the others: My Mistakes:
1. when you download the UDB pack from [Only registered and activated users can see links. ] you may need update UDB packs from [Only registered and activated users can see links. ] to make it working... this was one of my mistakes.
2nd. do NOT compile MaNGOS and ScriptDev2 at the same time... because scriptdev2 overwrites the mangosscript.dll and if the updated dll will be overwritten then that is like that you made nothing with scriptdev.
I hope i helped
__________________

Last edited by visitor; 06-18-2008 at 09:30 AM.
Reply With Quote
  #11  
Old 06-18-2008
visitor is offline.
Contributor
  
 
Join Date: Mar 2008
Location: Behind you
Posts: 197
Reputation: 85
but dont need the "[2.3.3]" in the title because if you update it it will be the latest rev.
__________________
Reply With Quote
  #12  
Old 06-25-2008
Mmorpwnage is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Oct 2007
Posts: 13
Reputation: 1
Well if you know these kinds of errors, I was installing Windows Visual 2008 C++.
After I had ran the program to start the install, I got an error. The box told me to send it to Windows (but what would that help?) So I opened the report to see if you know the problem im having is.

The detailed report to be sent.
C:\DOCUME~1\Timothy\LOCALS~1\Temp\WLF9C.tmp
C:\DOCUME~1\Timothy\LOCALS~1\Temp\WLF9C.tmp
C:\WINDOWS\system32\BITS.LOG

The report signature. (I think P=port)
Event Type : visualstudio8setup P1 : 10860
P2 : 9.0.21022.08_orcas_x86_net P3 : gen P4 : inst P5 : f
P6 : dlmgr_download error P7 : 5010 P8 : 5010
P9 : urlmonerror_download successf P10 : -

But if you cant fix it, Oh well. I've never had luck with making servers. Hope I could finally succesfully make one soon. (Yes, I do know the basics of the server past installiation)
Reply With Quote
  #13  
Old 07-03-2008
Airai's Avatar
Airai is offline.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
  
 
Join Date: Jun 2008
Posts: 19
Reputation: 1
Would you suggest doing it this way or using a repack for a noob?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 10:59 PM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493