Jump to content

Mangos Two Improvements! [Eluna Incorporation + FreeBSD Support and More]


Le Froid

Recommended Posts

Posted

Hello all

After weeks of messing around with the source for MaNGOS Two, I feel obliged to contribute my improvements to the community.

These two patches I created will:

- Fix compilation/runtime issues on FreeBSD systems (for the core + tools)

- Fix most of the database issues in the core which crippled the playability of mangos two

- Incorporate Eluna into the core

- And also provide an assortment of core fixes for spells, auras, and such!

The patches will not, however:

- Include the source code to dep/lualib (necessary for Eluna) --> Simply download lua off of their website, however, and paste the source code into dep/lualib . You will also have to copy/paste the CMakeLists.txt file from mangos zero's dep/lualib folder to get it to build properly

- Include Eluna itself. Clone eluna off of their git repo into src/game/LuaEngine and then apply the eluna patch to that directory for it to compile and run correctly

So without further ado, here are the patches:

[Diff] mangos two patch - Pastebin.com -- Core patch

[Diff] mangos two eluna patch - Pastebin.com -- Eluna compatibility patch

Enjoy!

Posted

I just found a bug in my patch that is pretty important!

In the file src/game/ScriptMgr.cpp in the function ScriptMgr::OnItemUse, change the line:

if(sEluna->OnUse(pPlayer, pItem, targets)) // says if (!sEluna... on cmangos repo..)

to

if(!sEluna->OnUse(pPlayer, pItem, targets))

to make health potions and bandages work.

Posted

Going to sound like a total noob/idiot here, how will i incorporate these into my two build? Thanks in advance. I would really like to try out the eluna system to get a feel for it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use