[NEW] Unreal Engine 4 Proof of concept

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

User avatar
Lapo
Site Admin
Posts: 19759
Joined: 21 Mar 2005, 09:50
Location: Italy

[NEW] Unreal Engine 4 Proof of concept

Postby Lapo » 30 Jun 2015, 16:18

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.
Lapo
--
gotoAndPlay()
...addicted to flash games
imperator132k
Posts: 6
Joined: 05 Jan 2016, 16:18

Re: [NEW] Unreal Engine 4 Proof of concept

Postby imperator132k » 06 Jan 2016, 08:59

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
MBagnati
Posts: 125
Joined: 12 Feb 2013, 10:57

Re: [NEW] Unreal Engine 4 Proof of concept

Postby MBagnati » 06 Jan 2016, 11:26

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.
imperator132k
Posts: 6
Joined: 05 Jan 2016, 16:18

Re: [NEW] Unreal Engine 4 Proof of concept

Postby imperator132k » 15 Oct 2016, 14:44

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
MBagnati
Posts: 125
Joined: 12 Feb 2013, 10:57

Re: [NEW] Unreal Engine 4 Proof of concept

Postby MBagnati » 20 Oct 2016, 01:32

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
imperator132k
Posts: 6
Joined: 05 Jan 2016, 16:18

Re: [NEW] Unreal Engine 4 Proof of concept

Postby imperator132k » 20 Oct 2016, 21:39

Thank you, I will try this and update
tai65535
Posts: 3
Joined: 04 Jan 2018, 02:21

Re: [NEW] Unreal Engine 4 Proof of concept

Postby tai65535 » 19 Jan 2018, 06:37

Are we going to have an updated version for UE4?

Will Mac be supported?

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 1 guest