Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 03/06/2015 in all areas

  1. 9 points

    Version 0.21.GitHub

    3,845 downloads

    Mangos Zero Server with playerbots For: World of Warcraft ClassicInstall Guides: https://www.getmangos.eu/wiki/documentation/installation-guides/ Status: Playable Support client versions: 1.12.1 (build 5875),1.12.2 (build 6005) and 1.12.3 (build 6141) MangosZero-Serverx86.zip (32 bit) MangosZero-Serverx64.zip (64 bit) Built in Scripts (SD3 & Eluna) Playerbot Allows players to spawn bots to group up and play with them. Settings for this are in aiplayerbot.conf.dist This can be enabled or disabled in the config file Map Extractors Realm, World & Character databases Authentication Realm-Daemon server (realmd) Mangos-Daemon world server (Mangosd) Requirements: C++ Redistributable for Visual Studio 2015 (Included in .zip)
  2. 5 points

    Version 0.21.GitHub

    2,039 downloads

    Mangos One Server - 0.21 For: World of Warcraft: The Burning Crusade Wiki: https://www.getmangos.eu/wiki/documentation/installation-guides/ Status: Playable Support client versions: 2.3.4 (8606) Mangosone-Serverx86.zip (32 Bit) MangosOne-Serverx64.zip (64 Bit) Builtin Scripts (SD3 & Eluna) Map Extractors Realm, World & Character databases Authentication Realm-Daemon server (realmd) Mangos-Daemon world server (Mangosd) Requirements: C++ Redistributable for Visual Studio 2015 (Included in .zip)
  3. 5 points
    Flawless install. Thank you for the precompiled binaries. Not having a solid internet connection, this keeps me sane.
  4. 4 points
    How do we do it? The short answer is actually more boring than you think... hours of studying hex code gathered from the client and network traffic with the server. The long answer I'm about to offer would have seen me burned as a heretic for spilling precious secrets, if this were still the old days, but MaNGOS today is about being free in every way. The three pillars of the MaNGOS Open philosophy are Open Source, Open Community, and Open Learning. So we all do our best to make sure the code is free, our door is open to everyone, and knowledge must be shared. A more complete answer must be prefaced with a brief trip to the past. Bear with me, if you please. Game server emulation has been around far longer than WoW itself, beginning in the late 90s with multiplayer games like Quake. Back then, these games often came with an official server you could install from the game disk so players could host their own multiplayer games. People smarter than me got curious and reverse-engineered these servers to create the foundation of knowledge and procedures that are still used to this day. MMOs use a centralized server, accessed over the Internet. One of the earliest examples is Phantasy Star Online, released for the Sega Dreamcast in 1998 and Windows a year later. So how do you create a server for a game when you don't actually have the server itself? The two basic tools used for creating a server emulator from scratch are the debugger and packet sniffer. I'll say more on that a little later. What I do know of the early genesis of WoW private servers is second-hand knowledge gained from the devs who'd been around nearly from the the beginning. It all began when a simple WoW sandbox evolved into a full server called Stormcraft. Early WoW p-servers were primitive by today's standard and closed source. Much of the game's features did not work correctly, if at all, and there was little anyone could do because the various devs kept their program code and knowledge secret. WoWDaemon (usually abbreviated to WoWD) was the beginning of the modern projects you see now, programmed in C++ and using an SQL database. So why the history lesson? Because every WoW server emulator in existence today owes a debt to those who came before. Whether it's MaNGOS or Ascent, or one of their many forks like Trinity, Cmangos, or Arcemu... we've built on over a decade of work by hundreds of developers. MaNGOS was started from a leak of the old WoWD server source. Standing on the shoulders of giants, as it were. The way this was all done involved using those two tools I mentioned earlier. First, a debugger is employed to dig into the heart of the WoW game client, reverse-engineering the client's inner workings to find opcodes and data handlers. Then a packet sniffer was used to save all the packets sent between the client and server during an actual game play session, also called "sniffs". A hex editor was frequently used to analyze file formats and the captured packets, allowing bright fellows to develop specialized tools to more efficiently sift through the client and network traffic for valuable data. Once it was understood how things worked, it then became possible to create compatible program code to make use of the methods and data that makes WoW playable. Since that time, specialized tools have been created to more efficiently get at the precious data needed to improve existing p-servers and keep up with new expansions so they can also be emulated correctly... eventually. It has taken all this time to get this far. I'm certain it will take longer still before anyone can truthfully declare any WoW p-server is 100% complete. That's a broad overview for you. As for the finer details, feel free to ask more questions. Either myself or someone will be happy to provide you the best information we have. I hope I've given you the answer you were seeking. Remember, MaNGOS belongs to you!
  5. 3 points
    Hello everyone, I made a website where you can download private server addons for the versions vanilla, tbc and wotlk. I think that the website is pretty self-explanatory, but if you do have any comments, questions or feature requests, please shoot me a PM or write a comment! Link: https://private-addons.com Thank you very much
  6. 3 points

    Version 0.21.GitHub

    2,490 downloads

    Mangos Two Server - 0.21 For: World of Warcraft: Wrath of The Lich King Wiki: https://www.getmangos.eu/wiki/documentation/installation-guides/ Status: Playable Support client versions: 3.3.5a (12340) MangosTwo-Serverx86.zip (32 Bit) MangosTwo-Serverx64.zip (64 Bit) Builtin Scripts (SD3 & Eluna) Map Extractors Realm, World & Character databases Authentication Realm-Daemon server (realmd) Mangos-Daemon world server (Mangosd) Requirements: C++ Redistributable for Visual Studio 2015 (Included in .zip)
  7. 3 points
    MUCH OF THE INFORMATION FOUND WITHIN IS NO LONGER VALID AND OUT OF DATE Hello, in this tutorial, I will explain a step-by-step approach to configure, install and run Mangos on a Ubuntu 16.04 LTS system. To fully execute the installation, you need an original copy of the game client version you want to run. This guide has been fully tested on an empty Ubuntu 16.04 LTS system with minimal installation. Let's go.. Setup the database: Ubuntu is supporting MySQL by default. This part of the guide will help you to setup your instance of MySQL. Launch a terminal, and if it's not already the case, you need to become the 'root' user: sudo su - root Then, install MySQL, enter your root password when you will be prompted for: apt-get -y install mysql-server Once MySQLis installed, start it: systemctl start mysql I do advise you to add Mysql service at startup to execute it automatically: systemctl enable mysql Let's secure your mysql installation, execute the following command: mysql_secure_installation I advise you to setup the following parameters: Do not enforce the use of the password plugin Do not change the root password Remove anonymous access Disable remote access for the root user Remove the test database Reload the privileges Now that the setup of the database is done, we need to add the prerequisites for the mangos database configuration. We need to start by creating an user for mangos, login to the database using: mysql -u root -p Create the user you wish, the example given is creating an user 'mangos' who can connect from the 'localhost' and has the password 'password' (do not forget the ';') at the end: CREATE USER 'mangos'@'localhost' IDENTIFIED BY 'password'; We then need to grant privileges to that user that we can use it later to setup the Mangos schemas (again, do not forget the ';' symbol): GRANT ALL PRIVILEGES ON *.* TO 'mangos'@'localhost'; Exit the terminal: quit Congratulations, you have setup the pre-requisites for the database on Ubuntu ! Install Mangos: We are now at the interesting part, how do we install Mangos on Ubuntu ? Well, assuming you are logged in as 'root', go to the home directory: cd ~ Now, we can download our installer: wget https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh Set the permissions to be allowed to execute it: chmod 700 getmangos.sh And execute it: ./getmangos.sh Before we go further, some explanations on the available activities: Install Prerequisites will install all the necessary dependencies for you to build & run mangos. Toggled by default. Set Download And Install Paths will allow you to specify where the sources must be downloaded and where the binaries must be installed. Toggled by default. Clone Source repositories will help you cloning the Mangos sources. Toggled by default. Build MaNGOS will assist you in the building process of MaNGOS. Toggled by default. Install MaNGOS will help you installing MaNGOS. Toggled by default. Install Databases will assist you in the database schemas creation. Toggled by default. Extract Resources will help you to extract the DBC, maps, mmaps and vmaps from the game client. Toggled by default. Create Code::Blocks Project File will create a project for the Code::Blocks editor. Do not toggle this option if you don't plan to edit the MaNGOS sources. Now that you know everything, let the default options selected and select 'Ok' thanks to the Tab key. The script is now installing the necessary dependencies on your Ubuntu. You will be prompted to provide your agreement to install the build dependencies. Select 'Yes' two times. User selection: Mangos provides you the opportunity to run it under another user than the 'root' one. This is a good practice to isolate softwares and limit the security impact in case of an exploited vulnerability. The default proposed run user is 'mangos' but you can change if you wish. Select 'Ok' to continue. If you have already performed this step, the installer will ask you whether you want to keep that user. I advise you to reply 'Yes' except if you know what you are doing. Choose WoW Release: The next screen is requesting you to choose the WoW release you are willing to install. Select the one you that fits your wish and select 'Ok'. Source-Code Path: The next screen is asking you to provide the source path. By default, the proposed format is /home/<run user>/<wow version>/src. For instance, for a run user 'mangos' and a wow version 'Vanilla', the proposed path will be: /home/mangos/zero/src Reply 'Yes' to create the directory if it does not exist. If it does exist and contains sources, the installer will ask you whether you want to delete the content or not. Installation Path: The next screen is asking you to provide the installation path. This is the location from where you will execute the Mangos processes. By default, the proposed format is /home/<run user>/<wow version>. For instance, for a run user 'mangos' and a wow version 'Vanilla', the proposed path will be: /home/mangos/zero If it does exist and contains compiled sources, the installer will ask you whether you want to delete the content or not. Clone or update MaNGOS: The next step of the script is asking you whether you want to clone, update or use an existing copy of the MaNGOS sources. For a fresh installation, select the option '0 Clone a fresh copy of MaNGOS'. The installer will now connect to Github and check the available development branch, currently, the last stable release is the Rel21 and is hosted in the 'master' branch. The installer is now cloning the server and database repositories. Build Options: You are now at the build step. Some explanations over this screen: Enable Debug will setup debug flags and more tracing on Mangos. Use this build option only if you're requested to to fix a bug. Building a software in debug mode significantly reduces its performances. Use Standard Malloc, toggle this option to use the standard memory allocation. Untoggle this option only if you know what you are doing. Use External ACE libraries. Allows you to use the ACE libraries coming from your system. Untoggle this option only if you know what you are doing. Use PostgreSQL insteald of MySQL/MariaDB. Allows you to use another database provider than the default one. This option has not been tested and, if you have followed the tutorial so far, you should have setup MySQL 😉 Build Client Tools will build the extractors necessary to get dbc, maps, mmaps and vmaps out of the game client. Unselect this option only if you already have these resources extracted. Use SD3 will allow you to build the ScriptDev3 Engine provided with MaNGOS. We advise you to keep this option toggled except if you don't like living world based on C++ scripts. Use Eluna will allow you to build the Eluna Engine provided with MaNGOS. We advise you to keep this option toggled except if you don't like living world based on LUA scripts. Select 'Ok' to proceed with the build process and confirm that would want to build MaNGOS. The installer is now building MaNGOS. Depending on the speed of your system, you have the time to drink a glass of water or a cup of coffee. 🙂 Installation: You will now be prompted to install Mangos. Select 'Yes' to install it. Database Operations: Wait.. another database setup ?! Yes, but this time, we are populating the database with the mangos data. You have three options here: Install clean databases to setup a fresh database Update existing databases to update your old version of the database Skip database work... but it wouldn't make sense 🙂 Select the first option if you are performing a fresh installation. You will be prompted to select your type of database. If you followed the guide so far, you should select "MySQL". The installer will then request your database information, if you followed the guide, you need to provide the following input: Hostname: localhost Port: 3306 User: mangos Password: password You can now choose into several options: ReInstall the realm database, containing all the realms information and the accounts ReInstall the world database, containing all the world configuration ReInstall the characters database, containing all the characters information Update the realmlist to setup an initial game server By default, all options must be toggled. The installer will now perform the database import. Extract Game Data: This step will copy the extractors to the wow game location, extract dbc, maps, mmaps and vmaps and copy these extracted data to your installation directory. The installer will automatically look for a suitable WoW client into your /home directory. If it doesn't find anything, you will have to provide your game location path. If the provided path doesn't contain any game data, the installer will exit. The extractor steps allows you to select the artifacts you want to extract: DBC and Maps, which are the minimum set of data you need to extract Mmaps which are the movement maps, based on vectoriel calculation, required for an efficient pathfinding Vmaps which are the virtual maps, used for collision detection and LoS detection The Mmaps extraction is taking several hours, you will have the time to sleep or drink several coffees. 🙂 Congratulations ! You almost did it ! Still few steps to perform before you can play on your preferred game. First of all, you need to switch to your run user. If you used mangos, the command will look like: su - mangos You need then to go to the configuration directory of your installation, if you installed Vanilla, it will look like the following command: cd /home/mangos/zero/etc Copy the realmd.conf.dist and mangosd.conf.dist files to their expected name: cp realmd.conf.dist realmd.conf cp mangosd.conf.dist mangosd.conf Edit the realmd.conf and find the line LoginDatabaseInfo. Provide your database information, according to this guide and if you have installed Vanilla, it should look like: LoginDatabaseInfo = "127.0.0.1;3306;mangos;password;zero_realm" Save your file and edit the file mangosd.conf. You need to provide the database information for the three database we have configured with our installer: LoginDatabaseInfo = "127.0.0.1;3306;mangos;password;zero_realm" WorldDatabaseInfo = "127.0.0.1;3306;mangos;password;zero_world" CharacterDatabaseInfo = "127.0.0.1;3306;mangos;password;zero_characters" Save your file and go back to the 'root' user: exit Make sure it keeps running ! What could be cooler than having the MaNGOS server starting automatically with your server ? Not much... so let's configure systemd to do so ! First of all, we need to tell it that we have two new services. Declare them by creating the corresponding files: touch /etc/systemd/system/realmd.service touch /etc/systemd/system/mangosd.service # Or give it a better name like zero.service if it's a vanilla gaming server for instance. Now, edit the /etc/systemd/system/realmd.service file and add the following content (Replace the installation path and the run user by the settings you have provided during the installation): [Unit] Description=Realmd service After=network.target mysql.service [Service] Type=simple User=mangos ExecStart=/home/mangos/zero/bin/realmd -c /home/mangos/zero/etc/realmd.conf Restart=on-abort [Install] WantedBy=multi-user.target Save this file and edit the /etc/systemd/system/mangosd.service file (or the better name you gave to it) with the following content (same remark than above the installation path and the run user): [Unit] Description=WoW Vanilla service After=network.target mysql.service [email protected] [Service] Type=simple User=mangos ExecStart=/home/mangos/zero/bin/mangosd -c /home/mangos/zero/etc/mangosd.conf WorkingDirectory=/home/mangos/zero/bin StandardInput=tty TTYPath=/dev/tty3 TTYReset=yes TTYVHangup=yes Restart=on-abort [Install] WantedBy=multi-user.target We are almost there ! You now need to tell systemd to reload its configuration: systemctl daemon-reload And let's start our processes to verify that they work: systemctl start realmd systemctl start mangosd To verify that it worked, execute the following command: systemctl status realmd systemctl status mangosd If it's working properly, you should have an output indicating you the success status for both service. The last step is to tell systemd to execute them at startup, for this, execute the following commands: systemctl enable realmd systemctl enable mangosd Congratulations ! You are now done with the MaNGOS setup on Ubuntu 16.04 :-) You can now reboot your computer to verify that everything is indeed started: reboot
  8. 3 points
    function buff(event, player, message, Type, lang) if(message:lower() == "buff")then player:AddAura(48074, player) player:AddAura(35912, player) player:AddAura(38734, player) player:AddAura(65075, player) player:AddAura(65077, player) player:AddAura(43223, player) player:AddAura(15366, player) player:AddAura(36880, player) player:AddAura(36880, player) player:AddAura(16609, player) player:AddAura(48073, player) player:AddAura(48469, player) player:AddAura(26035, player) player:SendBroadcastMessage("You have been Buffed!") end end RegisterPlayerEvent(42, buff) You can use this simple script and add any spells as buffs you want. Can also change here whatever broadcast message you want when player gets buffed, and can even change the default .buff command to something else. Enjoy The original code i have found long time ago somewhere on Emudevs forums which are lost now. Ofc i edited the code slightly and you can too, to fit your needs.
  9. 3 points
    From what I recall from Vanilla, that was something that existed in the game itself as well. I guess it depends what walls are being cast through. Staff on the Kronos server for example customized that so that those things cannot be cast through after a community vote.
  10. 3 points
    @bgood https://www.getmangos.eu/forums/topic/9038-playerbot-ai-commands/
  11. 3 points
    Goals for 2017 For 2017 the following are what we would like to achieve: Release Version 21 for Zero, One and Two containing all the recent updates and fixes we have. Release Version 21 for Three and Four - which will involve a massive amount of work to get these cores up to date. Redo the server commands to make them a bit more standard and obvious. Break out AHBot into its own daemon process Develop a mangos update daemon, which allows the ability to apply DB content and minor updates automatically Create Editors for the other xxxdocs systems (we currently only have a dbDoc Editor) Normalise the character DB and remove data blob fields Continue to standardise the code across the cores where its appropriate to do so. Document where it differs and why. Move some hardcoded values from the core into the DB, possibly some enums as well. Implement Stormlib library for Zero, One and Two and remove mlib Apply the Unified Extractor to Three and Four (requires stormlib) Look at removing DBC usage from the Core and change the extraction process to include importing into a DB for use by the core. Including Multiple locale support. This would facilitate the removal of stormlib / mlib from the core and only be needed by the extraction tools. Finish implementing the database localisation and allow localised db content to be loaded and edited. Including a localisation editor to allow localised translations to be created/edited by users. Look at Adapting EAI to match SAI functionality. As well as some of the more obvious ones: Clear down reported bugs on the Project Tracker. Improve the World Database with updates and corrections. Improve the Wiki Documentation. Include some example Eluna scripts to assist those starting out learning to script with Eluna. Include some custom Eluna scripts to help showcase it's abilities. Finally, we would like to get into a twice yearly Release cycle of more major releases. MangosVB (Formerly Spurious) RoadMap for 2017 Add RealmDB from c++ Mangos and modifying MangosVB to be compatible with it. Work out how to get MangosVB to use the standard Mangos map format. Finishing warden functionality (so it can use/read signatures from DB) Merge all of the changes from Zero to One and Two Investigate into voice functionality for One / Two Doing spells.. implementing them like stealth and getting a proper DB script system in place Getting it compiled and running under unix (using mono)
  12. 3 points
    So who has found out what happens when you put the mouse cursor over the Christmas lights at the top of the site? And are you liking the snow? So far I've scared a few of our developers with them! (Sound recommended).
  13. 2 points
    Can be downloaded from: MySQL download Notes for guide * Can only install 32Bit or 64bit - Can't install both (blame Oracle, not us) * Must match the server version you wish to compile either 32Bit or 64Bit.
  14. 2 points
    The default group loot does not work correctly for M2 What happens: Loot is treated as if free for all was set. What should happen: Each player takes turns looting a corpse, Kind of like round-robin. A threshold is also in place for items of a certain quality still requiring a roll. This portion of the default group look works on M1 and can be checked as a reference.
  15. 2 points
    No, you're not right! Updatemask is used as part of client/server dialog to send changes to the client. Everytime an object field CHANGES at the server side (from the last time it's update was sent), the corresponding updatemask bit is set to 1. When an object changes server side, the updatemask is sent along with the changed fields (and only those) to the client. After the object update is sent to the client, the updatemask resets all its bits to 0. When you first create an object first time, ALL FIELDS MUST BE INITIALIZED, so the updatemask bits are all 1 and you send to the client all object fields. There is no field left unintialized.
  16. 2 points
    dont you need to match both name and password as uppercase?, some thing like this? $password_string = sha1(strtoupper($username) . ':' . strtoupper($sha_pass_hash))
  17. 2 points
    Hi and Welcome, Something I've leant over 30+ years developing is that the language you develop in is fairly unimportant... yes some languages are better at some things than others. Although I never learnt pascal, I did use pascal and helped a colleague debug it !! Although Visual Basic has been my main language throughout those years (VB1 to VB.Net), I was also taught Java. - It was via Java that I learnt C#..... and via C# that I finally got a handle on C++ The bottom line is, learn as much as you can.... and enjoy yourself doing it
  18. 2 points
    Русификация БД 3.3.5. Есть ошибки при загрузке в таблице db script string но сервер запускается Скачать с Яндекс диска
  19. 2 points
    The solution would likely have been using git submodule update
  20. 2 points
    Thanks for the help from Antz and other members of the MaNGOS community in getting my local dev environment (vstudio, MaNGOS-Zero) setup and running. By way of background, I really don't intend to do development on Mangos per se. Rather, I want to use it as a testing platform for AddOn development in anticipation of WoW Classic. I should explain that I have nothing against private servers except for the huge latency of running multiple clients from here in Missoula accessing a server in Europe. Having my own little environment over which I can have complete control is a real joy. So, thanks everyone for the help and thanks for this great environment. Cheers,
  21. 2 points
    Hello, Grertings from Spain, actually I am using mangostwo, it awoseme remember the WoW with my friends! Thanks for all.
  22. 2 points
    World of Warcraft Torrent Links Directory World of Warcraft (1.12.1) For MaNGOS Zero https://www.thepiratebay.org/torrent/5250337/World_of_Warcraft_1.12.1_Classic_(Install_and_Go_) World of Warcraft: The Burning Crusade (2.4.3) For MaNGOS One https://www.thepiratebay.org/torrent/5186818/World_of_Warcraft_-_2.4.3_TBC_Ready World of Warcraft: Wrath of the Lich King (3.3.5) For MaNGOS Two https://www.thepiratebay.org/torrent/8341516/World_of_Warcraft__Wrath_of_The_Lich_King_(WOTLK_3.3.5a) World of Warcraft: Cataclysm (4.3.4) For MaNGOS Three magnet:?xt=urn:btih:848c1f366be2d7fbe4b69bd6bfb57daabd767b08&dn=World%20of%20Warcraft%204.3.4.15595 World of Warcraft: Mists of Pandaria (5.4.8) For MaNGOS Four https://www.thepiratebay.org/torrent/16577734/World_of_Warcraft_5.4.8
  23. 2 points
    You would be better off using the existing DB functionality for items to cast a spell on equip. https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangoszeroworlddb/item_template-r1064/#spellid_1 Im not sure if or when we would implement unequip hook in Eluna. If you do need something, do report it at https://github.com/ElunaLuaEngine/Eluna/issues
  24. 2 points
    Official getMaNGOS Discord Server Launched! getMaNGOS is pleased to announce the launch of a new public Discord server. For years MaNGOS had an IRC channel, today we move to Discord having ceased using IRC sometime ago. All of our in-house Developers may or may not be on the public discord server but most will. You can join the Discord server by clicking the purple blocks all over the website on the right hand side. While Discord is web-based you can download the app here. The Discord platform supports Windows, Mac, Android, iOS and Linux, you will be able to stay in touch with the MaNGOS community from anywhere! If you are unfamiliar with Discord you can read about it on their website. Kind Regards, Antz (Project Lead) & MadMax (Community Lead) Community Manager's of https://www.getmangos.eu
  25. 2 points
    Hey, Just wanted to draw everyone's attention to the new automated releases taking place over on github. I have spent the last few days working on our Appveyor setup. Changes I've implemented: Implement x64 build project Setup Appveyor caching on x86 platform to cache MySQL 5.7 Output build files to dedicated folder server_build On successful builds Appveyor will do the following now: Upload both x86 and x64 windows builds to github and auto release Upload a copy of the source code used with each release We are uploading the source code instead of relying on github because we also want the cloned submodules. All released builds include a copy of the database alongside the server in the archive. You can find the built files here: Mangos Zero - https://github.com/mangoszero/server/releases Mangos One - https://github.com/mangosone/server/releases Mangos Two - https://github.com/mangostwo/server/releases If you use one of these builds please let us know over the next few weeks or months if you have any issues or if they are working fine for you You can also make a github account and watch the server repository to get a notification when a new release is out.
  26. 2 points
    I don't think you're going to see a more specific or straightforward error message than this, ever. It's telling you that the call to SendNotification on line 10 has a bad argument, that it is nil, when it expects a string. The argument there is the variable named 'message', which isn't defined anywhere in this script, hence the reason you're getting this error.
  27. 2 points
    It looks like this was fixed in mangostwo according to the thread below, but it still seems broken in mangosone. I'm running the latest pre-built mangosone release (0.21.7.4). I've noticed a few other broken quests as well. Should I submit these to the bug tracker if I don't see them there already?
  28. 2 points
    Hi forum, Today I will teach you how to install MaNGOS on Ubuntu virtual box. As some of you may know I an supporting a MaNGOS WoW server installation bash script on Ubuntu/Debian. I always do prefer running my WoW server on a virtual machine, so everything can become easy as pie when you mes it up The thing we will need: 1. Ubuntu OS: ( https://www.ubuntu.com/download/desktop ) (Ubuntu 16.04 x32 or x64) This is so called "GUEST OS" 2. Oracle virtual box: ( https://www.virtualbox.org/wiki/Downloads ) ( Depending on your host. I am gonna install it for Windows my "HOST OS" ) 3. Oracle VB additions: "VirtualBox #VERSION# Oracle VM VirtualBox Extension Pack" ( Click on the link that says this in [2] ) First download all the stuff above and save it to folder of choice ( I am gonna call it "INSTALL" ). Go to your INSTALL folder and open the virtual box to install it. This is pretty straight forward, though if you do not like where your virtual machine HDDs are stored, you can always change it by ( File -> Preferences -> [Left list] General -> Default Machine folder ). I prefer mine in "E:\VirtualMachines". Now we need to install the extensions. Go to ( File -> Preferences -> [Left list] Extensions -> Extension packages -> The little arrow-down button ). It will prompt you to browse for your extension. Give it the file downloaded file in point [3]. We are now done, so go ahead and create a virtual machine. Name it whatever you like but keep it consistent ( I used "Ubuntu 16.04 WoW x64" ). The type must be "Linux" and the version "Ubuntu" ( x32 or x64 depending on pint [1] ). Click "Next" This screen is used to set the memory [Memory] Press ( Ctrl + Shift + Esc ) to open the task manager and view how much RAM do you have free. You can use the half of it. I had 16GB free, so I went for 8GB. [Hard disk] Please use at least 10GB as there are dependencies and additional software needed for installing MaNGOS. [Hard disk file type] Make sure you always *.VDI, if you want to extend the virtual HDD in the future. [Storage of physical hard disk] If you use "Dynamically allocated" the virtual HDD grows in size as you install sutff in the GUEST ( In our case the Ubuntu ). The "Fixed size" will allocate the whole HDD on creation. [File location and size] This tells Oracle VB where to store your virtual HDD. It must be a valid file name. I personally use the name, which I create my VMs with ( "Ubuntu 16.04 WoW x64" ) and the limit which the virtual HDD should never exceed. Now go ahead and click on "Settings" We are now going to configure the system, so click on (System). Tab (Motherboard) Boot order: 1) Optical, 2) HDD Chipset: PIIX3 Pointing device: USB tablet Extended features: Check only (I/O APIC), (Hardware Clock in UTC Time) Tab (Processor) Processor: Give it all CPUs available Execution cap: Never go all the way up to 100. I keep it at 70% Enable PAE/NX checked Tab (Acceleration): Check all the check-boxes and set interface to default. Configuring the (Display) Tab (Screen) Video memory: 128 or 64 MB is quite good Monitor count: How many monitors is it displayed in. I use one of my two. Do not mess with the other tabs Configuring the (Storage). Here you will have a storage tree with IDE and SATA. Go ahead and delete the IDE controller (Right-click->Delete or Del), then add a CD drive to the SATA controller by clicking the CD icon with the green plus sign. A prompt will appear for media selection. Click "Chose Disk" and insert the ISO downloaded in [1]. Configure adapter one of the network tab to bridged if you have a second network card and you want your server to run on it or NAT if you don't. I am gonna use "Intel Pro 1000 MT Desktop (82540EM)" as Ubuntu takes it without any drivers. Now Click "OK" on the settings window to apply your changes to the Ubuntu VM. Start it and follow the Ubuntu installation. until you install the Ubuntu OS from the CD in [1]. When you see the desktop showing for the first time, open the software sources ( https://help.ubuntu.com/community/Repositories/Ubuntu ) and on "Download from" drop down menu chose "Main server" then "Reload". Open the terminal and type "apt-get update". After this you must install VB dependencies. I also have a script for that purpose: https://github.com/dvdvideo1234/UbuntuBatches/tree/master/VirtualBox Download the script to your home folder and start it. It will install all the VB dependencies (Do you want to install dependencies [y/n]? y). Beware there will be restart needed if you chose to run the update manager (Do you want to run force-update [y/n]? y). Now install the VB addition CD provided by Oracle by clicking (Devices->Insert Guest Addition CD Image..) and hit the run button. Authorize it to proceed and follow the console prompt. After the installation you will have bi-directional copy-paste and all needed VB hardware support. We are finally here to install MaNGOS from source. I have a script dedicated to this here ( View the readme.md for further questions ): https://github.com/dvdvideo1234/UbuntuBatches/tree/master/MaNGOS Download the script to your folder of choice ( I will call it "SEVER" ), mark it as executable (sudo chmod +x config.sh) and run it. The title ("TITLE") that you chose will be installed in the "SERVER"/"TITLE". directory. Now follow the console prompt and anwer the questions seen. If you are not using a proxy, answer "Are you using a proxy [n or <proxy:port>] ?" with "n" The script supports vanilla WoW too. I just forgot to update the readme.md After the installation is done. It will compile and install the MaNGOS WoW server. and you must extract and install the maps and vmaps yourself, so please follow the continued MaNGOS project maps installation procedure here: You are practically done ;). Have fun playing in your private server.
  29. 2 points
    Hello, Well i am an old member that used to play with mangos around 2010 and stopped due to university and the life of a student and now i decided to make my return once again. As i saw a lot have changed, some things are the same and that i have to make a catch up.
  30. 2 points
    ok i made you an example using a simple 2D table to store the buff id's. local command = "buff"; -- here we define "command" as local variable with a string value of "buff". I defined it as a `local` outside any functions so it is localized to this Lua file only. local buff = {}; -- here i define the variable `buff` as an empty table (Without data).again i have defined it as a local outside any functions so it is localized to this Lua file only. buff = {48074,35912,38734,65075,65077,43223,15366,36880,36880,16609,48073,48469,26035}; -- Here I will now store data in the table named `buff`. each id separated by a comma. each spot will be a unique address piece(1,2,3,4,5,6.....) accessed by using the full adress. so to puff a player with buff id '43223' i will use the command `player:AddAura(buff[6], player)` and the player will get buffed with 43223. function buff(event, player, message, Type, lang) if(message:lower() == command)then -- here we chech every chat message (converting it to `lower`case) to see if it matches absolute(==) the string stored in the variable `command`. local entry_id; -- here i am defining a variable i will use ONLY inside this function so when its local inside a function it will be localized to only that function and you can make a new variable inside another function using the same name but different stored data. for entry_id = 1, #buff do -- here i am starting a loop. telling it that entry_id will be from 1 to the max size of the `buff` table (#buff). player:AddAura(buff[entry_id], player); -- now using the full address to pinpoint a location of stored data we will apply the data as a buff to the player. end -- end for when our current loop is complete and increase entry_id +1 or if entry_id value is the max size for the loop then end and exit the loop. player:SendBroadcastMessage("You have been Buffed!") end -- end for the end of our if statement. end -- end of function end. RegisterPlayerEvent(42, buff)
  31. 2 points
    Grumbo`z Mall Warz ver.1.0e ever wanted to have a custom's mall that the Ally and Horde had to fight over for control ? well..... look no farther , now you can. you can set up this script to apply to a certain map/zone/area and it will spawn a neutral flag that will give control of the location to a team that manages to get to the flag and tag it. when the flag re-spawns it will represent the controlling team . while the flag is spawned the apposing team can try and reach the flag to tag it. once the flag has been captured it will de-spawn . a completely random timer is generated to re-spawn the flag , this timer is an adjustable feature in the script. with vendor npc's faction set to (35), the vendors will faction change based on the controlling team's faction. For Eluna. includes: 1 lua script. 1 sql file for objects and npc template. demo video : >> Grumbo`z Mall Warz << this is one of my older scripts for Eluna.
  32. 2 points
  33. 2 points
    So i spent a few hours with Madmax who got me all sorted out. From what we can tell nothing was technically wrong, we tried new files, new settings, all of that. In the end he cleared out my realmlist table and started it again from scratch. I wish I could put out more of "this is how to fix xyz problem in the future" but we wouldn't really figure out what fixed it other than clearing out the realm table and starting over. I want to say thank you to Madmax publicly, what an excellent help! I have donated to the site as I hope others who gain help here will consider doing. Thanks for the excellent community!
  34. 2 points
    Even if that were true, the point of kuJay's question was how a WoW server emulator is created from scratch without access to the actual retail server code. You are correct that much of the effort for older clients now is directed toward implementing and fixing features to replicate the game play as it existed at the time a particular client was current on official retail. That doesn't mean no further work is needed on the other areas. A lot of assumptions about the reliability of old research led to the perpetuation of bad information and data. There are still many opcodes whose functions are unknown. Certain file types were incorrectly analyzed in the past. Maps are only just now being correctly understood in their proper context, which has finally allowed transports to function properly after many years. There is still much data mining and reverse-engineering that needs done, especially for more recent expansions.
  35. 2 points
    My god, this is an interesting read. Thank you very much, @Unkle Nuke. This stuff is really cool.
  36. 2 points
    Well, us curmudgeons have to be poked once in a while, if only to make sure we're still breathing.
  37. 2 points
    I have added WoWhead tooltips to the getmangos website. This change is site-wide and immediate. Methods of inserting tooltip popups. Using the standard insert link and linking to a wowhead.com item page will get you a popup in a link. Text with a popup link Click the new image in the editor bar above (second from the left in the top row) and enter the item ID. Linked by itemid Linking an image. Exactly the same as the above methods. The above will work anywhere on the site. This means you can link items in bug reports, forum posts etc.
  38. 2 points
    Fix was commited here. Please pull the latest source code, rebuild and test for every known case. Awaiting feedback.
  39. 2 points
    Hi,antz. I check the db character set,it's "latin1",then I change it to "utf-8",It works! thank you very much!!! ps:I suggest add the "DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" in the end of all create database sql at InstallDatabases.bat/InstallDatabases.sh. like this: %mysql%mysql -q -s -h %svr% --user=%user% --password=%pass% --port=%port% -e "create database %wdb% DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci";
  40. 2 points
    The fix works as intended. Will PR in the next few (days?) and close this thread when completed Thanks @Korisko for testing it out for me. ..And broke a few other things. haha
  41. 2 points
    I might have a fix for this.. "Might" being the key word... If you want to try it, I will have it added to a fork of the repo and you can clone/build trying that... Will have something within the next 24 hours for you to test if interested?
  42. 2 points
  43. 2 points
    Thank you !! It's very rewarding for everyone here to hear that all their voluntary hard work is appreciated. We work on MaNGOS because we enjoy it and we want others to as well
  44. 2 points
    If you install Doxygen and then point it at the sourcecode if should generate a chunk of code hierarchy which you can read
  45. 2 points
    Hello vanbeef, same here, I heard a lot of things where about to come to mangos2 so I wanted to come back and see where that was heading. I'm still so surprised to see daily updates here, you guys are awesome.
  46. 2 points
    INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES ('2123300','21233','11','0','100','1','0','0','0','0','21','0','0','0','0','0','0','0','0','0','0','0','Prevent Movement'), ('2123301','21233','9','0','100','1','0','50','50','200','11','36238','1','0','0','0','0','0','0','0','0','0','Cast Fel Cannon Blast'), ('2246100','22461','11','0','100','1','0','0','0','0','21','0','0','0','0','0','0','0','0','0','0','0','Prevent Movement'), ('2246101','22461','9','0','100','1','0','50','50','200','11','36238','1','0','0','0','0','0','0','0','0','0','Cast Fel Cannon Blast'); Seems to work very well. What do you think? @H0zen
  47. 2 points
    Hey Rex...I ran into the same problem. Use PhP version 5.6 instead of the version 7. That should fix your problem. The problem stems from the different sripts used in PhP 7 vs PhP 5.6. The newer version relies more on MySQLI rather than MySQL libraries. You can use version 7...but it'll take some major recoding. Hope this helps!
  48. 2 points
    Hi, I'm Naizian. I'm from NY and am looking into running a vanilla server and hope this is the one. Thanks, Naiz
  49. 2 points
    nevermind...I think I answered my own question!
  50. 2 points
    How to fix bugs? This one is easy! Take up knitting instead. Your sanity will thank you. Still, it's a well-written guide. I give it 10/10.

Contact Us

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

Privacy Policy | Terms & Conditions

Repositories

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®
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use