Questions tagged [smartfoxserver]

A multiuser server platform for developing and running multiplayer games

SmartFoxServer is the core product of the SmartFox platform.

It's a comprehensive SDK for rapidly developing multiplayer games and applications with Adobe Flash/Flex/Air, Unity, HTML5, iOS, Windows Phone 8, Android, Java, Windows 8, C++ and more.

SmartFoxServer is available in three different editions:

  • Basic
  • Pro
  • 2X
114 questions
0
votes
1 answer

How to fix a NoClassDefFoundError?

I haven't worked with Java in about 10 years, so it's very probable I'm doing something elementary wrong here... I am writing a "server-side extension" for SmartFoxServer (SFS). In my login script, I need to make a connection to MS SQL Server,…
Shaul Behr
  • 36,951
  • 69
  • 249
  • 387
0
votes
1 answer

InitCrypto fails - unable to enable SSL in Unity Smartfox client

The code I'm using is SFS's Unity sample code - that is, just a proof of concept. The server is SFS 2.13.0. Here are the things I've done. Enabled encryption in the zone configuration (true). Originally used a Let's…
FreeBird
  • 691
  • 1
  • 8
  • 18
0
votes
1 answer

AS3 Library Incompatibilities

Background: I am writing a flash game and have encountered a problem. I have been using Polygonal's AS3 Data Structures (http://code.google.com/p/polygonal/wiki/DataStructures) without any issues. I have recently added SmartFoxServer 2X support to…
Aaron Cowie
  • 105
  • 1
  • 1
  • 8
0
votes
1 answer

Firestore Null Pointer Exception on firestoreoptions.getService

Hi i am using SmartFoxServer with a Java extension. Inside that extension i am trying to get firestore instance. Below is the code i am using to connect to service that is working fine inside IDE (Eclipse). but when i deploy my extension on…
Faisal Asif
  • 199
  • 2
  • 15
0
votes
3 answers

error: bad class file...com/smartfofserver/openspace/OpenSpaceExtension.class .... class file has wrong version 50.0, it should be 49.0

I am getting an error : "bad OpenSpaceExtention.class file which is imported from com.smartfofserver/openspace.OpenSpaceExtension; and ..... class file has wrong version 50.0, should be 49.0" While running ant which for to generate…
seenu
  • 11
  • 1
  • 2
0
votes
1 answer

Smartfoxserver2x handling response synchronization from different Threads

A separate running Thread that are handling Rooms and Users in queue to pick 2 players after client initiates search request The following is the scenario which I am really concered about and not quite understand wheather or not I am in the right…
Kenshin
  • 1,030
  • 2
  • 12
  • 41
0
votes
4 answers

Stop thread from other class

i'm trying to stop a specific Thread that implement Runnable. I already try a few things that i found while googling it, but still can't find the best answer. I have two Class. 1st is Timer. This class will create a countdown. It will send a result…
Matthew
  • 3
  • 5
0
votes
1 answer

iOS delegate method in framework

We are implementing a iOS framework which will be used by third-party developers. This framework need to provide few screens for user login(LoginView) and profile. Framework has a Helper class where it interacts with server APIs, e.g connect(),…
Swamy
  • 771
  • 1
  • 8
  • 24
0
votes
1 answer

'Connecting...' Smartfoxserver 2

When i try to launch an example it just says 'Connecting...' I've set my server IP to be 127.0.0.1 which is default obviously and it's also set to connect to that with the port 3993 and I've also tried the default one but still no luck. I've also…
0
votes
1 answer

Unity3d/SmartFoxServer Parse ISFSArray

I am passing an array from my SmartFoxServer extension to my Unity3d game but I am having a hard time parsing. Here is how I send it in my extension: SFSObject resObj = new SFSObject(); ISFSArray myArray= new…
jason
  • 3,821
  • 10
  • 63
  • 120
0
votes
1 answer

Unity3d When to use Single_Instance class

I have a project that is multiplayer and uses SmartFoxServer. I am writing a server extension but not sure what the best practice is. I am seeing some odd behavior and I am not sure if this is due to how I have my classes set up. In my extension,…
jason
  • 3,821
  • 10
  • 63
  • 120
0
votes
0 answers

Smartfoxserver2x + spring + hibernate?

I want to create a project using smartfoxserver2x with spring framework and hibernate. But I can't find how to use spring and hibernate in smartfoxserver2x. Could someone help me? I had put these code in the init method that I found on other…
W.Mike
  • 1
  • 2
0
votes
1 answer

SmartFoxServer with Unity Logging issue

I have a question about how Debug.Log works in Unity, with SmartFoxServer. I am writing a multiplayer game. The game will always have four players. Due to issues with Unity/Visual Studio, I cannot use the Visual Studio Debugger (It crashes Unity…
jason
  • 3,821
  • 10
  • 63
  • 120
0
votes
1 answer

How to get User by id and disconnect User

This is my code. But user = null How to get user by id and disconnect user? Zone zone = (Zone)event.getParameter(SFSEventParam.ZONE); User user = zone.getUserById(1); this.getApi().disconnectUser(user,ClientDisconnectionReason.IDLE);
mango
  • 1
  • 4
0
votes
1 answer

How many concurrent connections can support a Jelastic node?

I'm using Jelastic and smartfoxserver 2x for a multiplayer server. I want to know if there is a limit to the concurrent tcp socket connections.