Closed hayden-t closed 6 years ago
The reasoning behind the code in place is – and that’s documented for that method – that the server might answer with a challenge reply if e.g. the client asks for the player list and no challenge number was provided. It’s not intended for error handling of e.g. timeouts or other network issues.
Ok, i get it, no problem then.
So you have protected function handleResponseForRequest($requestType, $repeatOnFailure = true) {
which does a repeat once, but quite often i dont get a response with 2 attempts. really this should allow you to set how many times it will retry before giving up.