Skip to content

azerothcore/mod-eluna

 
 

Repository files navigation

Eluna

About

Eluna Lua Engine © is a lua engine embedded to World of Warcraft emulators. Eluna supports MaNGOS, CMaNGOS, TrinityCore and AzerothCore. We are currently working hard to make Eluna better from inside and outside.

If you are having trouble with installation or scripts, please feel free to open an issue. For documentation and reference see Eluna API (AC version) and Lua reference manual.

Community

You can join the official Eluna Discord server, where you'll be able to find resources, releases and support provided by the community:

The official Azerothcore Discord server offers a channel dedicated to lua development as well:

logo mod-eluna 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 using git.

download with git

  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.git mod-eluna

2) Build

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

Eluna API for AC: https://www.azerothcore.org/pages/eluna/index.html

Documentation

Links

Additions from Eluna/master

Player

  • Added RegisterPlayerEvent 43 (PLAYER_EVENT_ON_PET_ADDED_TO_WORLD) fires for pets and summoned creatures: #3
  • Added RegisterPlayerEvent 44 (PLAYER_EVENT_ON_LEARN_SPELL): #46
  • Added RegisterPlayerEvent 45 (PLAYER_ON_ACHIEVEMENT_COMPLETE): #47
  • Added RegisterPlayerEvent 46 (PLAYER_EVENT_ON_FFAPVP_CHANGE): #63
  • Added RegisterPlayerEvent 47 (PLAYER_EVENT_ON_UPDATE_AREA): #65
  • Added RegisterPlayerEvent 48 (PLAYER_EVENT_ON_CAN_INIT_TRADE): #83
  • Added RegisterPlayerEvent 49 (PLAYER_EVENT_ON_CAN_SEND_MAIL): #85
  • Added RegisterPlayerEvent 50 (PLAYER_EVENT_ON_CAN_JOIN_LFG): #86
  • Added RegisterPlayerEvent 51 (PLAYER_EVENT_ON_QUEST_REWARD_ITEM): #88
  • Added RegisterPlayerEvent 52 (PLAYER_EVENT_ON_CREATE_ITEM): #88
  • Added RegisterPlayerEvent 53 (PLAYER_EVENT_ON_STORE_NEW_ITEM): #88
  • Added RegisterPlayerEvent 54 (PLAYER_EVENT_ON_COMPLETE_QUEST): #90
  • Added RegisterPlayerEvent 55 (PLAYER_EVENT_ON_CAN_GROUP_INVITE): #100
  • Added RegisterPlayerEvent 56 (PLAYER_EVENT_ON_GROUP_ROLL_REWARD_ITEM): #119
  • Added RegisterPlayerEvent 57 (PLAYER_EVENT_ON_BG_DESERTION): #146
  • Added Player:GetMailCount(): #76
  • Added Player:GetXP(): #77
  • Added Player:GetAchievementCriteriaProgress(): #78
  • Added vendor entry as argument to Player:SendListInventory(object, vendorentry): #48
  • Added Player:GetPlayerSettingValue() and Player:UpdatePlayerSetting(): #125
  • Added Player:GetTrader(): #126
  • Added Player:CanCompleteRepeatableQuest(questId): #141
  • Added Player:CanRewardQuest(questId): #141
  • Added Player:SetGlyph(glyphId, slotIndex): #152

Group

  • Added Group:GetGroupType(): #82
  • Added Group:SetMemberFlag(): #102

Unit

  • Added Unit:ModifyThreatPct(): #25
  • Added Unit:GetAttackers(): #116
  • Added Unit:GetThreatList(): #117
  • Added Unit:GetUnitFlags(): #137
  • Added Unit:GetUnitFlagsTwo(): #137
  • Added Unit:SetUnitFlags(flags): #137
  • Added Unit:SetUnitFlagsTwo(flags): #137
  • Added Unit:SetSpeedRate(unitMoveType, speed): #155
  • Added Unit:SetSpeedRate(): #155

GameObject

  • Added GameObject:AddLoot() to add loot at runtime to an empty container: #52

Object

  • Added Object:IsPlayer(): #42

Item

  • Added Item:GetItemTemplate(): #84

Misc

  • Added HttpRequest(): #2
  • Added GetItemTemplate(itemEntry): #84
  • Added ChatHandler methods: #23
  • Added ItemTemplate methods: #84
  • Added Roll methods: #119
  • Added logging with ELUNA_LOG_INFO for RunCommand(): #75
  • Added GetOwnerHalaa and SetOwnerHalaa: #79
  • Added WorldDBQueryAsync, CharDBQueryAsync and AuthDBQueryAsync: #113

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.0%
  • C 30.2%
  • JavaScript 1.7%
  • Python 1.2%
  • CSS 1.1%
  • HTML 0.6%
  • CMake 0.2%