Jump to content


  • Content Count

  • Donations

    0.00 GBP 
  • Joined

  • Last visited


Community Reputation

1 Neutral

About TheLuda

  • Rank
    Mangos founder & creator. Account for archive purposes only.

Profile Information

  • Gender
  • Location

Recent Profile Visitors

397 profile views
  1. TheLuda


    Hello there, it has been eight years since mangos was founded, and it was and interesting ride for me and many others. As things are, my private life and my work have slowly taken over any spare time I had available for mangos. Thus effective as of today, I decided to step down from any role I had in the mangos community, and say my farewells. My best wishes for the future, have a good ride. With kind regards, Daniel
  2. Not before the weekend, December is too work intense, so that under I hardly have spare time
  3. So you want to run mangos-zero on a Debian or Ubuntu server? Then this guide is for you. Here you will learn how to properly install all dependencies, and build mangos-zero for Debian 7 and Ubuntu 12.04.3 LTS server. Introduction We do assume that you already have a basic minimal installation of Debian or Ubuntu available, and can login via SSH to an account which may install packages and make changes to the system configuration. Note: throughout the guide I will use the sudo command to execute commands with administrative rights. This is only needed if you do not work as root user. 1. Install build environment 1.1 Install compilers and tools sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch sudo apt-get install -y cmake-curses-gui git-core 1.2 Install development headers and files sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev 2. Install database server sudo apt-get install -y mysql-client mysql-server 2.1 Create users for mangos-zero Now login to you MySQL installation as root user to setup MySQL user, privileges and databases for mangos-zero. CREATE USER 'mangos'@'localhost' IDENTIFIED BY 'password'; Of course, you can use a different username/password combination, too. 2.2 Grant access to the mangos user Here we grant wildcard access to any database named mangos_... for our user. GRANT ALL PRIVILEGES ON `mangos\_%` . * TO 'mangos'@'localhost'; GRANT USAGE ON * . * TO 'mangos'@'localhost' IDENTIFIED BY 'password' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; Again, if you use a different username/password combination, replace the user 'mangos'@'localhost' with your user. 2.3 Creating databases For mangos-zero, we do require four databases, one for authentication, world server, script library, and finally one for character data. CREATE DATABASE `mangos_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE DATABASE `mangos_realm` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE DATABASE `mangos_scripts` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE DATABASE `mangos_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 2.4 Making our user work As MySQL keeps users and privileges cached, we need to tell it to refresh the data. FLUSH PRIVILEGES ; 3. Building mangos-zero First, we will create a directory to hold all mangos-zero sources. mkdir ~/mangos-zero/ cd ~/mangos-zero/ 3.1 Checking out from github Now let us fetch both the server (which includes scripting) and the database. git clone [url]https://github.com/mangoszero/server.git[/url] git clone [url]https://github.com/mangoszero/database.git[/url] 3.2 Building Building mangos-zero is simple, thanks to CMake. cd ~/mangos-zero/server/ mkdir _build cd _build cmake -DCMAKE_INSTALL_PREFIX=/opt/mangos-zero -DCMAKE_BUILD_TYPE=Debug -DWITH_MOD_LUA=0 -DWITH_MOD_SCRIPTDEV2=1 .. Please note that you have to create the target directory specified via CMAKE_INSTALL_PREFIX yourself. sudo mkdir -p /opt/mangos-zero/ sudo mkdir -p /opt/mangos-zero/logs/mangos-zero/ sudo mkdir -p /opt/mangos-zero/share/mangos-zero/ We do create directories for logs, and data files here too. The /opt/mangos-zero/share/mangos-zero/ will later hold data extracted from the World of Warcraft game client (version 1.12.1). Now that we have all directories created, we build mangos-zero by running cd ~/mangos-zero/server/_build/ make 3.3 Installation Installing mangos-zero is easy cd ~/mangos-zero/server/_build/ sudo make install 4. Configuration Configuration templates will be available in /opt/mangos-zero/etc/ by now. Copy each .conf.dist file to a .conf file. sudo cp /opt/mangos-zero/etc/ahbot.conf.dist /opt/mangos-zero/etc/ahbot.conf sudo cp /opt/mangos-zero/etc/mangosd.conf.dist /opt/mangos-zero/etc/mangosd.conf sudo cp /opt/mangos-zero/etc/realmd.conf.dist /opt/mangos-zero/etc/realmd.conf sudo cp /opt/mangos-zero/etc/scriptdev2.conf.dist /opt/mangos-zero/etc/scriptdev2.conf You will have to edit paths and database settings. 5. Databases 5.1 Creating the database structures 5.2 Importing game content 6. Extracting client data
  4. TheLuda

    [Zero] Massive EventAI-Fehler

    Wenn Du jetzt noch deinen Erkenntnisgewinn und dein Ergebnis hier posten würdest, könntest Du sicher ein paar andere User erfreuen
  5. TheLuda

    [Zero] Massive EventAI-Fehler

    Also: was du tun musst ist eine Summon Action in creature_ai_scripts hinzuzufügen und zwar für beide Einträge aus der Summon Tabelle und damit ist das Problem behoben. Das ist mit lesen der Datei EventAI.txt aus dem doc/ Verzeichnis des Servers im Rahmen des selber lösbaren. Falls du nicht versuchen willst, den Fix selber zu schreiben kannst du einen Bug einstellen unter https://github.com/mangoszero/database/issues
  6. TheLuda

    [Zero] Massive EventAI-Fehler

    Der Fehler hat nicht das geringste mit der Version der Datenbank zu tun, sondern damit, dass der Server ab einer bestimmten Version Fehler in den Daten korrekt ausgibt: https://github.com/mangoszero/server/commit/5a86c7b67b4c91b58e85a17d9e85a280a49fe13c In TBC bekommst du den Fehler nicht, weil der Fix der Fehlermeldungen ausgibt noch nicht in TBC portiert wurde.
  7. TheLuda

    [Zero] Massive EventAI-Fehler

    Das heißt schlicht, dass es in der Tabelle creature_ai_scripts keine Summon Aktion gibt, die diese beiden Einträge aufruft. Etwas mehr Dokumentation zur mangos-zero Datenbank findest du unter https://bitbucket.org/danielsreichenbach/mangos-zero-database/wiki/
  8. TheLuda

    Start MaNGOS Four from where?

    Keep them coming, and if you happen to have some spare time, we'd welcome if you would document your learning process too. This would be great as we would improve our project documentation based on what you found missing.
  9. TheLuda

    Start MaNGOS Four from where?

    1. G3D is just used for collision detection purposes, as we extract data from the game client (namely the DBC files to jump start game definitions, and all map files) and calculate our own set of server side maps from these. 2. src/framework/ provides a few cross-platform abstractions, src/shared/ provides a library connecting the server to MySQL/PostgreSQL, OpenSSL and Zlib and also providing basic classes for reuse in the rest of the server. 3. src/game/ is just a library which abstracts the server side of communicating with the client, and reacts to any commands the client sends, with the proper replies, and does all the magic behind. E.g. show a friend list or available auctions. 4. realmd is the service which allow logging in, mangosd provides the functions from src/game/ thus it is usually named world server as it "runs" the game world. 5. Extracting data from the client will not by far make anything work. You have the data, but that still does not answer in which format the client and the server communicate. This is what is found out by watching the original server and client communicate and log their TCP packets. And then, you go ahead and try to make sense of them. Also many things from the client help us understand how this all works. But much is guess-work. Does this help?
  10. TheLuda

    Start MaNGOS Four from where?

    There is no drawing, no diagrams whatsoever. We've just started building proper docs and all of the missing things in an effort for mangos-zero. Have a look at https://bitbucket.org/danielsreichenbach/mangos-zero-database/wiki/ It's not for mangos-four, but there are similarities and it should cover a few things in terms of knowledge and information which are still valid for mangos-four. But: beyond that, any documentation needs to be written. This project never had many people interested in crafting docs, except for me probably.
  11. TheLuda

    Start MaNGOS Four from where?

    Sorry for the late reply, but the team is more or less drawn away from mangos due to work and university workload. First, you should probably give more details what in mangos four did not work for you. Where did you build and install? Windows, Linux, etc. If you really want to help there, it will be a lot of work probably requiring knowledge on reverse engineering the game client. Since you never have used mangos, I would instead recommend to start with understanding how the database works, which informations are stored in the clients DBC files, etc. The basics need to be learned first. Also the question is, how well you know C++. If you're just starting, updating the server for a new client version might be a task too large.
  12. TheLuda

    FreeBSD Install Guide

    I will tryout the guide on the weekend and update my FreeBSD machine to version 9, and see how it goes :-) I really hope we can get stable FreeBSD support. After all, Linux and BSD are far better targets for running mangos.
  13. TheLuda

    FreeBSD Install Guide

    Hey, that is really awesome. I was just looking to upgrade my FreeBSD virtual machine to FreeBSD 9 for mangos. Do you run mangos there just for testing, or do you run in load, too? Would be interesting to see some stats how it performs during runtime of FreeBSD. Also, what about all the map tools? Do these build on FreeBSD?
  14. I'll be staying online as often as I can to seed, too.
  15. Yes, of course. A bit more seeders would be good though. There's just four people online, and one seeding.

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions


The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®