Skip to content

kemlg/trinitycore-conciens

 
 

Repository files navigation

logo TrinityCore (3.3.5)

Average time to resolve an issue Percentage of issues still open


Build Status

master 3.3.5 cata_classic
master Build Status 3.3.5 Build Status cata_classic Build Status
master Build status Build status Build status
master GCC Build status 3.3.5 GCC Build status cata_classic GCC Build status
master macOS arm64 Build status cata_classic macOS arm64 Build status
Coverity Scan Build Status Coverity Scan Build Status

Introduction

TrinityCore is a MMORPG Framework based mostly in C++.

It is derived from MaNGOS, the Massive Network Game Object Server, and is based on the code of that project with extensive changes over time to optimize, improve and cleanup the codebase at the same time as improving the in-game mechanics and functionality.

It is completely open source; community involvement is highly encouraged.

If you wish to contribute ideas or code, please visit our site linked below or make pull requests to our Github repository.

For further information on the TrinityCore project, please visit our project website at TrinityCore.org.

Requirements

Software requirements are available in the wiki for Windows, Linux and macOS.

Install

Detailed installation guides are available in the wiki for Windows, Linux and macOS.

Install: cOncienS flavor

ln -fs /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
apt-get install -y libboost-all-dev clang libcurl4-openssl-dev p7zip-full vim build-essential autoconf libtool gcc g++ make cmake git-core patch wget links zip unzip unrar openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev libncurses5-dev zlib1g-dev libbz2-dev libace-dev libncurses-dev deluge-console deluge git cmake build-essential libssl-dev
apt-get install -y git clang cmake make gcc g++ libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100
git clone https://github.com/mrtazz/restclient-cpp
cd restclient-cpp/
./autogen.sh
./configure
make
sudo make install
sudo cp /usr/local/include/restclient-cpp/* /usr/include/
cd ..
git clone https://github.com/miloyip/rapidjson
sudo cp -R rapidjson/include/rapidjson /usr/include/
git clone https://github.com/kemlg/trinitycore-conciens
cd trinitycore-conciens
mkdir build
cd build/
cmake ../ -DPREFIX=/home/trinity/server -DCONF_DIR=/home/trinity/server/conf -DLIBSDIR=/home/trinity/server/lib  -DUSE_SFMT=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
make
make install
scp sergio@192.168.1.42:WoW.zip .
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
cd WoW/
cd Data/
cp ../../gameobject335/patch-g.mpq .
cd ..
~/server/bin/mapextractor
cp ~/gameobject335/GameObjectDisplayInfo.dbc dbc/
rm -fR Buildings/
~/server/bin/vmap4extractor
mkdir ~/server/data
cp -r dbc maps ~/server/data/
mkdir vmaps
~/server/bin/vmap4assembler Buildings vmaps
cp -r vmaps ~/server/data
cp Buildings/* ~/server/data/vmaps/
cd
cd server/
cd conf/
cp worldserver.conf.dist worldserver.conf
cp authserver.conf.dist authserver.conf
# Configure DB and BindIP
vi worldserver.conf
vi authserver.conf
# Configure realm, e.g. insert into
realmlist(id,name,address,localAddress,localSubnetMask,port,icon,flag,timezone,allowedSecurityLevel,population,gamebuild)
values(1,"Trinity","130.211.62.241","10.240.183.175","255.255.0.0",8085,0,2,1,0,0,12340);
mysql -u root -p auth
cd
wget http://www.trinitycore.org/f/files/getdownload/1266-legacy-tdb-335-full/
mv index.html TDB_full_335.57_2014_10_19.7z
7z x TDB_full_335.57_2014_10_19.7z
mysql -u root -p < trinitycore-conciens/sql/create/create_mysql.sql
mysql -u root -p auth < trinitycore-conciens/sql/base/auth_database.sql 
mysql -u root -p characters < trinitycore-conciens/sql/base/characters_database.sql 
mysql -u root -p world < TDB_full_335.57_2014_10_19.sql
mysql -u root -p world < trinitycore-conciens/sql/updates/world/2014_10*.sql
cd

Ubuntu 22.04

apt-get update && apt-get install -yq libboost-all-dev g++-11 cmake libssl-dev libmysql++-dev libreadline-dev libbz2-dev git libcurl4-openssl-dev
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
git clone https://github.com/mrtazz/restclient-cpp
cd restclient-cpp/
./autogen.sh
./configure
make
sudo make install
sudo cp /usr/local/include/restclient-cpp/* /usr/include/
cd ..
git clone https://github.com/miloyip/rapidjson
sudo cp -R rapidjson/include/rapidjson /usr/include/
cd /code
mkdir build
cd build
cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=static -DSERVERS=1 -DNOJEM=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_INSTALL_PREFIX=check_install -DBUILD_TESTING=1
make -j 12

MacOS

brew tap mrtazz/oss
brew install boost mysql automake restclient-cpp
git clone https://github.com/Tencent/rapidjson
cp -R rapidjson/include/rapidjson /usr/local/include
git clone https://github.com/kemlg/trinitycore-conciens
cd trinitycore-conciens
mkdir bin
mkdir build
cd build
cmake ../ -DPREFIX=$(pwd)/../bin/server -DCONF_DIR=$(pwd)/../bin/server/conf -DLIBSDIR=$(pwd)/../bin/server/lib -DUSE_SFMT=1 -DTOOLS=1 -DSCRIPTS=static -DSERVERS=1 -DWITH_WARNINGS=1

Reporting issues

Issues can be reported via the Github issue tracker.

Please take the time to review existing issues before submitting your own to prevent duplicates.

In addition, thoroughly read through the issue tracker guide to ensure your report contains the required information. Incorrect or poorly formed reports are wasteful and are subject to deletion.

Submitting fixes

C++ fixes are submitted as pull requests via Github. For more information on how to properly submit a pull request, read the how-to: maintain a remote fork. For SQL only fixes, open a ticket; if a bug report exists for the bug, post on an existing ticket.

Copyright

License: GPL 2.0

Read file COPYING.

Authors & Contributors

Read file AUTHORS.

Links

Packages

No packages published

Languages

  • C++ 89.6%
  • C 9.6%
  • CMake 0.5%
  • Roff 0.2%
  • Python 0.1%
  • PHP 0.0%