Search found 125 matches

by MBagnati
23 Jul 2017, 18:03
Forum: SFS2X C++ API
Topic: 1.7.3 C++ on UE4 Boost Libs wont compile
Replies: 16
Views: 4290

Re: 1.7.3 C++ on UE4 Boost Libs wont compile

Hi, I have rewritten the Unreal Engine proof of concept starting from a blank sheet. I have written the code for the last version of Unreal Engine (rel. 4.16) and VisualStudio 2015. The result of my work is a sample game that is successfully built by UE4 Editor and VisualStudio 2015 but it goes on f...
by MBagnati
23 Jul 2017, 17:48
Forum: SFS2X Questions
Topic: C++ GAME DEVELOPERS WANTED
Replies: 24
Views: 97788

Re: C++ GAME DEVELOPERS WANTED

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 "Con...
by MBagnati
04 Jul 2017, 16:48
Forum: SFS2X C++ API
Topic: 1.7.3 C++ on UE4 Boost Libs wont compile
Replies: 16
Views: 4290

Re: 1.7.3 C++ on UE4 Boost Libs wont compile

Hi, To fix the PublicMessageRequest error please try this suggestion: Edit SmartFox API file [api]\Util\Common.h at line 19 Change // ------------------------------------------------------------------- // Define alias to mark exported/imported library items // ---------------------------------------...
by MBagnati
09 Mar 2017, 08:41
Forum: SFS2X C++ API
Topic: Error Building C++ Unix Build
Replies: 13
Views: 3270

Re: Error Building C++ Unix Build

Hi, I do not know Raspberry Pi, but reading your sentences I think that the "File format not recognized" problem is due to a different target architecture selected to build your application and to build SmartFoxClientAPI library I reading that you are working with Eclipse Kepler in Ubuntu;...
by MBagnati
06 Mar 2017, 11:52
Forum: SFS2X C++ API
Topic: Need help to get data from RoomVariablesUpdate Callback
Replies: 5
Views: 1736

Re: Need help to get data from RoomVariablesUpdate Callback

Hi, Please try this code boost::shared_ptr<map<string, boost::shared_ptr<void>>> ptrEventParams = ptrEvent->Params(); boost::shared_ptr<void> ptrEventParamValueVars = (*ptrEventParams)["changedVars"]; boost::shared_ptr<vector<string>> changedVars = ((boost::static_pointer_cast<vector<strin...
by MBagnati
25 Feb 2017, 01:47
Forum: SFS2X C++ API
Topic: Need support for compiling on android
Replies: 12
Views: 5470

Re: Need support for compiling on android

Hi, I have not yet solved the issue, but I done some little steps along a way that sounds good, so I give you a little update. OpenSSL website provides the download of two different library versions: rel. 1.1.0 and rel. 1.0.2k To build library rel. 1.1.0 is required Perl rel. 5.10 (or above) To buil...
by MBagnati
24 Feb 2017, 09:29
Forum: SFS2X C++ API
Topic: Need support for compiling on android
Replies: 12
Views: 5470

Re: Need support for compiling on android

Hi, I have created a Windows Virtual Machine with Android Studio, Android NDK and MSYS/MinGW In this virtual machine I have installed OpenSSL 1.1.0e I think that this is all it is necessary to build OpenSSL on a Window PC for Android platform, but unfortunately I have an error due to PERL version of...
by MBagnati
20 Feb 2017, 14:59
Forum: SFS2X C++ API
Topic: Need support for compiling on android
Replies: 12
Views: 5470

Re: Need support for compiling on android

Hi, The image you have attached to your post, makes me assume that you are building the Boost library for Linux from a Windows environment. The builder of Boost thread is deducing that the building context is Windows, so it tries to use the Windows includes. For this reason it looks for <process.h>,...
by MBagnati
15 Feb 2017, 10:40
Forum: SFS2X C++ API
Topic: Error Building C++ Unix Build
Replies: 13
Views: 3270

Re: Error Building C++ Unix Build

Hi,

The LoginExample project is written for Eclipse on Windows (using MinGW)
It cannot be built in Ubuntu environment
In Ubuntu you can use this sample as guideline to write your own project
by MBagnati
12 Feb 2017, 22:35
Forum: SFS2X C++ API
Topic: Error Building C++ Unix Build
Replies: 13
Views: 3270

Re: Error Building C++ Unix Build

Hi, please try these steps: ⋅  Unzip the attachment align.zip into Core/BoostAsio/Unix/boost You must have the align folder obtained from decompression into Core/BoostAsio/Unix/boost as sibling of other existent folders like algorithm, archive, ... ⋅  Edit file Request/Game/JoinR...
by MBagnati
20 Oct 2016, 01:32
Forum: SFS2X C++ API
Topic: [NEW] Unreal Engine 4 Proof of concept
Replies: 6
Views: 5630

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

Code: Select all

void check() const


Best regards
by MBagnati
23 Sep 2016, 08:43
Forum: SFS2X C++ API
Topic: API 1.6.4 Example from docs2x not working
Replies: 6
Views: 2116

Re: API 1.6.4 Example from docs2x not working

Hi, I am sorry...you are right....there is an error in documentation. The UserVariable class is an abstract base class that is common to all "Variable" entities. An instance of this class cannot be created. To have an user variable you must use the SFSUserVariable item. The SFSUserVariable...
by MBagnati
23 Jun 2016, 08:49
Forum: SFS2X C++ API
Topic: Need support for compiling on android
Replies: 12
Views: 5470

Re: Need support for compiling on android

Hi,
I suggest you to verify if is defined BOOST_THREAD_PROVIDES_FUTURE.
I think that you have not BOOST_THREAD_PROVIDES_FUTURE and this can be the cause of compiler error

Please take a look at this post
http://www.smartfoxserver.com/forums/viewtopic.php?t=18274
by MBagnati
21 Jun 2016, 22:25
Forum: SFS2X C++ API
Topic: API 1.6. 3 supports IPV6 networks?
Replies: 6
Views: 3458

Re: API 1.6. 3 supports IPV6 networks?

I think that C++ Client API needs a little change to work with IPv6. Please modify method GetIpAddress contained into file SmartFox.cpp: replace tcp::resolver::query query(tcp::v4(), host, *portAsString); with tcp::resolver::query query(tcp::v6(), host, *portAsString); Let me know if this change res...
by MBagnati
01 Jun 2016, 07:15
Forum: SFS2X C++ API
Topic: SetUserPositionRequest
Replies: 2
Views: 1271

Re: SetUserPositionRequest

Hi,
You are right.
I have fixed the issue that will be enclosed into the next API release.

Thanks

Go to advanced search