[NEW] SFS2X 2.18.0 is available!
[NEW] SFS2X 2.18.0 is available!
We have just released SmartFoxServer 2X 2.18.0 which provides several library updates, new runtime, support for M1 Macs, extra features and bug fixes.
Please note: the new release comes as a standalone installer so it can’t be used to update a previous instance.
Download SFS2X 2.18.0 from here
Re: [NEW] SFS2X 2.18.0 is available!
Release Notes
Server side
Admin Tool
Server side
- [NEW] Native support for Apple's M1 chips.
[NEW] Java Runtime 11 is the default JRE now.
[NEW] Tomcat updated to version 9.0.55.
[NEW] Java Mail updated to version 1.6.2.
[NEW] GeoLite database updated to latest version.
[NEW] RoomStorage API now support a 'CUSTOM' type where you can pass your own implementation of the IRoomStorage interface.
[NEW] Added two extra methods to SFSBannedUserManager, getBannedUserByIp() and getBannedUserByName(), to find banned users.
[NEW] Send ROOM_CREATION_ERROR to client when exceeding the number of Rooms that can be created at once.
[NEW] Added new setting UseSSL in SFSMailer configuration.
[FIX] Missing default value (50sec) for userMaxLimboSeconds to CreateMMORoomSettings.
[FIX] Missing client side error when QuickJoin is invoked in a Zone with no Rooms.
Admin Tool
- [NEW] Added maxThreads and maxConnections parameters to Server Configurator module, Web server tab, for both HTTP and HTTPS Tomcat connectors.
[NEW] In Zone Monitor, added a "reason" field when banning a user.
[NEW] In all modules based on the UI Builder system, text inputs now have an increased width (varies with screen width).
[FIX] In Zone Configurator and Zone Monitor modules, when accessing the Zone or Room Extension settings, if the Extension's JAR file contains a very large number of classes, a client JavaScript error is thrown and the "Main class" dropdown remains empty.
[FIX] Under certain circumstances, all log lines in Log Viewer's Runtime Log tab are grouped in a single row in the table.
Re: [NEW] SFS2X 2.18.0 is available!
what about log4J hack issue?
Re: [NEW] SFS2X 2.18.0 is available!
The vulnerability that has been on everybody's mouth in the past few days is a Log4J 2.x issue.
We still use Log4J 1.x which is not affected.
Cheers
We still use Log4J 1.x which is not affected.
Cheers
Re: [NEW] SFS2X 2.18.0 is available!
Good news everyone! )
Cheers!
Cheers!
Re: [NEW] SFS2X 2.18.0 is available!
Lapo wrote:[NEW] RoomStorage API now support a 'CUSTOM' type where you can pass your own implementation of the IRoomStorage interface.
Yay! But how? There's no option to set a custom Storage class in the backend as for the Buddy Storage...
Cheers
Re: [NEW] SFS2X 2.18.0 is available!
@Luke64
1) create your custom class by implementing the IRoomStorage interface.
2) implement a custom config class by extending BaseStorageConfig.
Set the BaseStorageConfig.customStorageClassName to the fully qualified name of your implementation.
Example of usage:
Where LapoCustomStorage is my implementation of IRoomStorage, and LapoStorageConfig is the extended config class.
Hope it helps
p.s. = we'll publish a detailed blog post about this very soon.
1) create your custom class by implementing the IRoomStorage interface.
2) implement a custom config class by extending BaseStorageConfig.
Set the BaseStorageConfig.customStorageClassName to the fully qualified name of your implementation.
Example of usage:
Code: Select all
public class CustomRoomStorageExtension extends SFSExtension
{
@Override
public void init()
{
LapoStorageConfig config = new LapoStorageConfig();
config.strParam1 = "--> Hello";
config.strParam2 = " World --<";
config.customStorageClassName = "sfs2x.storage.custom.LapoCustomStorage";
getParentZone().initRoomPersistence(RoomStorageMode.CUSTOM, config);
}
}
Where LapoCustomStorage is my implementation of IRoomStorage, and LapoStorageConfig is the extended config class.
Hope it helps
p.s. = we'll publish a detailed blog post about this very soon.
Re: [NEW] SFS2X 2.18.0 is available!
Perfect, that helps. So I can replace my custom build RoomHandler class now.
Thanks!!
Thanks!!
Re: [NEW] SFS2X 2.18.0 is available!
Hi,
we have published more details about this here:
https://smartfoxserver.com/blog/custom- ... fs2x-2-18/
Cheers
we have published more details about this here:
https://smartfoxserver.com/blog/custom- ... fs2x-2-18/
Cheers
Who is online
Users browsing this forum: No registered users and 70 guests