Search found 21287 matches

by Lapo
22 Sep 2020, 16:35
Forum: SFS2X Questions
Topic: Article on adding servlets to the Jetty now Tomcat
Replies: 3
Views: 11

Re: Article on adding servlets to the Jetty now Tomcat

Ok, I see.
So, yes you can use the article you have linked as a starting point to create your servlet.

If something is unclear let us know.
Cheers
by Lapo
22 Sep 2020, 07:16
Forum: SFS2X Questions
Topic: Article on adding servlets to the Jetty now Tomcat
Replies: 3
Views: 11

Re: Article on adding servlets to the Jetty now Tomcat

Hi,
We need an interface to a 3rd that can not ...

You need an interface to a 3rd? ... :?:
I don't follow.

Cheers
by Lapo
21 Sep 2020, 07:54
Forum: SFS2X Questions
Topic: Weird issue with extension background tasks
Replies: 4
Views: 86

Re: Weird issue with extension background tasks

The problem is that you're attempting to start the task in the constructor, while you should use the init() method as per the documentation.

Please do refer to the example provided in the article linked in my previous message.

Thanks
by Lapo
21 Sep 2020, 07:48
Forum: SFS2X Questions
Topic: Ever considered to add new server apis ?
Replies: 2
Views: 203

Re: Ever considered to add new server apis ?

An other little question which is clearly not worth its own thread... what exactly do we need to do to use higher java versions ( 10/11 ) with the server api ? I heard that its working, but havent found an upgrade guide... Currently the server tells me upon start up that the version is wrong ^^ In ...
by Lapo
21 Sep 2020, 07:46
Forum: SFS2X Questions
Topic: Ever considered to add new server apis ?
Replies: 2
Views: 203

Re: Ever considered to add new server apis ?

The server is written in Java. So there is no easy way to introduce languages such as C++ or C# in a Java environment, and the reverse would be true as well (adding Java to a C# or C++ server). Python and Javascript are actually supported by SFS2X Extensions, but the problem is performance. Both lan...
by Lapo
21 Sep 2020, 07:30
Forum: SFS2X Questions
Topic: SFS Server not starting...Error 003
Replies: 1
Views: 114

Re: SFS Server not starting...Error 003

You've already contacted us via email a few days ago and we've already replied on this.
Please let's keep the conversation in one place.

Thanks
by Lapo
17 Sep 2020, 07:02
Forum: SFS2X iPhone / iPad / OSX API
Topic: internal crash when parsing a message
Replies: 9
Views: 330

Re: internal crash when parsing a message

I think that depends on whether or not the exception is ever caught at some point in the call stack. Is your game a native iOS app or are you using a third party tool (such as Unity) to generate the iOS binary? If you have control over the Objective-C/Swift code you can add a try/catch block at the ...
by Lapo
16 Sep 2020, 14:07
Forum: SFS2X Questions
Topic: Weird issue with extension background tasks
Replies: 4
Views: 86

Re: Weird issue with extension background tasks

Hi, the reason is that there is no exception trapping in the run() method of your task. In other words if a runtime exception is raised during the execution of the task the Task will be stopped. Make sure to review the correct way to code a scheduled Task here: https://smartfoxserver.com/blog/how-to...
by Lapo
16 Sep 2020, 14:05
Forum: SFS2X iPhone / iPad / OSX API
Topic: internal crash when parsing a message
Replies: 9
Views: 330

Re: internal crash when parsing a message

Hi, 100 instances in 200K DAU is a very low occurrence. It's < 0.1%. My hypothesis of a network error fits this kind of low occurrence. Over an unstable internet connection it can happen that a packet gets corrupted and the Serializer is unable to decode the data. From the stack trace there is nothi...
by Lapo
16 Sep 2020, 09:25
Forum: SFS2X Questions
Topic: MatchMaking
Replies: 1
Views: 58

Re: MatchMaking

Hi, the problem is in your code. As per the error message you're trying to access an instance method as if it were a static one, which it isn't. In other words SFSApi does not expose a static method called findRooms . You can see that from the server side javadoc: http://docs2x.smartfoxserver.com/ap...
by Lapo
15 Sep 2020, 16:57
Forum: SFS2X iPhone / iPad / OSX API
Topic: internal crash when parsing a message
Replies: 9
Views: 330

Re: internal crash when parsing a message

Without knowing the input data that triggers this issue it's impossibile to guess what might be going on. Is this error occurring vert often? The % of occurrence would also help understand if this is something random, maybe caused by a network error (which would explain why you can't reproduce it lo...
by Lapo
15 Sep 2020, 13:05
Forum: SFS2X Questions
Topic: Logs files are not created
Replies: 4
Views: 142

Re: Logs files are not created

Hi, yes it sounds very much like a permission problem. The fact that the server is installed under an "Administrator" folder also doesn't look too good. Normally you just need to install it under a non-admin User folder (the one corresponding to the user installing it). Try running the ser...
by Lapo
15 Sep 2020, 07:01
Forum: SFS2X Questions
Topic: Logs files are not created
Replies: 4
Views: 142

Re: Logs files are not created

Hi, Hello, In my server, there is only one log file (smartfox.txt) and there's no other logs from previous days. By default logs are generated under the SFS2X/logs/ folder and have a .log extension. It sounds like you have reconfigured the logging system. Although you didn't provide any details as t...
by Lapo
14 Sep 2020, 07:15
Forum: SFS2X C++ API
Topic: [FIXED] Compilation on Linux seems outdated
Replies: 6
Views: 728

Re: [FIXED] Compilation on Linux seems outdated

Thanks for posting.
Because the C++ API are not part of the official set of API (i.e. they are maintained by a number of volunteers) the documentation got out of synch with the changes that were made, I suppose.

We'll take a look and integrate what Philou231 posted here.

Thanks!
by Lapo
14 Sep 2020, 07:12
Forum: SFS2X Questions
Topic: Should I use Smartfox for a C++ project?
Replies: 2
Views: 93

Re: Should I use Smartfox for a C++ project?

Hi,
yes the C++ API are not "official" and therefore are maintained on volunteer basis.
In any case the current release is pretty much in line and up to date with most of the recent changes.

Hope it helps

Go to advanced search