Hi All!
Faced with a strange problem, can't find the cause...
Every time I change the MMO room for user on the server side using getApi().joinRoom, this user begins to constantly receive PROXIMITY_LIST_UPDATE. It doesn't stop, even when all users are processed. Moreover, this list contains "addedUsers" and "removedUsers" at the same time for the same user. Thus, the client believes that each user enters and leaves the room at the same time in each update.
What could be the reason?
P.S. smartfox 2.10.0 version.
PROXIMITY_LIST_UPDATE
Re: PROXIMITY_LIST_UPDATE
Hi,
no idea. Does this happen even if the joined Room is empty?
thanks
no idea. Does this happen even if the joined Room is empty?
thanks
Re: PROXIMITY_LIST_UPDATE
This only happens if within the AOI of a user are other users.Lapo wrote:Hi,
no idea. Does this happen even if the joined Room is empty?
thanks
Re: PROXIMITY_LIST_UPDATE
That is expected. Other users falling in the player's AOI will generate updates.AiryKai wrote:This only happens if within the AOI of a user are other users.Lapo wrote:Hi,
no idea. Does this happen even if the joined Room is empty?
thanks
I am not sure this is evidence of any specific issue. The speed of update is configured in the MMORoom settings.
This is not necessarily a problem. User updates are accumulated before being sent to the client. It may very well be that a client moved generating an update and then left the AOI, generating a "remove" event.Moreover, this list contains "addedUsers" and "removedUsers" at the same time for the same user.