Search found 21589 matches

by Lapo
06 May 2021, 07:57
Forum: SFS2X Questions
Topic: Encrypt Smartfox Admin Panel Credentials?
Replies: 1
Views: 8

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: 17

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: 1404

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: 35

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: 37

Re: Setting up a remote computer

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

Glad you found the problem.
Cheers
by Lapo
30 Apr 2021, 07:01
Forum: SFS2X Questions
Topic: ZONE JOIN
Replies: 1
Views: 26

Re: ZONE JOIN

Hi,
USER_LOGOUT notifies when a player leaves the Zone (but he/she is still connected)
USER_DISCONNECT notifies a user who disconnected.

Cheers
by Lapo
29 Apr 2021, 12:31
Forum: SFS2X Questions
Topic: Courses or training for sfs 2x
Replies: 3
Views: 203

Re: Courses or training for sfs 2x

Yes, I thought you were looking for systems to send voice commands to the server :lol: :D I can point you to the documentation, for what concerns SFS2X: http://docs2x.smartfoxserver.com/ExamplesUnity/introduction In particular I've linked the Unity section, where you can follow a series of tutorials...
by Lapo
29 Apr 2021, 06:50
Forum: SFS2X Questions
Topic: Courses or training for sfs 2x
Replies: 3
Views: 203

Re: Courses or training for sfs 2x

Hi, Hello dear Sir Lapo =) I have a question, is there any way to learn how to write game logic for interacting with the server using voice and demo communication methods, paid or free? Well, you would need some kind of speech-to-text library that can perform the conversion from the vocal commands. ...
by Lapo
28 Apr 2021, 07:19
Forum: SFS2X Questions
Topic: sfs 2x i don't understend why a dedicated line
Replies: 1
Views: 98

Re: sfs 2x i don't understend why a dedicated line

Hi, the server sends updates to clients with an ID representing the player, so the client must check whether the ID matches the current player or the opponent and apply the update. In other words, when I get an update from the server we must check if the ID sent from the server matches the player hi...
by Lapo
28 Apr 2021, 07:02
Forum: SFS2X Questions
Topic: getApi().setRoomVariables OWNER
Replies: 2
Views: 96

Re: getApi().setRoomVariables OWNER

Hi, each RoomVariable has an owner property that can be accessed via the getOwner() and setOwner() methods. In other words you can do this (from server side only): var roomVar1 = new SFSRoomVariable("posx", 100); var roomVar2 = new SFSRoomVariable("posy", 200); // change owner ro...
by Lapo
26 Apr 2021, 14:41
Forum: SFS2X Questions
Topic: SmartFoxServer 2x - spawn without server plugins
Replies: 4
Views: 186

Re: SmartFoxServer 2x - spawn without server plugins

Hi,
spawn is needed for the player, I want to test how a simple game with a friend will look like

Yes, so why not connecting two clients? This way you can control two different players and test the game.

If it's not possible to connect two or multiple clients can you explain why?

Thanks
by Lapo
26 Apr 2021, 14:38
Forum: SFS2X Questions
Topic: SSL problem in SFS
Replies: 1
Views: 86

Re: SSL problem in SFS

Hi, these are not valid options: HTTP <-> SFS: <HTTPS / WSS port> You can't use HTTP client side by pointing to a server HTTPS/WSS port HTTPS <-> SFS: <HTTP / WS port> Same here, this is a protocol mismatch, as above. HTTPS <-> SFS: <HTTPS / WSS port> This will work only if you have a valid SSL cert...
by Lapo
26 Apr 2021, 08:14
Forum: SFS2X C# API
Topic: InitCrypto fails
Replies: 2
Views: 315

Re: InitCrypto fails

Hi,
can you show us the full stack trace of the client side error?

Have you double checked that the SSL certificate you have deployed works correctly? (i.e. checking by pointing your browser)
Also, can you please check that you don't have server side errors, when this happens?

Thanks
by Lapo
26 Apr 2021, 07:26
Forum: SFS2X Questions
Topic: SmartFoxServer 2x - spawn without server plugins
Replies: 4
Views: 186

Re: SmartFoxServer 2x - spawn without server plugins

Hi, normally if you want to test your game locally with multiple players you need to launch multiple copies of the game client. An alternative is to create NPCs (non player characters) from server side, however NPCs will not be very interactive unless you also write the logic that handles them. To c...
by Lapo
25 Apr 2021, 17:29
Forum: SFS2X Questions
Topic: Pool Exhausted with executeUpdate
Replies: 4
Views: 185

Re: Pool Exhausted with executeUpdate

But the best solution in this case is to use code like this? Or is that okay too? I am not sure what your question is exactly. Best solution ... to solve what? The solution to the "exhausted pool" error is what I suggested in my previous post, which seems to have worked for you. In any ca...

Go to advanced search