diff --git a/WoW/README.md b/WoW/README.md index e47a661..34bac01 100644 --- a/WoW/README.md +++ b/WoW/README.md @@ -2,7 +2,7 @@ This is the documentation to create a World of Warcraft server. -**The VM has to have a minimum of 3 cores and 4 gig of memory not less** +**The VM has to have a minimum of 3 cores, 50 gig of storage and 4 gig of memory not less** **You will set the number of cores during the make steps** @@ -21,7 +21,7 @@ This is the documentation to create a World of Warcraft server. ``` * Install the needed packages ``` - sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev + sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev unzip ``` * Install Mysql ``` @@ -33,6 +33,7 @@ This is the documentation to create a World of Warcraft server. ``` * Configure the install directory ``` + echo $HOME export AC_CODE_DIR=$HOME/azerothcore ``` * Clone the Github @@ -56,7 +57,7 @@ This is the documentation to create a World of Warcraft server. ``` Then set the VARIABLE to the max numer. -[!NOTE] +!NOTE See above important message regaring server requierments. * This will set a varibale to the number of cores a min. of 3. @@ -81,9 +82,9 @@ See above important message regaring server requierments. ``` * Unzip the zile in the same folder it is in ``` - sudo unzip Data.zip + unzip Data.zip ``` -* Get the worldserver.conf and authserver.conf from the direstory +* Get the worldserver.conf and authserver.conf from the direstory /env/dist/etc/ You need to change the name of them, in the directory they are called worldserver.conf.dist and authserver.conf.dist @@ -96,4 +97,124 @@ See above important message regaring server requierments. # Database Installation -* +* Go to the following directory + + /azerothcore/data/sql/create + + run this file thats located in the directory using this command + ``` + sudo mysql < create_mysql.sql + ``` + +* Go to the following directory + + /azerothcore/env/dist/bin + + run the batch files to start the auth and world server + !NOTE Once they are up and running stop them using the command ``` ctr+c ``` + run the auth stop it and then the world and stop it + ``` + ./authserver + + ./worldserver + ``` + +# Networking + +* Set the ip address of the machine in the MySql database + +Run the following commands in order + + ``` + sudo mysql + + use acore_auth; + + UPDATE realmlist SET address = ' IP of machine 192.168.*.*' WHERE id = 1; + + exit + ``` + +# Time to start the server + +* You need to create a screen session for each server auth and world + +* Starting auth server + + ``` + screen -S auth + ./authserver + [CTRL+a] then "d" + ``` + ``` + screen -S world + ./worldserver + [CTRL+a] then "d" + ``` + +* *Screen* commands + + to create a screen session + ``` + screen -S (name of screenseesion you are creating) + ``` + + to get out of a screen session + ``` + [CTRL+a] then "d" + ``` + + to list all the screen session that are running + ``` + screen -ls + + ``` + + to reattach to an exisitng screen session + ``` + screen -r (name of of screen session) + ``` + + +# To add a user into the database for players access to the game + + +* To create an account + + ``` + account create + ``` + +* to set account security level + + ``` + account set gmlevel + ``` + NOTE! Realm will be -1 always + +You can grant different levels of account security please see table below, 0 is regular player 3 is admin + + +![Git Clone Command](images/act_acs_lvl.png) + + +# + + +# Client configuration + +* Navagate to the folder in the WOW WOLK Client folder + + \Wrath of the Lich King\Data\enUS + + locate the file named realmlist.wtf + + open in notepad and change the set realmlist *server Ip 192.168.*.* + + +# Run and log in + + + + + diff --git a/WoW/images/act_acs_lvl.png b/WoW/images/act_acs_lvl.png new file mode 100644 index 0000000..7cae84d Binary files /dev/null and b/WoW/images/act_acs_lvl.png differ