private static void FrameStageNotify(IBaseClientDLL.FrameStage FrameStage) { if (FrameStage == IBaseClientDLL.FrameStage.RENDER_START) { Visual.FakePrime(); } if (FrameStage == IBaseClientDLL.FrameStage.NET_UPDATE_POSTDATAUPDATE_START) { BasePlayer *localPlayer = Interface.ClientEntityList.GetClientEntity(Interface.VEngineClient.GetLocalPlayer)->GetPlayer; if (localPlayer == null) { Interface.BaseClientDLL.FrameStageNotifyOriginal(FrameStage); return; } if (ConfigManager.CSkinChanger.SkinChangerActive) { SkinChanger.OnFrameStage(FrameStage, localPlayer); } } Interface.BaseClientDLL.FrameStageNotifyOriginal(FrameStage); }
private void CreateMenu() { try { bool newMenu = false; LeagueSharp.Common.Menu menu; if (Menu.GetMenu("SAssembliesRoot") == null) { menu = new LeagueSharp.Common.Menu("SAssemblies", "SAssembliesRoot", true); newMenu = true; } else { menu = Menu.GetMenu("SAssembliesRoot"); } MainMenu.Misc = Misc.SetupMenu(menu); mainMenu.UpdateDirEntry(ref MainMenu.SkinChanger, SkinChanger.SetupMenu(MainMenu.Misc.Menu)); if (newMenu) { menu.AddItem(new MenuItem("By Screeder", "By Screeder V" + Assembly.GetExecutingAssembly().GetName().Version)); menu.AddToMainMenu(); } } catch (Exception ex) { Console.WriteLine("SAssemblies: {0}", ex); throw; } }
private static void SetViewModelSequence(ref IBaseClientDLL.RecvProxyData data, void *Struct, void *Out) { var LocalPlayer = Interface.ClientEntityList.GetClientEntity(Interface.VEngineClient.GetLocalPlayer)->GetPlayer; if (LocalPlayer == null || !LocalPlayer->IsAlive) { Marshal.GetDelegateForFunctionPointer <NetVar.SetViewModelSequenceOriginalDelegate>((IntPtr)Interface.NetVar.SequencePtr)(ref data, Struct, Out); return; } BaseViewModel *viewModel = (BaseViewModel *)(Struct); if (viewModel != null) { var Owner = viewModel->GetOwner; if (Owner != null && Owner == LocalPlayer) { string ModelName = Interface.ModelInfoClient.GetModelName(Interface.ModelInfoClient.GetModel(viewModel->ModelIndex)); int Sequence = data.m_Value.m_Int; data.m_Value.m_Int = SkinChanger.GetSequence(ModelName, Sequence); } } Marshal.GetDelegateForFunctionPointer <NetVar.SetViewModelSequenceOriginalDelegate>((IntPtr)Interface.NetVar.SequencePtr)(ref data, Struct, Out); }
private static bool FireEventClientSide(ref IGameEventManager.GameEvent Event) { if (Event.GetName() == "player_death") { SkinChanger.ApplyKillIcon(ref Event); SkinChanger.ApplyStatTrack(ref Event); } return(Interface.GameEventManager.FireEventClientSideOriginal(ref Event)); }
public override void OnInspectorGUI() { DrawDefaultInspector(); SkinChanger myScript = (SkinChanger)target; if (GUILayout.Button("Change Skin")) { myScript.RefreshSkin(); } }
private static void Loading_OnLoadingComplete(EventArgs args) { //Teemo if (Player.Instance.Hero == Champion.Teemo) { } else { SkinChanger.CreateMenu(); Chat.Print("[T2IN1] " + ObjectManager.Player.ChampionName + " is not Supported!", TextColor.PaleVioletRed); Chat.Print("[T2IN1] Loading T2IN1 Skin Changer.", TextColor.Blue); } }
public static void Attach(System.Diagnostics.Process process, bool isInjected = false) { if (_isAttached) { return; } if (isInjected) { Memory = new LocalProcessMemory(process); } else { Memory = new ExternalProcessMemory(process); } Thread.Sleep(2000); Renderer = new Renderer(process); ClientBase = Memory.GetModule("client.dll").BaseAddress; EngineBase = Memory.GetModule("engine.dll").BaseAddress; Offsets.Initialize(); ClientState = Memory.Read <int>(EngineBase + Offsets.ClientState.Base); Objects = new ObjectManager(ClientBase + Offsets.Misc.EntityList); Box = new Box(); HeadHelper = new HeadHelper(); SkinChanger = new SkinChanger(); ControlRecoil = new Rcs(); TriggerBot = new TriggerBot(); KeyUtils = new KeyUtils(); BunnyJump = new BunnyJump(); SoundEsp = new SoundEsp(); Radar = new Radar(); NoFlash = new NoFlash(); AutoPistol = new AutoPistol(); Glow = new Glow(); AimAssist = new AimAssist(); var enginePtr = Memory.Read <IntPtr>(EngineBase + Offsets.ClientState.Base); if (enginePtr == IntPtr.Zero) { throw new Exception("Couldn't find Engine Ptr - are you sure your offsets are up to date?"); } Client = new GameClient(enginePtr); _isAttached = true; }
public void Load() { General = MainMenu.AddMenu("Worst Ashe", "Worst Ashe"); SkinChanger = General.AddSubMenu("Skin Changer"); SkinChanger.Add("skinEnable", new CheckBox("Enable")); SkinChanger.Add("skinID", new ComboBox("Current Skin", 8, "Default Ashe", "Freljord Ashe", "Sherwood Forest Ashe", "Woad Ashe", "Queen Ashe", "Amethyst Ashe", "Heartseeker Ashe", "Marauder Ashe", "PROJECT: Ashe")); AutoLevell = General.AddSubMenu("Auto Level Up"); AutoLevell.Add("ALEnable", new CheckBox("Enable")); AutoLevell.Add("ALBox", new ComboBox("Level Up Mode", 1, "R>Q>W>E", "R>W>Q>E")); AutoLevell.Add("Delay", new Slider("Max. delay value", 500, 0, 10000)); ConfigQ = General.AddSubMenu("Q Config"); ConfigQ.Add("harasQ", new CheckBox("Harass Q")); ConfigE = General.AddSubMenu("E Config"); ConfigE.Add("autoE", new CheckBox("Auto E")); ConfigE.Add("Eflash", new CheckBox("Use E against Flashes")); ConfigE.Add("EDragon", new KeyBind("Cast E to Dragon", false, KeyBind.BindTypes.HoldActive, 'U')); ConfigE.Add("EBaron", new KeyBind("Cast E to Baron", false, KeyBind.BindTypes.HoldActive, 'I')); ConfigR = General.AddSubMenu("R Config"); ConfigR.Add("autoR", new CheckBox("Auto R")); ConfigR.Add("Rkscombo", new CheckBox("R KS combo R + W + AA")); ConfigR.Add("autoRaoe", new CheckBox("Auto R aoe")); ConfigR.Add("autoRinter", new CheckBox("Auto R OnPossibleToInterrupt")); ConfigR.Add("useR2", new KeyBind("R key target cast", false, KeyBind.BindTypes.HoldActive, 'Y')); ConfigR.Add("useR", new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, 'T')); ConfigR.Add("Semi-manual", new ComboBox("Semi-manual MODE", 1, "LOW HP", "CLOSEST")); ConfigR.Add("GapCloser", new CheckBox("R GapCloser")); Harass = General.AddSubMenu("Harass"); Harass.Add("haras", new CheckBox("Enable")); Farmed = General.AddSubMenu("Farm"); Farmed.Add("farmQ", new CheckBox("Lane Clear Q")); Farmed.Add("farmW", new CheckBox("Lane Clear W")); Farmed.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100)); Farmed.Add("LCminions", new Slider("LaneClear minimum minions", 3, 0, 10)); Farmed.Add("jungleQ", new CheckBox("Jungle Clear Q")); Farmed.Add("jungleW", new CheckBox("Jungle Clear W")); Itemss = General.AddSubMenu("Items"); Itemss.Add("BilCombo", new CheckBox("Use Bilgewater Cutlass")); Itemss.Add("YoumuCombo", new CheckBox("Use Youmuu's Ghostblade")); Itemss.Add("BotrkCombo", new CheckBox("Use BOTRK")); Itemss.Add("MyBotrkHp", new Slider("Min. HP for using BOTRK (%)", 50, 0, 100)); Itemss.Add("EnBotrkHp", new Slider("Min. Enemy HP for using BOTRK (%)", 50, 0, 100)); /*Summ = General.AddSubMenu("Summ. spells"); * Summ.AddGroupLabel("Heal"); * Summ.Add("Heal", new CheckBox("Enable heal")); * Summ.Add("AllyHeal", new CheckBox("Enable heal for Ally")); * Summ.Add("healhp", new Slider("Use Heal if HP < (%) ", 25, 0, 100)); */ Draw = General.AddSubMenu("Draw"); Draw.Add("onlyRdy", new CheckBox("Draw only ready spells")); Draw.Add("wRange", new CheckBox("W range")); Draw.Add("rNot", new CheckBox("R key info")); Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60) { AllowedCollisionCount = 0 }; E = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0); R = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250); Game.OnUpdate += OnUpdate; Orbwalker.OnPostAttack += AfterAttack; Game.OnWndProc += Game_OnWndProc; Interrupter.OnInterruptableSpell += InterrupterOnInterruptableSpell; Gapcloser.OnGapcloser += GapcloserOnGapcloser; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; }
public void Load() { Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70); Q.AllowedCollisionCount = 0; W = new Spell.Active(SpellSlot.W, 720); E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120); R.AllowedCollisionCount = int.MaxValue; General = MainMenu.AddMenu("Worst KogMaw", "Worst KogMaw"); SkinChanger = General.AddSubMenu("Skin Changer"); SkinChanger.Add("skinEnable", new CheckBox("Enable")); SkinChanger.Add("skinID", new ComboBox("Current Skin", 8, "0", "1", "2", "3", "4", "5", "6", "7", "8")); AutoLevell = General.AddSubMenu("Auto Level Up"); AutoLevell.Add("ALEnable", new CheckBox("Enable")); AutoLevell.Add("ALBox", new ComboBox("Level Up Mode", 0, "R>W>Q>E", "R>W>E>Q")); AutoLevell.Add("Delay", new Slider("Max. delay value", 500, 0, 10000)); ConfigQ = General.AddSubMenu("Q Config", "Qconfig"); ConfigQ.Add("autoQ", new CheckBox("Auto Q")); ConfigQ.Add("harrasQ", new CheckBox("Harass Q")); ConfigW = General.AddSubMenu("W Config", "Wconfig"); ConfigW.Add("autoW", new CheckBox("Auto W")); ConfigW.Add("harasW", new CheckBox("Harass W on max range")); ConfigE = General.AddSubMenu("E Config", "Econfig"); ConfigE.Add("autoE", new CheckBox("Auto E")); ConfigE.Add("HarrasE", new CheckBox("Harass E")); ConfigE.Add("AGC", new CheckBox("AntiGapcloserE")); ConfigR = General.AddSubMenu("R Option"); ConfigR.Add("autoR", new CheckBox("Auto R")); ConfigR.Add("RmaxHp", new Slider("Target max % HP", 50, 0, 100)); ConfigR.Add("comboStack", new Slider("Max combo stack R", 2, 0, 10)); ConfigR.Add("harasStack", new Slider("Max haras stack R", 1, 0, 10)); ConfigR.Add("Rcc", new CheckBox("R cc")); ConfigR.Add("Rslow", new CheckBox("R slow")); ConfigR.Add("Raoe", new CheckBox("R aoe")); ConfigR.Add("Raa", new CheckBox("R only out off AA range")); Farmed = General.AddSubMenu("Farm"); Farmed.Add("farmW", new CheckBox("LaneClear W")); Farmed.Add("farmE", new CheckBox("LaneClear E")); Farmed.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10)); Farmed.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100)); Farmed.Add("jungleW", new CheckBox("Jungle Clear W")); Farmed.Add("jungleE", new CheckBox("Jungle Clear E")); /* Summ = General.AddSubMenu("Summ. spells"); * Summ.AddGroupLabel("Heal"); * Summ.Add("Heal", new CheckBox("Enable heal")); * Summ.Add("AllyHeal", new CheckBox("Enable heal for Ally")); * Summ.Add("healhp", new Slider("Use Heal if HP < (%) ", 25, 0, 100)); */ Itemss = General.AddSubMenu("Items"); Itemss.Add("BilCombo", new CheckBox("Use Bilgewater Cutlass")); Itemss.Add("YoumuCombo", new CheckBox("Use Youmuu's Ghostblade")); Itemss.Add("BotrkCombo", new CheckBox("Use BOTRK")); Itemss.Add("MyBotrkHp", new Slider("Min. HP for using BOTRK (%)", 50, 0, 100)); Itemss.Add("EnBotrkHp", new Slider("Min. Enemy HP for using BOTRK (%)", 50, 0, 100)); Draw = General.AddSubMenu("Draw"); Draw.Add("ComboInfo", new CheckBox("R killable info")); Draw.Add("qRange", new CheckBox("Q range")); Draw.Add("wRange", new CheckBox("W range")); Draw.Add("eRange", new CheckBox("E range")); Draw.Add("rRange", new CheckBox("R range")); Draw.Add("onlyRdy", new CheckBox("Draw only ready spells")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Orbwalker.OnPreAttack += PreAttack; Orbwalker.OnPostAttack += AfterAttack; Gapcloser.OnGapcloser += AntiGap; }
static void Main(string[] args) { Console.Title = "ExternalBase.C0re"; if (!Memory.StartProcess()) { Environment.Exit(0); } ClientPointer = Memory.DllImageAddress("client.dll"); EnginePointer = Memory.DllImageAddress("engine.dll"); DLLImports.SetHook(); for (var i = 0; i < 64; i++) { Arrays.Entity[i] = new Entity(); } Console.WriteLine(@" _______ _______ _______ _______ "); Console.WriteLine(@" ( ____ \( __ )( ____ )( ____ \"); Console.WriteLine(@" | ( \/| ( ) || ( )|| ( \/"); Console.WriteLine(@" | | | | / || (____)|| (__ "); Console.WriteLine(@" | | | (/ /) || __)| __) "); Console.WriteLine(@" | | | / | || (\ ( | ( "); Console.WriteLine(@" | (____/\| (__) || ) \ \__| (____/\"); Console.WriteLine(@" (_______/(_______)|/ \__/(_______/"); Console.WriteLine(@""); Console.ForegroundColor = ConsoleColor.Green; AdressReader AdressReader = new AdressReader(); Thread DataReaderThread = new Thread(AdressReader.ReadData); DataReaderThread.Start(); Console.WriteLine("Thread: 'AdressReader' started."); Glow Glow = new Glow(); Thread GlowThread = new Thread(Glow.GlowESP); GlowThread.Start(); Console.WriteLine("Thread: 'Glow-ESP' started."); Triggerbot Triggerbot = new Triggerbot(); Thread TriggerbotThread = new Thread(Triggerbot.Trigger); TriggerbotThread.Start(); Console.WriteLine("Thread: 'Triggerbot' started."); Misc Misc = new Misc(); Thread MiscThread = new Thread(Misc.Miscellaneous); MiscThread.Start(); Console.WriteLine("Thread: 'Misc' started."); SkinChanger SkinChanger = new SkinChanger(); Thread SkinChangerThread = new Thread(SkinChanger.IterateThroughWeapons); SkinChangerThread.Start(); Console.WriteLine("Thread: 'SkinChanger' started."); Application.Run(); }
public void SkinChanger(SkinChanger changer) { _skinChanger.Add(changer); }