Search found 21599 matches

by Lapo
13 May 2021, 08:50
Forum: SFS2X Questions
Topic: Get admin user in admin tool
Replies: 1
Views: 11

Re: Get admin user in admin tool

Hi,
I need to understand a bit more what you're trying to do. Can you show me the code you're using?
Have you created a custom request handler for you module?

Thanks
by Lapo
13 May 2021, 08:47
Forum: SFS2X Questions
Topic: Server bugs out when using PutClass server side
Replies: 5
Views: 42

Re: Server bugs out when using PutClass server side

Hi,
can you tell me the SFS2X version in use and also the Unity API versione?

It seems strange that there are no errors on the server side. Have you, perchance, modified the logging level in the SFS2X config?

Thanks
by Lapo
12 May 2021, 11:29
Forum: SFS2X Questions
Topic: client login failing when upgrading from server version 2.13 to 2.17
Replies: 3
Views: 40

Re: client login failing when upgrading from server version 2.13 to 2.17

That is actually not possible :) At least not for the transcript you have posted. All versions of SFS2X work the in the same way: - first you have to connect - then you have to login into a Zone (by sending a LoginRequest) - finally you can send whatever request you want In the debug log you have se...
by Lapo
12 May 2021, 07:28
Forum: SFS2X Questions
Topic: client login failing when upgrading from server version 2.13 to 2.17
Replies: 3
Views: 40

Re: client login failing when upgrading from server version 2.13 to 2.17

Hi, this doesn't look like an issue with the version of the server. The first request sent by the client is the Handshake which is part of the connection sequence. Right after that the server receives an Extension request, but there is no LoginRequest prior to that, which is illegal. A user must be ...
by Lapo
12 May 2021, 07:16
Forum: SFS2X Questions
Topic: Thread
Replies: 2
Views: 24

Re: Thread

Hi, if every Room Extension starts a new Scheduler, then the thread count is expected to increase with every new Room. The only problem is making sure to remove it in the destroy() method of your Room Extension, like this: function destroy() { scheduler.destroy(null); } The true parameter forces the...
by Lapo
11 May 2021, 07:44
Forum: SFS2X Questions
Topic: MultiHandler in Javascript Extension?
Replies: 3
Views: 46

Re: MultiHandler in Javascript Extension?

I see what you mean.
That approach is only available in Java.

Cheers
by Lapo
10 May 2021, 13:43
Forum: SFS2X Questions
Topic: MultiHandler in Javascript Extension?
Replies: 3
Views: 46

Re: MultiHandler in Javascript Extension?

Hi, the introductory example in this page: http://docs2x.smartfoxserver.com/ExtensionsJS/quick-start should clarify your question. In SFS2X you define one handler for each different request and bind it to a different method/function. This is a better approach than sending all requests to a single fu...
by Lapo
07 May 2021, 15:09
Forum: SFS2X Questions
Topic: Unknown error
Replies: 3
Views: 62

Re: Unknown error

The database numbers are fine, and with the GROW option the number of connections to the DB can grow indefinitely if needed (i.e. if the traffic increases) As regards the "game crashes" it's not very clear what do you mean. The server crashes? If so, what happens exactly? Does the process ...
by Lapo
07 May 2021, 10:52
Forum: SFS2X Questions
Topic: Unknown error
Replies: 3
Views: 62

Re: Unknown error

Hi,
what SFS2X version are you using?

Could it cause the game crash

Very unlikely because the error happens when executing an AdminTool request, which runs in separate Zone.
This error seems to indicate that an AdminTool request failed.

Cheers
by Lapo
06 May 2021, 16:36
Forum: SFS2X Questions
Topic: Functions time limit
Replies: 1
Views: 32

Re: Functions time limit

Hi, there isn't a time limit. You should probably debug a bit more and understand what is going on exactly, and what is the number of records after which the problem appears. BuddyLists have size limits too, meaning that (based on your config) they can hold a certain number of items, but you should ...
by Lapo
06 May 2021, 07:57
Forum: SFS2X Questions
Topic: Encrypt Smartfox Admin Panel Credentials?
Replies: 1
Views: 45

Re: Encrypt Smartfox Admin Panel Credentials?

Hi,
the best approach that comes to mind is using the OS permission management to make sure only admins can access the config file.

Cheers
by Lapo
04 May 2021, 08:07
Forum: SFS2X Questions
Topic: Creating native Java Objects in Javascript 2x Server Extension.
Replies: 2
Views: 50

Re: Creating native Java Objects in Javascript 2x Server Extension.

Hi, the underlying Java method takes two parameters: a String with the SQL expression and Object[] (object array) with parameters, for each placeholder you have specified in the SQL expression. Here's a query Example, the same can be done for an insert or update operation: function init() { trace(&q...
by Lapo
02 May 2021, 14:58
Forum: SFS2X iPhone / iPad / OSX API
Topic: Disconnection issues on iOS
Replies: 7
Views: 1583

Re: Disconnection issues on iOS

Probably, but I can't guarantee, as we've never tested this specific scenario.

Let us know your findings.
Cheers
by Lapo
02 May 2021, 14:56
Forum: SFS2X Questions
Topic: Don't see import JAVA
Replies: 1
Views: 88

Re: Don't see import JAVA

Hi,
can you please write your request in English?
Also the screenshot is barely readable.

Thanks
by Lapo
30 Apr 2021, 13:57
Forum: SFS2X Questions
Topic: Setting up a remote computer
Replies: 2
Views: 108

Re: Setting up a remote computer

Hi,
I was about to reply, but you beat me to it :)

Glad you found the problem.
Cheers

Go to advanced search