• Networking: We're currently investigating a cascade effect causing network performance degradation in our network. - Sponsor

[MaNGOS] v2.0.10 The Burning Crusade Server [Espire's Source]

Experienced Elementalist
Joined
Aug 7, 2006
Messages
271
Reaction score
0
Location
Brisbane, Australia
Hey all...

I have noticed there is a SVN patch available..
thus i have compile the latest SVN source with the TBC patch...
There are still ALOT of errors... but i am working on it...

THIS IS AN ENTRIELY NEW SERVER... NOT Fanatiks core..
DO NOT ASSUME IT WILL WORK WITH PROJECT SILVERMOON'S...
The only reason i posted here was to share the source...

I DO NOT SUPPORT THIS THREAD...
FOR HELP GOTO




Espire's SVN Source Patch & DJRavine's Windows Binaries...
[compiled by DJRavine with MS Visual C++ 2005 on Windows Vista 64bit]
ok to save a few ppl the hassle of doing all this for themselves...
here is the patch source code and the windows binaries...
I have compile them on the base MaNGOS Rev3401...


DOWNLOAD LINKS

[DOWNLOAD MIRROR -> FILEBEAM]
DOWNLOAD: - 16.5MB
DOWNLOAD: - 1.18MB
DOWNLOAD: - 1.62MB [COMPILED BINS ONLY]
DOWNLOAD: - 2.95MB
DOWNLOAD: - 9.08MB [COMPATIBLE SQL DB]
DOWNLOAD: - 0.07MB

[DOWNLOAD MIRROR -> SENDSPACE]
DOWNLOAD: - 2.95MB
DOWNLOAD: - 277MB
DOWNLOAD: - 0.07MB



Credit to Espire for the source patch...
Since there are some "people" in this community who don't release their sources to existing open projects, I figured I would make one to keep some of you people happy.

I will not be providing binaries in any case, you must compile it yourself. I am merely posting this now to assure you that I am not a fake, or bull****.

Known bugs :-
- Item template query still needs to be fixed (will do shortly)
- Quest query still needs to be fixes
- Cubes/boxes on npcs (needs a field pushed forward)
- Authpacket change (needs to be done to enable new races)

Known working :- (Fixed stuff)
- Groups
- Channels
- Full 2.0.10 support
- No advertisement bull****
- DBC structures updated to 2.0.x

I'll post a new patch shortly with the item/quest stuff fixed, as at the moment I am extremely busy with quite a few things on my mind (mainly my own server/emu, which has just undergone a lot of massive core changes).

I repeat: this is *NOT* EspireEmu/mmorpg4free's emu. That is my other (main) project that I spend my time on. This is merely an effort on my part to correct what I may have offended some members of the community and to help you guys out.

Download link:

* This is a source .patch file. It is not a binary. I'll leave compiling up to you guys, providing binaries in my opinion is bad because it leaves the way to viruses/trojans. Simply apply this patch to the LATEST svn, and recompile, and you should be good. *

*** UPDATE ***

Fixed:
* Item prototypes -> should fix encanting etc professions, use my item sql.
* Creature templates -> fixes all cubes on mobs, use my creature sql.
* TBC Races enable
* Quest query packet
* Item query packet
* Negative aura cancel

creature_template.sql ->
item_template.sql ->
mangos-2.0.10-2.rar ->

Again, it is a .patch only!
WEBSITE:


Here's what i did...
TO COMPILE FOR WINDOWS
For the Linux guide scroll down...

Required Software:
  • A Windows Operating System
  • A version of MS Visual C++:
    • Visual Studio 6 (Version 7/2003)
    • Visual Studio 2005 (Version 8/2005) + SP1
    • Visual C++ 2005 Express Edition (Version 8/2005). Available for one year for free.
    • Possibly this for SP-1, especially if you are on Vista.
  • TortoiseSVN - a freeware source sharing application available .
Install MS Visual C++:

  • Visual C++ 2005 Express Edition
    • You must also install and configure Platform SDK to use Visual C++ 2005 Express Edition. Carefully follow the instructions . Follow the first 4 steps completely and the first half of step 5! DO NOT just download and install. Follow the instructions or you will not be able to compile. Need help? See
    • SP-1 is recommended.
  • Visual Studio 2005
    • You must install SP-1 for VS 2005. (The old "functional" file update is no longer needed with SP-1.)
add this to the guide above.. ..

[Step 3: Update the Visual C++ directories in the Projects and Solutions section in the Options dialog box]

1. To add the paths to their appropriate sections, click the button Tools, and then go down to Options.
2. This will produce a new box.
3. Open up the Projects and Solutions subbox (click the +), and then go to VC++ Directories.
4. You'll notice that in the top-right corner of the box you will have an option which says: [Show Directories For...].
5. It should be easy from here on out, but read on if you want a guide.

6. Add the three directories, they are:
[C:\(Program Files\)Microsoft Platform SDK for Windows Server 2003 R2\Bin] - Add this to Executable Files.
[C:\(Program Files\)Microsoft Platform SDK for Windows Server 2003 R2\Include] - Add this to Include Files.
[C:\(Program Files\)Microsoft Platform SDK for Windows Server 2003 R2\Lib] - Add this to Library Files.
Install TortoiseSVN and Set Up SVN Folders:
  • Install Tortoise SVN
  • Create a directory on your hard drive. For example: "C:\sources\mangos\"
  • Right click on the folder "\mangos\" and select "SVN Checkout"
    • On the top line where it says "URL of Repository" put in the url "https://svn.sourceforge.net/svnroot/mangos/trunk".
    • Do not change any other options, then press ok. This will download the most current source code.
  • (Note: If you will be using scripting (i.e. scriptdev) you will need to retrieve and prep it in a similar manner at this point. Consult your preferred source for scripts for instructions on how to include scripts in a MaNGOS compilation. DO NOT ask for assistance with scripts on this forum.)

Updating Your Source Files
(Only for updates, not first time compilations. Skip this section if you are a compile virgin.)
  • Right click on the "C:\sources\mangos\" folder and select update.
  • If an update is available it will be immediately downloaded to this directory replacing any previous files. You will see a list of the files being added and/or updated as the process completes.
  • Once the update is complete you will see a dialog such as "Completed At revision: ####". That is your new revision number.
  • From here you can select the "show log..." button to get a listing of what was added or updated or press ok to exit.
  • From this point simply continue to the compilation process as listed below.
  • IMPORTANT: Anytime you update this directory check to see if either of the *.conf.in files were updated. MaNGOS will not function if you do not have the current .conf files. (If they were not updated, then you can continue using your existing .conf files.)
  • IMPORTANT: Also make sure to always check the "C:\sources\mangos\sql\updates\" directory for new files. This directory contains SQL queries that modify the database structure and are critical for the core to function. If you get a new revision make sure that all the SQL updates with numbers <= your current revision number have been loaded in your database. These files only need to be loaded once.
  • Suggestion: Learn as much as you can about TortoiseSVN through it's help files and web site. It's an outstanding tool for source sharing. The more you learn about it the more you will be able to do with the MaNGOS source code. (Like custom or pre-release code patches you might see on the forums!)
Apply SVN Patch for TBC v2.0.10:
  • Ok... you have Tortoise SVN installed already...
  • Right click on the folder "C:\sources\mangos\" and select "TortoiseSVN->Apply Patch..."...
    • Locate the file "mangos-2.0.10-2.patch"...
  • In the next window right click a file in the "File Patches" window...
  • Click "Patch All"...
  • and let it do it's work... Then you original MaNGOS source is TBC v2.0.10 compatible...
  • Credits to DJRavine...



Compile MaNGOS:


  • Browse your computer to "C:\sources\mangos\win\" and double-click (open) the .sln file for your VC++ version
    • mangosdVC71.sln - Version 7/2003 (Visual Studio 6)
    • mangosdVC80.sln - Version 8/2005 (Visual Studio 2005/VC++ Express)
  • In your VC++ application window select Build->Configuration Manager from the menu.
    • Select "Release" in the drop down for "Active Solution Configuration"
    • "Active Solution Platform" should default to "Win32". Do not change this.
    • Close the dialog.
  • Now select Build->Build Solution from the menu. (Note: If you had an error or are having problems with the build you can select Build->Clean Solution to "reset" the compilation.)
  • Your MaNGOS application will now begin compiling.
    • This may take quite some time depending on the speed of your processor.
    • You WILL get various warning messages. This is expected and should not alarm you.
    • When the process is complete you should see a message like "Build: 8 succeeded, 0 failed, 0 up-to-date, 0 skipped". The key is to make sure that failed = 0. (If you are doing an update of an existing build you may get a message like "Build: 2 succeeded, 0 failed, 6 up-to-date, 0 skipped". Again, no failures so you are in good shape.)
  • Occasionally you will get this error: "error LNK1181: cannot open input file 'mangosd.lib'". In order to fix this iussue you can do these steps (once):
    • Right-click on "Solution 'mangosdVC80' (8 projects)" in solution explorer.
    • Select "Project Build Order..."
    • Click on the "Dependencies" tab.
    • In the "Projects:" drop down list, select "script" and check "mangosd" and hit OK.
    • Build Solution.
    Credits to rusty.

Congratulations! MaNGOS TBC is now compiled!


The files needed to run MaNGOS are now in your "C:\sources\mangos\bin\release\" directory. You will need to copy any *.exe and *.dll files you find in this directory and place them in the directory where you plan on running MaNGOS. (i.e. "C:\MaNGOS")

You will also need to retrieve the conf.in files from "C:\sources\mangos\src\mangosd\" and "C:\sources\mangos\src\realmd\" and rename them both by removing the ".in" from the filenames.


You still must configure MaNGOS before running the server.
This guide only covers compiling the binaries to create the application.


If you have any questions or run into problems with these procedures please post your issues as a response 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.
DJRavine - [MaNGOS] v2.0.10 The Burning Crusade Server [Espire's Source] - RaGEZONE Forums

(Created by elegos87, Pretty-fied/Formatted by Spuddlethud)
-<[TBC Addition by DJRavine]>-
Original Guide:


LINUX COMPILING GUIDE

Note: replace [user] with your current linux user name and [working path] as the path where ManGOS will run

Required Software:
  • A Linux-Based Operating System
  • GCC 3.3 and above (suggested latest) (I use: GCC 4.1.1)
  • make (I use: 3.81)
  • libtool
  • automake (1.5 and above. Suggested latest one)
  • autoconf (I use: 2.60)
  • glibc & glibc-dev(glibc headers)
  • mysql 4.1 or above (suggested 5) (I use: mysql-server 5.0 && libmysql++-dev)
  • OpenSSL (I use: 0.9.8d - libssl-dev)
  • subversion (I use: subversion 1.3.2)
  • zlibc
Note: you will probably also need python libs. Please reply to this thread if you have some troubles configuring (./configure) ManGOS

Installing the required software (UBUNTU USERS):
This part really depends on which linux distro you have installed. This mini-guide is for Ubuntu (gnome) users:
  • Be sure to have a Universe and Multiverse sources.list in order to have the most updated software. To enable it, search on
  • Open Synaptic (As admin user go to the menu System -> Administration -> Synaptic)
  • Search for every needed component and add a tick on their left. Agree when Synaptic asks you if you want to install the dependence files.
  • Click on 'Apply'. It will take some time (depending on your PC and internet connection)
Download the latest version of ManGOS:
  • Create a new directory on your hard drive. For example: "/home/[user]/sources/mangos"
  • In console execute this line:
    Code:
     svn checkout [URL]https://mangos.svn.sourceforge.net/svnroot/mangos/trunk[/URL] /home/[user]/sources/mangos
  • (Note: If you will be using scripting (i.e. scriptdev) you will need to retrieve and prep it in a similar manner at this point. Consult your preferred source for scripts for instructions on how to include scripts in a MaNGOS compilation. DO NOT ask for assistance with scripts on this forum.)

Updating Your Source Files
(Only for updates, not first time compilations. Skip this section if you are a compile virgin.)
  • In console execute this line:
    Code:
     svn checkout [URL]https://mangos.svn.sourceforge.net/svnroot/mangos/trunk[/URL] /home/[user]/sources/mangos
  • If an update is available it will be immediately downloaded to this directory replacing any previous files. You will see a list of the files being added and/or updated as the process completes. (A = added, U = updated, D = deleted)
  • Once the update is complete you will see a new line: 'Extracted version ####'. That is your new revision number.
  • In order to see the changelog, please consult this XML file: .
  • IMPORTANT: Anytime you update this directory check to see if either of the *.conf.in files were updated. MaNGOS will not function if you do not have the current .conf files. (If they were not updated, then you can continue using your existing .conf files.)
  • IMPORTANT: Also make sure to always check the "/home/[user]/sources/mangos/sql/updates" directory for new files. This directory contains SQL queries that modify the database structure and are critical for the core to function. If you get a new revision make sure that all the SQL updates with numbers <= your current revision number have been loaded in your database. These files only need to be loaded once.
Compile MaNGOS:

IM NOT SURE ATM ON HOW TO PATCH THE SOURCE IN LINUX...
  • Create a new folder: /home/[user]/sources/mangos/bin
  • Open the console and browse to /home/[user]/sources/mangos
  • Execute this line:
    Code:
     ./configure --prefix=[working path] --sysconfdir=[working path]/etc --with-python --enable-cli --enable-ra --datadir=[working path]
  • Then this line:
    Code:
     make
  • And eventually:
    Code:
     make install
  • Note: if you have troubles and you cannot configure ManGOS, execute this line and then retry. If you still cannot configure it, please reply to this thread:

    Code:
     ./reconf

Congratulations! MaNGOS is now compiled!



The files needed to run MaNGOS are now in your "[working dir]" directory. You will run ManGoS in that directory (otherwise ManGoS won't read config files and data)


You still must configure MaNGOS before running the server.
This guide only covers compiling the binaries to create the application.


If you have any questions or run into problems with these procedures please post your issues as a response 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.
DJRavine - [MaNGOS] v2.0.10 The Burning Crusade Server [Espire's Source] - RaGEZONE Forums

(Created by elegos87, Pretty-fied/Formatted by Spuddlethud [by win guide])​



Here are some bash files. You will only need to execute do_mangos_bin! (put them wherever you want... but put them in the same directory!!!)
(remember to edit USR="[user]" in both the files and PATH="[working path]" in do_mangos_bin)

retrive_mangos:

Code:
 #! /bin/bash
USR="[user]"

echo CREATING MANGOS SOURCE DIR
mkdir /home/${USR}/sources/mangos
echo ...
echo RETRIVING MANGOS SVN
echo ...
svn checkout [URL]https://mangos.svn.sourceforge.net/svnroot/mangos/trunk[/URL] /home/${USR}/sources/mangos
do_mangos_bin:
Code:
#! /bin/bash
USR="[user]"
PATH="[working path]"

echo UPDATING MANGOS SOURCES
./retrive_mangos
echo ...
echo ENTERING MANGOS SOURCE DIR
echo ...
cd /home/${USR}/sources/mangos
echo RECONFIGURING MANGOS
echo ...
./reconf
echo CONFIGURING MANGOS
echo ...
./configure --prefix=${PATH} --sysconfdir=${PATH}/etc --with-python --enable-cli --enable-ra --datadir=${PATH}
echo ...
echo MAKING MANGOS
make
echo ...
echo MAKING INSTALL
make install
echo ...
echo THE END!
updated rev. 1.3

SOURCE:



This release was brought to you by those kind folks @...
 
Last edited:
hmm, lets try another one ^^ but i'm confuse .. what is files of server... what is maps... what is DBC... Just the update can replace the other server what do you post?

Cya
 
i have just updated and fixed the DB...
it still has alot of errors...
ie.. the playercreateinfo creates a BE's as a drake....
needs work.. but atleast its now working...
and loginable...

THIS WILL REPLACE UR EXISTING DB...

COMPATIBLE SQL: - 9.08MB


**** UPDATED FIRST POST ****
 
2007-04-06 19:41:36 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0391)
2007-04-06 19:45:54 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 19:48:06 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 19:48:46 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 20:08:41 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 20:08:52 ERROR:SESSION: received unhandled opcode UNKNOWN (0x035C)
2007-04-06 20:08:57 ERROR:Error: creature entry 17987 does not exist.
2007-04-06 20:08:58 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0391)
2007-04-06 20:12:15 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:17 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:17 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:18 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:20 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:21 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:22 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:23 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:25 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:26 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0366)
2007-04-06 20:12:31 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0365)
2007-04-06 20:16:14 WORLD: Starting weather system(change per 30 minutes).
2007-04-06 20:16:14 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0391)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:29 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:30 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:33 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:37 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:37 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:37 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:37 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:38 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:49 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:52 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:52 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:52 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:52 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:17:53 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038D)
2007-04-06 20:24:14 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 20:24:48 ERROR:SESSION: received unhandled opcode UNKNOWN (0x038C)
2007-04-06 20:24:57 ERROR:SESSION: received unhandled opcode UNKNOWN (0x035C)
2007-04-06 20:25:02 ERROR:Player::GetBaseReputation: can't get base reputation of Tespxpxj for faction id 589
2007-04-06 20:25:02 ERROR:Player::GetBaseReputation: can't get base reputation of Tespxpxj for faction id 891
2007-04-06 20:25:02 ERROR:Player::GetBaseReputation: can't get base reputation of Tespxpxj for faction id 980
2007-04-06 20:25:03 ERROR:Error: creature entry 60000 does not exist.
2007-04-06 20:25:04 ERROR:SESSION: received unhandled opcode UNKNOWN (0x0391)
 
Thanks Ravine... i'll test the files today... now to be more exactly... i post results..

Cya
 
Back