Use the eclipse trims get the svn files, better.
Thx for guide
This is a discussion on [Mega Thread] Getting Started for beginners within the WoW Arcemu Tutorials forums, part of the WoW Arcemu category; Getting the source code: - Get GIT Windows Linux Mac Getting Arcemu with GIT: - First you need to create ...
Getting the source code:
- Get GIT
Getting Arcemu with GIT:
- First you need to create a directory for Arcemu.
- If you are on windows, you will have to start a git bash in that directory.
- Starting cloning the Arcemu GIT repository with the following command:
- Then you wait until it downloads
- This is how it looks when it's done.
Your read for the next step!
CMake build system:
- Get CMake
Next Step For Windows:
Next Step For Linux:
Next Step For Mac:
Now Lets Compile:
- Install MySQL
Install MySQL Client:
Windows - Download
Linux - Could not find one (Goes to google, to help out)
Mac - Could not find one (Goes to google, to help out)
- Using your client, connect to 127.0.0.1 with the username as "root" and the password you set when you installed MySQL.
Create 3 databases and name them:
- Open your arcemurootfolder\sql directory. In this you will find 3 files:
- After that, switch to your character database and import the character_structure.sql file. If you're using SQLyog or Navicat you can do this by right-clicking the newly-created database, and then selecting Execute Batch File. Repeat this step with the logon database and the logon_structure.sql file.
- world_structure.sql is the database structure only and it is for people who want to build their own database project. It doesn't contain any data. It's better to follow the next step how to get a world database.
- The world database contains all data on things like NPCs, GameObjects, quests, gossips.
- There are many different projects with different aims the most popular categories are:
- Blizzlike data that is similar or identical to the real thing.
- Funserver data created or made with insane, game breaking stats or values.
- SVN Address: http://svn.xp-dev.com/svn/whydb-users/
- SVN Address: http://svn.code.sf.net/p/arcgdb/arcgdb/trunk
Pathway (blizzlike, custom gmisland):
- Installation Instructions
Note: To download data from the SVN repositories you need a up to date SVN client, f.ex. for Windows Tortoise SVN Client.
Creating your administrator account:
- Switch to your logon database. Run the following query (replacing the values for login and password with your own):
A breakdown of this query for those that do not understand SQL:Code:INSERT INTO `accounts` (login, password, gm, flags, forceLanguage, banned) VALUES ('admin', 'admin', 'az', '24', 'enEN', '0');
- Username (login): Admin
- Password: Admin
- GM Level: az (for all commands)
- Expansion: All
- Banned: Not banned. (the field doesn't have a default value, so it's required)
- Look for the *.conf files in the "configs" folder of ArcEmu SVN trunk. Copy the entire configs folder to your ArcEmu Installation Folder in order for the server to read them.
Hosting on localhost:
- Single developer setup for local testing, server is hosted on the same machine as the client.
- Fastest and easiest way of deploying Arcemu.
- The default network settings of Arcemu are tuned for this use-case, so no modification is necessary on the server part.
- Set the client realmlist to 127.0.0.1
Hosting on a LAN:
- Single developer setup for local testing, server is hosted in the same private network as the client.
- By default Arcemu listens on all IP addresses of the computer it's hosted on, so no changes are neccessary.
- Set the client realmlist to the IP address of the computer hosting the server.
Hosting publicly on the Internet:
- Single or multiple developer setup for hosting the server on a remote host.
Hosting publicly from a remote dedicated server:
- Set the address of the realm in realms.conf to the IP address of the network card exposed to the Internet.
- Set the realm list of the client(s) to the same IP address.
HHosting multiple realms:
- Multiple developer setup for hosting multiple copies, possible built from different code.
- 1 Logon and multiple world servers.
- You will need a total of X+1 copies of Arcemu for this, where X is the number of realms.
- You will need a total of X character databases, one for each realm you set up.
- Install Arcemu as usual
- Make a copy of the installation into X+1 number of new folders ( X is the number of realms ).
- Set the "RealmCount" directive in the first (original) directory to X ( where X is the number of realms ).
- Add the realms to the realm section of the realms.conf file of the first (original) directory, making sure that their ports are not the same.
- A good port numbering scheme could be that you use 8129 as the port for the first realm and increase it by one for every realm.
- Set up each realm's realms.conf file too.
- Make sure that each realm's realms.conf file has 1 set as "RealmCount"
- Make sure that each realm's realms.conf file has 1 realm, with the same settings as their entry in the first directory's realms.conf.
- Set up each realm's world.conf file so that the "WorldServerPort" setting matches the port that you set in realms.conf for that realm.
- Set up a separate character database for each realm, and make sure that the "CharacterDatabase" directive of world.conf points to each realm's own character database.
- You can start up the servers by starting up the logon server in the first directory, and the world servers from each realm's directory.
- differences when hosting the realms on different computers
- Instead of making X+1 copies to different directories, you make those copies to different computers.
- Set up the right IP addresses in the first machine's first directory's realms.conf file.
- Add the IP addresses of the realms either individually or as a CIDR mask to the logon.conf file of the logon server, to the AllowedIPs, and AllowedModIPs variables.
- Set the client realm list to the logon server's IP address.
Hosting using more than 1 computers:
- Rare use case considering nowadays' hardware, but possible.
- Useful when there are already services, but the machine hosting them are too busy to host everything for Arcemu.
- In this scenario there is a dedicated database server, dedicated logon server and dedicated world server.
- Set up the database server normally, import the Arcemu databases.
- Set up the dedicated logon / world server's host computer like you would normally.
- Configure the logon server and world server to connect to the dedicated database server in the database section of the logon.conf and world.conf files.
- Set up the realms.conf file like you normally would for remote hosting.
- Copy the same realms.conf to both servers.
- Change the IP address in the "LogonServer Address" variable in the world server's realms.conf to the logon server's IP address.
- Add the world server's IP address to the logon server's logon.conf file's "AllowedIPs" and "AllowedModIPs" variable.
- Set the client's realm list to the logon server's IP address.
- Make sure to allow traffic thru the ports used by your servers in your firewall.
- In the NAT scenario you will also need to set up port forwarding.
- The default ports used by Arcemu are 3724 for the logon server and 8129 for the world server.
- You will have to allow incoming traffic thru the inter-server connection port, if you are hosting the realms and the logon server on different machines.
- The inter-server port is 8093 by default.
- You can change this default port in the realms.conf file by setting the "ServerPort" variable to the desired port.
- When hosting multiple realms on the same machine, you can save some space if you instead of copying all the DBCs, maps, and vmaps to every realm's directory, you just use symlinks
Steps to extracting vmaps:
- Go to the tools folder inside your Arcemu folder ( for example C:\Arcemu\tools )
- Copy the following files to your World of Warcraft directory ( where wow.exe is )
- vmap_extractor ( .exe on Windows )
- vmap_assembler ( .exe on Windows
- vmaps ( .bat on Windows, .sh on Linux, BSD, or OS X )
- Go to your World of Warcraft directory ( where wow.exe is )
- Start vmaps (.bat on Windows, .sh on Linux )
- Wait until the process completes ( it could take several hours in the worst case )
- When it is done and all went OK, you will see 2 new directories Buildings and vmaps
- Delete the Buildings directory ( it was only needed while creating the vmaps )
- Copy the vmaps directory ( not the .bat or .sh file!!! ) to your Arcemu directory ( C:\Arcemu for example )
Enabling collision in world.conf:
- Go to your Arcemu directory ( C:\Arcemu for example )
- Go to the configs sub-directory.
- Open world.conf with a text editor
- Find where it says
- Change it to
- Save your changes!
Starting the server:
- The procedure for starting the server is very simple:
- Go to your Arcemu directory / folder ( for example C:\Arcemu )
- Start the logon server ( logon.exe on Windows and simply logon on Unix / Linux )
- Start the world server ( world.exe on Windows and simply world on Unix / Linux )
There you go, you obviously need WoW (v 3.3.5)
Note: If you need any help with this, please refer to here:
Use the eclipse trims get the svn files, better.
Thx for guide
that's awesome.. very complicated i'll try....
Does one no longer need to run ad.exe to create the DBC files for ArcEmu?
lol you should add a few sites for say as weapons website templates and support
i have problem with THIS
can u fix for me? im very2 noob . n tq for ur attention
Most of your links DO NOT WORK!
For the linux part of "Install MySQL Client" its phpmyadmin or if you prefer real programs, its Navicat for Linux.
Navicat: Navicat Database Admin Tool - the World's Best MySQL admin, SQLite GUI, SQL Server client, Oracle Manager Frontend & PostgreSQL GUI for Windows, Mac OS X & Linux - Download Now!Navicat - The Most Popular MySQL, SQL Server, SQLite, SQL Azure, Oracle &
SVN on Linux is subversion. Its in allmost all repositories. For Ubuntu or Debian Linux open Terminal and type: sudo apt-get install subversion