Hi All,
I want to port one of my game with SmartFoxServer,So that I It would be available for android as wel as device to play. What should I do for the same.
I am new so please help me .
Thanks
Starting With SamartFoxServer
-
- Posts: 15
- Joined: 18 Jun 2012, 07:56
Re: Starting With SamartFoxServer
Hello.
I suggest you to start by reading the documentation at http://docs2x.smartfoxserver.com/, to better understand what is SFS2X and how does it work. There are also some Android Examples, which you ay check for better understand how to integrate your project with SFS2X.
I suggest you to start by reading the documentation at http://docs2x.smartfoxserver.com/, to better understand what is SFS2X and how does it work. There are also some Android Examples, which you ay check for better understand how to integrate your project with SFS2X.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
-
- Posts: 15
- Joined: 18 Jun 2012, 07:56
Re: Starting With SamartFoxServer
Thanks For reply,
I reading doc .My question is only that if i have some game and i want it as multiplayer game through sfs2x could it possible ? I want to my few game that would be on server and user can play it as multiplayer game ,Ialso want to creat the data base for the player. Could itpossible ?
Thanks
I reading doc .My question is only that if i have some game and i want it as multiplayer game through sfs2x could it possible ? I want to my few game that would be on server and user can play it as multiplayer game ,Ialso want to creat the data base for the player. Could itpossible ?
Thanks
Re: Starting With SamartFoxServer
Yes, as I like to say, everything is possible. Now depending on your game's complexity, the harder will be the integration with a multiplayer environment (regardless of which multiplayer server you use).
SFS2X also supports multiple databases, you'll find more information about it on the documentation.
SFS2X also supports multiple databases, you'll find more information about it on the documentation.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
-
- Posts: 15
- Joined: 18 Jun 2012, 07:56
Re: Starting With SamartFoxServer
Hi Rjgtav,
I am trying to run the android connector example which is given .But i am getting "org.jboss.netty.channel.ChannelException: Failed to open a socket" exceptio when connect to sfs2x server. Can u help me.
Code is here :
SmartFox sfsClient;
private void connectToServer(final String ip, final int port)
{
showDialog(DIALOG_CONNECTING_ID);
final SmartFox sfs = sfsClient;
new Thread() {
@Override
public void run() {
try{
sfs .connect(ip, port);
}catch(Exception e){
Log.v("Shravan Tag exception", e.toString());
}
}
}.start();
}
Thanks
I am trying to run the android connector example which is given .But i am getting "org.jboss.netty.channel.ChannelException: Failed to open a socket" exceptio when connect to sfs2x server. Can u help me.
Code is here :
SmartFox sfsClient;
private void connectToServer(final String ip, final int port)
{
showDialog(DIALOG_CONNECTING_ID);
final SmartFox sfs = sfsClient;
new Thread() {
@Override
public void run() {
try{
sfs .connect(ip, port);
}catch(Exception e){
Log.v("Shravan Tag exception", e.toString());
}
}
}.start();
}
Thanks
Re: Starting With SamartFoxServer
Can you show the exact Exception you're getting? Plus the stack trace?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
-
- Posts: 15
- Joined: 18 Jun 2012, 07:56
Re: Starting With SamartFoxServer
exception=>org.jboss.netty.channel.ChannelException: Failed to open a socket.
exception.getcause()==> java.net.SocketException: socket failed: EACCES (Permission denied)
getmessage()==> failed to open socket
getStaktrace()==>[ Ljava.lang.StackTraceElement;41307160
exception.getcause()==> java.net.SocketException: socket failed: EACCES (Permission denied)
getmessage()==> failed to open socket
getStaktrace()==>[ Ljava.lang.StackTraceElement;41307160
-
- Posts: 15
- Joined: 18 Jun 2012, 07:56
Re: Starting With SamartFoxServer
Hi,
Now this problem is shotout . user permission was required in manifest file .But now socketlayer error is coming.I am trying to run simple connecter exampl ewhich is given by sfs2x site.
Thanks
Now this problem is shotout . user permission was required in manifest file .But now socketlayer error is coming.I am trying to run simple connecter exampl ewhich is given by sfs2x site.
Thanks
Re: Starting With SamartFoxServer
Again please post the full details of the error.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 43 guests