This is the third and final chapter of our explorations with Kotlin and SmartFoxServer 2X. After building the first Kotlin extension in part one and creating a basic client app in part two we’re now completing the picture with a client/server example.
In the last article we’ve introduced Kotlin, a modern language for the JVM and now a Google approved language for Android development. We have shown how simple it is to use Kotlin on the server side to develop SmartFoxServer Extensions.
Now it’s the time to see how to integrate the SFS2X Java API with Kotlin to build a client application. Continue reading
SmartFoxServer 2X v2.12.4 is available for download as a patch to be installed on v2.12+.
This release fixes an issue with IPv6 addresses parsing and output to the logs.
You can download the update from here.
The SmartFoxServer 2X Administration Tool is now also available as a standalone macOS and Windows application.
You can get it here: http://www.smartfoxserver.com/download/sfs2x#p=extras
SmartFoxServer 2X 2.12 is out with a host of new features and fixes, such as:
- JoinRoomInvite, allows players to invite other clients in a game Room to play, available also from client side
- Private UserVariables, allow to create UserVariables that are local to the player, and not broadcast to other clients
- Updated Jetty version 9.3 for web services (BlueBox, uploads, crypto init)
- Support IP ranges for black/white lists in IP Filter
- AdminTool support for TLS encrypted connection
- Embedded Java 8 runtime
… and lots more!
You can read the full release notes and download the installer from here.
Also make sure to check the Client API download page where we have published updates for all supported clients (API release 1.7.x).
Over the last few years, the RunSocial mobile app has been under development featuring SmartFoxServer 2X and other innovative technologies. Recently, the app was approved by the American National Aeronautics and Space Administration (NASA) and the European Space Agency (ESA) for use on the International Space Station (ISS).
On April 24th 2016, Tim Peake of the European Space Agency completed the London Marathon, running the 42.2 km on a treadmill connected to RunSocial while circling the Earth about two and half times at an altitude of 400 km high, being visible to all other virtual concurrent runners.
SmartFoxServer proved to be a mature and robust solution for this task, thanks to its high performance and scalable messaging system in multi-user, realtime scenarios, a sensible structure for organizing application logic and a wide range of options to store, organize, and distribute users and data.
We have a new white paper available for download in our documentation website, called “SmartFoxServer 2X and Hazelcast integration“.
This is an advanced paper discussing how to integrate an in-memory data grid with multiple SmartFoxServer instances to create a fault tolerant system. The paper takes our classic Tris game example and explores ways of scaling it horizontally with multiple servers and a centralized data store.
Additionally we discuss ways to tackle the load balancing and how to restart interrupted games.
Vincent Blanchet of Chapatiz ported the AS3 client API of SmartFoxServer 2X to Haxe, making it publicly available on GitHub for community contribution. So we took the opportunity to open the “Unofficial client API” section on the API download page.
Take a look at the bottom of this page: http://www.smartfoxserver.com/download/sfs2x#p=client