-
Notifications
You must be signed in to change notification settings - Fork 48
FAQ Frequently Asked Questions
- In general, read the log file and see if you can work out the problem from there on your own; if you can't, seek out help on:
- Discord: https://discord.gg/Dgzerzb
- IRC (#cmangos)
- the cmangos.net forums
- Every application generates a log file somewhere that can be opened and reviewed.
- For compile problems: Look into the log, on *nix you can create a log with
make > compile.log 2>&1
- For problems with the server: Look for the file, Server.log, in your server's home directory.
- For compile problems: Look into the log, on *nix you can create a log with
- See the Beginner's Guide.
- See the Installation Instructions.
- You need to add MySQL to your path environment so that windows recognizes the command by default. See here for a walk through from MySQL.
- Check BOOST_ROOT and BOOST_LIBRARYDIR environmental variables, check this gist for version compatibility (often all it takes to fix is to roll back the boost version or upgrading CMake).
- First you should review the Installation Instructions again to be sure you didn't miss any steps and that every step was done according to the instructions.
- Second, search the forums or Discord for a solution (most errors have been encountered before and so there is usually a thread someone on the forums discussing it).
- Third, if you can't find any answers, use one of the methods mentioned above to ask the developers for help.
ERROR: [A] You have: --> _version_
ERROR:
ERROR: [B] You need: --> _version_
- You need to update your database to the correct version to match the core.
- See the here in the Installation Instructions for details.
If your server is running and you just can't connect to it then there are several possible issues:
-
Ensure that the realmd application is running; if not, start it up and check for errors if it doesn't stay open.
-
Ensure that the mangosd application is running; if not, start it up and check for errors if it doesn't stay open.
-
Make sure that the following fields from the
realmlist
table (realmd database) match up to their corresponding values in your mangosd.conf configuration file:realmlist mangosd.conf id RealmID port WorldServerPort -
Make sure that your realmlist.wtf file in your game client folder is set to the address of your server. The content of the file should only have three phrases:
set realmlist address
- If the server is on the same computer as the client then you can just use "127.0.0.1" as the address:
set realmlist 127.0.0.1
- Otherwise the address should be the same as the "address" field from the
realmlist
table (realmd database).
-
If your server is hosted on a remote machine and/or you're using an IP address other than 127.0.0.1, then you probably have to update your realm address field in the database
- Open the mysql client on your machine (mysql -p)
- Run the following command (don't forget to replace the placeholder text with your values):
UPDATE realmlist SET address='your.ip.address.here' WHERE id='id_of_the_realm_you_want_to_edit';
- You can get a list of all your realms with the following:
SELECT * FROM realmlist;
-
Ensure that the user account you are trying to log in with is created:
- See the Installation Instructions.
- To add an account, type the below line directly into the server command prompt (mangosd) replacing $accountName with the name of the account and $accountPassword with the password to be used:
account create $accountName $accountPassword
-
Don't use an email address as a username.
-
Delete or rename wow.mfil and wow.tfil files.
-
ONLY use wow.exe to start up the client, NEVER use launcher.exe (client versions 4.x and up require wow.exe to be patched prior as well).
- Add in your /WTF/config.wtf file: (SET realmlist "127.0.0.1") before (SET accountName "youraccount")
- Run mangos in command line, terminal, or git bash instead; then you will see the on-screen error output and be able to continue from there.
- Make sure there are no other processes using the required ports (default 8085 & 3724).
- Also check realmlist table column timezone, this kind of "instantly closes" could write a 0 in this field and realm never will be accesible, change to 2 (EEUU MaNGOS default setup) or 1 (development) or 5 (tournament) or 26(PRT) try the various options until 59, but avoid a timezone 0 because u cant log on to a realm disable.
- You need to set the expansion of your account to 1/2/3 (for TBC/WotLK/Cata). See Installation Instructions.
- You need to set the expansion of your account to 2 or 3 (2 for TBC, 3 for Cata)
- You need to level a character to level 55 OR
- Change the config option "MinLevelForHeroicCharacterCreating" in your mangosd.conf OR
- Set your account to be a GM Account (see next question)
- You need to set your GM-Level. See Installation Instructions.
- You need to turn GM mode off:
.gm off
- Maybe you still have invisibility on, try
.gm visi on
- CMaNGOS developers do not actively support custom items as we are focused on true emulation. That being said, you can always ask for help on the forums or lookup some guides around the internet. If you are up to the task, check out the item_template wiki entry to get started from the ground up.
- This command does not work for classic core. If you are on another core, check your syntax and make sure you installed everything correctly.
- Open a Git Bash (see Installation Instructions) in your C:\Mangos or ~/mangos (your base directory)
-
cd mangos
(This assumes you followed the Installation Instructions, and the directory where your sources are located in C:\Mangos\mangos or ~/Mangos/mangos - Invoke
git pull
to update -
cd src/bindings/ScriptDev2
(This step and the next only if you also want to update SD2 and you had it installed) - Invoke
git pull
- You need to compile core and SD2 just like you did before in your first setup (See Installation Instructions ).
- This depends on your database provider, you might want to update your SVN or Git clone of the database.
- Even if your Database provider did not ship new updates, you still might have to update your database content due to core changes.
- In this case the easiest process is to rerun the installer script from your DB-provider.
- If you don't want to reset the database to a clean state (for example because you added some custom things), then you might need to update manually.
- To check if you need a manual update, just start the mangosd and check if a database error on start is printed.
- If it is, read the error message carefully (you can read it more easily from the file Server.log).