• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[TC] Eluna | Major Changes

Status
Not open for further replies.

Tommy

Founder
Since we've been hard at work on the MaNGOS source, a lot of how we're handling things right now have been rewritten. Once we're ready, you'll see changes within the hook system, timed event system and more in Eluna, along with other major changes. This is basically an update warning to you guys when we merge these changes to Eluna TrinityCore 3.3.5a and Eluna TrinityCore Cataclysm 4.3.4.

New hook (event) functions (instead of only using 'RegisterServerHook'):

  • RegisterPlayerEvent(event, function) -- PLAYER events only
  • RegisterGroupEvent(event, function) -- GROUP events only
  • RegisterGuildEvent(event, function) -- GUILD events only
  • RegisterServerEvent(event, function) -- (Was renamed from RegisterServerHook), SERVER EVENTS and events that aren't implemented or has only one event to register

Changes are now live on the standalone source: https://github.com/ElunaLuaEngine/Eluna/commit/f9ff9ed2e3a8c118bff414a3f3fe7aec719a3b6c

And the forked TrinityCore source (WotLK): https://github.com/ElunaLuaEngine/Eluna-TC-Wotlk

Eluna TrinityCore 4.3.4 Cataclysm is now updated to the latest Eluna changes and the latest TrinityCore commit (revision).

https://github.com/ElunaLuaEngine/Eluna/commit/23b0b1ff967519c78d72ec15c9ecebc64d26e39b

This update also include previous Eluna updates that wasn't added to Eluna TC Cataclysm because we were waiting for this major Eluna change. These previous updates are:

https://github.com/ElunaLuaEngine/Eluna/commit/64afdbb922be6e66ea9c0daaa33a6453971075ed
https://github.com/ElunaLuaEngine/Eluna/commit/3a7cd7da56981139fd8881c33e63a2681b0e7139
https://github.com/ElunaLuaEngine/Eluna/commit/9cfd73bf40d3ccf585836bcd0d321bcd86c40b39
https://github.com/ElunaLuaEngine/Eluna/commit/e0b93b5b50aa775ee177fa5af761614b3f989372
https://github.com/ElunaLuaEngine/Eluna/commit/b9124624c1c10a39e2bceab361052b5da8ca255f
https://github.com/ElunaLuaEngine/Eluna/commit/988480f648a6d32dceaf96c5467228764b156baa
https://github.com/ElunaLuaEngine/Eluna/commit/6992876af250a522f142d76408c29871cc673095
https://github.com/ElunaLuaEngine/Eluna/commit/e6289936d511910f4694b8183286cd153036c790

Eluna is now up to date both on TrinityCore 3.3.5 (WotLK) and TrinityCore 4.3.4 (Cataclysm)!

---
We'll keep you guys posted on what else has changed. The wiki will receive an extensive update after everything is finished and implemented throughout Eluna's supported emulators.
 
Last edited:

Tommy

Founder
More updates on the Hook system. Hooks will be directly triggered now! This makes the HookMgr previous pointless in this case since it is a lot cleaner now.
 

Mahado

Epic Member
Nice work guys! I love Eluna so far, it is a lot of fun to script stuff with it.

So, thank you for that. :p
 

Foereaper

Founder
Wiki rewrite just about to happen, DO MIND! Older scripts WILL have to be converted to the new hook system, as the event ID's and event register methods have changed!
 

Foereaper

Founder
Main wiki structure is now updated, showing the now supported events and methods! Do mind, it's work in progress and specific method documentation is not yet done.

Remember to update your old scripts to the new hook/event system!
 
Last edited:
Status
Not open for further replies.
Top