Hi,

I've finish Implementation of Eluna Engine.
For more information : https://github.com/ElunaLuaEngine/Eluna

Repo : https://bitbucket.org/mathman/oregoncor … lunaEngine


Sql script for new command:

insert into `command` (`name`, `security`, `help`) values ('reload eluna','3','Reload eluna scripts');

Nice work.

Cool

"A little hard-work never killed anyone important." - Abe

mathman does this mean it will be implemented/pushed into main repo some day or not?
there are often updates on eluna, so maintaining it would be some work over time..

It's possible.
Also We can give that to eluna team for official support.

that would be great, it can then be used by people who want it, i dont think that devs of oregon want to use it, i dont know, but it would be usefull for some people.
it would be the first core that support c++/smartai/Lua/evenai ( although eventai will be replaced in time by smartai)
i have no knowledge over lua, i used to use it back in the time of ascent i think.. not sure.

So we can... script it lua now O.O

Lua is a really easy language to make scripts in and it's REALLY usefull for newer people that want to make some custom stuff for their server and supporting it is a great idea.

You can literally learn to script events and npc's with lua in a few days

+1 from me

Well i tried compiling your build rev 3207

And i get error on compiling

but they are too much to paste them here those errors are mostly in serverhooks and so on...

What is your platform ?
What is your compiler? Version?

Windows 10 64-bit

VS 2012 i have a server on rev - 3206
but when i update it to 3207 i get errors and it cannot be compiled

Copy paste errors. You can check if your compiler use c++11 flag

12 (edited by Baynar 2016-01-13 22:11:56)

Ok got it working i needed to download a update for vs 2012 from MS

omg ! i am not gay but I LOVE YOU mathman smile

Sorry for my bad English smile
11>c:\source\oregoncore\src\game\BindingMap.h(269): error C2143: syntax error : missing ',' before '...' 
11>c:\source\oregoncore\src\game\BindingMap.h(270): error C2065: 'T' : undeclared identifier 
11>c:\source\oregoncore\src\game\BindingMap.h(270): error C2143: syntax error : missing ')' before 'const' 
11>c:\source\oregoncore\src\game\BindingMap.h(270): error C2433: 'hash' : 'inline' not permitted on data declarations 
11>c:\source\oregoncore\src\game\BindingMap.h(270): error C2059: syntax error : ')' 
11>c:\source\oregoncore\src\game\BindingMap.h(279): error C2334: unexpected token(s) preceding '{'; skipping apparent 
11>c:\source\oregoncore\src\game\BindingMap.h(292): error C2143: syntax error : missing ',' before '...' 
11>c:\source\oregoncore\src\game\BindingMap.h(293): error C2061: syntax error : identifier 'T'

Microsoft Visual Studio 2012

Sorry for my bad english

Maybe same error like Baynar.

BindingMap.h to this rev and succesfully compile

Sorry for my bad english

Strange these files are the same

I didn't have the latest update for c++11 on my visual studio and i had another error...

but after updating i got the same error as obana's

The problem was cause by bindingmap.h

error start from:
Line 24 template<typename ..... K>
replaced with
template<typename K>
and its working

Tested Eluna

For now it is working ok...

but i find some problems where gossip scripts do not want to execute O.o
i have the npc id and he is flaged with gossip
but the scripts doesn't work....

mathman wrote:

Strange these files are the same

No, files are different.

On my link in the file is missing "class hash_helper"

Sorry for my bad english
Baynar wrote:

Tested Eluna

For now it is working ok...

but i find some problems where gossip scripts do not want to execute O.o
i have the npc id and he is flaged with gossip
but the scripts doesn't work....

I agree, but I have not all scripts work with Gossip. Yet there is a script that works with gossip

Sorry for my bad english
 attempt to call global 'AuthDBQuery' (a nil value)
attempt to call global 'CharDBQuery' (a nil value)
Sorry for my bad english

yup i have the same problem

obana wrote:
 attempt to call global 'AuthDBQuery' (a nil value)
attempt to call global 'CharDBQuery' (a nil value)

fixed it

Sorry for my bad english

how did you fix it ?