Search found 111 matches
- 20 Oct 2020, 08:39
- Forum: SFS2X Questions
- Topic: Send banned user detailed info
- Replies: 5
- Views: 545
Re: Send banned user detailed info
Hi, I have one more related question I will check if user is banned I check it via SmartFoxServer.getInstance().getBannedUserManager().isNameBanned() I need to find BannedUser object instance and .getBanDurationMinutes() so I can tell how long it has been banned. How I can reach this object faster. ...
- 20 Oct 2020, 08:14
- Forum: SFS2X Questions
- Topic: Send banned user detailed info
- Replies: 5
- Views: 545
Re: Send banned user detailed info
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.
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.
- 19 Oct 2020, 13:22
- Forum: SFS2X Questions
- Topic: Send banned user detailed info
- Replies: 5
- Views: 545
Send banned user detailed info
Hi,
Can I inform banned users for how long it has been banned. can I send some info to client side so it can see for how long it should wait
Thanks
Can I inform banned users for how long it has been banned. can I send some info to client side so it can see for how long it should wait
Thanks
- 14 Oct 2020, 13:57
- Forum: SFS2X Questions
- Topic: Changing internet from wifi to phones internet
- Replies: 1
- Views: 421
Changing internet from wifi to phones internet
Hi,
When users are online, is there a way to change wifi without getting disconnected? For example when user is playing game with wifi turns down wifi and User's cell phone uses its own internet. is there a way to going from one to other without getting disconnected?
Thanks
When users are online, is there a way to change wifi without getting disconnected? For example when user is playing game with wifi turns down wifi and User's cell phone uses its own internet. is there a way to going from one to other without getting disconnected?
Thanks
- 23 Jul 2020, 10:07
- Forum: SFS2X Questions
- Topic: Async Login
- Replies: 1
- Views: 1700
Async Login
Hi, I am using Custom Login. When User logs in with facebook client sends me token and server asks Facebook server to give clients info such as email, friends, name. If there is some problem with facebook connection .A network error occurred while trying to communicate with Facebook: Facebook reques...
- 20 May 2020, 12:45
- Forum: SFS2X Questions
- Topic: Connection SmartFox with different port
- Replies: 1
- Views: 604
Connection SmartFox with different port
Hi, We will buy another copy of Smartfox . We will use different port for another instance. When client can not connect to other port for example 9935, it goes and connects to other server with port 9933. Can we shut off this features. Client.Connect(new ConfigData { Debug = false, Host = host, Port...
- 30 Jan 2020, 08:37
- Forum: SFS2X Questions
- Topic: Losing lots of users in short time
- Replies: 1
- Views: 1462
Losing lots of users in short time
Hi, we are having user disconnection problem. I am trying to collect as much information as possible to find the reason. I can not find the problem. I will send the logs. we have regular smartfox log and also I made smartfox write logs to another separate file too. so we might find the reason. We ha...
- 16 Dec 2019, 08:15
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Re: Word Filter
ok I found the problem its my bad under the list there were words with . (dot) added to the end of the words. I removed them now it seems to work properly.
thanks.
thanks.
- 16 Dec 2019, 07:54
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Re: Word Filter
Now I need to correct something. some of the words does not work (?i:nigga) (?i:\baq\b) (?i:\boc\b) (?i:\boç\b) (?i:\bam\b) (?i:\b0c\b) (?i:\b0ç\b) (?i:\bo.c\b) here for example aq, oç, 0ç, ag did not work . but am, o.c worked which one comes first nothing to do with it I guess it is regex related i...
- 16 Dec 2019, 07:18
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Re: Word Filter
ok as a regex it works but only first one works. I added them on wordsFile.txt (?i:asslicker) (?i:bastard) (?i:nigger) (?i:nigga) (?:^|\W)am(?:$|\W) (?:^|\W)aq(?:$|\W) (?:^|\W)oc(?:$|\W) (?:^|\W)oç(?:$|\W) like this when I write ama it passes as it should. but aqa does not pass. How should I add the...
- 13 Dec 2019, 11:29
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Re: Word Filter
As I said. there are words in turkish like sik when you write it alone. it is swear word. but some other normal words contain it. like isik. it shows up i*** as if it is swear word. Users can not write properly. I tried this(?i:\bsik\b) it worked but second word did not work (?i:\bam\b) when users t...
- 13 Dec 2019, 10:50
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Re: Word Filter
I mean if a word foo is in the sentence. like I foo you
this is a bad word we should catch him. When it is I afoo you or I foon you it should pass ; it is not swear.
or just word foo or . at the start of the sentence or end of the

or just word foo or . at the start of the sentence or end of the
- 13 Dec 2019, 08:00
- Forum: SFS2X Questions
- Topic: Word Filter
- Replies: 8
- Views: 2151
Word Filter
Hi, I am trying to use word filter and I need to add some words as seperate word like when word sik is swear word but isik is not i tried this (?i:\bword\b) (?i:bastard) (?i:nigger) (?i:nigga) (?i:\bsik\b) this worked but words that come after that did not work (?i:\bgöt\b) How can I do that some of...
- 25 Nov 2019, 06:55
- Forum: SFS2X Questions
- Topic: Some game rooms dont show up in smartfox Zone monitor
- Replies: 12
- Views: 2980
Re: Some game rooms dont show up in smartfox Zone monitor
And also in these case, those methods were not get called there is trace before these methods.
- 25 Nov 2019, 06:48
- Forum: SFS2X Questions
- Topic: Some game rooms dont show up in smartfox Zone monitor
- Replies: 12
- Views: 2980
Re: Some game rooms dont show up in smartfox Zone monitor
We have that code at USER_LEAVE_ROOM event if (npcCount > 0 && realPlayerCount <= 0) { RoomVariable updateGS = new SFSRoomVariable(ReservedRoomVariables.RV_GAME_STARTED, false); updateGS.setGlobal(true); getApi().setRoomVariables(user, room, Arrays.asList(updateGS), true, true, false); for (...