Search found 26 matches

by ersindemir
14 Jan 2018, 14:03
Forum: SFS2X Questions
Topic: Buddy isOnline() always returns true
Replies: 1
Views: 152

Buddy isOnline() always returns true

Buddy isOnline() always returns true in backend side. No problem on Client side. I found this solution : http://www.smartfoxserver.com/forums/viewtopic.php?f=18&t=16686&p=71953&hilit=isOnline#p71953 boolean isOnline = getZone().getUserByName(buddy.getName()); but is it fixed any 2.12.0+ ...
by ersindemir
05 Jan 2018, 10:06
Forum: SFS2X Questions
Topic: Maximum Rooms Per User in Zone Configurations
Replies: 1
Views: 152

Maximum Rooms Per User in Zone Configurations

What does "Maximum Rooms Per User" config in Zone Configurations do ?
Current value is 3. But user can join more then 3 room same time.

Smartfox Backend Version : 2.12.0
Smartfox Unity Client Version : 1.7.2
by ersindemir
26 Oct 2017, 07:52
Forum: SFS2X Questions
Topic: How Can I get Network Type?
Replies: 3
Views: 398

Re: How Can I get Network Type?

How Can I get Network Type on Backend ? (3G ,4G or wifi)

I need Java Function name
by ersindemir
22 Oct 2017, 13:41
Forum: SFS2X Questions
Topic: How Can I get Network Type?
Replies: 3
Views: 398

How Can I get Network Type?

How Can I get Network Type ? (3G ,4G or wifi) I didn't find this property in smartfox JAVA documents.

Smartfox Backend Version : 2.12.0
Smartfox Unity Client Version : 1.7.2
by ersindemir
13 Sep 2017, 13:20
Forum: SFS2X Questions
Topic: Upgrade Licence
Replies: 2
Views: 530

Re: Upgrade Licence

Smartfox licence is upgraded on Runtime succesfully. No problem occured.

Only click "Reload Licence" button !
by ersindemir
06 Sep 2017, 20:14
Forum: SFS2X Questions
Topic: Upgrade Licence
Replies: 2
Views: 530

Upgrade Licence

Smartfox server version :2.12.0 We want to upgrade smartfox licence 5000 to unlimited. 1- If we upgrade licence on runtime , Does any problem occur ? ( I read release document : "The AdminTool's License Manager module now allows to reload the changes applied to a license without restart. This i...
by ersindemir
25 Jul 2017, 11:53
Forum: SFS2X Questions
Topic: Remove Offline Buddy
Replies: 1
Views: 529

Remove Offline Buddy

How can I remove buddy if he is offline? public void removeBuddy(Zone zone,java.lang.String ownerName,java.lang.String buddyName,boolean fireClientEvent,boolean fireServerEvent) Function is exist but description of this function is "Removes a Buddy from the owner's BuddyList even if the User is...
by ersindemir
11 Feb 2017, 17:52
Forum: SFS2X Questions
Topic: SFSUser.getPlayerId NullPointerException
Replies: 2
Views: 505

Re: SFSUser.getPlayerId NullPointerException

it is erratic. I dont know how it is happened and I can not repoduce it.
by ersindemir
10 Feb 2017, 20:18
Forum: SFS2X Questions
Topic: SFSUser.getPlayerId NullPointerException
Replies: 2
Views: 505

SFSUser.getPlayerId NullPointerException

I got this exception on Runtime. task = SmartFoxServer.getInstance().getTaskScheduler().schedule(new Runnable() { @Override public void run() { for (User player : getParentRoom().getPlayersList()) trace(player.getPlayerId()); } }, 1000, TimeUnit.MILLISECONDS); java.lang.NullPointerException at com.s...
by ersindemir
08 Feb 2017, 09:04
Forum: SFS2X Questions
Topic: LeaveRoom SFSApi Exception
Replies: 1
Views: 467

LeaveRoom SFSApi Exception

Sometimes smartfox write this exception on console. Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException Message: LeaveRoom failed: user is not joined in any room. ( User Name: xxxxxxxxx, Id: x, Priv: 0, Sess: x.x.x.x:xxxx ) Description: Runtime error while processing request +--- --- ---...
by ersindemir
07 Feb 2017, 09:26
Forum: SFS2X C# API
Topic: Unity MySelf.IsSpectator Exception
Replies: 3
Views: 1148

Re: Unity MySelf.IsSpectator Exception

After SFSEvent.ROOM_JOIN event is fire from smartfox , I got this exception. lastJoinedRoom can not be null ( Again it is so hard to reproduce)
I saw this exception on crashlytics.
by ersindemir
07 Feb 2017, 05:56
Forum: SFS2X C# API
Topic: Smartfox Send Data WriteUTF Exception (Unity)
Replies: 2
Views: 1014

Re: Smartfox Send Data WriteUTF Exception (Unity)

//string groupId; //int? gameType; SFSObject sfsObject = new SFSObject(); if (!string.IsNullOrEmpty(groupId)) sfsObject.PutUtfString("groupId", groupId); if (gameType.HasValue) sfsObject.PutInt("gameType", gameType.Value); smartfox.Send(new ExtensionRequest("playGame",...
by ersindemir
06 Feb 2017, 12:30
Forum: SFS2X C# API
Topic: Smartfox Send Data WriteUTF Exception (Unity)
Replies: 2
Views: 1014

Smartfox Send Data WriteUTF Exception (Unity)

Sometimes I got exception with the following code; //string groupId; //int? gameType; SFSObject sfsObject = new SFSObject(); if (!string.IsNullOrEmpty(groupId)) sfsObject.PutUtfString("groupId", groupId); if (gameType.HasValue) sfsObject.PutInt("gameType", gameType.Value); How ca...
by ersindemir
06 Feb 2017, 11:02
Forum: SFS2X C# API
Topic: Unity WebGL Smartfox Login Exception
Replies: 7
Views: 1721

Re: Unity WebGL Smartfox Login Exception

If I can not use sfsErrorData.addParameter function with JSON data . How can I send GENERIC_ERROR with additional SFSObject data ? Because I need to send addictional data with login error.
by ersindemir
06 Feb 2017, 09:32
Forum: SFS2X C# API
Topic: Unity MySelf.IsSpectator Exception
Replies: 3
Views: 1148

Unity MySelf.IsSpectator Exception

Sometimes I got this exception on Unity client side, when I use this function ; (It is so hard to reproduce !) bool isSpectator = smartfox.MySelf.IsSpectator ; NullReferenceException : Object reference not set to an instance of an object at Sfs2X.Entities.SFSUser.GetPlayerId(Sfs2X.Entities.SFSUser) ...

Go to advanced search