Use latest search API call.
Use safer cstring() instead of $client->string to not fail when no player is connected