Search found 21322 matches

by Lapo
24 Oct 2020, 14:51
Forum: SFS2X Questions
Topic: Can't login to sfsadmin
Replies: 3
Views: 30

Re: Can't login to sfsadmin

Hi Lorinthio, the connections shown in your log files are targeted at port 9933, which is wrong, because since the introduction of the new HTML5 AdminTool the communication is done via WebSocket on port 8080. Therefore I am not sure AdminClient you're using. After installing the server and applying ...
by Lapo
22 Oct 2020, 09:22
Forum: SFS2X Questions
Topic: Can't login to sfsadmin
Replies: 3
Views: 30

Re: Can't login to sfsadmin

What version of SmartFoxServer 2X have you installed?
If it is 2.14 please also apply the 2.16.3 patch found here:
https://www.smartfoxserver.com/download#p=updates

It's very quick. Follow the instructions in the release note file that is included.

Cheers
by Lapo
20 Oct 2020, 14:03
Forum: SFS2X Questions
Topic: Send banned user detailed info
Replies: 5
Views: 23

Re: Send banned user detailed info

I found this but it gives me list of all the banned users I have to loop through it. Is there a map so I can find BannedUser object. Can I get from some kind of map. No there is no such method at the moment. In terms of performance though it doesn't make much of a difference, since internally the c...
by Lapo
20 Oct 2020, 13:56
Forum: SFS2X Questions
Topic: Send banned user detailed info
Replies: 5
Views: 23

Re: Send banned user detailed info

ekrem5353 wrote:Hi,
If user is banned where should I send message. It can not trigger join zone event. In custom Login Handler it is still session. There is no user.

When the user is getting banned, you can send a message that will be received by such User and you can tell them how long the ban will last.

Cheers
by Lapo
20 Oct 2020, 07:57
Forum: Job offers and requests
Topic: SFS Developer to Troubleshoot
Replies: 1
Views: 82

Re: SFS Developer to Troubleshoot

Just a few suggestions ... Scenario 1: A room with a type sfsroom can be casted to an mmoroom type to create a room and was working previously but something changed and now it can not be casted to an MMOroom anymore. You should take a look at the class hierarchy in the Java docs. It will probably he...
by Lapo
19 Oct 2020, 13:37
Forum: SFS2X Questions
Topic: Send banned user detailed info
Replies: 5
Views: 23

Re: Send banned user detailed info

You can send a message when the user is banned. So you can give them the details there.

Cheers
by Lapo
16 Oct 2020, 09:09
Forum: SFS2X Questions
Topic: Question: How to check for logout by account/username is loggin at other location
Replies: 4
Views: 59

Re: Question: How to check for logout by account/username is loggin at other location

Hi, this is something that has been discussed before. When a client logs in twice with two devices the 1st session is kicked out immediately, the reason for this is not to delay the new login. Otherwise you would have to potentially wait a significant amount of time to deliver the message to the oth...
by Lapo
14 Oct 2020, 17:02
Forum: SFS2X Questions
Topic: Changing internet from wifi to phones internet
Replies: 1
Views: 37

Re: Changing internet from wifi to phones internet

Hi, to answer you I'll quote a post from a similar question on Stack Exchange: A TCP connection cannot be kept alive during a network change, since you get a new IP address, causing all connections being terminated. TCP builds upon IP to get the data delivered. If you change networks you also change...
by Lapo
14 Oct 2020, 09:59
Forum: SFS2X HTML5 / JavaScript API
Topic: Cyrillic utfString problems
Replies: 4
Views: 258

Re: Cyrillic utfString problems

Hi, I would recommend an update. The server and client API are pretty old, the client API in particular. The server has never had issues with UTF characters, and cyrillic (as well as many other non-latin char sets) have been used by many customers. It's possible that it is a client API issue, but un...
by Lapo
14 Oct 2020, 06:54
Forum: SFS2X HTML5 / JavaScript API
Topic: Cyrillic utfString problems
Replies: 4
Views: 258

Re: Cyrillic utfString problems

Hi,
please show me the code that causes the problem.
Also specify which version of SFS2X you're using and which client API language and version, too.

Thanks
by Lapo
13 Oct 2020, 13:38
Forum: SFS2X Questions
Topic: SmartfoxServer Websocket useWSBinaryProtocol Cannot found
Replies: 3
Views: 354

Re: SmartfoxServer Websocket useWSBinaryProtocol Cannot found

No. Text-based websocket protocol was initially introduce (many years ago) when binary WS was still not entirely compatible across different browsers. These days every browser supports binary so there's no good reason to support a less efficient protocol. I'd recommend switching, as all it takes is ...
by Lapo
13 Oct 2020, 13:34
Forum: SFS2X iPhone / iPad / OSX API
Topic: Random app crash on iOS devices
Replies: 1
Views: 32

Re: Random app crash on iOS devices

Hi, you have mentioned multiple situations in which these crashes happen. Are they always crashing with the exact stack trace? Also in the stack trace I can sell the chain of method calls but no the specific error that caused the problem. Have you also tested on different versions of iOS? Or is it a...
by Lapo
13 Oct 2020, 13:30
Forum: SFS2X Questions
Topic: SetMMOItemVariables
Replies: 6
Views: 36

Re: SetMMOItemVariables

Not inside the scope of a scheduled task but rather in an object created by a scheduled task. Ok. The only thing to keep an eye for is that Scheduled Tasks need to try/catch exceptions in their run() method. If you forget about it the Exception will not bubble up and automagically be thrown at the ...
by Lapo
12 Oct 2020, 15:46
Forum: SFS2X Questions
Topic: Ban reason not working
Replies: 2
Views: 36

Re: Ban reason not working

Hi, 1. On subsequent logins, the client triggers SFSEvent.LOGIN_ERROR with a generic "user is banned" message. However, it does not download the original Ban Reason that was recorded and can still be seen in the "Ban Manager" Reason column. Yes, the ban message is sent at the mo...

Go to advanced search