Search found 21153 matches

by Lapo
11 May 2020, 15:03
Forum: SFS2X Questions
Topic: Best way to structure extension for game logic
Replies: 2
Views: 206

Re: Best way to structure extension for game logic

Hello, - Zone extension global and for everyone, they don't make sense for game logic Yes, the Zone extension can deal with more global events, such as checking the credentials of players logging in, or handling requests from users setting their profile status and things like that. Reading a high sc...
by Lapo
10 May 2020, 16:19
Forum: SFS2X Questions
Topic: Autoscaling on EC2 Instances
Replies: 10
Views: 324

Re: Autoscaling on EC2 Instances

Hi, when you say "Webserver" you mean the embedded http server in SFS2X? Or are you talking about another web-server that is running on the same machine? If it's the former adding a load balancer is not recommended as many of the functions it performs are dependent on the SFS2X instance it...
by Lapo
08 May 2020, 11:11
Forum: SFS2X iPhone / iPad / OSX API
Topic: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0
Replies: 5
Views: 622

Re: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0

Hi, it sounds like a bad cryptography exchange. The client is expecting two blocks of 16 bytes each, but it looks like the data is not there. It's difficult to say what might be the cause of this, honestly. It may be some sort of network error. Is there a correspondent server-side error that might p...
by Lapo
07 May 2020, 09:56
Forum: SFS2X Questions
Topic: "Unity and Smartfox Best Of Both Worlds" How to integrate scores and currency?
Replies: 14
Views: 2532

Re: "Unity and Smartfox Best Of Both Worlds" How to integrate scores and currency?

Could you please explain or give any tips on how the Unity server can control the game login in a MMO room for example where it would need to know and control everything in the room not just what's around it, or how it would control all of the units in the room for the AI for example. Any further e...
by Lapo
03 May 2020, 13:03
Forum: SFS2X iPhone / iPad / OSX API
Topic: Frequent connection failures for some users
Replies: 1
Views: 238

Re: Frequent connection failures for some users

Hi, unfortunately there's not much you can debug from the API layer. Either a connection succeeds or it fails. If it fails the problem is to be found in the user's network. Be it the device network, or any firewall/proxy that may sit in front of it. If the user has access to multiple networks, e.g. ...
by Lapo
03 May 2020, 07:37
Forum: SFS2X Questions
Topic: LoginRequest limit
Replies: 1
Views: 15971

Re: LoginRequest limit

Hi,
I think because the check is done at User level and the LoginRequest is the only request that is sent before a User even exists.
I should have to check with my colleagues to be 100% sure, but I believe that's the reason.

Cheers
by Lapo
01 May 2020, 16:23
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 4253

Re: Remove room will remove all session !

Ok. I think the problem might be in the way you're running the code in your Task: private class TestRunner implements Runnable { public void run() { System.out.println(count); count--; if(count<=0) { taskHandle.cancel(true); getApi().leaveRoom(instance.getParentRoom().getUserList().get(0), instance....
by Lapo
01 May 2020, 16:00
Forum: SFS2X Questions
Topic: FATAL Crash
Replies: 14
Views: 1630

Re: FATAL Crash

Sorry but the logs are not sufficient. In order to reproduce the issue we need a step by step description of how to cause the problem. We need to see what the client does and what the server does (if Extensions are involved) If you prefer you can send the details privately via our support@... email ...
by Lapo
01 May 2020, 10:57
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 4253

Re: Remove room will remove all session !

What is the objective of the that code, what is it supposed to do?
It just runs an empty infinite loop.
Thanks
by Lapo
30 Apr 2020, 18:03
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 4253

Re: Remove room will remove all session !

I changed it by running a Thread It has worked perfectly int count =10; public Thread thread; @Override public void init() { // TODO Auto-generated method stub thread = new Thread(){ public void run(){ while(true) { try { Thread.sleep(1000); } catch (InterruptedException e) { // TODO Auto-generated...
by Lapo
30 Apr 2020, 18:01
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 4253

Re: Remove room will remove all session !

qazokmijn01 wrote:I have a new questsion :
OnConnectionLost on WEBGL can't call when i close server sfs2x ?

What you are saying is that if you close the server, the client does not trigger the disconnection event?

Thanks
by Lapo
30 Apr 2020, 15:38
Forum: SFS2X Questions
Topic: Where can i find support email, need to send request for older version smartfox
Replies: 1
Views: 14506

Re: Where can i find support email, need to send request for older version smartfox

Hi,
in the top bar navigation there's a Support menu, with a Contact us option. Just click that.

Thanks
by Lapo
30 Apr 2020, 15:35
Forum: SFS2X Questions
Topic: AdminTool Log trace monitor
Replies: 1
Views: 282

Re: AdminTool Log trace monitor

Does the server always send to the AdminTool client all trace logs?

Yes, I think so.

Cheers
by Lapo
30 Apr 2020, 15:23
Forum: SFS2X Questions
Topic: Disconnect NPC from AdminTool
Replies: 1
Views: 246

Re: Disconnect NPC from AdminTool

Hi,
no it's not supported. You can remove NPCs via server side code.
For example:

Code: Select all

getApi().disconnectUser(npcUser);


Hope it helps
by Lapo
30 Apr 2020, 14:24
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 4253

Re: Remove room will remove all session !

I have tested on MacOS, we'll see if we can reproduce on Windows 10.
I'll post an update when possible.

Cheers

Go to advanced search