Search found 35 matches

by zynbasil
24 Dec 2016, 17:23
Forum: SFS2X Questions
Topic: IOS 10.2 c++ can not connect server
Replies: 2
Views: 900

Re: IOS 10.2 c++ can not connect server

Thanks ~
It's client code error. Server is Fun.

Solved :D :D :D
by zynbasil
13 Dec 2016, 07:30
Forum: SFS2X Questions
Topic: IOS 10.2 c++ can not connect server
Replies: 2
Views: 900

IOS 10.2 c++ can not connect server

HELP!!!!!!!!!!!!! Iphone update to 10.2,can not connect server. error: Boost asio host not found std::shared_ptr<string> SmartFox::GetIPAddress(string host, long int port, bool asnc/* = false*/) tcp::resolver::query query(tcp::v4(), host, *portAsString);
by zynbasil
07 Dec 2016, 07:11
Forum: SFS2X Questions
Topic: Sender is not a User Why?
Replies: 8
Views: 1920

Re: Sender is not a User Why?

As anhptoe said, this indicates that your client code is sending requests prior to having logged in or, alternatively, after a LOGIN_ERROR. In either case a client is not allowed to send requests if he's not successfully logged in. Make sure to double check your client code for those two states. Th...
by zynbasil
06 Dec 2016, 15:01
Forum: SFS2X Questions
Topic: Sender is not a User Why?
Replies: 8
Views: 1920

Re: Sender is not a User Why?

Thanks~
by zynbasil
06 Dec 2016, 06:37
Forum: SFS2X Questions
Topic: Sender is not a User Why?
Replies: 8
Views: 1920

Sender is not a User Why?

HI: when user reconnect:"Extension Request refused. Sender is not a User " why? User login: { Zone: slots }, ( User Name: faecdcb4969b7f98023167dd89d46de3f6ed9dea, Id: 49916, Priv: 0, Sess: 172.31.46.150:56097 ) , Type: C++ API 06 Dec 2016 | 06:34:09,599 | WARN | com.smartfoxserver.v2.cont...
by zynbasil
24 Aug 2016, 01:25
Forum: SFS2X Questions
Topic: sender.getIpAddress() Can not get correct IP
Replies: 1
Views: 767

sender.getIpAddress() Can not get correct IP

In amazon aws:

client->LOAD BALANCING->sfs2x(in EC2)

public void handleClientRequest(User sender, ISFSObject params)
sender.getIpAddress() is LOAD BALANCING IP ,not client IP

help~
by zynbasil
03 Jun 2016, 02:18
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

zynbasil wrote:
Lapo wrote:It may be that the Boost shipped with the API have some issue with iOS 9?
If that's the case one could try to download a more up to date version of Boost and compile that instead.


ok,I will try boost 1.61.0.


also random crash on 1.61.0
by zynbasil
03 Jun 2016, 01:24
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

Lapo wrote:It may be that the Boost shipped with the API have some issue with iOS 9?
If that's the case one could try to download a more up to date version of Boost and compile that instead.


ok,I will try boost 1.61.0.
by zynbasil
31 May 2016, 09:46
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

I write a simple. also crash (random crash) xcode 7 cocos2dx 3.8.1 simulator(not crash) iphone6(crash) when iphone6 connect xcode to debug (will easy crash) when iphone6 disconnect xcode , run the test (will not easy crash) the message client log:(few times will crash) recv msgres from server : Hell...
by zynbasil
31 May 2016, 03:52
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

when you test client c++ on iphone6,will crash?
by zynbasil
31 May 2016, 03:24
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

new crash signal SIGABRT I do not know why this place will crash~~~ boost::shared_ptr<vector<unsigned char> > data (new vector<unsigned char>(utfBuffer)); *************************************** #10 0x00000001004a3270 in Sfs2X::Util::ByteArray::WriteUTF(boost::shared_ptr<std::__1::basic_string<char,...
by zynbasil
31 May 2016, 02:49
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

new crash EXC_BAD_ACCESS #0 0x0000000100103124 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::shared_ptr<void> >, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1...
by zynbasil
31 May 2016, 02:32
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

New crash signal SIGABRT #10 0x00000001001354cc in std::__1::__allocate(unsigned long) [inlined] at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:168 #11 0x00000001001354c4 in std::__1::allocator<unsigned char>::allocate(unsigned long, v...
by zynbasil
31 May 2016, 02:25
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

Can you reproduce it all the times?
[No ~~ Random crash]

Does the connection and login work okay prior to sending the Ext. request?
[Work fun, can sand request normally]
by zynbasil
30 May 2016, 10:04
Forum: SFS2X C++ API
Topic: xcode7 ios 64bit crash
Replies: 25
Views: 7238

Re: xcode7 ios 64bit crash

when I login to server, then I do nothing(only send extension request and receive),few times later~~~~crash! xcode7 cocos2dx 3.8.1 iphone6 signal SIGABRT #10 0x00000001003bbe1c in Sfs2X::Controllers::ExtensionController::HandleMessage(boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) at /Users/zynbasil/...

Go to advanced search