Search found 20020 matches

by Lapo
14 Nov 2018, 15:45
Forum: SFS2X Questions
Topic: Custom Extension with out server side logic
Replies: 1
Views: 7

Re: Custom Extension with out server side logic

Hi, if you just need to send data from one client to another (or group of clients) you don't need to use Extensions. Extensions are supposed to trigger server side logic. Instead you need to use the ObjectMessageRequest from client side. It allows to send custom data to one or more users in a Room. ...
by Lapo
14 Nov 2018, 15:41
Forum: SFS2X Questions
Topic: Negative number of game rooms
Replies: 3
Views: 14

Re: Negative number of game rooms

Hi,
we've never seen something like this.
However I'd expect the total number of Rooms to be correct, at least.

Thanks
by Lapo
14 Nov 2018, 08:48
Forum: SFS2X Questions
Topic: Negative number of game rooms
Replies: 3
Views: 14

Re: Negative number of game rooms

Hi,
what version of SFS2X are you using please?

Thanks
by Lapo
13 Nov 2018, 18:19
Forum: SFS2X Questions
Topic: User disconnect after every few seconds
Replies: 5
Views: 16

Re: User disconnect after every few seconds

Interesting. Can you give us the IP of the server and Zone name to try and connect from our side?
If you prefer you can send them via private message.

Thanks
by Lapo
13 Nov 2018, 08:36
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Installing SmartFoxServer 1.x as a daemon
Replies: 1
Views: 15

Re: Installing SmartFoxServer 1.x as a daemon

Hi, I don't know it's possible, as SFS PRO is pretty old and not designed for the most recent Linux distros. You may try using the same doc for SFS2X and adapt it to the PRO to see if it works. Unfortunately we no longer support SFS PRO, besides security patches, so I would highly recommend moving t...
by Lapo
13 Nov 2018, 08:23
Forum: SFS2X Questions
Topic: User disconnect after every few seconds
Replies: 5
Views: 16

Re: User disconnect after every few seconds

Is SFS2X running in a dedicated hosting?
Are clients connecting from the same country?

Thanks
by Lapo
13 Nov 2018, 08:16
Forum: SFS2X Questions
Topic: User disconnect after every few seconds
Replies: 5
Views: 16

Re: User disconnect after every few seconds

Hi, it is very unlikely this is due to SFS2X. The server never disconnects anyone besides the timeout setting you've mentioned, and for that timeout there's a specific log message. It might be a network issue of some sort. Does it happen regularly for every connection? Or is it random? Thanks p.s. =...
by Lapo
13 Nov 2018, 08:08
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X.LoginRequest is not a constructor.
Replies: 9
Views: 344

Re: SFS2X.LoginRequest is not a constructor.

parichaygauss wrote:problem solved,by using local host in config.host i am able to login into zone.
but i have another question,
where can we find the user logged in log on server side logs ??

In the server side logs :)
Under SFS2X/logs/smartfox.log
by Lapo
12 Nov 2018, 15:26
Forum: SFS2X Questions
Topic: SFS2x and unity spawnpoints based on number of connected players
Replies: 1
Views: 8

Re: SFS2x and unity spawnpoints based on number of connected players

This is a photocopy of an existing post submitted 5 years ago:
viewtopic.php?t=15797

Why did you copy the same text?
by Lapo
12 Nov 2018, 14:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartFoxServer_1.6.6 / 1.6.18
Replies: 28
Views: 6672

Re: SmartFoxServer_1.6.6 / 1.6.18

Hi, I think it's a problem with the embedded database. It used to slow down the boot process on certain operating systems. If you don't need it you can turn it off from configuration. In any case, unless you're using SFS PRO for some specific reason, I would recommend using SmartFoxServer 2X instead...
by Lapo
12 Nov 2018, 09:58
Forum: SFS2X HTML5 / JavaScript API
Topic: WebAssembly module?
Replies: 2
Views: 18

Re: WebAssembly module?

Hi,
we'll look into the WASM format as it becomes more prevalent and supported on various devices.

I don't think the C++ API is a good candidate however as it depends on low-level libs (socket libs, threading libs etc...) which I suppose can't be ported.

Cheers
by Lapo
12 Nov 2018, 09:55
Forum: SFS2X Questions
Topic: returning BaseEvent object convert into int
Replies: 1
Views: 4

Re: returning BaseEvent object convert into int

Hi, the "params" object you obtain in the EXTENSION_RESPONSE event is an SFSObject containing the data you've sent from the server. Supposing the sum of the two number was sent with the key "result" you can extract it like this. ISFSObject params = (ISFSObject) event.getArguments...
by Lapo
11 Nov 2018, 17:23
Forum: SFS2X C# API
Topic: Animation Synchronization in Unity 2018
Replies: 1
Views: 29

Re: Animation Synchronization in Unity 2018

Hi, yes, the MMODemo synch is basic in its form as it is the first step in learning this sort of technique. It works fine for a number of games that don't require exact positioning, but for precise synching you need more sophisticated code. The next step would be to study an example such as the Spac...
by Lapo
08 Nov 2018, 08:36
Forum: SFS2X Questions
Topic: Java error while restarting Smartfox server
Replies: 5
Views: 49

Re: Java error while restarting Smartfox server

That's quite strange that it doesn't stop/restart when using the service command. Maybe you could try modify your Extension so that it doesn't start any client connections and then try the restart. If it works as expected then it's probably due to the client, though I still find it strange... Let us...
by Lapo
07 Nov 2018, 15:10
Forum: SFS2X Questions
Topic: Java error while restarting Smartfox server
Replies: 5
Views: 49

Re: Java error while restarting Smartfox server

Sounds strange, but maybe the client API connection is preventing the complete shutdown? You may try to detect the shutdown signal with a Shutdown hook and close the client connections. https://www.geeksforgeeks.org/jvm-shutdown-hook-java/ How are you restarting the server? Via the admin tool? Have ...

Go to advanced search