In this brief article we’re going to take a look at what really happens when we shut down a device’s wifi or unplug the ethernet cable off of a computer. While intuitively one would expect the current connections to go down, this is likely not the case.
We are going to see why this happens and clarify a few misconceptions that arise when testing disconnection scenarios in a multiplayer game. Continue reading
A recent discussion on our support forum brought up the struggle of sending enough details to the log files when an Exception is caught on the server side. In this article we provide a few options to improve error reporting in your Extensions and avoid those puzzling, single-line errors. Continue reading
Learn how to configure the client and make your first connection
- Simple Chat
Learn how to create a basic chat environment for connected users
- Advanced Chat
Learn how to create a complete browser-based chat application featuring public chat messaging, Rooms management, private chat messaging and more
- Game Lobby
Learn how to create a “lobby” application where users can meet and invite each other to play games
All tutorials are available in our documentation website.
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
You may have heard of the Kotlin language before, but recently it has seen a big spike in popularity thanks to Google officially adopting it for Android development, alongside Java and C++.
Kotlin is an interesting statically typed language, developed by the good folks at Jetbrains, that shares many similarities with the likes of Scala and Swift. In a sense, it could be thought of the equivalent of Swift for the Java platform: a more modern, concise and safer language that runs in the JVM, fully interoperable with Java.
In the context of using Kotlin with SmartFoxServer nothing would be easier: the integration on both server side and client side is painless and it works out of the box with any SFS2X release.
Let’s take a closer look, shall we? Continue reading
In this recipe we will show how to create Rooms from your server side Extension. 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.