PDA

View Full Version : [SOLVED] Sunwellcore Building error



BuxBunny
07-25-2016, 03:33 PM
Hello,
I compiled a Sunwellcore from this github :

https://github.com/callmephil/SunWellCore
But when I build it I keep getting these errors :

Severity Code Description Project File Line Suppression State
Error C3688 invalid literal suffix 'UI64FMTD'; literal operator or literal operator template 'operator ""UI64FMTD' not found scripts source\src\server\shared\database\MySQLThreading.h 47

Rochet2
07-25-2016, 03:39 PM
Not sure, but try changing all "UI64FMTD" to " UI64FMTD "
so there are spaces around the UI64FMTD and the quotes. It is an error on newer compilers to not have space if there are some strict settings. This is probably due to C++ spec changing or something.

BuxBunny
07-25-2016, 04:15 PM
Not sure, but try changing all "UI64FMTD" to " UI64FMTD "
so there are spaces around the UI64FMTD and the quotes. It is an error on newer compilers to not have space if there are some strict settings. This is probably due to C++ spec changing or something.

Thanks, still didn't work
Also I got another error (it was there before I tried)
on the line :
sLog->outSQLDriver("Core thread with ID ["UI64FMTD "] initializing MySQL thread.",


Severity Code Description Project File Line Suppression State
Error (active) user-defined literal operator not found shared \src\server\shared\Database\MySQLThreading.h 47

Syphex
07-25-2016, 05:03 PM
There is a [3.3.5] SunWellCore - Compiled 32x/64x download available out there, it's only 5 month old and you can update the database if you so want too.
Right now i can see on their tracker that they have alot of issues, it would be easier to just use that.

BuxBunny
07-25-2016, 05:35 PM
There is a [3.3.5] SunWellCore - Compiled 32x/64x download available out there, it's only 5 month old and you can update the database if you so want too.
Right now i can see on their tracker that they have alot of issues, it would be easier to just use that.

isn't it a repack?

BuxBunny
07-25-2016, 05:46 PM
Well doing spaces like " UI64FMTD " instead worked,
One last error !

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: __thiscall Cell::Cell(float,float)" (??0Cell@@QAE@MM@Z) referenced in function "public: bool __thiscall PathGenerator::CalculatePath(float,float,float,boo l)" (?CalculatePath@PathGenerator@@QAE_NMMM_N@Z) worldserver src\server\worldserver\game.lib(PathGenerator.obj) 1

BuxBunny
07-25-2016, 11:46 PM
Fixed, it's working now !
Any chance someone knows if I can add Eluna to sunwell?

Syphex
07-26-2016, 12:07 AM
Fixed, it's working now !
Any chance someone knows if I can add Eluna to sunwell?

i don't think that should be a problem, if i remember correctly someone has Eluna added to their TBC server.
Also since its extension program it should work. But i am not in the position to tell you how to since i've never done it myself.


Here is some threads that you will find helpful from EMUDevs

How to install it - https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/INSTALL.md
Guide and other bookmarks - http://emudevs.com/showthread.php/2834-Eluna-Information-(READ)

BuxBunny
07-26-2016, 11:27 AM
i don't think that should be a problem, if i remember correctly someone has Eluna added to their TBC server.
Also since its extension program it should work. But i am not in the position to tell you how to since i've never done it myself.


Here is some threads that you will find helpful from EMUDevs

How to install it - https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/INSTALL.md
Guide and other bookmarks - http://emudevs.com/showthread.php/2834-Eluna-Information-(READ)

This is a fresh installation of trinitycore with eluna, and I check merging, tried it and here's what I got :

error: Your local changes to the following files would be overwritten by merge:
src/server/game/Entities/Object/Object.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Guilds/Guild.cpp
src/server/game/Handlers/VehicleHandler.cpp
src/server/scripts/Commands/cs_go.cpp
src/server/scripts/Commands/cs_gobject.cpp
src/server/shared/Packets/ByteBuffer.h
Please commit your changes or stash them before you can merge.
Aborting

Rochet2
07-26-2016, 02:47 PM
You are going to run into a lot of problems with that probably.
You should know some C++ before trying because you will need to fix some C++ code as well as possibly fiddle with cmake.

Read this:
https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/MERGING.md#unofficial-merging

I think tommy expressed it pretty well there.

BuxBunny
07-26-2016, 06:14 PM
You are going to run into a lot of problems with that probably.
You should know some C++ before trying because you will need to fix some C++ code as well as possibly fiddle with cmake.

Read this:
https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/MERGING.md#unofficial-merging

I think tommy expressed it pretty well there.

Thanks for taking the time to answer.
Topic solved than