diff --git a/vakscript/autoconfig.py b/vakscript/autoconfig.py index 7ee5582..247bd50 100644 --- a/vakscript/autoconfig.py +++ b/vakscript/autoconfig.py @@ -18,23 +18,23 @@ """ settings_json = { - 'Spaceglider': { - 'orbwalk' : 'space', - 'laneclear' : 'v', - 'lasthit' : 'c', - 'attack' : 'a', - 'range' : 'o', - 'kiting_mode' : 'Normal', - 'orbwalk_prio' : 'Less Basic Attacks', - 'lasthit_mode' : 'Normal', - 'press_range': False, - 'ppc' : False + "Spaceglider": { + "orbwalk": "space", + "laneclear": "v", + "lasthit": "c", + "attack": "a", + "range": "o", + "kiting_mode": "Normal", + "orbwalk_prio": "Less Basic Attacks", + "lasthit_mode": "Normal", + "press_range": True, + "ppc": False }, - 'Drawings' : { + "Drawings": { "show_position": True, "show_focused": True, "show_healths": True, - "show_gold": False, + "show_gold": True, "show_spells": False, "show_player_range": True, "show_enemy_range": True, @@ -42,13 +42,17 @@ "show_hits": True, "vision_tracker": True, "screen_track": False, - "fps": "60" + "fps": "60" }, - 'AutoSmite' : { - 'smite' : 'f', - 'randb' : False + "AutoSmite": { + "smite": "f", + "Smite_toggle": "g", + "randb": True, + "randa": True }, - "Scripts" : { + "Scripts": { + "example_turret_enabled": False, + "example_turret_limited": False } } @@ -169,8 +173,8 @@ def start_autoconfig(): league_path = process.info['cwd'] if league_path is not None and os.path.isdir(league_path): - settings_to_persist = os.path.join(league_path, Info.settings_to_persist_path) - persisted_settings = os.path.join(league_path, Info.persisted_settings_path) + settings_to_persist = os.path.join(league_path, Info.settings_to_persist) + persisted_settings = os.path.join(league_path, Info.persisted_settings) files_list = [settings_to_persist, persisted_settings] for file in files_list: diff --git a/vakscript/data.py b/vakscript/data.py index c22284e..6185431 100644 --- a/vakscript/data.py +++ b/vakscript/data.py @@ -66,11 +66,8 @@ class Info: client_name_executable = 'LeagueClient.exe' game_name_executable = 'League of Legends.exe' game_name_window = 'League of Legends (TM) Client' - game_files_path = '\Riot Games\League of Legends' settings_to_persist = 'DATA\CFG\defaults\SettingsToPersist.json' persisted_settings = 'Config\PersistedSettings.json' - settings_to_persist_path = path.join(game_files_path, settings_to_persist) - persisted_settings_path = path.join(game_files_path, persisted_settings) url_allgamedata = 'https://127.0.0.1:2999/liveclientdata/allgamedata' url_comunitydragon = 'https://raw.communitydragon.org/latest/game/data/characters/{name}/{name}.bin.json' root_key = 'characters/{}/characterrecords/root' diff --git a/vakscript/settings.json b/vakscript/settings.json index f76bb15..faf77bf 100644 --- a/vakscript/settings.json +++ b/vakscript/settings.json @@ -35,5 +35,4 @@ "example_turret_enabled": false, "example_turret_limited": false } -} - +} \ No newline at end of file