C++ GAME DEVELOPERS WANTED

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
Bax
Site Admin
Posts: 4341
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ GAME DEVELOPERS WANTED

Postby Bax » 23 Nov 2016, 09:58

anhdht wrote:Hi Bax, I'm rewriting SpaceWar with cocos2dx. I'm not sure if it's interesting in you?

This sound interesting. Please contact us by email, so we can further discuss your project details. Thanks.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4341
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ GAME DEVELOPERS WANTED

Postby Bax » 19 Apr 2017, 14:47

The second game sent by a third-party developer is available in our C++ examples package.
Read the details in this post: viewtopic.php?f=34&t=19499
Paolo Bax
The SmartFoxServer Team
koiseptember
Posts: 1
Joined: 22 Jul 2017, 06:17

Re: C++ GAME DEVELOPERS WANTED

Postby koiseptember » 22 Jul 2017, 06:19

When I open Simple Chat (VS2012) in VS2012. It throws "Cannot open include file " boost/container/string.hpp". No such file error." Although I point to exactly string.hpp location on my computer, more and more such error throws. Can someone tutor me set up Cpp example? Thanks so much!

goldenslot
MBagnati
Posts: 125
Joined: 12 Feb 2013, 10:57

Re: C++ GAME DEVELOPERS WANTED

Postby MBagnati » 23 Jul 2017, 17:48

Hi,
SimpleChat sample has been designed to use SmartFox API.
SmartFox API are based on Boost library.

SimpleChat project's settings contain the declararion for both include and library paths for SmartFox API and Boost library.

Please, edit "Additional Include Directories" item in "Configuration Properties / C/C++ / General" to replace suggested
..\..\..\trunk_api\Core\BoostAsio\Windows
with the path where you have the Boost library

Edit "Additional Library Directories" item in "Configuration Properties / Linker / General" to replace suggested
..\..\..\trunk_api\Core\BoostAsio\Windows\stage\lib
..\..\..\trunk_api\Deploy\VisualStudio2012\Debug
with the paths where you have the Boost library and the SmartFox API
Heaven
Posts: 10
Joined: 28 Jun 2017, 21:07

Re: C++ GAME DEVELOPERS WANTED

Postby Heaven » 11 Oct 2017, 13:59

I'm not sure what I made fits in the category so I'll just leave it here.

A few month ago after I had tried making SFS work with UE4 I came to the conclusion it just wouldn't work out of the box, UE4 doesn't allow RTTI while SFS client API needs it to function.

To get around this limitation I wrote a full plugin for UE4 as means of implementation of the SFS API, as it stands, it needs much further testing but I've successfully logged in from a game instance. I would say around 80-90% of the API functionality is working (there's still some work to do on it but those are not atm priorities for me). To note one of the huge problems is that boost libraries can not be used inside of the UE4 project so it is all working through Interfaces.

Also I'm not a specially experienced C++ developer so excuse me for any less than optimal code, it is released under MIT License so feel free to use it and if interested contribute.

Project page: https://gitlab.com/FlyingCookiePublic/SFSPlugin

p.s. I'll add some instructions on how to make it work, hopefully till the next week

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 15 guests