User not in UserManager after user search

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

User not in UserManager after user search

Postby mmilen » 04 Jan 2012, 02:16

is there any particular reason why a user in not found in UserManager after it is returned in search results?
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 05 Jan 2012, 10:11

Hmm?

You say he is in the UserManager before, you then do a search - and then he is gone?

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Postby mmilen » 05 Jan 2012, 15:15

I do a search , I get bunch of users back. Now I need to check the variables of a couple of those users, and they are not showing in the userManager(). I it a bid strange, that's all. I have added a workaround to add all users the user manager upon search result returned.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 10 Jan 2012, 11:16

The API only populates the UserManager with yourself and the users in the rooms that you have joined.

I take it, that the users you are searching are outside those 2 groups. Correct?

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games

Follow on twitter: http://twitter.com/thomas_h_lund

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 23 guests