Files
mod-ale/README.md
anzz1 36a0fe5155 Update README.md
Change manual instructions to reflect the change that LuaEngine folder needs to be at `mod-eluna-lua-engine/src/LuaEngine` instead of `mod-eluna-lua-engine/LuaEngine`
2022-01-05 17:10:06 +02:00

2.5 KiB

logo mod-eluna-lua-engine for AzerothCore

  • Latest build status with azerothcore: Build Status

english | 中文说明 | Español

An Eluna module for AzerothCore.

How to install:

1) Download the sources

You can get the sources either using git (recommended) or downloading them manually.

  1. open a terminal inside your azerothcore-wotlk folder
  2. go inside the modules folder: cd modules
  3. download the module sources using:
git clone https://github.com/azerothcore/mod-eluna-lua-engine.git
  1. go inside the mod-eluna-lua-engine folder: cd mod-eluna-lua-engine
  2. download the Eluna sources using git submodule update --init

Optional: if you need to update Eluna to the latest version, you can cd LuaEngine and run git pull from there.

download manually

  1. download mod-eluna-lua-engine
  2. extract it move the folder mod-eluna-lua-engine inside the modules folder of your azerothcore-wotlk sources
  3. download Eluna
  4. extract it and move all the files inside the Eluna-master folder into the mod-eluna-lua-engine/src/LuaEngine folder. LuaEngine.h needs to be directly under mod-eluna-lua-engine/src/LuaEngine without any extra sub-folders.

2) Build

You need to run the cmake again and and rebuild the project.

Eluna API : http://elunaluaengine.github.io/

How to update the Eluna version (for project mainteners)

  1. cd into mod-eluna-lua-engine
  2. git checkout master
  3. cd LuaEngine
  4. git checkout master
  5. git pull
  6. cd .. so you get back to mod-eluna-lua-engine
  7. git checkout -b some-new-unique-branch-name
  8. git add LuaEngine
  9. git commit -m "feat: update Eluna version"
  10. git push
  11. The terminal will tell you something like fatal: The current branch some-new-unique-branch-name has no upstream branch. and suggest the command to use, for example: git push --set-upstream origin some-new-unique-branch-name
  12. Open the repo on Github and create a new PR