perezpaya / lolfire-source

This is the lolfire.com code. Have fun helping in the development :)
MIT License
23 stars 6 forks source link

Socket times out after error #5

Open novikk opened 11 years ago

novikk commented 11 years ago

Hello! When I try to call getInProgressMatch with a summoner that isn't currently playing I get a GameNotFoundException from riot servers, the problem is that after that, the connection is closed ("Timeout reached, closing socket") so I have to re-login again in order to keep making calls. Is there a way to handle this error so that the socket doesn't time out?

Thanks

perezpaya commented 11 years ago

Having the same problem, I will try to find a fix, but maybe you need to call another command to check if player in game or not.