Hi, Lapo.
Thanks for the reply.
Where I can see a protocol you're talking about? Any docs/papers where is it noted?
On as3 side at least we don't have any exception.
Could you please test it on C# and JS side as well - as I just tested and they work well.
Thanks.
Cannot work with the server, it constantly kicks me out.
Re: Cannot work with the server, it constantly kicks me out.
Take a look at the examples provided in the Java and C# client API:
http://docs2x.smartfoxserver.com/api-do ... quest.html
http://docs2x.smartfoxserver.com/api-do ... 1fc4ac.htm
As I mentioned it's just a matter of wrapping all of your parameters inside a top SFSObject.
The only problem in your code is that you sent the result of a serialization to the client instead of wrapping it in an SFSObject.
Cheers
http://docs2x.smartfoxserver.com/api-do ... quest.html
http://docs2x.smartfoxserver.com/api-do ... 1fc4ac.htm
As I mentioned it's just a matter of wrapping all of your parameters inside a top SFSObject.
The only problem in your code is that you sent the result of a serialization to the client instead of wrapping it in an SFSObject.
Cheers
Re: Cannot work with the server, it constantly kicks me out.
Hi, Lapo.
Actually there is nothing in these examples related to the server code - it's just a client side examples.
I don't like the idea to wrap SFSObject into SFSObject - it sounds like a crap
And the approach I'm talking about works well for us on unity and web platforms.
Som it seems you cannot help me with this problem, so okay... Let's put some additional code upon your library...
Thanks for your time!
Actually there is nothing in these examples related to the server code - it's just a client side examples.
I don't like the idea to wrap SFSObject into SFSObject - it sounds like a crap
And the approach I'm talking about works well for us on unity and web platforms.
Som it seems you cannot help me with this problem, so okay... Let's put some additional code upon your library...
Thanks for your time!
Re: Cannot work with the server, it constantly kicks me out.
I've already explained exactly what is the problem, showing you the detailed breakdown of the protocol and pointed out where is the issue
Can't argue with opinions
RIght. It is surely simpler than just following the basic advice I gave you.
I don't like the idea to wrap SFSObject into SFSObject - it sounds like a crap
Can't argue with opinions
Let's put some additional code upon your library...
RIght. It is surely simpler than just following the basic advice I gave you.
Return to “SFS2X Java / Android API”
Who is online
Users browsing this forum: No registered users and 41 guests