KebsCS / KBotExt

All-in-one application that sends custom requests to League of Legends LCU api
465 stars 76 forks source link

Chech ban reason not working #168

Closed 2b2tplayer closed 1 year ago

2b2tplayer commented 1 year ago

I get the whole html error saying I might be blocked, not sure if this is my issue or the program's, feel free to delete the comment if it's on my side

KebsCS commented 1 year ago

Riot changed something yesterday, will be fixed in the near future

BennyExtreme commented 1 year ago

They simply banned the user agent, they have been doing it for a long time. I would recommend not to leave it static, they ban it every time on sight. To avoid the problem in other projects we determine the user agent at runtime using a call to a third-party api for VALORANT to know what is the latest version of the Riot Client.

KebsCS commented 1 year ago

They simply banned the user agent, they have been doing it for a long time. I would recommend not to leave it static, they ban it every time on sight. To avoid the problem in other projects we determine the user agent at runtime using a call to a third-party api for VALORANT to know what is the latest version of the Riot Client.

Thanks, fixed in https://github.com/KebsCS/KBotExt/commit/dceca40820e3953840b2b2dbf5625d689c5bb7c9

BennyExtreme commented 1 year ago

It's not working again, and this time it's something bigger than the user agent.