League-of-Legends-Bot icon indicating copy to clipboard operation
League-of-Legends-Bot copied to clipboard

Edit keybinds - SettingsToPersist.json missing

Open danisuba10 opened this issue 2 years ago • 7 comments

I want to change the keybind of the settinngs menu from ESC to nothing. (evtSysMenu) This is because sometimes the bot opens the settings, and then becomes stuck, resulting in it becoming AFK. I saw that in order for some settings not be persisted, SettingsToPersist.json must be edited, however that doesn't exist.:

"description": "The settings in this file are persisted server-side. This file is generated automatically. Editing it is not recommended. Modify SettingsToPersist.json to specify which settings are persisted."

How can I change it's keybind to empty, or at least to another keybind so it doesn't revert itself back?

danisuba10 avatar Apr 10 '22 21:04 danisuba10

solution bro?

anaquierealgo avatar Apr 26 '22 13:04 anaquierealgo

I managed to change the keybind by editing the PersistedSettings.json (don't remember exactly if that's the name, but there are two of them in different folders, so make sure to modify both of them.)

Just make sure to launch the bot with the .exe file, and not the updater .exe file, because that changes the persisted settings file from the internet.

Also I haven't found a way to bind it to nothing, so I just bound it to the "." key, which solved all accidental menu openings.

danisuba10 avatar Apr 26 '22 13:04 danisuba10

But it would be really good if anyone could update this bot with a working SettingsToPersist file.

danisuba10 avatar Apr 26 '22 13:04 danisuba10

But it would be really good if anyone could update this bot with a working SettingsToPersist file.

Could you pass me the files that you modified from your folder? I can't find the file to modify

anaquierealgo avatar Apr 27 '22 23:04 anaquierealgo

https://github.com/Skinz3/League-of-Legends-Bot/blob/6da3eacff0294bffd830f762c383be70e382af51/Binaries/PersistedSettings.json

danisuba10 avatar Apr 28 '22 10:04 danisuba10

Just search for this file in the bot's folder, and modify both of them.

danisuba10 avatar Apr 28 '22 10:04 danisuba10

Just search for this file in the bot's folder, and modify both of them.

I can't find the other file, are you sure? pass me your folder bro. if you do not mind.

anaquierealgo avatar Apr 28 '22 12:04 anaquierealgo