iholston / lol-bot

An account leveling bot for League of Legends written in Python
MIT License
294 stars 48 forks source link

Screen size issue after deleting the bot #71

Closed Divyam1000 closed 11 months ago

Divyam1000 commented 11 months ago

Even after deleting all the bot files the game dosent return to its orignal screen size and the fps is still at 25. What could be the problem?

iholston commented 11 months ago

There is a file:

C:\Riot Games\League of Legends\Config\game.cfg

That controls the in-game settings. When the bot runs it overwrites this file to get the specific settings the bot needs. To change it back, you can either:

1) Make a backup copy of the file before the bot runs and replace it when the bot is done running 2) Simply use the in-game settings menu to change the settings back. The game will update the game.cfg file itself

The bot does not replace the file on its own at the moment. Though I may consider adding that in the future...