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
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
This is the last chapter of our two part series dedicated to managing NPCs. Make sure to review our first chapter if you haven’t already done so.
The topic of managing NPCs in games is an interesting and less discussed one. In this article we’re going to cover some concepts and strategies to work with NPCs in our multiplayer game, focusing on different modalities of interaction with real players and the game environment.
In this article we’re going to analyze a few strategies to serialize game state data between client and server, and discuss the pros and cons of each approach. Continue reading
In this article we’re going to address yet another oft-asked question regarding how SmartFoxServer uses memory and how to read the graph in the AdminTool’s Dashboard. Continue reading
Often times server-side code requires a number of configuration parameters that can be easily tweaked without recompiling and re-deploying the Extension. In this article we will show a useful and little known feature of SFS2X’s Extensions. Continue reading
Recently we have announced a new partnership with cloud provider Jelastic to offer efficient and scalable cloud hosting for SmartFoxServer at very affordable prices.
In this article we’re going to explore the advantages of combining the two services, especially the ease of fine tuning the expenditure, which can be paramount for startups and independent game developers.