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.
[NEW] Unreal Engine 4 Proof of concept
Moderators: Lapo, Bax, MBagnati
-
- Posts: 6
- Joined: 05 Jan 2016, 16:18
Re: [NEW] Unreal Engine 4 Proof of concept
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
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
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.
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.
-
- Posts: 6
- Joined: 05 Jan 2016, 16:18
Re: [NEW] Unreal Engine 4 Proof of concept
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
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
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
Best regards
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
-
- Posts: 6
- Joined: 05 Jan 2016, 16:18
Re: [NEW] Unreal Engine 4 Proof of concept
Thank you, I will try this and update
Re: [NEW] Unreal Engine 4 Proof of concept
Are we going to have an updated version for UE4?
Will Mac be supported?
Will Mac be supported?
Re: [NEW] Unreal Engine 4 Proof of concept
Guys, pls update this concept too... and make one better doc, and support.... Thanks.
Re: [NEW] Unreal Engine 4 Proof of concept
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 ==
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
Sorry,
we only support Unreal via the C++ client API which are not in active development.
Cheers
we only support Unreal via the C++ client API which are not in active development.
Cheers
Re: [NEW] Unreal Engine 4 Proof of concept
SFS2X_API_Cpp_v1.7.5 does not work in Unreal Engine 4.27. What should I do if I want to use it in UE4.27? The official example is too old to be used correctly ?
Re: [NEW] Unreal Engine 4 Proof of concept
Hi,
the C++ API are not officially maintained by us. It's just too much work to check them against every possibile combination of platform/OS/architecture and game engines. Most of our users work with Unity, Javascript and mobile platforms so that's where we put more of our client side resources.
All we can do is offer the source code and several usage examples so you can download them and experiment with your game-engine and dev tools of choice. Most of the compilation issues you will find (if any) are usually solvable with a few searches online, but we understand that this may not for everyone, although C++ devs are mostly used to this due to the nature of the language.
the C++ API are not officially maintained by us. It's just too much work to check them against every possibile combination of platform/OS/architecture and game engines. Most of our users work with Unity, Javascript and mobile platforms so that's where we put more of our client side resources.
All we can do is offer the source code and several usage examples so you can download them and experiment with your game-engine and dev tools of choice. Most of the compilation issues you will find (if any) are usually solvable with a few searches online, but we understand that this may not for everyone, although C++ devs are mostly used to this due to the nature of the language.
Who is online
Users browsing this forum: No registered users and 17 guests