Category Archives: News

SmartFoxServer 2.14 is available!

SmartFoxServer 2X 2.14 is out with new features, bug fixes and a focus on improved performance for all http-related services. Especially the BlueBox and Websocket where you can expect a performance boost in the range of 60-100%.

Additionally we are launching the beta version of the new HTML5 AdminTool which will soon replace the old Flash-based version.

Continue reading

SmartFoxServer 2X and macOS Catalina

With the recent release of macOS Catalina (10.15) Apple has removed the support for legacy 32-bit applications which in turn has made several software inaccessible on the new OS.

If you’re planning on using SmartFoxServer 2X under macOS Catalina there are a couple of things that you need to know to ensure smooth sailing.
Continue reading

Security for HTML5 games

With SmartFoxServer 2X 2.13.4 we introduced websocket origin checks for HTML5 clients. What this mechanism does is essentially verify the provenance of the client against a white-list of domains configured by the server admin. If the client origin does not match any of the allowed domains the client connection is denied.

In this article we’ll demonstrate how to use and configure websocket origins in SmartFoxServer 2X and discuss the advantages and limitations of this security measure. We’ll also take a deeper look at the issue of cheating clients and propose several ideas to improve the security of your online game. Continue reading

New C# API v1.7.9 released

We just released v1.7.9 of the SFS2X C# client API for Unity / .Net / Mono / Universal Windows Platform.

What’s new:

  • Rewritten BlueBox client, using .Net 4.5.x classes.
  • Added support for BlueBox (tunneled) connection over HTTPS.
  • Added support for proxy settings for the BlueBox connection (not available under Universal Windows Platform).
  • Rewritten SmartFox.InitCrypto() method; now it doesn’t require to be run as a coroutine in Unity.
  • Unified .DLLs for Unity and .Net/Mono; now both environments can reference the same library.
  • Updated WebsocketSharp library for Unity WebGL builds.

…And we also fixed a WSS connection issue in Unity.

You can get the updated API at this url: https://www.smartfoxserver.com/download/sfs2x#p=client

Enjoy!

SFS2X multi-threading demystified

Often times articles in this blog are inspired by questions and issues raised by our users and this new entry is no exception. One aspect of SmartFoxServer that seems to intimidate developers is the multi-threaded environment behind custom Extensions, and the relative implications in terms of concurrency, scalability and performance.

In this new entry we’re going to demystify the subject and demonstrate how simple and painless is writing server side code, even when many other things are running concurrently. Continue reading