iholston / lol-bot

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

config file permission error #197

Open sirdali00 opened 4 months ago

sirdali00 commented 4 months ago

can someone hellp me to fix this error

[ERROR ] [Errno 13] Permission denied: 'C:/Riot Games/League of Legends\Config/game.cfg' [01:09:50] [ERROR ] Traceback (most recent call last): File "lolbot\bot\client.py", line 69, in account_loop File "lolbot\bot\client.py", line 103, in leveling_loop File "lolbot\bot\client.py", line 389, in set_game_config File "shutil.py", line 423, in copy File "shutil.py", line 262, in copyfile PermissionError: [Errno 13] Permission denied: 'C:/Riot Games/League of Legends\Config/game.cfg'

iholston commented 4 months ago

try running the bot as administrator

sirdali00 commented 4 months ago

i did that but still bot is showing me that error

sirdali00 commented 4 months ago

3

iholston commented 4 months ago

try deleting that file. C:\riot games\league of legends\config\game.cfg and then running the bot