Page 1 of 1

[NEW] Unreal Engine 4 Proof of concept

Posted: 30 Jun 2015, 16:18
by Lapo
We have released a proof of concept for how to integrate UE4 and the SFS2X C++ API.

This package contains a modified version of one of the examples provided with Unreal Engine 4. It is a proof of concept showing how to integrate the SmartFoxServer 2X C++ API, connect to the server and exchange public messages.

A specific tutorial (also contained in the zip) provides in depth instructions on how to setup your Unreal project and interact with SmartFoxServer 2X.

Download link is at the bottom of this page.

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 06 Jan 2016, 08:59
by imperator132k
hello,

I have found with the update to unreal 4.10 you are required to operate under vs2015 in which the smartfoxapi is not setup.

is there any releases in which the c++ api is registered under 2015 or is this something in the pipeline?

regards,

Imperator132k

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 06 Jan 2016, 11:26
by MBagnati
Hi,
Today SmartFox C++ API are delivered only for Microsoft Visual Studio 2010, Microsoft Visual Studio 2012, Microsoft Visual Studio 2013 environments.
We have already started an activity to generate an API version that will be compliant with Microsoft Visual Studio 2015.
Please stay tuned.

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 15 Oct 2016, 14:44
by imperator132k
Hello,

I have been working very succesfully with the Unreal POC demo that has been provided for VS2013 and have managed to integrate this to a high level and expand greatly on it.

I was overjoyed when you released the C++ API for VS2015 and have just spent many times trying to compile the SmartFoxApi into a static library so that i can extend the POC to VS2015.

I have followed all the instructions and am able to compile this without errors into a static library.

When i go to use the new SmartFoxApi.lib and add "#include <SmartFox.h>" this is the error message i am recieving:

Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C4003: not enough actual parameters for macro 'check'

The SmartFoxApi.lib that was provided with the UE4 Poc worked perfectly.

Is there any way we could compile these libraries again and update the PoC demo to include use with the VS2015.

I am currently working on UE4 9.2 but the current Version is 13, this means there are alot of versions to be released since this was published.

I would like to get this compiled and put forward a tutorial system to integrate this into UE4 such as Genesis Rage has done for Unity, but am unable to continue until i can get the SmartFoxApi.lib working.

Regards

Imperator132k

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 20 Oct 2016, 01:32
by MBagnati
Hi,

In my opinion, there is a conflict between the check macro defined by Boost and that one defined in UE4.
I suggest you to edit the file trunk_api\Core\BoostAsio\Windows\boost\intrusive\slist.hpp to remove or rename the function

Code: Select all

void check() const


Best regards

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 20 Oct 2016, 21:39
by imperator132k
Thank you, I will try this and update

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 19 Jan 2018, 06:37
by tai65535
Are we going to have an updated version for UE4?

Will Mac be supported?

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 05 Jun 2020, 15:17
by diohun
Guys, pls update this concept too... and make one better doc, and support.... Thanks.

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 31 Oct 2020, 01:20
by jgwinner
Is Unreal supported?

I have two applications with 1400+ confirmed users, just today. Would love to use Unreal for this.

I need a commercially supported solution. Can Smart Fox Server work?

== John ==

Re: [NEW] Unreal Engine 4 Proof of concept

Posted: 04 Nov 2020, 16:54
by Lapo
Sorry,
we only support Unreal via the C++ client API which are not in active development.

Cheers