[[ NEW ]] RC1a update available

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

[[ NEW ]] RC1a update available

Post by Lapo »

Good news everyone :)
We have an update for RC1 which provides fixes for a number of bug reports that were discussed in the board recently.

Download update RC1a

Make sure to review the instructions provided in the README file inside the package.

Ciao
Last edited by Lapo on 17 Jan 2011, 16:29, edited 2 times in total.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Release notes:

Client Actionscript 3
Fixed: bug with RoomVariables not being correctly returned by getRoomVariable() method

Client Unity
Fixed: performance problem on sending large data due to slow debug logging
Fixed: added safety check on checking UdpInited when one had not initiated UdpManager. Could potentially throw NRE

Server
Fixed: problem with User queue not being emptied correclty under a specific circumstance (massive message bursts). Provides significant performance boost.
Fixed: hidden variables being transmitted incorrectly to clients
Fixed: minor config tool bug with Room creation
Fixed: NPE fired by WordFilter when in WHITE_LIST mode
Fixed: RoomExtension with no ServerEvent handlers caused NPE on destroy()
Refactored: SFSEventType.USER_RECONNECT_SUCCESS to SFSEventType.USER_RECONNECTION_SUCCESS
Updated: Scala 2.8 is now the default instead of 2.7.x
Lapo
--
gotoAndPlay()
...addicted to flash games
tpenn
Posts: 95
Joined: 03 Aug 2010, 18:48

Post by tpenn »

Definitely saw a performance boost on my unity project. Thank you!
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

UPDATE:
We are also releasing a new real-time FPS game demo done in Unity with sources and white paper. The demo is still in beta but perfectly playable, we are finishing the white paper which will take some more time, but we were eager to release the game :D

The game demonstrates the new protocol at work, various multiplayer prediction techniques and of course the use of UDP packets for fast updates.

More details:
http://forums.smartfoxserver.com/viewtopic.php?t=9135


Image
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

The new update solved an error while reloading extensions too. thx :wink:
Whiskey
Posts: 45
Joined: 28 Oct 2010, 06:27
Location: The Netherlands
Contact:

Post by Whiskey »

Should the update work on linux as well? I did a quick test and the server won't start anymore. This is on Ubuntu 10.04.1 LTS (x86_64). No problems on my Windows machine. When I start with sfs2x.sh:

Code: Select all

09:37:42,423 INFO  [main] v2.SmartFoxServer     - Boot sequence starts...
09:37:42,491 INFO  [main] v2.SmartFoxServer     -
 _____ _____ _____    ___ __ __    _____ _____ _____ _____
|   __|   __|   __|  |_  |  |  |  | __  |     |     |_   _|
|__   |   __|__   |  |  _|-   -|  | __ -|  |  |  |  | | |
|_____|__|  |_____|  |___|__|__|  |_____|_____|_____| |_|

Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.wrapRefArray([Ljava/lang/Object;)Lscala/collection/mutable/WrappedArray;
        at gotoandplay.utils.defrag.DFResLoader.<init>(DefragResourceLoader.scala:149)
        at com.smartfoxserver.v2.SmartFoxServer.initLMService(SmartFoxServer.java:463)
        at com.smartfoxserver.v2.SmartFoxServer.initialize(SmartFoxServer.java:388)
        at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:173)
        at com.smartfoxserver.v2.Main.main(Main.java:31)
09:37:42,649 INFO  [Thread-0] managers.SFSZoneManager     - BuddyList saveAll...
If I start with ./sfs2x-service start, I get this in the log:

Code: Select all

19 Nov 2010 09:38:36,356 INFO  [main] smartfoxserver.v2.SmartFoxServer     - Boot sequence starts...
19 Nov 2010 09:38:36,416 INFO  [main] smartfoxserver.v2.SmartFoxServer     -
 _____ _____ _____    ___ __ __    _____ _____ _____ _____
|   __|   __|   __|  |_  |  |  |  | __  |     |     |_   _|
|__   |   __|__   |  |  _|-   -|  | __ -|  |  |  |  | | |
|_____|__|  |_____|  |___|__|__|  |_____|_____|_____| |_|

19 Nov 2010 09:38:36,459 INFO  [Thread-2] entities.managers.SFSZoneManager     - BuddyList saveAll...
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

This absolutely works under Linux 64. We have several machines running Ubunt 64 and the upgrade was perfectly smooth. I am clueless as to way that is happening to you.
I can assure you that by following the instructions provided there should be no problem whatsoever. Maybe that problem was already there before the update and you didn't notice it?
Lapo
--
gotoAndPlay()
...addicted to flash games
whelman
Posts: 14
Joined: 12 Apr 2006, 11:04

Also getting the error

Post by whelman »

We're getting the same error as Whiskey - but on a 32 bit machine. Verified the error by reverting to RC1 (working), upgrading to RC1a after stopping server and replacing /lib and /descriptors files (throws error), reverting back to RC1 files, server works again.

OS is CentOS 5.4
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Oh. I know what the problem is...
The name of the new scala libraries ( 2.8 ) is different so the file is not overwritten! The two libraries are then loaded and depending on the order in which they do you get that error. :(

Solution: after the update, just remove the scala.jar file.
I am sure it will solve the problem.

We'll re-upload the patch right away.
Lapo
--
gotoAndPlay()
...addicted to flash games
Whiskey
Posts: 45
Joined: 28 Oct 2010, 06:27
Location: The Netherlands
Contact:

Post by Whiskey »

Good call! That indeed fixes the problem :D
Post Reply