Search found 126 matches

by MBagnati
25 Nov 2015, 15:06
Forum: SFS2X Questions
Topic: how to use smart fox c++ for iOS/OSX ?
Replies: 14
Views: 16192

Re: how to use smart fox c++ for iOS/OSX ?

Hi, I am not sure to have understood all points...I try to answer... You say that you are able to build the library, so I assume that you have built the SmartFox API Library and problems regard only its usage in a consumer project. In this scenario, I have not understood your notes Add all SmartFox ...
by MBagnati
12 Nov 2015, 06:34
Forum: SFS2X C++ API
Topic: C++ disconnect sequence incorrect?
Replies: 2
Views: 9716

Re: C++ disconnect sequence incorrect?

Hi,
thanks for your feedback.
I have read the suggested software changes and I think that they are good.
I will include these changes into the next API release.

Thanks again for your kind collaboration and your excellent work
by MBagnati
10 Nov 2015, 23:31
Forum: SFS2X Questions
Topic: how to use smart fox c++ for iOS/OSX ?
Replies: 14
Views: 16192

Re: how to use smart fox c++ for iOS/OSX ?

Hi, I have set an OSX Yosemite environment with XCode 7. I have successfully built SmartFox C++ API, these the main steps: ⋅  Get API files from SmartFox website ⋅  Launch a Mac Terminal. Move to folder [api_folder]/Core/BoostAsio/Unix and run command chmod -R a+rwx+X ./ ⋅&n...
by MBagnati
22 Oct 2015, 21:29
Forum: SFS2X C++ API
Topic: Smartfox C++ Api and cocos2d-x with Window phone 8, 8.1 ...
Replies: 8
Views: 17984

Re: Smartfox C++ Api and cocos2d-x with Window phone 8, 8.1

Hi, In these days I have done some test about the usability of API C++ in Windows Phone environment. The results of these test, seem say that this is not a good path at the moment. The main issue is that API C++ is based on Boost library and other minor components that are not ready today to be port...
by MBagnati
14 Oct 2015, 22:04
Forum: SFS2X C++ API
Topic: Smartfox C++ Api and cocos2d-x with Window phone 8, 8.1 ...
Replies: 8
Views: 17984

Re: Smartfox C++ Api and cocos2d-x with Window phone 8, 8.1

Hi,
I am investigating the updating to the latest Boost version in order to have an API built for Window Phone.
I am also verifying the behaviour of API in Window Phone environment.
I am sorry for the delay, but I need of some few days.
I hope to give you good news soon, please stay tuned

Thanks
by MBagnati
09 Oct 2015, 23:21
Forum: SFS2X C++ API
Topic: Crash reports
Replies: 18
Views: 34309

Re: Crash reports

Hi, I have done an intensive test session to try to reproduce the crash #1. I have emulated an high-volume data exchange...random disconnections required from client...random TcpIp fall down...etc.etc... Unfortunately all tests have returned a positive feedback, I have not seen any crash :-( I have ...
by MBagnati
07 Oct 2015, 23:14
Forum: SFS2X C++ API
Topic: Crash reports
Replies: 18
Views: 34309

Re: Crash reports

Hi, I try to add some notes & hypotheses about "Crash 1" that occurs in ThreadManager::ProcessItem. ⋅  To reproduce the crash, I am working with API rel. 1.6.1 updated with deadlock's fix described in http://www.smartfoxserver.com/forums/viewtopic.php?f=34&t=18054 I confi...
by MBagnati
21 Aug 2015, 10:31
Forum: SFS2X C++ API
Topic: Possible Deadlock in C++ API?
Replies: 2
Views: 9581

Re: Possible Deadlock in C++ API?

Thanks for reporting.
You are right, API goes in deadlock state when described scenario occurs.
The fix that you suggest is good, it will be included into next API release.
In the meanwhile, apply your fix to your API version.

Thanks for your help.
by MBagnati
26 Mar 2015, 13:13
Forum: SFS2X C++ API
Topic: C++ API v1.1.6 released
Replies: 2
Views: 8694

Re: C++ API v1.1.6 released

Hi, Due to an error, the zlibvc project for Visual Studio 2013 has been delivered as previous Visual Studio 2012 version. When there is only Visual Studio 2013 installed on the Pc, the system shows the message that you have seen. You can update by yourself the zlibvc project following these steps: &...
by MBagnati
19 Mar 2015, 13:35
Forum: SFS2X C++ API
Topic: SFSEvent::UDP_INIT() not firing.
Replies: 2
Views: 6786

Re: SFSEvent::UDP_INIT() not firing.

Hi, To investigate the issue, I have modified the SimpleChat example in this way: 1) Editing the MainFrm.h file to add the declaration of a new method static void OnSmartFoxUdpInit(unsigned long long ptrContext, boost::shared_ptr<BaseEvent> ptrEvent); among private members of CMainFrm class. This is...
by MBagnati
16 Mar 2015, 07:42
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13324

Re: Crash when connection retry

Hi, To investigate the issue, I have done these tests: Test #1 I have disabled the wi-fi network card from Windows panel "Network Connections". Then I have started the SimpleChat sample. Of course, SimpleChat is not able to connect to SmartFox Server (because the wi-fi network is disabled)...
by MBagnati
11 Mar 2015, 11:22
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13324

Re: Crash when connection retry

Hi, I am not able to reproduce your crash. Could you give me additional info about the context where you call Dispose? Please take a look at SimpleChat sample. Are you able to get the crash using this sample? In this sample the Dispose is called inside the OnDestroy of main window and, on my compute...
by MBagnati
11 Mar 2015, 01:03
Forum: SFS2X C++ API
Topic: Crash when connection retry
Replies: 7
Views: 13324

Re: Crash when connection retry

Hi, About the issue #1, please implement the following fix. Open file SmartFox.cpp and move at the begin of method SmartFox::Reset() Here, insert these statements if ((bitSwarm != NULL) && (bitSwarm->ReconnectionSeconds() > 0)) { return; } So, updated method will be void SmartFox::Reset() { ...
by MBagnati
10 Mar 2015, 16:57
Forum: SFS2X C++ API
Topic: Issue when other user leaves room
Replies: 2
Views: 6942

Re: Issue when other user leaves room

Hi, The user counter goes to 0 due to a software mistake. To fix the error please edit the file Entities\SFSRoom.cpp In this file move the statements this->userManager = boost::shared_ptr<IUserManager>(); this->roomManager = boost::shared_ptr<IRoomManager>(); from method SFSRoom::Dispose() to SFSRoo...
by MBagnati
07 Jan 2015, 01:44
Forum: SFS2X C++ API
Topic: How to get UserVariable in OnUserVarsUpdate
Replies: 5
Views: 11301

Re: How to get UserVariable in OnUserVarsUpdate

Hi prince_hao To enumerate changed vars you can follow these steps: ⋅  Register a listener for USER_VARIABLES_UPDATE event For instance this statement declares the method OnSmartFoxUserVariablesUpdate of CMyClass as event listener m_ptrSmartFox->AddEventListener(SFSEvent::USER_VARIABLES_UP...

Go to advanced search