26 (edited by obana 2016-01-15 21:45:14)

Baynar wrote:

how did you fix it ?

http://pastebin.com/raw/hWecGPpu

update:
fix compilation big_smile
http://pastebin.com/CezJJmh3

Sorry for my bad english

27 (edited by dikkedeur 2016-01-17 11:08:40)

Mathman i tried to compile but i get a strange error, at least others didnt mention it, so its strange i do have it.

[ 23%] Building CXX object src/game/CMakeFiles/game.dir/BattleGroundHooks.cpp.o
Building CXX object src/game/CMakeFiles/game.dir/RandomMovementGenerator.cpp.o
In file included from /home/oregon/oregoncore/src/game/PacketHooks.cpp:11:0:
/home/oregon/oregoncore/src/game/ElunaIncludes.h:39:20: fatal error: Config.h: No such file or directory
 #include "Config.h"
                    ^
compilation terminated.

so stupid as i am, i removed that config.h
then the next one pops up

[ 22%] Building CXX object src/game/CMakeFiles/game.dir/PacketHooks.cpp.o
In file included from /home/oregon/oregoncore/src/game/PacketHooks.cpp:11:0:
/home/oregon/oregoncore/src/game/ElunaIncludes.h:42:29: fatal error: BattleGroundMgr.h: No such file or directory
 #include "BattleGroundMgr.h"
                             ^
compilation terminated.

it seems that there is bad linking in that file, im not sure, im on ubuntu server. so that might be it.. not sure.
but those files are not in the src/game/ dir.

fatal error: BattleGroundMgr.h: No such file or directory

I have added ElunaEngine branch on OregonCore repo
I have added DbQuery method in Eluna Engine

mathman how to fix the compile on ubuntu with the missing config.h?

Baynar wrote:

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

how did you fix it? upload patch to pastebin?

Sorry for my bad english

core crashed, if lua script have SQL queries.

Sorry for my bad english

Have you updated it with the DBqueries commit ??
https://bitbucket.org/oregon/oregoncore … f606c7739e

also i would like to know did anybody got it to work under unix? since i get compile error still.
or all you guys windows luvers tongue gna gna ^^

obana wrote:

core crashed, if lua script have SQL queries.

Yup i am having the same problem

dikkedeur wrote:

Have you updated it with the DBqueries commit ??
https://bitbucket.org/oregon/oregoncore … f606c7739e
also i would like to know did anybody got it to work under unix? since i get compile error still.
or all you guys windows luvers tongue gna gna ^^

I have updated it and everything but... if DB queties are modded from within the game core crashes

Can you copy/paste the crash log plz

mathman wrote:

Can you copy/paste the crash log plz

crash log on pastebin

Sorry for my bad english

Ok so auto_ptr delete object each end of use and it can not be copied.
We need to use an other way for this method.

Ok i've fixed the crash.
It's not the best way but it works.

https://bitbucket.org/oregon/oregoncore … bb389c9610

mathman wrote:

Ok i've fixed the crash.
It's not the best way but it works.

https://bitbucket.org/oregon/oregoncore … bb389c9610

Ok, server don't crashed. But some lua scripts with SQL queries don't work. =\

Sorry for my bad english

Can you copy paste your lua code and sql script

41 (edited by obana 2016-02-03 11:23:15)

mathman wrote:

Can you copy paste your lua code and sql script

Bounty Hunter lua script
lua script
sql
base/sc_default.lua

Sorry for my bad english

Works for me

43 (edited by ivandenchev 2016-02-20 14:36:11)

Can't load Lua Scripts, i put him in foulder... use .reload eluna ... and nothing...
And i don't have errors with compilate...

ivandenchev wrote:

Can't load Lua Scripts, i put him in foulder... use .reload eluna ... and nothing...
And i don't have errors with compilate...

check oregoncore for error in the lua scripts

45 (edited by ivandenchev 2016-02-22 21:09:39)

Baynar wrote:
ivandenchev wrote:

Can't load Lua Scripts, i put him in foulder... use .reload eluna ... and nothing...
And i don't have errors with compilate...

check oregoncore for error in the lua scripts

Well it work's fine. But Transmog Script  don't work...(on another core work fine) I don't know...., maby have old functions, syntaxs and etc,  in this lua engine of core or lua script.

The core successfully compiled and everything seems to be running, however whenever I try to use the "reload eluna" command, it gives me an error because there is no DB table called "eluna"

And yes, I did add the "reload eluna" command to the command table.

Thoughts?

47 (edited by Hiddenbboy 2017-09-03 10:53:35)

it means now we can use eluna scripts on oregoncore ?

please learn me how install it on core i'm a newbie sad

I have used this build and i can tell you it works but there are many problems like missing commands on lua so you won't be able to copy/paste scripts from other cores and before i got it working i did some tweaking to the code so i get no errors

https://bitbucket.org/oregon/oregoncore … lunaEngine