Hello everyone,
I using smartfox client for unity. I have problem when use FindUsersRequest and FindRoomsRequest to get all rooms and users in room lobby.
I can only receive a maximum of 50 returned results. I want to get all rooms and users.
Thank all.
Maximum result of find request is 50
Re: Maximum result of find request is 50
Hi,
yes there's a limit of 50 results for the client side to avoid sending massive lists of rooms/users especially if the system gets abused.
(If you check the logs you should see and error saying exactly that)
E.g. somebody might try to spam multiple search requests that return 1000s of results to slow down the server or saturate the bandwidth.
Typically 50 is more than what's needed for match making, quick joins etc... Also If you run a search from server side you can access the whole list of results.
In any case we could make this limit configurable from AdminTool so that admins can set it to their needs.
I think this change could be released pretty quickly as a patch for SFS2X 2.13 if it helps.
Cheers
yes there's a limit of 50 results for the client side to avoid sending massive lists of rooms/users especially if the system gets abused.
(If you check the logs you should see and error saying exactly that)
E.g. somebody might try to spam multiple search requests that return 1000s of results to slow down the server or saturate the bandwidth.
Typically 50 is more than what's needed for match making, quick joins etc... Also If you run a search from server side you can access the whole list of results.
In any case we could make this limit configurable from AdminTool so that admins can set it to their needs.
I think this change could be released pretty quickly as a patch for SFS2X 2.13 if it helps.
Cheers
Re: Maximum result of find request is 50
Ok, I got it. Thank you very much
Re: Maximum result of find request is 50
Hello Lapo,
You can add config max invite, max find user and max find room in AdminTool in next version?
I think some people will need this configuration. Thank you
You can add config max invite, max find user and max find room in AdminTool in next version?
I think some people will need this configuration. Thank you
Re: Maximum result of find request is 50
Hi,
sure we already have it at the top of our list for the next release.
sure we already have it at the top of our list for the next release.
Re: Maximum result of find request is 50
Thank you very much
Who is online
Users browsing this forum: No registered users and 37 guests