Search found 13 matches

by balder
17 Aug 2013, 07:31
Forum: SFS2X iPhone / iPad / OSX API
Topic: API version 1.1.7 Released
Replies: 10
Views: 5101

Re: API version 1.1.7 Released

Yes ,i have the same problem, when i build my program for the iphone5 or the ipad4. There is not problem when build for iphone4s
by balder
24 May 2013, 09:30
Forum: SFS2X C++ API
Topic: when release the next API???
Replies: 8
Views: 4148

Re: when release the next API???

you should call ProcessEvents() function in a update function. the smart fox dispatch the net messages in the ProcessEvents function
by balder
24 May 2013, 01:43
Forum: SFS2X C++ API
Topic: when release the next API???
Replies: 8
Views: 4148

Re: when release the next API???

about the pointers in the apis: why using the pointers. Using the value parameter is a good idea. i think the smartfox client api can make a copy of data from the client,not using the pointers from the client side,then the api side can using the memory pool to speed memory allocation! The speed pena...
by balder
24 May 2013, 01:41
Forum: SFS2X C++ API
Topic: when release the next API???
Replies: 8
Views: 4148

Re: when release the next API???

I meet the same problem. this is because the smartfox client api is dispatch events in background thread by default. you can't send the command to the cocos2d in the event handler,instead, you can make a command queue,that cocos2d can process in the main thread. Or you can make the smartfox client a...
by balder
19 May 2013, 03:30
Forum: SFS2X C++ API
Topic: Big Bug!!!
Replies: 4
Views: 2718

Re: Big Bug!!!

why using the pointers. Using the value parameter is a good idea. i think the smartfox client api can make a copy of data from the client,not using the pointers from the client side,then the api side can using the memory pool to speed memory allocation! The speed penalty is very small,or can saved b...
by balder
18 May 2013, 07:45
Forum: SFS2X C++ API
Topic: Big Bug!!!
Replies: 4
Views: 2718

Re: Big Bug!!!

the version is the latest version 0.9.5
by balder
18 May 2013, 05:27
Forum: SFS2X C++ API
Topic: Big Bug!!!
Replies: 4
Views: 2718

Big Bug!!!

Big Bug!!!!!! In c++ client api, why so many new ? many infos returned from the api is new . why not use the value ,not the pointers? Or, why not use stl 's smart pointer? The SFSRoom::PlayerList and SFSRoom::SpectatorList() for (iterator = userManager->GetUserList()->begin(); iterator != userManage...
by balder
28 Nov 2012, 11:04
Forum: SFS2X C# API
Topic: Unity Editor freezes everytime when connect to server.
Replies: 10
Views: 6287

Re: Unity Editor freezes everytime when connect to server.

Thanks very much. When i update to the latested unity version 4.0, It's ok. Seems it's Unity 's bug. Sorry for the delayed answer. We are not using the MD debugger here (for mostly historical reasons of it not having been supported earlier and MD sucking really bad). So I cannot give you any good hi...
by balder
14 Nov 2012, 13:04
Forum: SFS2X C# API
Topic: Unity Editor freezes everytime when connect to server.
Replies: 10
Views: 6287

Re: Unity Editor freezes everytime when connect to server.

I run Unity 3.5.6f4 on Mac at the moment; i don't see any particular crashes. Also I am not sure exactly what you are referring to when you say SDK version 1.0.5. Shouldn't this match the Unity version? Can you clarify which Unity Editor version do you use and which platform? Thanks It's wired. Did...
by balder
12 Nov 2012, 04:46
Forum: SFS2X C# API
Topic: Unity Editor freezes everytime when connect to server.
Replies: 10
Views: 6287

Re: Unity Editor freezes everytime when connect to server.

In the release notes :
Version 1.0.2
[FIX] Unity editor hanging due to thread termination not always being detected by latest version of Mono implemented by Unity.
Is that the Unity crash problem?

My client sdk is the lastest version 1.0.5 ,and the sample is the ObjectMovement.
by balder
12 Nov 2012, 03:43
Forum: SFS2X C# API
Topic: Unity Editor freezes everytime when connect to server.
Replies: 10
Views: 6287

Re: Unity Editor freezes everytime when connect to server.

I have exactly the same issue, even without MonoDevelop debugging. I guess it may have nothing to do with connect. Perhaps something is not closed properly when you stop the scene. I tried disconnect upon the application quit callback. Doesn't help. In the windows xp , the Unity with MonoDevelop At...
by balder
11 Nov 2012, 07:03
Forum: SFS2X C# API
Topic: Unity Editor freezes everytime when connect to server.
Replies: 10
Views: 6287

Unity Editor freezes everytime when connect to server.

The Unity Editor freezes every time when we use the MonoDevelop to debug the sample ObjectMovement. Here,I create a simple project , new a SmartFox object and Connect to the server. First time ,It's ok. Then i restart the scene in the Unity,The Unity Editor will freeze . The code is very simple , sm...

Go to advanced search