Search found 20762 matches

by Lapo
20 Nov 2019, 15:04
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 193

Re: Some game rooms dont show up in smartfox Zone monitor

Hi, make sure that you're looking in the right Room Group. If you don't remember what Room Group the Room belongs to do the following: From the AdminTool > Zone Monitor double click the correct Zone. In the Group dropdown select [Any] Also make sure the Filter is empty (check by clicking the Filter ...
by Lapo
20 Nov 2019, 14:52
Forum: SFS2X Questions
Topic: Smartfox 2.13.5 taking long time to create rooms
Replies: 3
Views: 2447

Re: Smartfox 2.13.5 taking long time to create rooms

I didn't quite understand if the 70-100 is the global number of Rooms or if it's the number of Rooms that every game creates? Yes Every room have extension attached So can you suggest, How i can decrease the room creation time? At the very minimum it depends on those two variables I mentioned (hardw...
by Lapo
20 Nov 2019, 11:29
Forum: SFS2X Questions
Topic: Smartfox 2.13.5 taking long time to create rooms
Replies: 3
Views: 2447

Re: Smartfox 2.13.5 taking long time to create rooms

Hi, do these Rooms that you're creating have an Extension attached? If so this can slow down the creation time as each Extension needs to be loaded and initialized. Depending on the hardware in use and the complexity of the init() method in the loaded Extension you might encounter similar issues. - ...
by Lapo
20 Nov 2019, 08:07
Forum: SFS2X Questions
Topic: Send Admin Message from Server Extension
Replies: 2
Views: 268

Re: Send Admin Message from Server Extension

Hi,
you can use the server API's sendAdminMessage() method.

Example:

Code: Select all

getApi().sendAdminMessage(sender, message, params, recipients)


To learn more see the docs here

Hope it helps
by Lapo
19 Nov 2019, 14:54
Forum: SFS2X Questions
Topic: SFS2X 2.13.7 X-Forwarded-For Vulnerability
Replies: 1
Views: 94

Re: SFS2X 2.13.7 X-Forwarded-For Vulnerability

We'll take it into account for the next release.
Thanks
by Lapo
19 Nov 2019, 11:11
Forum: SFS2X Questions
Topic: Socket Disconnection after upgrade SFS2.13.6 from 2.11
Replies: 8
Views: 2197

Re: Socket Disconnection after upgrade SFS2.13.6 from 2.11

I had same problem when I moved from 2.11 to 2.13 only websocket clients were getting disconnected. I found that whenever I called cancel method of scheduler ( like this scheduler = SmartFoxServer.getTaskScheduler().schedule scheduler.cancel( ) some of the websocket clients were getting disconnecte...
by Lapo
19 Nov 2019, 09:54
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 308

Re: NPC player

That's an issue in your code as per the stack trace:

Code: Select all

com.abc.npc.client.NPCManager.main(NPCManager.java:66)

In line 66 of your main() method you're trying to open a file that is not found at the location you've specified.
by Lapo
19 Nov 2019, 09:34
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 308

Re: NPC player

The NPC is created on the server side. When it is created it is represented by a User object, just like any other connected player.
I don't understand what you mean by "deploy on server"? It is already on the server.

Cheers
by Lapo
19 Nov 2019, 09:05
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 308

Re: NPC player

Hi, sure we have two articles dedicated to the topic of NPC creation and management: 1) https://smartfoxserver.com/blog/ways-of-working-with-npcs-in-a-multiplayer-game-p-1/ 2) https://smartfoxserver.com/blog/ways-of-working-with-npcs-in-a-multiplayer-game-p-2/ If something is not clear let us know. ...
by Lapo
15 Nov 2019, 15:13
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1108

Re: Cannot work with the server, it constantly kicks me out.

I've already explained exactly what is the problem, showing you the detailed breakdown of the protocol and pointed out where is the issue I don't like the idea to wrap SFSObject into SFSObject - it sounds like a crap :) Can't argue with opinions :) Let's put some additional code upon your library......
by Lapo
15 Nov 2019, 14:30
Forum: SFS2X Questions
Topic: Closing down without any exception
Replies: 1
Views: 199

Re: Closing down without any exception

Hi, if the JVM crashed you will find a file called hs_err_<pid>.log in the main SFS2X folder. This usually contains data about the crash. If no such file was created the SFS2X process might have been killed by an admin or a "watchdog" process in the OS. I'd recommend checking the system lo...
by Lapo
15 Nov 2019, 10:04
Forum: SFS2X Questions
Topic: Is that possible to create multiplayer game with real money bet?
Replies: 1
Views: 106

Re: Is that possible to create multiplayer game with real money bet?

Hi, it takes some time to learn how to make multiplayer games, as there are many aspects to learn. You can start by downloading the Communty Edition of SmartFoxServer 2X: https://smartfoxserver.com/download#p=installer To start learning begin from here: https://www.smartfoxserver.com/download#p=exam...
by Lapo
15 Nov 2019, 08:34
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1108

Re: Cannot work with the server, it constantly kicks me out.

Take a look at the examples provided in the Java and C# client API: http://docs2x.smartfoxserver.com/api-docs/javadoc/client/sfs2x/client/requests/ExtensionRequest.html http://docs2x.smartfoxserver.com/api-docs/csharp-doc/html/19465e80-ff4a-def6-d66a-4c67671fc4ac.htm As I mentioned it's just a matte...
by Lapo
14 Nov 2019, 17:14
Forum: SFS2X ActionScript 3 API
Topic: WebSocket Support to ActionScript 3 API
Replies: 6
Views: 343

Re: WebSocket Support to ActionScript 3 API

Hi, I would have liked to understand exactly why do you require websocket over regular TCP sockets? Did you read my question in the previous post? Thanks Cloudflare does only support http protocol, and socket protocol does not work. Maybe you can suggest a socket-based firewall that allows country-...
by Lapo
14 Nov 2019, 17:08
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1108

Re: Cannot work with the server, it constantly kicks me out.

Hi, I've tested this under our reference API which is the Actionscript 3 API. This is the API from which everything else is derived. When you send an Extension message from server to client you do it like this: ISFSObject message = new SFSObject(); message.putUtfString("Greet", "Ciao&...

Go to advanced search