Search found 126 matches

by MBagnati
02 Jul 2014, 23:35
Forum: SFS2X C++ API
Topic: Memory leaks in c++ api
Replies: 13
Views: 7500

Re: Memory leaks in c++ api

Thanks for your report.
I will follow your suggestions to investigate the issue.
I will improve the memory management in the next API version.

Thanks for your help
by MBagnati
02 Jul 2014, 23:23
Forum: SFS2X C++ API
Topic: Using domain name instead of IP address for BlueBox
Replies: 3
Views: 3111

Re: Using domain name instead of IP address for BlueBox

Hi,
I think that the software change that you suggest is good.
It will be included in the next API version.

Thanks for your help
Massimo
by MBagnati
02 Jul 2014, 23:20
Forum: SFS2X C++ API
Topic: Can't build the new Client API for C++ with boost 1.55.0

Replies: 2
Views: 3433

Re: Can't build the new Client API for C++ with boost 1.55.0

Hi Lynn, You can try to download Boost binary from http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/ Here there are Boost binaries for a wide range of Visual Studio versions. The download will give you an EXE file. Run it to get Boost DLLs in your file system Massimo
by MBagnati
12 Jun 2014, 10:31
Forum: SFS2X C++ API
Topic: Can't build the new Client API for C++ with boost 1.55.0

Replies: 4
Views: 4181

Re: Can't build the new Client API for C++ with boost 1.55.0

Hi, This is MBagnati. If problem is how build Boost library rel. 1.55 on iOS, I hope that these links can give you some usefull information: https://github.com/danoli3/ofxiOSBoost https://github.com/danoli3/ofxiOSBoost/tree/build-yourself https://gist.github.com/rsobik/7513324 In this forum there is...
by MBagnati
26 May 2014, 10:40
Forum: SFS2X C++ API
Topic: Could not get room join event
Replies: 21
Views: 8676

Re: Could not get room join event

Hi Doanh, Yes, you can remove the inheritance from boost::enable_shared_from_this in MMORoom class definition. It is an unnecessary duplication because, as you say, MMORoom is already derived from boost::enable_shared_from_this by SFSRoom parent class. It is strange that this is cause of a problem, ...
by MBagnati
21 May 2014, 11:23
Forum: SFS2X C++ API
Topic: Could not get room join event
Replies: 21
Views: 8676

Re: Could not get room join event

Hi Doanh, I have tried to create a test environment using the SimpleChat sample provided with C++ API. On SmartFoxServer I have two rooms: a normal room named "The Lobby" and a MMO room named "UnityMMODemo" Using SimpleChat sample I move from "The Lobby" to "UnityM...
by MBagnati
12 May 2014, 11:55
Forum: SFS2X C++ API
Topic: C++ for WP8
Replies: 4
Views: 3531

Re: C++ for WP8

I have called the b2 command with the option that declares the target architecture b2 -a toolset=msvc-11.0 threading=multi link=static address-model=32 architecture=arm runtime-link=shared --with-system stage instead of b2 -a toolset=msvc-10.0 threading=multi link=static runtime-link=shared --with-s...
by MBagnati
07 May 2014, 16:28
Forum: SFS2X C++ API
Topic: Could not get room join event
Replies: 21
Views: 8676

Re: Could not get room join event

Hi Doanh,
I am investigating the issue.
I will notify you as soon as possible

Best regards
Massimo
by MBagnati
30 Mar 2014, 10:47
Forum: SFS2X C++ API
Topic: Building library in Ubuntu (Eclipse)
Replies: 6
Views: 4734

Re: Building library in Ubuntu (Eclipse)

Hi, I have created a 64bit environment on my PC based on Linux Ubuntu 13.10 with latest Eclipse Kepler. I have got Eclipse from website http://www.eclipse.org I have got g++ by this terminal command apt-get install g++ I have got Java (required by Eclipse) by this terminal command sudo apt-get insta...
by MBagnati
25 Mar 2014, 19:08
Forum: SFS2X C++ API
Topic: Building library in Ubuntu (Eclipse)
Replies: 6
Views: 4734

Re: Building library in Ubuntu (Eclipse)

Hi, API was compiled in the past for a MAC 64bit environment (topic http://www.smartfoxserver.com/forums/viewtopic.php?f=34&t=16120 ) but I have no notice about anyone that uses Linux 64bit. I am starting to create a 64bit environment on my computer to investigate the issue to look for a solutio...
by MBagnati
19 Mar 2014, 00:45
Forum: SFS2X C++ API
Topic: Building library in Ubuntu (Eclipse)
Replies: 6
Views: 4734

Re: Building library in Ubuntu (Eclipse)

Hi, ...we have the same API files... ...we have the same Eclipse and the same CDT ... ...we do the same steps... :( but we have different results :( I think that there is another variable to check. I am using a Pc with Linux 32bit. Could be that you have a Linux 64bit? If it is, you must note that G...
by MBagnati
18 Mar 2014, 00:59
Forum: SFS2X C++ API
Topic: Building library in Ubuntu (Eclipse)
Replies: 6
Views: 4734

Re: Building library in Ubuntu (Eclipse)

Hi, To investigate the issue, I have repeated, on my Ubuntu machine (rel. 12.10) with Eclipse Juno, all steps described in chapter Linux/Unix — Eclipse Cygwin of http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp that are required to build the library . I have collected some screenshots ...
by MBagnati
18 Feb 2014, 13:53
Forum: SFS2X C++ API
Topic: Not able to Compile in VS 2013
Replies: 2
Views: 2800

Re: Not able to Compile in VS 2013

Hi, Let's start from client API . There is a mistake in post-build commands, when the build task generates its output. As temporary workaround, to avoid this problem and build client API with success, please follow these steps: ⋅  Download client API from our website, you will get the SFS2...
by MBagnati
02 Jan 2014, 20:02
Forum: SFS2X C++ API
Topic: Game crash when trying to connect without Internet
Replies: 3
Views: 3076

Re: Game crash when trying to connect without Internet

The client API has been designed to be a one shot API. This means that API must be re-initialized after each usage . With usage word, I mean a connection session with SmartFoxServer completed successfully or with error. So, the application must: 1) Create an API instance For instance: mySmartFoxInst...
by MBagnati
18 Nov 2013, 10:40
Forum: SFS2X C++ API
Topic: Login request response is different from the C++ API
Replies: 2
Views: 2305

Re: Login request response is different from the C++ API

Hi, To investigate the issue, I have done a login using the SimpleChat sample. SimpleChat subscribes the login event by CMainFrame::InitializeSmartFox method contained into MainFrm.cpp (see attached image Image01.png) When the login event is fired, the registered listener OnSmartFoxLogin is called. ...

Go to advanced search