Search found 20928 matches

by Lapo
08 Feb 2020, 15:21
Forum: SFS2X C# API
Topic: UserVariablesUpdate: unknown user id
Replies: 1
Views: 115

Re: UserVariablesUpdate: unknown user id

Hi, no the event is not fired if that error occurs because, effectively, not variables where updated. This error can happen when a User disconnects but some of his previous requests are still in queue to be processed. Typically it's a matter of a few milliseconds and it's due to the asynchronous nat...
by Lapo
08 Feb 2020, 15:13
Forum: SFS2X Questions
Topic: Problems adding Firebase SDK to an extension
Replies: 2
Views: 647

Re: Problems adding Firebase SDK to an extension

[ Thread was moved in the correct section ] There seem to be some confusion here. You posted under the SFS1.x section but you're talking about SFS2X. As regards copying the library under SFS2X/lib/ it is correct. Make sure you're not also bundling the library in your Extension jar file. Also you don...
by Lapo
08 Feb 2020, 14:55
Forum: SFS2X Questions
Topic: Questions server security
Replies: 14
Views: 1077

Re: Questions server security

Hi, 1) Which encryption is better to use? (On the web they say SHA-512, but isn't it too heavy for performance and hardisk memory?) It depends what you need to do. SHA is an hashing algorithm, so it's only useful for certain operations. You can read this for more: https://medium.com/@zaid960928/cryp...
by Lapo
07 Feb 2020, 16:34
Forum: SFS2X Questions
Topic: Bottleneck on sending UDP packets
Replies: 9
Views: 770

Re: Bottleneck on sending UDP packets

UPDATE: We have finished a series of larger stress test on the update we're preparing for an official release during the next 7-10 days. To give you an idea, we have been testing on a quad-core Xeon E3-1578L w/ 32MB RAM, running 1700 CCU. The users are organized in game Rooms of 8 players, and each...
by Lapo
06 Feb 2020, 18:07
Forum: SFS2X Questions
Topic: godot + SFS2X
Replies: 2
Views: 500

Re: godot + SFS2X

Hi, I am not familiar with Godot. Our API have little to no relationship with a specific game engine, meaning that they simply become a dependency in your client side code, and they work the same way regardless of the engine you're using. using C++ SFS2X client or deep to native SFS2X iOS & Andr...
by Lapo
05 Feb 2020, 14:30
Forum: SFS2X Questions
Topic: SmartFoxServer Remote Access
Replies: 2
Views: 452

Re: SmartFoxServer Remote Access

Hi, instead of this: <socketAddresses> <socket address="0.0.0.0" port="9933" type="TCP"/> <socket address="127.0.0.1" port="9933" type="UDP"/> <socket address="127.0.0.1" port="9933" type="UDP"/> <socket addres...
by Lapo
03 Feb 2020, 15:40
Forum: SFS2X Questions
Topic: Bottleneck on sending UDP packets
Replies: 9
Views: 770

Re: Bottleneck on sending UDP packets

A quick update on the topic. We've been researching and experimenting with the DatagramChannel issue and have noticed that, generally speaking, this problem seems mostly unknown. What I mean by this is that, even though the Javadoc does include a comment relative to the single threadedness of the Da...
by Lapo
31 Jan 2020, 08:05
Forum: SFS2X Questions
Topic: UDP connection problem
Replies: 2
Views: 539

Re: UDP connection problem

Hi, the problem isn't the UDP flag, but rather the fact that the 1st call doesn't contain a reference to a Room and the second one does. When you pass a reference to a Room you're telling the server to route the Extension request to that specific Room. In other words in the first snippet the Ext. ca...
by Lapo
31 Jan 2020, 07:53
Forum: SFS2X Questions
Topic: Login error: The maximum number of concurrent users has been reached
Replies: 7
Views: 2215

Re: Login error: The maximum number of concurrent users has been reached

Hi, I also faced below mentioned issue in real server , actually i had 2000 CCU , but this message throws when around 840 players are there it happen some times , once the server restarted it works fine. but i need some clarification . Players are complain now The maximum number of concurrent users...
by Lapo
30 Jan 2020, 09:45
Forum: SFS2X Questions
Topic: Bottleneck on sending UDP packets
Replies: 9
Views: 770

Re: Bottleneck on sending UDP packets

Thanks.
We're working on an update patch which will also require at least a couple of days of stress testing.
We'll post an update next week.

Cheers
by Lapo
30 Jan 2020, 09:43
Forum: SFS2X Questions
Topic: Losing lots of users in short time
Replies: 1
Views: 514

Re: Losing lots of users in short time

You have already sent us multiple emails on this and we've already replied.
No need to duplicate the conversation.

Thanks
by Lapo
30 Jan 2020, 09:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SignUp Unexpected database Error
Replies: 1
Views: 501

Re: SignUp Unexpected database Error

Please show us the stack trace of the error.

Thanks
by Lapo
30 Jan 2020, 09:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Gender in smartfox
Replies: 1
Views: 55

Re: Gender in smartfox

Hi,
unfortunately this isn't a SmartFox related question. If you are not familiar with managing a database I'd recommend looking up a few basic tutorials for the DB you're using and starting from there.

Thanks
by Lapo
29 Jan 2020, 15:26
Forum: SFS2X Questions
Topic: How add a Spectator to Game Room
Replies: 5
Views: 594

Re: How add a Spectator to Game Room

The join code you are using is adding the User as player, not as spectators:
getApi().joinRoom(user, roomGame, "", false, roomGame, true, true);


Change the 4ht parameter (asSpectator) to true, to add the user as spectators instead.
by Lapo
29 Jan 2020, 15:19
Forum: Server Side Extension Development
Topic: how some method are called without object in java and without static
Replies: 2
Views: 286

Re: how some method are called without object in java and without static

Hi, this is code you have written, so you should now better than us :) There's only two main cases where you can call a method without specifying an object: 1) the method is part of the inheritance chain (i.e. it is part of one of the parent interfaces/classes) 2) the method was imported statically ...

Go to advanced search