diff --git a/doc/UnixInstall.txt b/doc/UnixInstall.txt index c11cc2b074ca4..95551300fbe3a 100644 --- a/doc/UnixInstall.txt +++ b/doc/UnixInstall.txt @@ -1,59 +1,57 @@ = TrinityCore -- Linux installation = -Copyright (C) 2008-2016 TrinityCore (http://www.trinitycore.org/) +Copyright (C) 2008-2017 TrinityCore (http://www.trinitycore.org/) ========================================================= WARNING: THIS DOCUMENTATION IS NOT ALWAYS UP TO DATE. FOR MORE UP-TO-DATE INFORMATION, CHECK THE TRINITY WIKI. ========================================================= -CHECK http://www.trinitycore.info/ FOR FURTHER HELP +CHECK http://www.trinitycore.info/ FOR FURTHER HELP. -These are instructions for installation in a Linux environment, if you are -using Windows refer to http://www.trinitycore.info/ +These are the instructions for installation in a Linux environment. +If you are using Windows, refer to http://www.trinitycore.info/ . -Installing TrinityCore is fairly simple on a Linux machine, assuming you -have all required applications +Installing TrinityCore is fairly simple on a Linux machine, +assuming you have all the required applications installed: http://collab.kpsn.org/display/tc/Requirements -Most of these are included on common Linux distros, others you may have -to install by your self. Please check your distro's repos. +Most of these are included on common Linux distros, you may have to +install others by yourself. Please check your distro's repo for specifics. -Make a directory to build in, you can call it anything you want like -build or bin etc, then go into the directory and cmake and make. E.G. -you created a dir named build ad want to have your finalcompiled product -installed in /home/trinity/server, an example sequence of commands can -be : +Make a directory to build in, you can call it anything you want (like +build or bin etc.), then go into the directory and use cmake and make. +E.g. you created a dir named build and want to have your final compiled product +installed in /home/trinity/server/. An example sequence of commands can be: cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -DTOOLS=1 -DWITH_WARNINGS=1 make make install - -Thats just about all thats needed. You can however tweak more settings -than where to install using flags built into our cmake files. Just open -up CMakeLists.txt in the main folder and take a look at some of the -flags like - - SERVERS Build worldserver and authserver - SCRIPTS Build core with scripts included - TOOLS Build map/mmaps/vmap extraction/assembler tools - USE_SCRIPTPCH Use precompiled headers when compiling scripts - USE_COREPCH Use precompiled headers when compiling servers - WITH_WARNINGS Show all warnings during compile - WITH_COREDEBUG Include additional debug-code in core - CMAKE_INSTALL_PREFIX Set installation directory - NOJEM Do not build with jemalloc (advanced users only) - CONF_DIR Set path as default configuration directory - LIBSDIR Set path as default library directory - CMAKE_C_FLAGS Set C_FLAGS for compile (advanced users only) - CMAKE_CXX_FLAGS Set CXX_FLAGS for compile (advanced users only) - CMAKE_BUILD_TYPE Set buildtype - the supported modes are : - Release, MinSizeRel, RelWithDebInfo, Debug - -Of course, replace the paths in CMAKE_INSTALL_PREFIX with the -directory you wish to install TrinityCore to. The datadir is where maps, -DBCs, and SQLs are stored. The sysconfdir is where configuration files are stored. - -Once TrinityCore is installed you will need to apply database updates + +That's just about all that is needed. You can, however, tweak more settings +than where to install, using flags built into our cmake files. Just open up +CMakeLists.txt in the main folder and take a look at some of the flags like + + SERVERS Build worldserver and authserver + SCRIPTS Build core with scripts included + TOOLS Build maps/mmaps/vmaps extraction/assembler tools + USE_SCRIPTPCH Use precompiled headers when compiling scripts + USE_COREPCH Use precompiled headers when compiling servers + WITH_WARNINGS Show all warnings during compile + WITH_COREDEBUG Include additional debug-code in core + CMAKE_INSTALL_PREFIX Set installation directory + NOJEM Do not build with jemalloc (advanced users only) + CONF_DIR Set path as default configuration directory + LIBSDIR Set path as default library directory + CMAKE_C_FLAGS Set C_FLAGS for compile (advanced users only) + CMAKE_CXX_FLAGS Set CXX_FLAGS for compile (advanced users only) + CMAKE_BUILD_TYPE Set buildtype - the supported modes are: + Release, MinSizeRel, RelWithDebInfo, Debug + +Of course, replace the paths in CMAKE_INSTALL_PREFIX with the directory you wish to +install TrinityCore to. The datadir is where maps, DBCs, and SQLs are stored. +The sysconfdir is where configuration files are stored. + +Once TrinityCore is installed, you will need to apply database updates where necessary. Furthermore, you must configure your installation by editing the config files in the sysconfdir. diff --git a/revision_data.h.in.cmake b/revision_data.h.in.cmake index f73dd0cf0f341..995dc1e75b8b8 100644 --- a/revision_data.h.in.cmake +++ b/revision_data.h.in.cmake @@ -9,7 +9,7 @@ #define _MYSQL_EXECUTABLE R"(@MYSQL_EXECUTABLE@)" #define _FULL_DATABASE "TDB_full_world_335.62_2016_10_17.sql" #define VER_COMPANYNAME_STR "TrinityCore Developers" - #define VER_LEGALCOPYRIGHT_STR "(c)2008-2016 TrinityCore" + #define VER_LEGALCOPYRIGHT_STR "(c)2008-2017 TrinityCore" #define VER_FILEVERSION 0,0,0 #define VER_FILEVERSION_STR "@rev_hash@ @rev_date@ (@rev_branch@ branch)" #define VER_PRODUCTVERSION VER_FILEVERSION diff --git a/src/server/game/AI/PlayerAI/PlayerAI.cpp b/src/server/game/AI/PlayerAI/PlayerAI.cpp index 103239782375e..0edd6097026cd 100644 --- a/src/server/game/AI/PlayerAI/PlayerAI.cpp +++ b/src/server/game/AI/PlayerAI/PlayerAI.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2016 TrinityCore + * Copyright (C) 2016-2017 TrinityCore * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the diff --git a/src/server/game/AI/PlayerAI/PlayerAI.h b/src/server/game/AI/PlayerAI/PlayerAI.h index ffeaa67de05ee..fce24b2dc0e64 100644 --- a/src/server/game/AI/PlayerAI/PlayerAI.h +++ b/src/server/game/AI/PlayerAI/PlayerAI.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2016 TrinityCore + * Copyright (C) 2016-2017 TrinityCore * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the