private int recallsWithGold; //TODO repair shop and remove this tempfix public Recall(LogicSelector currentLogic, Menu parMenu) { Menu menu = parMenu.AddSubMenu("Recall settings", "ergtrh"); flatGold=new Slider("Minimum base gold to recall", 560, 0, 4000); goldPerLevel = new Slider("Minmum gold per level to recall", 70, 0, 300); menu.Add("mingold", flatGold); menu.Add("goldper", goldPerLevel); menu.AddSeparator(100); menu.AddLabel( @" Example: Your champ has lvl 10 Base gold = 560 Gold per level = 70 Minimum gold = 560+70*10 = 1260 AutoBuddy won't recall if you have less gold than needed for next item. "); current = currentLogic; foreach ( Obj_SpawnPoint so in ObjectManager.Get<Obj_SpawnPoint>().Where(so => so.Team == ObjectManager.Player.Team)) { spawn = so; } Core.DelayAction(ShouldRecall, 3000); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Combat(LogicSelector currentLogic) { current = currentLogic; Game.OnTick += Game_OnTick; if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Survi(LogicSelector currentLogic) { current = currentLogic; Game.OnTick += Game_OnTick; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; DecHits(); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Load(LogicSelector c) { currentLogic = c; startTime = Game.Time + waitTime + RandGen.r.NextFloat(-10, 20); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; MainMenu.GetMenu("AB").Get<CheckBox>("reselectlane").OnValueChange += Checkbox_OnValueChange; MainMenu.GetMenu("AB").Get<Slider>("lane").OnValueChange += Slider_OnValueChange; }
public Survi(LogicSelector currentLogic) { current = currentLogic; Game.OnTick += Game_OnTick; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; DecHits(); Drawing.OnDraw += Drawing_OnDraw; }
public Load(LogicSelector c) { currentLogic = c; startTime = Game.Time + waitTime + RandGen.r.NextFloat(-10, 20); Drawing.OnDraw += Drawing_OnDraw; Chat.OnMessage += Chat_OnMessage; MainMenu.GetMenu("AB").Get <CheckBox>("reselectlane").OnValueChange += Checkbox_OnValueChange; MainMenu.GetMenu("AB").Get <Slider>("lane").OnValueChange += Slider_OnValueChange; }
public Survi(LogicSelector currentLogic) { current = currentLogic; Game.OnTick += Game_OnTick; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; DecHits(); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnDraw += Drawing_OnDraw; } }
public Load(LogicSelector c) { currentLogic = c; startTime = Game.Time + waitTime + RandGen.r.NextFloat(-10, 20); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; if (!AutoWalker.p.Name.Equals("Challenjour Ryze")) Chat.OnMessage += Chat_OnMessage; MainMenu.GetMenu("AB").Get<CheckBox>("reselectlane").OnValueChange += Checkbox_OnValueChange; MainMenu.GetMenu("AB").Get<Slider>("lane").OnValueChange += Slider_OnValueChange; }
public Push(LogicSelector current) { SetRandVector(); randomVector = new Vector3(); currentWave = new Obj_AI_Minion[0]; currentLogic = current; Core.DelayAction(SetWaveNumber, 500); SetCurrentWave(); SetOffset(); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Load(LogicSelector c) { currentLogic = c; startTime = Game.Time + waitTime + RandGen.r.NextFloat(-10, 20); Drawing.OnDraw += Drawing_OnDraw; if (!AutoWalker.myHero.Name.Equals("Challenjour Ryze")) { Chat.OnMessage += Chat_OnMessage; } MainMenu.GetMenu("AB").Get <CheckBox>("reselectlane").OnValueChange += Checkbox_OnValueChange; MainMenu.GetMenu("AB").Get <Slider>("lane").OnValueChange += Slider_OnValueChange; }
public Load(LogicSelector c) { currentLogic = c; startTime = Game.Time + waitTime + RandGen.r.NextFloat(-10, 20); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; MainMenu.GetMenu("AB").Get<CheckBox>("reselectlane").OnValueChange += Checkbox_OnValueChange; MainMenu.GetMenu("AB").Get<Slider>("lane").OnValueChange += Slider_OnValueChange; Orbwalker.OnUnkillableMinion += (target, args) => { c.myChamp.UnkillableMinion(target, args.RemainingHealth); }; }
public Recall(LogicSelector currentLogic) { lastRecallGold = 30000; current = currentLogic; foreach ( Obj_SpawnPoint so in ObjectManager.Get<Obj_SpawnPoint>().Where(so => so.Team == ObjectManager.Player.Team)) { spawn = so; } Core.DelayAction(ShouldRecall, 3000); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Push(LogicSelector current) { color=new ColorBGRA(255, 210, 105, 255); colorRed = new ColorBGRA(139, 0, 0, 255); colorGreen = new ColorBGRA(0, 100, 0, 255); SetRandVector(); randomVector = new Vector3(); currentWave = new Obj_AI_Minion[0]; currentLogic = current; Core.DelayAction(SetWaveNumber, 500); SetCurrentWave(); SetOffset(); Drawing.OnDraw += Drawing_OnDraw; }
public Push(LogicSelector current) { color = new ColorBGRA(255, 210, 105, 255); colorRed = new ColorBGRA(139, 0, 0, 255); colorGreen = new ColorBGRA(0, 100, 0, 255); SetRandVector(); randomVector = new Vector3(); currentWave = new Obj_AI_Minion[0]; currentLogic = current; Core.DelayAction(SetWaveNumber, 500); SetCurrentWave(); SetOffset(); Drawing.OnDraw += Drawing_OnDraw; }
public Recall(LogicSelector currentLogic) { current = currentLogic; foreach ( var so in ObjectManager.Get <Obj_SpawnPoint>().Where(so => so.Team == ObjectManager.Player.Team)) { spawn = so; } Core.DelayAction(ShouldRecall, 3000); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnDraw += Drawing_OnDraw; } }
public Push(LogicSelector current) { color=new ColorBGRA(255, 210, 105, 255); colorRed = new ColorBGRA(139, 0, 0, 255); colorGreen = new ColorBGRA(0, 100, 0, 255); SetRandVector(); randomVector = new Vector3(); currentWave = new Obj_AI_Minion[0]; currentLogic = current; Core.DelayAction(SetWaveNumber, 500); SetCurrentWave(); SetOffset(); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnDraw += Drawing_OnDraw; }
public Push(LogicSelector current) { color = new ColorBGRA(255, 210, 105, 255); colorRed = new ColorBGRA(139, 0, 0, 255); colorGreen = new ColorBGRA(0, 100, 0, 255); SetRandVector(); randomVector = new Vector3(); currentWave = new Obj_AI_Minion[0]; currentLogic = current; Core.DelayAction(SetWaveNumber, 500); SetCurrentWave(); SetOffset(); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnDraw += Drawing_OnDraw; } }
private int recallsWithGold; //TODO repair shop and remove this tempfix public Recall(LogicSelector currentLogic, Menu parMenu) { var menu = parMenu.AddSubMenu("Recall settings", "ergtrh"); menu.AddLabel( @" Autobuddy will recall only if your HP/MP is lower than the percentage you specified. (defaulted to 25% HP/15% MP) So you won't lose easy kills just because you have enough gold to buy something. "); current = currentLogic; foreach ( var so in ObjectManager.Get <Obj_SpawnPoint>().Where(so => so.Team == ObjectManager.Player.Team)) { spawn = so; } Core.DelayAction(ShouldRecall, 3000); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnDraw += Drawing_OnDraw; } }
private int recallsWithGold; //TODO repair shop and remove this tempfix public Recall(LogicSelector currentLogic, Menu parMenu) { var menu = parMenu.AddSubMenu("Recall settings", "ergtrh"); menu.AddLabel( @" Autobuddy yanlizca HP/MP'niz belirttginiz yuzdeden daha dusukse geri doner. (varsayilan 25% HP/15% MP) Yani birsey satin alacak kadar altininiz oldugunda kolay oldurmeyi kaybetmessin. "); current = currentLogic; foreach ( var so in ObjectManager.Get <Obj_SpawnPoint>().Where(so => so.Team == ObjectManager.Player.Team)) { spawn = so; } Core.DelayAction(ShouldRecall, 3000); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnDraw += Drawing_OnDraw; } }
public Combat(LogicSelector currentLogic) { current = currentLogic; Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
private static void Start() { RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Caitlyn: myChamp = new Caitlyn(); break; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); if (MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) != null && MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName).Get<Label>("shopSequence") != null) { Chat.Print("Autobuddy: Loaded shop plugin for " + ObjectManager.Player.ChampionName); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); new Disrespekt(); Telemetry.SendEvent("GameStart", new Dictionary<string, string>() { {"GameChamp", AutoWalker.p.ChampionName}, {"GameType", BrutalExtensions.GetGameType()}, {"GameRegion", Game.Region}, {"GameID", ""+AutoWalker.GameID}, }); }
private static void Start() { RandGen.Start(); bool generic = false; if (ObjectManager.Player.Hero == Champion.Ashe) { myChamp = new Ashe(); } else if (ObjectManager.Player.Hero == Champion.Caitlyn) { myChamp = new Caitlyn(); } else { generic = true; myChamp = new Generic(); } if (!generic) easyShop = new EasyShop(myChamp.ShopSequence, menu); else { myChamp = new Generic(); if (MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName)!=null&&MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName).Get<Label>("shopSequence") != null) { Chat.Print("Autobuddy: Loaded shop plugin for " + ObjectManager.Player.ChampionName); easyShop = new EasyShop( MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName, menu); } else { Chat.Print("Autobuddy shop and auto skill lvl: no plugins detected for " + ObjectManager.Player.ChampionName + ", using generic ADC build"); easyShop = new EasyShop(myChamp.ShopSequence, menu); } } if (!menu.Get<CheckBox>("autolvl").CurrentValue) LevelUp = new SkillLevelUp(myChamp); Logic = new LogicSelector(myChamp); }
private static void Start() { RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Caitlyn: myChamp = new Caitlyn(); break; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); if (MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) != null && MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName).Get<Label>("shopSequence") != null) { Chat.Print("Autobuddy: Loaded shop plugin for " + ObjectManager.Player.ChampionName); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); }