private void Game_OnGameLoad() { try { // devModeOn = true; Obj_AI_Base.OnIssueOrder += Game_OnIssueOrder; SpellBook.OnCastSpell += Game_OnCastSpell; Game.OnUpdate += Game_OnGameUpdate; Obj_AI_Base.OnProcessSpellCast += Game_OnProcessSpell; Game.OnEnd += Game_OnGameEnd; SpellDetector.OnProcessDetectedSpells += SpellDetector_OnProcessDetectedSpells; var OrbwalkerInst = Orbwalker.OrbwalkerInstances.FirstOrDefault(); if (OrbwalkerInst != null) { OrbwalkerInst.PreAttack += Orbwalker_PreAttack; } menu = new Menu("ezevadeeeeeeeee", "ezEvade Ported by ya homeboy Sean", true); mainMenu = new Menu("MainMenu", "Main Menu"); mainMenu.Add(new MenuKeyBind("DodgeSkillShots", "Dodge SkillShots", KeyCode.K, KeybindType.Toggle)); mainMenu.Add(new MenuBool("DodgeDangerous", "Dodge Only Dangerous", false)); mainMenu.Add(new MenuBool("DodgeCircularSpells", "Dodge Circular Spells")); mainMenu.Add(new MenuKeyBind("ActivateEvadeSpells", "Activate Evade Spells", KeyCode.K, KeybindType.Toggle)); mainMenu.Add(new MenuBool("DodgeFOWSpells", "Dodge FOW Spells")); menu.Add(mainMenu); keyMenu = new Menu("KeyMenu", "Key Menu"); keyMenu.Add(new MenuBool("DodgeOnlyOnComboKeyEnabled", "Dodge Only On Combo Key Enabled", false)); keyMenu.Add(new MenuKeyBind("DodgeComboKey", "Dodge Combo Key", KeyCode.Space, KeybindType.Press)); keyMenu.Add(new MenuBool("DodgeDangerousKeyEnabled", "Enable Dodge Only Dangerous Keys", false)); keyMenu.Add(new MenuKeyBind("DodgeDangerousKey", "Dodge Only Dangerous Key", KeyCode.Space, KeybindType.Press)); keyMenu.Add(new MenuKeyBind("DodgeDangerousKey2", "Dodge Only Dangerous Key 2", KeyCode.V, KeybindType.Press)); keyMenu.Add(new MenuBool("DontDodgeKeyEnabled", "Dont Dodge Key Enabled", false)); keyMenu.Add(new MenuKeyBind("DontDodgeKey", "Dodge Combo Key", KeyCode.Z, KeybindType.Press)); menu.Add(keyMenu); var loadTestMenu = new Menu("LoadTests", "Tests") { new MenuBool("LoadPingTester", "Load Ping Tester", false), new MenuBool("LoadSpellTester", "Load Spell Tester", false) }; loadTestMenu["LoadPingTester"].OnValueChanged += OnLoadPingTesterChange; loadTestMenu["LoadSpellTester"].OnValueChanged += OnLoadSpellTesterChange; miscMenu = new Menu("MiscMenu", "Misc Menu"); miscMenu.Add(new MenuBool("HigherPrecision", "Higher Precision")); miscMenu.Add(new MenuBool("RecalculatePosition", "Recalculate Position")); miscMenu.Add(new MenuBool("ContinueMovement", "Continue Previous Movement")); miscMenu.Add(new MenuBool("ClickRemove", "Click Remove")); miscMenu.Add(new MenuBool("CalculateWindupDelay", "Calculate Windup Delay")); miscMenu.Add(new MenuBool("AdvancedSpellDetection", "Advanced Spell Detection", true)); miscMenu.Add(new MenuBool("CheckSpellCollision", "Check Spell Collision")); miscMenu.Add(new MenuList("EvadeMode", "Evade Profile", new[] { "Smooth", "Very Smooth", "Fastest", "Hawk", "Kurisu", "GuessWho" }, 0)); miscMenu.Add(new MenuBool("PreventDodgingUnderTower", "Prevent Dodging Under Tower")); miscMenu.Add(new MenuBool("PreventDodgingNearEnemy", "Prevent Dodging Near Enemy")); //miscMenu.Add(new MenuBool("DrawEvadePosition", "Draw Evade Position", false)); miscMenu.Add(loadTestMenu); menu.Add(miscMenu); miscMenu["EvadeMode"].OnValueChanged += OnEvadeModeChange; bufferMenu = new Menu("BufferMenu", "Buffer Menu"); bufferMenu.Add(new MenuSlider("ExtraSpellRadius", "Extra Spell Radius", 0, 0, 100)); bufferMenu.Add(new MenuSlider("ExtraPingBuffer", "Extra Ping Buffer", 65, 0, 200)); bufferMenu.Add(new MenuSlider("ExtraAvoidDistance", "Extra Avoid Distance", 50, 0, 300)); bufferMenu.Add(new MenuSlider("ExtraEvadeDistance", "Extra Evade Distance", 100, 0, 300)); bufferMenu.Add(new MenuSlider("ExtraCPADistance", "Extra Collision Distance", 10, 0, 150)); bufferMenu.Add(new MenuSlider("MinComfortZone", "Min Distance to Champion", 550, 0, 1000)); menu.Add(bufferMenu); limiterMenu = new Menu("LimiterMenu", "Humanizer Menu"); limiterMenu.Add(new MenuSlider("SpellDetectionTime", "Spell Detection Time", 0, 0, 1000)); limiterMenu.Add(new MenuSlider("ReactionTime", "Reaction Time", 0, 0, 500)); limiterMenu.Add(new MenuSlider("DodgeInterval", "Dodge Interval Time", 0, 0, 2000)); limiterMenu.Add(new MenuSlider("TickLimiter", "Tick Limiter", 100, 0, 500)); limiterMenu.Add(new MenuBool("EnableEvadeDistance", "Extended Evade")); limiterMenu.Add(new MenuBool("ClickOnlyOnce", "Only Click Once")); menu.Add(limiterMenu); fastEvadeMenu = new Menu("FastEvade", "Fast Evade Menu"); fastEvadeMenu.Add(new MenuBool("FastMovementBlock", "Fast Movement Block")); fastEvadeMenu.Add(new MenuSlider("FastEvadeActivationTime", "FastEvade Activation Time", 65, 0, 500)); fastEvadeMenu.Add(new MenuSlider("SpellActivationTime", "Spell Activation Time", 400, 0, 1000)); fastEvadeMenu.Add(new MenuSlider("RejectMinDistance", "Collision Distance Buffer", 10, 0, 100)); menu.Add(fastEvadeMenu); //keyMenu = new Menu("KeySettings", "Key Settings") //{ // new MenuBool("DodgeDangerousKeyEnabled", "Enable Dodge Only Dangerous Keys"), // new MenuKeyBind("DodgeDangerousKey", "Dodge Only Dangerous Key", KeyCode.Space, KeybindType.Press), // new MenuKeyBind("DodgeDangerousKey2", "Dodge Only Dangerous Key 2", KeyCode.V, KeybindType.Press), // new MenuBool("DodgeOnlyOnComboKeyEnabled", "Enable Dodge Only On Combo Key"), // new MenuKeyBind("DodgeComboKey", "Dodge Only Combo Key", KeyCode.Space, KeybindType.Press), // new MenuBool("DontDodgeKeyEnabled", "Enable Don't Dodge Key"), // new MenuKeyBind("DontDodgeKey", "Don't Dodge Key", KeyCode.Z, KeybindType.Press) //}; //menu.Add(keyMenu); //miscMenu = new Menu("MiscSettings", "Misc Settings") //{ // new MenuBool("HigherPrecision", "Enhanced Dodge Precision"), // new MenuBool("RecalculatePosition", "Recalculate Path"), // new MenuBool("ContinueMovement", "Continue Last Movement"), // new MenuBool("CalculateWindupDelay", "Calculate Windup Delay"), // new MenuBool("CheckSpellCollision", "Check Spell Collision"), // new MenuBool("PreventDodgingUnderTower", "Prevent Dodging Under Tower"), // new MenuBool("PreventDodgingNearEnemy", "Prevent Dodging Near Enemies"), // new MenuBool("AdvancedSpellDetection", "Advanced Spell Detection"), // new MenuBool("ClickRemove", "Allow Left Click Removal"), // new MenuList("EvadeMode", "Evade Profile", // new[] {"Smooth", "Very Smooth", "Fastest", "Hawk", "Kurisu", "GuessWho"}, 0), // new MenuBool("ResetConfig", "Reset Evade Config") //}; //menu.Add(miscMenu); //bufferMenu = new Menu("ExtraBuffers", "Extra Buffers") //{ // new MenuSlider("ExtraPingBuffer", "Extra Ping Buffer", 65, 0, 200), // new MenuSlider("ExtraCPADistance", "Extra Collision Distance", 10, 0, 150), // new MenuSlider("ExtraSpellRadius", "Extra Spell Radius", 0, 0, 100), // new MenuSlider("ExtraEvadeDistance", "Extra Evade Distance", 100, 0, 300), // new MenuSlider("ExtraAvoidDistance", "Extra Avoid Distance", 50, 0, 300), // new MenuSlider("MinComfortZone", "Min Distance to Champion", 550, 0, 1000) //}; //miscMenu.Add(bufferMenu); //mainMenu = new Menu("Main", "Main") //{ // new MenuKeyBind("DodgeSkillShots", "Dodge SkillShots", KeyCode.K, KeybindType.Toggle, true), // new MenuKeyBind("ActivateEvadeSpells", "Use Evade Spells", KeyCode.K, KeybindType.Toggle, true), // new MenuBool("DodgeDangerous", "Dodge Only Dangerous"), // new MenuBool("DodgeFOWSpells", "Dodge FOW SkillShots"), // new MenuBool("DodgeCircularSpells", "Dodge Circular SkillShots") //}; //menu.Add(mainMenu); spellDetector = new SpellDetector(menu); evadeSpell = new EvadeSpell(menu); //miscMenu["EvadeMode"].OnValueChanged += OnEvadeModeChange; //limiterMenu = new Menu("Limiter", "Humanizer") //{ // new MenuBool("ClickOnlyOnce", "Click Only Once"), // new MenuBool("EnableEvadeDistance", "Extended Evade"), // new MenuSlider("TickLimiter", "Tick Limiter", 100, 0, 500), // new MenuSlider("SpellDetectionTime", "Spell Detection Time", 0, 0, 1000), // new MenuSlider("ReactionTime", "Reaction Time", 0, 0, 500), // new MenuSlider("DodgeInterval", "Dodge Interval", 0, 0, 2000) //}; //miscMenu.Add(limiterMenu); //fastEvadeMenu = new Menu("FastEvade", "Fast Evade") //{ // new MenuBool("FastMovementBlock", "Fast Movement Block"), // new MenuSlider("FastEvadeActivationTime", "FastEvade Activation Time", 65, 0, 500), // new MenuSlider("SpellActivationTime", "Spell Activation Time", 400, 0, 1000), // new MenuSlider("RejectMinDistance", "Collision Distance Buffer", 10, 0, 100) //}; //miscMenu.Add(fastEvadeMenu); //Menu loadTestMenu = new Menu("LoadTests", "Tests") //{ // new MenuBool("LoadPingTester", "Load Ping Tester"), // new MenuBool("LoadSpellTester", "Load Spell Tester") //}; //loadTestMenu["LoadPingTester"].OnValueChanged += OnLoadPingTesterChange; //loadTestMenu["LoadSpellTester"].OnValueChanged += OnLoadSpellTesterChange; //miscMenu.Add(loadTestMenu); menu.Attach(); spellDrawer = new SpellDrawer(menu); //autoSetPing = new AutoSetPing(menu); var initCache = ObjectCache.myHeroCache; if (devModeOn) { var evadeTester = new Menu("ezevade: Test", "ezEvadeTest", true); var o = new EvadeTester(evadeTester); evadeTester.Attach(); //Utility.DelayAction.Add(100, () => loadTestMenu.Item("LoadSpellTester")); } Console.WriteLine("ezevade Loaded"); } catch (Exception e) { Console.WriteLine(e); } }