Search found 107 matches

by ekrem5353
23 Jul 2020, 10:07
Forum: SFS2X Questions
Topic: Async Login
Replies: 1
Views: 1291

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...
by ekrem5353
20 May 2020, 12:45
Forum: SFS2X Questions
Topic: Connection SmartFox with different port
Replies: 1
Views: 219

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...
by ekrem5353
30 Jan 2020, 08:37
Forum: SFS2X Questions
Topic: Losing lots of users in short time
Replies: 1
Views: 1036

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...
by ekrem5353
16 Dec 2019, 08:15
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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.
by ekrem5353
16 Dec 2019, 07:54
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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...
by ekrem5353
16 Dec 2019, 07:18
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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...
by ekrem5353
13 Dec 2019, 11:29
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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...
by ekrem5353
13 Dec 2019, 10:50
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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
by ekrem5353
13 Dec 2019, 08:00
Forum: SFS2X Questions
Topic: Word Filter
Replies: 8
Views: 886

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...
by ekrem5353
25 Nov 2019, 06:55
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 1344

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.
by ekrem5353
25 Nov 2019, 06:48
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 1344

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 (...
by ekrem5353
22 Nov 2019, 10:58
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 1344

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

Hi, I have this code for deleting stuck rooms. but it never gets called because there is trace it shows which room is beeing deleted public StuckRoomRemoveManager(SFSExtension ex) { sfsExtension = ex; sfs = SmartFoxServer.getInstance(); stuckRoomScheduler = sfs.getTaskScheduler().scheduleAtFixedRate...
by ekrem5353
22 Nov 2019, 08:47
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 1344

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

Hey, This might be a clue if we can not find it from zone Room room = zone.getRoomByName(roomName); we use this code if(room == null) { MatchExpression playNow = new MatchExpression(RoomProperties.IS_GAME, BoolMatch.EQUALS, true) .and(RoomProperties.NAME,StringMatch.EQUALS,roomName); List<Room> room...
by ekrem5353
22 Nov 2019, 07:31
Forum: SFS2X Questions
Topic: Some game rooms dont show up in smartfox Zone monitor
Replies: 12
Views: 1344

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

I tried to get more information about disappearing rooms, one room was not being seen from zone panel and I looked at logs I saw it was created this time 22 Nov 2019 | 09:28:05,306 | INFO | SFSWorker:Ext:16 | entities.managers.SFSRoomManager | | Room created: { Zone: Pisti }, [ SFSGame: BEZ7, Id: 23...

Go to advanced search