Search found 20125 matches

by Lapo
15 Jan 2019, 11:07
Forum: SFS2X Questions
Topic: Export Kotlin Extension from Eclipse
Replies: 1
Views: 22

Re: Export Kotlin Extension from Eclipse

Hi, (I moved your post in the correct section, since this is a request for SFS2X and you posted under SmartFoxServer PRO 1.x). If you are already familiar with how Eclipse works you should have no problem setting up the project as project management should work the same in Java and Kotlin. If you're...
by Lapo
15 Jan 2019, 11:03
Forum: SFS2X C++ API
Topic: Impossible to get an UDP connection
Replies: 6
Views: 44

Re: Impossible to get an UDP connection

Hi,
I was able to reproduce the problem locally on Mac, though Wireshark seems to show a correct UDP handshake, so I am not too sure what the problem might be at the moment. I've forwarded the issue to our C++ developer.

I'll keep you updated.

Thanks
by Lapo
15 Jan 2019, 10:04
Forum: SFS2X Questions
Topic: Serialized Classes
Replies: 1
Views: 13

Re: Serialized Classes

Hi,
it looks like the problem is the use of native arrays (such as string[]) in C# which are not supported.
Instead you should be using ArrayList or List<?>. See the docs here:
http://docs2x.smartfoxserver.com/Advanc ... ialization

In particular the type conversion table

Thanks
by Lapo
15 Jan 2019, 08:09
Forum: SFS2X Questions
Topic: Problem in Reconnection through HRC+
Replies: 6
Views: 856

Re: Problem in Reconnection through HRC+

Hi There, I am facing same problem, Can you please let me know the the solution. And my concern is player if switch off his wifi or by mistake if user click on plane mode then when it's again trying to reconnect with HRC+ then getting this same error Hi, here are two articles from our blog that exp...
by Lapo
14 Jan 2019, 15:38
Forum: SFS2X C++ API
Topic: Impossible to get an UDP connection
Replies: 6
Views: 44

Re: Impossible to get an UDP connection

This is kind of confusing. If the client crashes --> ok, since it's dead the server detects the disconnection and that's it. However in the logs you have posted, where the client does not crash, there is no login request. So, I am a little confused on the tests you're doing. It looks like they are n...
by Lapo
14 Jan 2019, 14:11
Forum: SFS2X C++ API
Topic: Impossible to get an UDP connection
Replies: 6
Views: 44

Re: Impossible to get an UDP connection

Hello, Server's log for the loging attempt that is failing is the following: 14:04:00,660 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 2, Type: DEFAULT, Logged: No, IP: 192.168.0.89:51397 } on Server port: 9933 <---> 51397 14:04:05,412 INFO [SFSWorker:Ext:4] api.SFSApi...
by Lapo
14 Jan 2019, 08:10
Forum: SFS2X Questions
Topic: Support of java 11
Replies: 4
Views: 138

Re: Support of java 11

Hi,
the plan is to ship the next update with Java 11, provided there aren't major show stoppers. When we tested with Java 9 we didn't see any major issues, so I think the transition should be smooth.

Hope it helps
by Lapo
11 Jan 2019, 09:14
Forum: SFS2X Questions
Topic: NullPointer in trace
Replies: 1
Views: 70

Re: NullPointer in trace

Hi, you posted under the wrong section (this is SFS2X, not SFS Pro/Basic 1.x), I have moved the thread. What version of SFS2X are you using? Why do you need to create a new thread to handle the request? The multi-threading work is already handled by the server, in most case you should not need to cr...
by Lapo
10 Jan 2019, 16:17
Forum: SFS2X C# API
Topic: Animation Synchronization in Unity 2018
Replies: 3
Views: 109

Re: Animation Synchronization in Unity 2018

I've been trying to work with the Animation Synchronization script, but it's also causing issues. I guess I need to try something else. BTW, where can I download the 2DPlatformerController package? Different games may require different approaches to animation synchronization. I am not sure what you...
by Lapo
10 Jan 2019, 16:14
Forum: SFS2X Questions
Topic: Server stops/crashes after start without exception
Replies: 3
Views: 32

Re: Server stops/crashes after start without exception

Found the problem... somehow enabling the webserver with port 80/443 crashed the whole server at startup, thanks ! That's because you likely have another webserver running which is already using those ports... or, under LInux, you're not running the server as root (which is required for binding por...
by Lapo
09 Jan 2019, 08:34
Forum: SFS2X Questions
Topic: Server stops/crashes after start without exception
Replies: 3
Views: 32

Re: Server stops/crashes after start without exception

Hi, logs are generated in realtime so there's no need to wait for them to be "generated". You can check the logs via the AdminTool, by the way, either from the realtime view or by downloading them. To exclude that the shutdown is caused by your Extension, try running the server without ext...
by Lapo
08 Jan 2019, 17:22
Forum: SFS2X Questions
Topic: Server moving
Replies: 2
Views: 27

Re: Server moving

Hi,
the easiest way to move an existing installation to a new machine is to zip (or tar-gzip) the whole SmartFoxServer_2X folder and move it to the new machine.

Hope it helps
p.s. = you may want to remove extra log files, if necessary, before zipping and moving.
by Lapo
07 Jan 2019, 07:18
Forum: Server Side Extension Development
Topic: Cant load my Java extention.
Replies: 2
Views: 54

Re: Cant load my Java extention.

Hello,
make sure your jar file is named <Something>Extension.jar.
For example MyGameExtension.jar, or MyExtension.jar or WhateverExtension.jar.

Also add "Extension" at the end of the main class that extends SFSExtension.

Cheers.
by Lapo
07 Jan 2019, 07:08
Forum: SFS2X Questions
Topic: user name format requirements
Replies: 1
Views: 19

Re: user name format requirements

Hi, hope you guys are doing well and still are completely involved into sfs2x thanks, and yes we are :) I want to allow my users to choose a nick name before login into the sfs2x application. Are there requirements or a validation rule (maybe even regex)? So I can check it before login to make sure ...
by Lapo
05 Jan 2019, 18:31
Forum: SFS2X Questions
Topic: reset log file
Replies: 2
Views: 21

Re: reset log file

Hi, log files are meant to accumulate data a certain amount of data be, so there's no way to auto-delete them. However for development you can simply run the server via the sfs2x.bat / sfs2sx.sh so you can follow the logs on screen, directly. Another way would be to change the log level to WARN so t...

Go to advanced search