2.4 KiB
#Installation
Get the core:
Eluna TrinityCore WOTLK
Eluna TrinityCore Cataclysm
Eluna cMaNGOS Classic
Eluna cMaNGOS TBC
Eluna cMaNGOS WotLK
On TrinityCore navigate to \src\
On MaNGOS navigate to \src\game\
Open git bash in LuaEngine folder and do
git initgit remote add origin https://github.com/ElunaLuaEngine/Elunagit pull origin master
Compile the core normally (use cmake on TC)
#Updating
When updating you should take up the commit hashes you are on, just in case.
You can get it from git with git log for example.
Use this when git is open in the source folder as well as in LuaEngine folder.
You should take note what are the newest SQL updates in sql/updates/* folders.
Use git pull in core source and in LuaEngine folder to get the newest source changes and Eluna from github.
Try compiling and if you encounter errors, report to support or issues.
You can revert back to the old sources by using git reset --hard 000000, where 000000 is the commit hash.
If the compiling was successful, you should update your database if needed.
You can do this by running all new SQL files in sql/updates/*.
You need to see your notes from before pulling the updates or you can use the old commit hash to see on github what were the last files you ran.
An easy way is to just look at the created/modified date on the files.