import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Trixer
Posts: 5
Joined: 12 Sep 2016, 01:30

import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Postby Trixer » 12 Sep 2016, 01:32

Im trying to work off the space wars example and start customizing the server extension. The issue is that it seems like the json utility was taken out of a recent version of the api?

Is there anyway I can get this utility back or do you guys have a better way of doing this now?
User avatar
Bax
Site Admin
Posts: 4395
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Postby Bax » 12 Sep 2016, 07:56

What version of SFS2X are you using?
Paolo Bax
The SmartFoxServer Team
Trixer
Posts: 5
Joined: 12 Sep 2016, 01:30

Re: import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Postby Trixer » 12 Sep 2016, 22:51

Bax wrote:What version of SFS2X are you using?



The newest one. What version is the example targeted in? I felt like it was a versioning issue but I couldnt figure out which one the spacewars example was built on.


Its the server side api and I cant seem to find where to even download other versions!


*Edit*
In case you met this.. I am using the community edition.
Trixer
Posts: 5
Joined: 12 Sep 2016, 01:30

Re: import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Postby Trixer » 12 Sep 2016, 23:14

I patched and now have the correct version! Thanks!
User avatar
Bax
Site Admin
Posts: 4395
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: import com.smartfoxserver.v2.util.JSONUtil; Spacewars example

Postby Bax » 13 Sep 2016, 07:04

The latest version of the SpaceWar example is available in the Flash and Unity 5 examples packs on this page:
http://www.smartfoxserver.com/download/sfs2x#p=examples

Using the latest version of SFS2X is always recommended; the latest patch is available here:
http://www.smartfoxserver.com/download/sfs2x#p=updates
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 15 guests