WIKI Activity

Showing articles.

This stream auto-updates   

  1. Earlier
  2. open your favourite MySQL manager app, select the mangos database and run the following query: select * from command Alternatively, type .help from ingame or help from the mangos console
  3. Indeed. Type: help
  4. Is there a list over all of the commands?
  5. account set gmlevel <name> 3 realm_id where realm_id can be: -1 (all realms) > 0 (specific realm)
  6. I'm interested for that as well.
  7. What're the commands for creating a GM account? Is there a list for all the different commands one can use in the Mangos command prompt?
  8. if you clone the master branches on Mangos Zero, One and Three or the develop21 branch on MangosTwo it will be present.
  9. were is v0.0.7?
  10. Our work towards the 2016 Roadmap didn't quite go to plan ! Instead the time was spent fixing up specific long term bugs and correcting missing / broken content. To that end, most of the main points of the 2016 roadmap are carried over to 2017
  11. 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. Configuring the Client to point to your server These instructions vary slightly based on the version of the client you are using. For Classic / MangosZero or TBC / MangosOne, realmlist.wtf is in the root of the game folder. For Wotlk / MangosTwo, Cata / MangosThree or Mop/ MangosFour, realmlist.wtf is in the data/{locale} (i.e. enGB) off the root of the game folder. For Wod / MangosFive, config.wtf is in the wtf folder off the root of the game folder. 1) Open the file realmlist.wtf (config.wtf for Wod) using Wordpad. you will see lines like: SET locale "enUS" SET portal "us" SET realmList "us.logon.worldofwarcraft.com" SET patchlist "us.version.worldofwarcraft.com" 2) You need to change the realmlist and patchlist lines to the address of your server, Either: The value used for localaddress if you are inside the network (i.e. a LAN user) or The value used for address if you are connecting to the network from outside the network (i.e. a WAN/Internet user) Assuming this is a Local LAN user and the address of the server on the network is 192.168.1.209, you would change the lines too: SET realmList "192.168.1.209" SET patchlist "192.168.1.209" 3) Now save the file, then close Wordpad
  13. Configuring the Realm Database 1) Open a command prompt and type IPCONFIG. 2) Find the IP address shown against IPv4 Address: (In this example 192.168.1.209) - This is your local address 3) Open a browser and visit: http://www.whatsmyip.org/ - You should see a message like: Your IP Address is: 170.21.133.118 - This is your external IP address and will be different on your system !! 4) Using your normal Database management tool, open your realm database (default name is realmd) 5) Open the table realmlist 6) Enter your external IP address (170.21.133.118) into the field 'address' and your local IP address (192.168.1.209) into the field 'localaddress' 7) Save your changes
  14. Configuring MaNGOS Once all the files are on the server it's now time to pull things together. This can be one of the most frustrating steps to do, but with a little patience it’s easy. 1) Navigate to the folder where you copied the compiled mangos server and data files 2) Open mangosd.conf with WordPad 3) Find the following lines:- DataDir = "." LogsDir = "." Change these to:- DataDir = "data" LogsDir = "logs" 4) Find the following 3 lines:- LoginDatabaseInfo = "127.0.0.1;3306;root;mangos;realmd" WorldDatabaseInfo = "127.0.0.1;3306;root;mangos;mangos0" ScriptDev3DatabaseInfo = "127.0.0.1;3306;root;mangos;mangos0" CharacterDatabaseInfo = "127.0.0.1;3306;root;mangos;character0" You need to change the following:- root to the username you use for the database. mangos to the password for the user for the database. Then you need to set the name of the databases to the names you created earlier: realmd = The Realm database name mangos0 = The World database name used by both the World database and ScriptDev3 Engine character0 = The character Database name 5) Save the file then Close WordPad 6) Open realmd.conf with WordPad 7) Find the following line:- LoginDatabaseInfo = "127.0.0.1;3306;root;mangos;realmd" You need to change the following:- root to the username you use for the database. mangos to the password for the user for the database. Then you need to set the name of the databases to the names you created earlier: realmd = The Realm database name. 8) Save the file then Close WordPad. 9) Open aiplayerbot.conf with WordPad 10) Find the following line:- AiPlayerbot.Enabled = 1 Change this to: AiPlayerbot.Enabled = 0 11) Save the file then Close WordPad.
  15. Extracting Game Data This guide assumes that you have copied the contents of the tools folder (the result of a build of the source code) into the root of your client folder. i.e. Where launcher.exe and wow.exe are located !! 1) Run 'ExtractResources.sh' and follow the onscreen prompts, you should choose the option to extract everything. 2) You will be asked how many CPU's to use for extracting MMaps (1 to 4) - The more CPU's the faster the MMaps extraction 3) You will then be asked whether you want to delay MMap extraction, just press enter for no delay. 4) A summary will be shown of your choices, press enter to start or CTRL+C to cancel the script 5) Several hours later you should see a message similar to: Finished creating MoveMaps 6) Navigate to the client folder and select the DBC, Maps, MMaps and VMaps folders and move them to your server folder 7) The “Buildings” folder can be deleted.
  16. Do not forget to leave a blank line at the end of your Alert file, otherwise you may not have your message displayed correctly. N'oubliez pas de laisser une ligne vide à la fin de votre fichier Alert, sinon vous risquez de ne pas avoir votre message affiché correctement.
  17. How to use EasyBuild EasyBuild is a 'Helper' utility to simplify the cmake build process. It also will check any of the prerequisites needed for MaNGOS and show you the current status. 1) On starting the app the following screen is shown, click 'Check Now' 2) Assuming you have not installed any of the required third party apps, it will show the following: 2a) To install Cmake, clicking on the 'Download & Install Cmake xxBit' link will start off the install process for cmake (Install guide HERE). Only 32 or 64 Bit can be installed, not both. 2b) To install OpenSLL, clicking on the 'Download & Install WinXX OpenSSL SDK' link will start off the install process for OpenSSL (Install guide HERE). Both 32Bit and 64Bit can be installed together. 2c) To install MySQL, clicking on the 'Download & Install MySQL Server 5.x 32/64 Bit' link will start off the install process for MySQL (Install guide HERE). Only 32 or 64 Bit can be installed, not both. 3) Once all the prerequisite libraries are installed, the 'Build Options' button becomes available. Click the 'Build Options' button to show the next screen. 4) The Following screen sets the modules and options to be included in the MaNGOS server. OS Version Build: Either Win32 or Win64 - This is normally selected automatically ! Visual Studio Version: This selects the version of Visual Studio installed, if there are multiple versions install - they can be selected here. Build Type: Specifies whether to open visual studio with either Debug or Release Pre Generate Options: 'Delete Build Folder' - This clears the build folder before building, Ticked by default. Post Generate Options 'Open Output Folder' - This will open the Visual Studio build folder on completion of the generation step. 'Open Solution File' - This will automatically launch Visual Studio and open the project once the generation step is complete. Ticked by default. Server Build Options 'Include Main Server' - Builds the mangosd daemon which is the main world server. 'Include Login Server' - Builds the realmd daemon which is the main authentication server. 'Include Extraction Tools' - Builds the client data extraction tools. 'Include SOAP Library' - Includes the SOAP library in the Main server. 'Include PlayerBot AI' - Includes the PlayerBot AI library as part of the Main server. Scripting Engines 'Eluna Scripting Engine' - Include the Eluna LUA scripting engine as part of the Main server 'ScriptDev Engine' - Includes the ScriptDev3 scripting engine as part of the Main server. 5) Click on the 'Generate Project' button to generate the Visual Studio Solution files. If you had 'Open Solution File' ticked, Visual Studio will open automatically.
  18. Installing VS2015 Community Edition This install assumes that the Windows OS is patched to the most recent, VS2015 is a bit picky on the version it will install on now (blame MS not us). 1) Download the installer from: VS2015 Community Edition 2) There are some settings which must be changed from the defaults for MaNGOS to work correctly !! NOTE: Skipping steps 3 and 4 will prevent MaNGOS from building correctly. 3) Change the option from 'Default' to 'Custom' 4) Expand 'Programming Languages' and tick 'Visual C++' 5) The rest of the install is standard. 6) It should also install any VS updates as part of the install. 7) To check that the VS2015 is correctly installed, try to create a new c++ solution (Win32 Project). 8) You may get asked to pick some default project settings, just click through. If you get to a screen similar to the following, then you are good to go and you will be able to build mangos.
  19. Installing Mangos on Windows There are multiple ways of installing MaNGOS, this method will be using EasyBuild (a MaNGOS written tool) to help simplify the install. 1) Although there are several pieces of third party software that are required to be installed, only two need to be installed prior to running Easybuild. Git (See HERE for the Install Guide) and Visual Studio (See HERE got the Install Guide) Both need to be installed before continuing. If you don't have them installed... go do that now !! The rest of the third party software required for MaNGOS are: Cmake (See HERE for the Install Guide). Only 32 or 64 Bit can be installed, not both. OpenSSL (See HERE for the Install guide). Both 32Bit and 64Bit can be installed together. MySQL (See HERE for the Install guide). Only 32 or 64 Bit can be installed, not both. 2) create a folder to hold all the source files i.e. Mangos_Files 3) Select the folder created above in explorer and right click on it, then select 'Git Bash here' 4) Clone the MaNGOS server and database GitHub repositories into folders in this folder (See HERE for a guide for cloning the repos) 5) Using explorer navigate to the server folder created above. 6) Navigate into the Win folder and double-click EasyBuild. 7) Generate the solution using EasyBuild (See HERE for how to use EasyBuild guide) 8) If you haven't already, open the solution file with Visual Studio. 9) Decide whether to build in Debug or Release. Normally unless you are actively tracking a bug you always build in Release. NOTE: NEVER EVER RUN THE EXTRACTION TOOLS WHEN BUILT IN DEBUG. They will take an extremely long time to run compared to the Release built versions. 10) Click the ‘Build’ Menu, then select ‘Rebuild Solution’ 11) Once complete, a message similar to the following will be shown:- ========== Rebuild All: 24 succeeded, 0 failed, 1 skipped ========== 12) Close Visual Studio. 13) Navigate to build folder, if you following the cloning guides this would be serverZero_Build (for MangosZero) 14) Navigate to the bin/Release (or bin/Debug if you built in Debug). 15) Copy the file ace.dll into the tools folder. 16) Copy the file libeay32.dll from the OpenSSL/lib folder (either C:\OpenSSL-Win32 or C:\OpenSSL-Win64 by default) into this folder. NOTE: Both the 32Bit and 64Bit dll's are called libeay32.dll. 17) Copy the file libmysql.dll from the MySQL/lib folder (similar to C:\Program Files\MySQL\MySQL Server 5.7 by default) into this folder. 18) Copy the files from this folder onto a folder on your server 19) Copy the entire contents of the tools folder into the root of your wow client folder. 20) Extract the client data using extractresources.sh (See HERE to a guide to extracting the client data) 21) Now it's time to set up the database.. 22) Select the folder created above in step 2 and then select dbZero (for MangosZero). 23) Double-click on InstallDatabases.bat 24) The initial settings as defaulted for the typical settings required for a new server setup, so you can press N to continue. 25) The next few prompts are ask you to supply some key information to connect to your MySQL server, the text in square brackets [] are the default values if nothing is typed. Some of the settings are: Server Name / Address Username Password Port Character Database Name World Database Name Realm Database Name 26) The script will then proceed to populate all the databases and finish up looking like the following 27) At this point the database is now fully loaded. 28) On the server where you copied the files earlier, rename the 4 .conf.dist files as .conf 29) Now it's time to start configuring the server, first stop is adjusting the settings in the .conf files as described HERE 30) Now we need to configure the Realm Database to use the correct IP addresses as described HERE 31) Now the moment of truth... 32) Double click realmd.exe from the server folder, you should see a screen like: 33) Double click mangosd.exe from the server folder, you should see lots of messages like: 34) You now need to create an account to allow you to login to your server from the client: Type: ACCOUNT CREATE username password expansion (Where expansion is one of the following: 0 = Classic, 1 = TBC, 2 = Wotlk, 3 = Cata, 4 = Mop, 5 = Wod, 6 = Legion) - This is also the max allowed expansion this account can use !! 35) and finally, The final step..... 36) One of the client files (realmlist.wtf) will need to be adjusted to point to your server, see a description of how to do this HERE 37) Start the client wow.exe (Do not your launcher.exe), enter the account information created above.... and enjoy.
  20. Installing GIT on Windows 1) First off, install Git 2.11.0 from the following location: 32 Bit 64 Bit or select another version from: General Downloads 2) Once downloaded run it ! 3) The install will display a variety of screens as shown below: 4) Git is now installed !
  21. 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.
  22. SCRIPT_COMMAND_MOVE_DYNAMIC, SCRIPT_COMMAND_SEND_MAIL, SCRIPT_COMMAND_CHANGE_ENTRY are missing from this documentation.
  23. why i download the lastest files and the InstallDatabases.bat is version v0.05 so the core update option is not there, where can i get InstallDatabases.bat v0.07!
  24. This is best posted into a forum topic and not as a comment here.
  25. I am having issues compiling for Linux by following these directions on Ubuntu 16.04 LTS. I pull the git repo and clone it into a directory called server on my desktop. I go into the linux directory and chmod +x the getmangos.sh to make it runnable. When ran I go through the prompts and then receive several errors. [email protected]:~/Desktop/serverZero/linux$ ./getmangos.sh Runtime error (func=(main), adr=5): Divide by zero ./getmangos.sh: line 139: [: -eq: unary operator expected Runtime error (func=(main), adr=5): Divide by zero ./getmangos.sh: line 139: [: -eq: unary operator expected Runtime error (func=(main), adr=5): Divide by zero ./getmangos.sh: line 145: [: -eq: unary operator expected Runtime error (func=(main), adr=5): Divide by zero ./getmangos.sh: line 151: [: -eq: unary operator expected ./getmangos.sh: line 158: [: OS_VER: integer expression expected Could not identify the current OS. Nothing was installed. Using existing local repository ./getmangos.sh: line 583: cmake: command not found make: *** No targets specified and no makefile found. Stop. There was an error building MaNGOS! Any help would be most appreciated!
  26. Hello, this article will quickly describe how to install Mangos (any version) on Linux. All that you need is: A running instance of MySQL for which you know the administrator account A copy of the WoW client corresponding to the core you wish to install The source files of MaNGOS (see here how to do so) A supported distribution of Linux (see below) Once you downloaded the source files, change your directory to the download location, go in linux sub-directory and execute getmangos.sh as root. If you have no pre-requisites setup, check the first box as well (space) to initiate the installation of technical dependencies. Provide the user and the installation paths. At the build step, define what build options you wish (make sure you are building tools if you are expecting to extract the data from the client). Once built, you can decide to install Mangos in your target location and go further with the data extraction from the WoW client. The database setup is nothing more than a Next -> Next -> Next process that you need to follow. After everything is generated and available in the installation directory (maps, mmaps, vmaps and dbc are automatically moved to that location if you decided to generate it), you will have to edit the configuration files of Mangos (mangos.dist.conf & realmd.dist.conf) in the etc folder of your installation directory. Rename these file in mangos.conf & realmd.conf and edit them by adding your database information at the corresponding line. Once done, you should be able to execute the processes realmd & mangosd from the bin directory of your installation path. Supported versions: Ubuntu "precise" 12.04 LTS (experimental) Ubuntu "trusty" 14.04 LTS (experimental) Ubuntu "xenial" 16.04 LTS (experimental) Ubuntu "yakkety" 16.10 (experimental) Debian "jessie" 8.0 (experimental) Debian "stretch" next (experimental) Linux Mint "maya" 13 (experimental) Linux Mint "qiana" 17 (experimental) Linux Mint "rebecca" 17.1 (experimental) Linux Mint "rafaela" 17.2 (experimental) Linux Mint "rosa" 17.3 (experimental) Linux Mint "sarah" 18 (confirmed) LMDE "betsy" 2 (experimental) Red Hat "santiago" 6.x (experimental) Red Hat "maipo" 7.x (experimental) The default installers are the following: Linux Mint: aptitude Debian: aptitude Ubuntu: apt-get Red Hat: yum Do not hesitate to open a tracker issue if you encounter any problem while setting up your Linux server using the script getmangos.sh ! https://www.getmangos.eu/bug-tracker/cross-core/linux-easy-installer/
  1. Load more activity

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®