Search found 118 matches

by ekrem5353
16 Oct 2018, 07:16
Forum: SFS2X Questions
Topic: Problems Moving to SmartFox 2.13.3
Replies: 3
Views: 4426

Problems Moving to SmartFox 2.13.3

Hi, I am still on SmartFox 2.11 I tried to move my games to 2.12 before. Now I am trying to move my games to 2.13.3 and problem number one is I am having gamerooms with same name. when I remote debug the app in the SFSRoomManager there are two hashmaps one keeps rooms by id one keeps rooms by name.W...
by ekrem5353
15 Oct 2018, 14:59
Forum: SFS2X Questions
Topic: Synchronization problem
Replies: 14
Views: 13217

Re: Synchronization problem

Hi,

I still have same problem. when I move to SmartFox 2.13.3 game rooms are being created with same name. I sent the picture room:id 47 and room:id 49 have same room name OYZ7.
by ekrem5353
09 Oct 2018, 09:50
Forum: SFS2X Questions
Topic: Synchronization problem
Replies: 14
Views: 13217

Re: Synchronization problem

I just wanted to understand, why it works differently in smartfox. So I could write code accordingly. This is not the first time I had to use synchronization. I could use synchronized set but I will check whether that entry is in use then remove that entry and return that entry to which ever code th...
by ekrem5353
27 Sep 2018, 14:51
Forum: SFS2X Questions
Topic: Synchronization problem
Replies: 14
Views: 13217

Re: Synchronization problem

Whole code is too long I did not want to bother you with detail. it is so simple let me explain it this way public class ZoneExtension extends SFSExtension { private Set<String> available_names = new HashMap<String>(); @Override public void init() { fillNames(); addEventHandler(SFSEventType.ROOM_ADD...
by ekrem5353
27 Sep 2018, 06:29
Forum: SFS2X Questions
Topic: Synchronization problem
Replies: 14
Views: 13217

Synchronization problem

Hi I hava a problem with synchronization Where I hava npc characters in the game I keep their names in the field at ZoneExtension private Set<String> reusable_users = new HashSet<>(); when someone creates a gameroom at the RoomAdded event I start scheduler so that scheduler gets a name and find corr...
by ekrem5353
10 Jan 2018, 20:07
Forum: SFS2X Questions
Topic: Security Problem
Replies: 1
Views: 3196

Security Problem

Hi, for last two days I am having problem, I have two SFS2X instance version 2.11 suddenly something kills their processes. I found weird files under SFS2X folder named watch-smartd , rpc_bh, infoed,xfsallocd, They are all same size 2.274.080 it might be something like miner malware.. it started off...
by ekrem5353
28 Sep 2017, 14:55
Forum: SFS2X Questions
Topic: Flash Client Api Blows Up
Replies: 14
Views: 13273

Re: Flash Client Api Blows Up

Hi, We can trigger it with unity editor too. I think it can be triggered from any platform. We send subscribe roomgroup request and then join room request and subscribe roomgroup request again. public function addUser(user:User) : void { if(this._usersById.hasKey(user.id)) // Comment1: { this._smart...
by ekrem5353
28 Sep 2017, 10:33
Forum: SFS2X Questions
Topic: Flash Client Api Blows Up
Replies: 14
Views: 13273

Re: Flash Client Api Blows Up

Hi, Can you add try catch here on flash client api ************************original public function addUser(user:User) : void { if(this._usersById.hasKey(user.id)) { this._smartFox.logger.warn("Unexpected: duplicate user in UserManager: " + user); } this._addUser(user); } *****************...
by ekrem5353
28 Sep 2017, 08:35
Forum: SFS2X Questions
Topic: Flash Client Api Blows Up
Replies: 14
Views: 13273

Re: Flash Client Api Blows Up

Hi, it is reproducable and last version of flash api is being used. It is also reproducable with SmartFox 2.13 and SmartFox 2.11. When unity(android) user sends subscribe request while it is already subscribed to that group all the flash clients get this error and after that every time server sends ...
by ekrem5353
28 Sep 2017, 06:10
Forum: SFS2X Questions
Topic: Flash Client Api Blows Up
Replies: 14
Views: 13273

Flash Client Api Blows Up

Hi, User adding error, After we developed our mobile apps with unity. Sometimes when user sends subscribe the group request which he or she already subscribed to flash clients who subscribed to same group blow up they get this error TypeError: Error #1009: Cannot access a property or method of a nul...
by ekrem5353
26 Sep 2017, 14:16
Forum: SFS2X Questions
Topic: Stuck Room
Replies: 3
Views: 4716

Re: Stuck Room

hi I didnt want to bother you with too much code actual code... // User sends which slot he or she wants to sit public class JoinRoomExtReq extends BaseClientRequestHandler { @Override public void handleClientRequest(User user, ISFSObject obj) { String roomName = obj.getUtfString("roomId")...
by ekrem5353
25 Sep 2017, 13:51
Forum: SFS2X Questions
Topic: Stuck Room
Replies: 3
Views: 4716

Re: Stuck Room

I also added some new code we had RoomVariable this isnt exact code but it is something like that when user sent join room request handler we change these slot infos put its name there. when user leaves the room, we remove these info but problem happens when things happened concurrently so I used a ...
by ekrem5353
25 Sep 2017, 12:39
Forum: SFS2X Questions
Topic: Stuck Room
Replies: 3
Views: 4716

Stuck Room

Hey, I am using SmartFox version 2.11. when the game room stuck I see it on the zone monitor but whe I click monitor selection it says room being monitored is no more available on the server, please select another one users continue playing the game Room room = zone.getRoomByName(roomName); this ret...
by ekrem5353
23 Aug 2017, 12:10
Forum: SFS2X Questions
Topic: Flash Client Freeze
Replies: 1
Views: 3323

Flash Client Freeze

Hi , I am using SmartFox 2.11 at server side. Flash client 1.2.x lately I released unity versions of same clients Unity Client 1.7.4.0. and since I released unity mobile apps flash clients are getting this error TypeError: Error #1009: Cannot access a property or method of a null object reference. a...

Go to advanced search