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

Cmangos Eluna Classic Questions.

gussaki

Emulation Addict
Hey and good afternoon .

I am using the :

Code:
git clone --recursive https://github.com/ElunaLuaEngine/ElunaMangosClassic.git

to start compiling .

Can someone please answer to a couple of questions ?

1: I would love to know if i have to clone the scriptdev2 classic also and ACID ?
2: Can someone please enlighten me with the Correct and appropriate Folder structure?

It is my first time compiling with Eluna included and i dont know what features i must implement in order to compile correct .

Thanks a lot in advance.
 

Rochet2

Moderator / Eluna Dev
1: I would love to know if i have to clone the scriptdev2 classic also and ACID ?

All normal things you would do with a cmangos core should be done. If Cmangos compiling guide tells you to get SD2 and or ACID, you should get them.
Refer to a cmangos installation guide.

2: Can someone please enlighten me with the Correct and appropriate Folder structure?

Are you using Windows or Linux?
What do you mean with folder structure? The server folder or the source folders?

If you are talking about the source folder structure, it is the normal cmangos source folder structure, however Eluna adds a new dependency, the lualib to /dep/.
Also Eluna adds a new folder called LuaEngine inside src/game/.
The lualib contains the Lua source (from lua.org) and LuaEngine folder has the Eluna source code. LuaEngine should be filled by --recursive in the clone call since we use a submodule.
However if the folder is empty, go to source root with git and run git submodule init git submodule update to get the appropriate Eluna source for the core.
You can see the folder differences here as well:
https://github.com/cmangos/mangos-classic
https://github.com/ElunaLuaEngine/ElunaMangosClassic

If you are talking about the server folder, it should contain all the normal files and folders to run the core, with the addition of lua_scripts folder.
That folder should contain another folder called extensions and it should contain scripts from here: https://github.com/ElunaLuaEngine/Eluna/tree/master/extensions
 

gussaki

Emulation Addict
2: Can someone please enlighten me with the Correct and appropriate Folder structure?

Are you using Windows or Linux?
What do you mean with folder structure? The server folder or the source folders?

[/url]

I am using windows as developing environment cause i think its a bit easier to troubleshoot some facts.

What i need to know is the structure of the pre-compiled folder . The 1 step before clicking on solution to be built .

for example root Folder = ElunaClassic

subfolders = ?

Thanks again .
 

gussaki

Emulation Addict
I am pretty much certain that i am getting to the point now.
Well , according to the Cmangos installation instruction :

git clone git://github.com/scriptdev2/scriptdev2-classic.git mangos/src/bindings/ScriptDev2

We must do that too yes ?

Also outside the elunamangosclassic folder we have to do another folder named ACID yes?

git clone git://github.com/ACID-Scripts/Classic.git acid

and then Compile .

Am i correct ? Or ScriptDev and ACID is not required in your opinion ?

Thanks
 

Rochet2

Moderator / Eluna Dev
Eluna is eluna, cmangos is cmangos. You should follow the cmangos installation guide and do whatever it tells you in addition to having eluna files around.

SD2 is optional, but if you want the bosses etc to do stuff, sure you need it.
So if you want it, you need the folder for it at src/bindings/
Probably recommended to do so.

ACID can be anywhere. Since its just a bunch of files you execute to the DB, it is not relevant to the compilation at all.
 
Top