From ee874fea23a28201391dd32b17e8f6d2af10c276 Mon Sep 17 00:00:00 2001 From: NerfBatInc <112824641+NerfBatInc@users.noreply.github.com> Date: Fri, 30 Sep 2022 23:47:04 -0400 Subject: [PATCH] More Fixes, Typos and Redid menu. math.h vs cmath ?? --- apex_dma/apex_dma.cpp | 166 ++--- apex_guest/Client/Client/main.cpp | 164 +++-- apex_guest/Client/Client/main.h | 5 +- apex_guest/Client/Client/overlay.cpp | 1016 ++++++++++++++------------ apex_guest/Client/Client/overlay.h | 2 + 5 files changed, 720 insertions(+), 633 deletions(-) diff --git a/apex_dma/apex_dma.cpp b/apex_dma/apex_dma.cpp index 2988a33..a84b487 100644 --- a/apex_dma/apex_dma.cpp +++ b/apex_dma/apex_dma.cpp @@ -657,7 +657,7 @@ static void AimbotLoop() static void set_vars(uint64_t add_addr) { - printf("Reading client vars...\n"); + printf("Reading the client vars...\n"); std::this_thread::sleep_for(std::chrono::milliseconds(50)); //Get addresses of client vars uint64_t check_addr = 0; @@ -696,158 +696,154 @@ static void set_vars(uint64_t add_addr) client_mem.Read(add_addr + sizeof(uint64_t)*16, spectators_addr); uint64_t allied_spectators_addr = 0; client_mem.Read(add_addr + sizeof(uint64_t)*17, allied_spectators_addr); - uint64_t chargerifle_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*18, chargerifle_addr); - uint64_t shooting_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*19, shooting_addr); uint64_t glowr_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*20, glowr_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*18, glowr_addr); uint64_t glowg_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*21, glowg_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*19, glowg_addr); uint64_t glowb_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*22, glowb_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*20, glowb_addr); uint64_t firing_range_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*23, firing_range_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*21, firing_range_addr); uint64_t lightbackpack_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*24, lightbackpack_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*22, lightbackpack_addr); uint64_t medbackpack_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*25, medbackpack_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*23, medbackpack_addr); uint64_t heavybackpack_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*26, heavybackpack_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*24, heavybackpack_addr); uint64_t shieldupgrade_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*27, shieldupgrade_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*25, shieldupgrade_addr); uint64_t shieldupgradehead_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*28, shieldupgradehead_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*26, shieldupgradehead_addr); uint64_t accelerant_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*29, accelerant_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*27, accelerant_addr); uint64_t phoenix_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*30, phoenix_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*28, phoenix_addr); uint64_t healthlarge_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*31, healthlarge_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*29, healthlarge_addr); uint64_t healthsmall_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*32, healthsmall_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*30, healthsmall_addr); uint64_t shieldbattsmall_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*33, shieldbattsmall_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*31, shieldbattsmall_addr); uint64_t shieldbattlarge_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*34, shieldbattlarge_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*32, shieldbattlarge_addr); uint64_t ammosniper_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*35, ammosniper_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*33, ammosniper_addr); uint64_t ammohc_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*36, ammohc_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*34, ammohc_addr); uint64_t optic_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*37, optic_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*35, optic_addr); uint64_t ammosc_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*38, ammosc_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*36, ammosc_addr); uint64_t ammonrg_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*39, ammonrg_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*37, ammonrg_addr); uint64_t ammoshotgun_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*40, ammoshotgun_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*38, ammoshotgun_addr); uint64_t lasersight_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*41, lasersight_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*39, lasersight_addr); uint64_t magsniper_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*42, magsniper_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*40, magsniper_addr); uint64_t magenergy_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*43, magenergy_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*41, magenergy_addr); uint64_t stocksniper_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*44, stocksniper_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*42, stocksniper_addr); uint64_t stockregular_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*45, stockregular_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*43, stockregular_addr); uint64_t shielddown_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*46, shielddown_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*44, shielddown_addr); uint64_t lightammomag_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*47, lightammomag_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*45, lightammomag_addr); uint64_t heavyammomag_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*48, heavyammomag_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*46, heavyammomag_addr); uint64_t optic2x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*49, optic2x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*47, optic2x_addr); uint64_t opticholo1x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*50, opticholo1x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*48, opticholo1x_addr); uint64_t opticholo1x2x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*51, opticholo1x2x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*49, opticholo1x2x_addr); uint64_t opticthreat_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*52, opticthreat_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*50, opticthreat_addr); uint64_t optic3x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*53, optic3x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*51, optic3x_addr); uint64_t optic2x4x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*54, optic2x4x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*52, optic2x4x_addr); uint64_t opticsniper6x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*55, opticsniper6x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*53, opticsniper6x_addr); uint64_t opticsniper4x8x_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*56, opticsniper4x8x_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*54, opticsniper4x8x_addr); uint64_t opticsniperthreat_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*57, opticsniperthreat_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*55, opticsniperthreat_addr); uint64_t suppressor_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*58, suppressor_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*56, suppressor_addr); uint64_t weaponmod_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*59, weaponmod_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*57, weaponmod_addr); uint64_t grenade_frag_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*60, grenade_frag_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*58, grenade_frag_addr); uint64_t grenade_arc_star_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*61, grenade_arc_star_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*59, grenade_arc_star_addr); uint64_t grenade_thermite_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*62, grenade_thermite_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*60, grenade_thermite_addr); uint64_t shotgunbolt_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*63, shotgunbolt_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*61, shotgunbolt_addr); uint64_t weapon_kraber_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*64, weapon_kraber_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*62, weapon_kraber_addr); uint64_t weapon_mastiff_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*65, weapon_mastiff_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*63, weapon_mastiff_addr); uint64_t weapon_lstar_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*66, weapon_lstar_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*64, weapon_lstar_addr); uint64_t weapon_havoc_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*67, weapon_havoc_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*65, weapon_havoc_addr); uint64_t weapon_devotion_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*68, weapon_devotion_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*66, weapon_devotion_addr); uint64_t weapon_triple_take_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*69, weapon_triple_take_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*67, weapon_triple_take_addr); uint64_t weapon_flatline_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*70, weapon_flatline_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*68, weapon_flatline_addr); uint64_t weapon_hemlock_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*71, weapon_hemlock_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*69, weapon_hemlock_addr); uint64_t weapon_g7_scout_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*72, weapon_g7_scout_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*70, weapon_g7_scout_addr); uint64_t weapon_alternator_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*73, weapon_alternator_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*71, weapon_alternator_addr); uint64_t weapon_r99_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*74, weapon_r99_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*72, weapon_r99_addr); uint64_t weapon_prowler_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*75, weapon_prowler_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*73, weapon_prowler_addr); uint64_t weapon_volt_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*76, weapon_volt_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*74, weapon_volt_addr); uint64_t weapon_longbow_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*77, weapon_longbow_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*75, weapon_longbow_addr); uint64_t weapon_charge_rifle_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*78, weapon_charge_rifle_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*76, weapon_charge_rifle_addr); uint64_t weapon_spitfire_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*79, weapon_spitfire_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*77, weapon_spitfire_addr); uint64_t weapon_r301_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*80, weapon_r301_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*78, weapon_r301_addr); uint64_t weapon_eva8_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*81, weapon_eva8_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*79, weapon_eva8_addr); uint64_t weapon_peacekeeper_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*82, weapon_peacekeeper_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*80, weapon_peacekeeper_addr); uint64_t weapon_mozambique_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*83, weapon_mozambique_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*81, weapon_mozambique_addr); uint64_t weapon_wingman_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*84, weapon_wingman_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*82, weapon_wingman_addr); uint64_t weapon_p2020_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*85, weapon_p2020_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*83, weapon_p2020_addr); uint64_t weapon_re45_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*86, weapon_re45_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*84, weapon_re45_addr); uint64_t weapon_sentinel_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*87, weapon_sentinel_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*85, weapon_sentinel_addr); uint64_t weapon_bow_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*88, weapon_bow_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*86, weapon_bow_addr); uint64_t weapon_3030_repeater_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*89, weapon_3030_repeater_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*87, weapon_3030_repeater_addr); uint64_t weapon_rampage_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*90, weapon_rampage_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*88, weapon_rampage_addr); uint64_t weapon_car_smg_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*91, weapon_car_smg_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*89, weapon_car_smg_addr); uint64_t aimdist_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*92, aimdist_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*90, aimdist_addr); uint64_t itemglowbrightness_addr = 0; - client_mem.Read(add_addr + sizeof(uint64_t)*93, itemglowbrightness_addr); + client_mem.Read(add_addr + sizeof(uint64_t)*91, itemglowbrightness_addr); @@ -868,7 +864,7 @@ static void set_vars(uint64_t add_addr) if(c_Base!=0 && g_Base!=0) { client_mem.Write(check_addr, 0); - printf("\nReady\n"); + printf("\nLet the fun begin!\n"); } while(c_Base!=0 && g_Base!=0) @@ -1007,7 +1003,7 @@ static void item_glow_t() uint64_t entitylist = g_Base + OFFSET_ENTITYLIST; if (item_glow) { - for (int i = 0; i < 15000; i++) + for (int i = 0; i < 10000; i++) { uint64_t centity = 0; apex_mem.Read(entitylist + ((uint64_t)i << 5), centity); @@ -1049,9 +1045,9 @@ static void item_glow_t() if (medbackpack && strstr(glowName, "mdl/humans_r5/loot/w_loot_char_backpack_medium.rmdl")) { - apex_mem.Write(centity + OFFSET_GLOW_ENABLE, 1); + apex_mem.Write(centity + OFFSET_GLOW_ENABLE, 1); apex_mem.Write(centity + OFFSET_GLOW_THROUGH_WALLS, 2); // 1 = far, 2 = close - apex_mem.Write(centity + GLOW_START_TIME, { 101,101,99,127 }); + apex_mem.Write(centity + GLOW_START_TIME, { 101,101,99,90 }); apex_mem.Write(centity + GLOW_COLOR_R, 0 / itemglowbrightness); // r apex_mem.Write(centity + GLOW_COLOR_G, 191 / itemglowbrightness); // g @@ -1740,13 +1736,13 @@ static void item_glow_t() } k=1; - std::this_thread::sleep_for(std::chrono::milliseconds(300)); + std::this_thread::sleep_for(std::chrono::milliseconds(60)); } else { if(k==1) { - for (int i = 0; i < 15000; i++) + for (int i = 0; i < 10000; i++) { uint64_t centity = 0; apex_mem.Read(entitylist + ((uint64_t)i << 5), centity); diff --git a/apex_guest/Client/Client/main.cpp b/apex_guest/Client/Client/main.cpp index cba13e9..db1e849 100644 --- a/apex_guest/Client/Client/main.cpp +++ b/apex_guest/Client/Client/main.cpp @@ -1,3 +1,7 @@ +#pragma warning (disable : 4715) +#pragma warning (disable : 4005) +#pragma warning (disable : 4305) +#pragma warning (disable : 4244) #include "main.h" typedef struct player @@ -152,7 +156,7 @@ int allied_spectators = 0; //write bool valid = true; //write bool next2 = true; //read write -uint64_t add[97]; +uint64_t add[92]; bool k_f5 = 0; bool k_f6 = 0; @@ -510,7 +514,7 @@ public: // Take screenshot, First is top right random pos, then bttm left random pos from screen shot // // First set is the x cord, then the y cord, then the screen pos from the screenshot, do the same for the second set. -//Battel Royal +//Battel Royal Test //default creen res 1080p // 1440p is x1.333333 world KingsCanyon(ImVec2(25223.177734, 28906.144531), ImVec2(1197, 185), ImVec2(10399.223633, 13334.792969), ImVec2(1014, 381)); //could be more accurate @@ -652,8 +656,8 @@ ImVec2 worldToScreenMap(D3DXVECTOR3 origin, int TeamID) { { Team20(pos_x, pos_y, mainmapradardotsize1, mainmapradardotsize2, { 218, 73, 145, 255 }); } - + } void Overlay::RenderEsp() @@ -737,80 +741,80 @@ int main(int argc, char** argv) add[15] = (uintptr_t)&thirdperson; add[16] = (uintptr_t)&spectators; add[17] = (uintptr_t)&allied_spectators; - add[20] = (uintptr_t)&glowr; - add[21] = (uintptr_t)&glowg; - add[22] = (uintptr_t)&glowb; - add[23] = (uintptr_t)&firing_range; - add[24] = (uintptr_t)&lightbackpack; - add[25] = (uintptr_t)&medbackpack; - add[26] = (uintptr_t)&heavybackpack; - add[27] = (uintptr_t)&shieldupgrade; - add[28] = (uintptr_t)&shieldupgradehead; - add[29] = (uintptr_t)&accelerant; - add[30] = (uintptr_t)&phoenix; - add[31] = (uintptr_t)&healthlarge; - add[32] = (uintptr_t)&healthsmall; - add[33] = (uintptr_t)&shieldbattsmall; - add[34] = (uintptr_t)&shieldbattlarge; - add[35] = (uintptr_t)&ammosniper; - add[36] = (uintptr_t)&ammohc; - add[37] = (uintptr_t)&optic; - add[38] = (uintptr_t)&ammosc; - add[39] = (uintptr_t)&ammonrg; - add[40] = (uintptr_t)&ammoshotgun; - add[41] = (uintptr_t)&lasersight; - add[42] = (uintptr_t)&magsniper; - add[43] = (uintptr_t)&magenergy; - add[44] = (uintptr_t)&stocksniper; - add[45] = (uintptr_t)&stockregular; - add[46] = (uintptr_t)&shielddown; - add[47] = (uintptr_t)&lightammomag; - add[48] = (uintptr_t)&heavyammomag; - add[49] = (uintptr_t)&optic2x; - add[50] = (uintptr_t)&opticholo1x; - add[51] = (uintptr_t)&opticholo1x2x; - add[52] = (uintptr_t)&opticthreat; - add[53] = (uintptr_t)&optic3x; - add[54] = (uintptr_t)&optic2x4x; - add[55] = (uintptr_t)&opticsniper6x; - add[56] = (uintptr_t)&opticsniper4x8x; - add[57] = (uintptr_t)&opticsniperthreat; - add[58] = (uintptr_t)&suppressor; - add[59] = (uintptr_t)&weaponmod; - add[60] = (uintptr_t)&grenade_frag; - add[61] = (uintptr_t)&grenade_arc_star; - add[62] = (uintptr_t)&grenade_thermite; - add[63] = (uintptr_t)&shotgunbolt; - add[64] = (uintptr_t)&weapon_kraber; - add[65] = (uintptr_t)&weapon_mastiff; - add[66] = (uintptr_t)&weapon_lstar; - add[67] = (uintptr_t)&weapon_havoc; - add[68] = (uintptr_t)&weapon_devotion; - add[69] = (uintptr_t)&weapon_triple_take; - add[70] = (uintptr_t)&weapon_flatline; - add[71] = (uintptr_t)&weapon_hemlock; - add[72] = (uintptr_t)&weapon_g7_scout; - add[73] = (uintptr_t)&weapon_alternator; - add[74] = (uintptr_t)&weapon_r99; - add[75] = (uintptr_t)&weapon_prowler; - add[76] = (uintptr_t)&weapon_volt; - add[77] = (uintptr_t)&weapon_longbow; - add[78] = (uintptr_t)&weapon_charge_rifle; - add[79] = (uintptr_t)&weapon_spitfire; - add[80] = (uintptr_t)&weapon_r301; - add[81] = (uintptr_t)&weapon_eva8; - add[82] = (uintptr_t)&weapon_peacekeeper; - add[83] = (uintptr_t)&weapon_mozambique; - add[84] = (uintptr_t)&weapon_wingman; - add[85] = (uintptr_t)&weapon_p2020; - add[86] = (uintptr_t)&weapon_re45; - add[87] = (uintptr_t)&weapon_sentinel; - add[88] = (uintptr_t)&weapon_bow; - add[89] = (uintptr_t)&weapon_3030_repeater; - add[90] = (uintptr_t)&weapon_rampage; - add[91] = (uintptr_t)&weapon_car_smg; - add[92] = (uintptr_t)&aimdist; - add[93] = (uintptr_t)&itemglowbrightness; + add[18] = (uintptr_t)&glowr; + add[19] = (uintptr_t)&glowg; + add[20] = (uintptr_t)&glowb; + add[21] = (uintptr_t)&firing_range; + add[22] = (uintptr_t)&lightbackpack; + add[23] = (uintptr_t)&medbackpack; + add[24] = (uintptr_t)&heavybackpack; + add[25] = (uintptr_t)&shieldupgrade; + add[26] = (uintptr_t)&shieldupgradehead; + add[27] = (uintptr_t)&accelerant; + add[28] = (uintptr_t)&phoenix; + add[29] = (uintptr_t)&healthlarge; + add[30] = (uintptr_t)&healthsmall; + add[31] = (uintptr_t)&shieldbattsmall; + add[32] = (uintptr_t)&shieldbattlarge; + add[33] = (uintptr_t)&ammosniper; + add[34] = (uintptr_t)&ammohc; + add[35] = (uintptr_t)&optic; + add[36] = (uintptr_t)&ammosc; + add[37] = (uintptr_t)&ammonrg; + add[38] = (uintptr_t)&ammoshotgun; + add[39] = (uintptr_t)&lasersight; + add[40] = (uintptr_t)&magsniper; + add[41] = (uintptr_t)&magenergy; + add[42] = (uintptr_t)&stocksniper; + add[43] = (uintptr_t)&stockregular; + add[44] = (uintptr_t)&shielddown; + add[45] = (uintptr_t)&lightammomag; + add[46] = (uintptr_t)&heavyammomag; + add[47] = (uintptr_t)&optic2x; + add[48] = (uintptr_t)&opticholo1x; + add[49] = (uintptr_t)&opticholo1x2x; + add[50] = (uintptr_t)&opticthreat; + add[51] = (uintptr_t)&optic3x; + add[52] = (uintptr_t)&optic2x4x; + add[53] = (uintptr_t)&opticsniper6x; + add[54] = (uintptr_t)&opticsniper4x8x; + add[55] = (uintptr_t)&opticsniperthreat; + add[56] = (uintptr_t)&suppressor; + add[57] = (uintptr_t)&weaponmod; + add[58] = (uintptr_t)&grenade_frag; + add[59] = (uintptr_t)&grenade_arc_star; + add[60] = (uintptr_t)&grenade_thermite; + add[61] = (uintptr_t)&shotgunbolt; + add[62] = (uintptr_t)&weapon_kraber; + add[63] = (uintptr_t)&weapon_mastiff; + add[64] = (uintptr_t)&weapon_lstar; + add[65] = (uintptr_t)&weapon_havoc; + add[66] = (uintptr_t)&weapon_devotion; + add[67] = (uintptr_t)&weapon_triple_take; + add[68] = (uintptr_t)&weapon_flatline; + add[69] = (uintptr_t)&weapon_hemlock; + add[70] = (uintptr_t)&weapon_g7_scout; + add[71] = (uintptr_t)&weapon_alternator; + add[72] = (uintptr_t)&weapon_r99; + add[73] = (uintptr_t)&weapon_prowler; + add[74] = (uintptr_t)&weapon_volt; + add[75] = (uintptr_t)&weapon_longbow; + add[76] = (uintptr_t)&weapon_charge_rifle; + add[77] = (uintptr_t)&weapon_spitfire; + add[78] = (uintptr_t)&weapon_r301; + add[79] = (uintptr_t)&weapon_eva8; + add[80] = (uintptr_t)&weapon_peacekeeper; + add[81] = (uintptr_t)&weapon_mozambique; + add[82] = (uintptr_t)&weapon_wingman; + add[83] = (uintptr_t)&weapon_p2020; + add[84] = (uintptr_t)&weapon_re45; + add[85] = (uintptr_t)&weapon_sentinel; + add[86] = (uintptr_t)&weapon_bow; + add[87] = (uintptr_t)&weapon_3030_repeater; + add[88] = (uintptr_t)&weapon_rampage; + add[89] = (uintptr_t)&weapon_car_smg; + add[90] = (uintptr_t)&aimdist; + add[91] = (uintptr_t)&itemglowbrightness; @@ -992,8 +996,6 @@ int main(int argc, char** argv) mainradarmap = false; minimapradar = true; break; - default: - break; } } else if (!IsKeyDown(0x4D) && mainradartoggle == 1) @@ -1016,8 +1018,8 @@ int main(int argc, char** argv) } ready = false; ov1.Clear(); - if (!use_nvidia) - system(XorStr("taskkill /F /T /IM Nvspcaps64.exe")); //custom overlay process name + if (use_nvidia) + system(XorStr("taskkill /T /IM \"NVIDIA Share.exe\" /F")); //custom overlay process name return 0; } diff --git a/apex_guest/Client/Client/main.h b/apex_guest/Client/Client/main.h index 4f63b23..2be8e33 100644 --- a/apex_guest/Client/Client/main.h +++ b/apex_guest/Client/Client/main.h @@ -1,4 +1,7 @@ #pragma once +#pragma warning (disable : 4005) +#pragma warning (disable : 4244) +#pragma warning (disable : 4305) #include #include @@ -8,7 +11,7 @@ #include //#include //#include "D3DX10Math.h" -#include "math.h" +#include #include "overlay.h" #include #include diff --git a/apex_guest/Client/Client/overlay.cpp b/apex_guest/Client/Client/overlay.cpp index f201920..c623d0a 100644 --- a/apex_guest/Client/Client/overlay.cpp +++ b/apex_guest/Client/Client/overlay.cpp @@ -1,3 +1,7 @@ +#pragma warning (disable : 4715) +#pragma warning (disable : 4005) +#pragma warning (disable : 4305) +#pragma warning (disable : 4244) #include "overlay.h" #include #include @@ -76,7 +80,6 @@ extern bool optic2x4x; extern bool opticthreat; extern bool optic3x; extern bool opticholo1x2x; - extern bool suppressor; extern bool weaponmod; extern bool grenade_frag; @@ -115,6 +118,12 @@ extern bool weapon_car_smg; extern float aimdist; //item glow brightness extern int itemglowbrightness; +//Menu Stuff +int menu1 = 0; +int menu2 = 0; +int menu3 = 0; +int menu4 = 0; + int width; @@ -208,482 +217,557 @@ void Overlay::RenderMenu() ImGui::SetNextWindowPos(ImVec2(0, 0)); ImGui::SetNextWindowSize(ImVec2(450, 860), ImGuiCond_Once); ImGui::Begin(XorStr("##title"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar); - if (ImGui::BeginTabBar(XorStr("Tab"))) - { - if (ImGui::BeginTabItem(XorStr("Main"))) - { - ImGui::Sliderbox(XorStr("ESP Toggle"), &esp); - - ImGui::Sliderbox(XorStr("AIM Toggle"), &aim_enable); - ImGui::Text(XorStr("Aim Distance:")); - ImGui::SameLine(); - ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##"); - ImGui::SameLine(); - ImGui::TextColored(GREEN, "%.0f ", aimdist / 39.62); - ImGui::RadioButton("Left Mouse Aim", &e, 1); ImGui::SameLine(); - ImGui::RadioButton("Right Mouse Aim", &e, 2); ImGui::SameLine(); - ImGui::RadioButton("Left and Right Mouse Aim", &e, 3); - //Setting one and unsetting the other - if (e == 1) - { - toggleaim = true; - toggleaim2 = false; - } - else if (e == 2) - { - toggleaim = false; - toggleaim2 = true; - } - else if (e == 3) - { - toggleaim = true; - toggleaim2 = true; - } - - - if (aim_enable) - { - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("No Recoil/Sway"), &aim_no_recoil); - if (vis_check) + //if (ImGui::BeginTabBar(XorStr("Tab"))) + //{ + //if (ImGui::BeginTabItem(XorStr("##"))) + //{ + if (ImGui::CollapsingHeader("Main Toggle Settings")) { - aim = 2; + menu1 = 1; + ImGui::Sliderbox(XorStr("ESP On/Off"), &esp); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("AIM On/Off"), &aim_enable); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Glow Items"), &item_glow); + ImGui::Sliderbox(XorStr("Glow Players"), &player_glow); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar); + if (aim_enable) + { + ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("No Recoil"), &aim_no_recoil); + if (vis_check) + { + aim = 2; + } + else + { + aim = 1; + } + } + else + { + aim = 0; + } + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Firing Range"), &firing_range); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Aiming Distance:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN, "%.f meters", aimdist / 39.62); + ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Aiming Keys:")); + ImGui::RadioButton("Left Mouse", &e, 1); ImGui::SameLine(); + ImGui::RadioButton("Right Mouse ", &e, 2); ImGui::SameLine(); + ImGui::RadioButton("Left/Right Mouse", &e, 3); + //Setting one and unsetting the other + if (e == 1) + { + toggleaim = true; + toggleaim2 = false; + } + else if (e == 2) + { + toggleaim = false; + toggleaim2 = true; + } + else if (e == 3) + { + toggleaim = true; + toggleaim2 = true; + } + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Max distance for everything:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN,"%d meters", (int)(max_dist / 40)); + ImGui::SliderFloat(XorStr("##1"), &max_dist, 100.0f * 40, 3800.0f * 40, "##"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Smooth Aim Value:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN, "%.f", smooth); + ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "##"); + ImGui::SameLine(); + ImGui::Text(XorStr("85 To 100 Is Safe")); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Max FOV:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN, "%.f", max_fov); + ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "##"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Aiming Bone:")); + ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach")); + ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("ESP Options:")); + ImGui::Sliderbox(XorStr("Distance"), &v.distance); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Player Glow Color:")); + ImGui::ColorEdit3("##Glow Color Picker", glowcolor); + { + glowr = glowcolor[0] * 250; + glowg = glowcolor[1] * 250; + glowb = glowcolor[2] * 250; + } + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Saving and Loading. Need to Save Once to make the file.")); + //Saving + if (ImGui::Button("Save Config")) + { + ofstream config("Settings.txt"); + if (config.is_open()) + { + config << std::boolalpha << firing_range << "\n"; + config << aim << "\n"; + config << std::boolalpha << esp << "\n"; + config << std::boolalpha << item_glow << "\n"; + config << std::boolalpha << player_glow << "\n"; + config << std::boolalpha << aim_no_recoil << "\n"; + config << max_dist << "\n"; + config << smooth << "\n"; + config << max_fov << "\n"; + config << bone << "\n"; + config << glowr << "\n"; + config << glowg << "\n"; + config << glowb << "\n"; + config << glowcolor[0] << "\n"; + config << glowcolor[1] << "\n"; + config << glowcolor[2] << "\n"; + config << radarcolorr << "\n"; + config << radarcolorg << "\n"; + config << radarcolorb << "\n"; + config << radarcolor[0] << "\n"; + config << radarcolor[1] << "\n"; + config << radarcolor[2] << "\n"; + config << v.healthbar << "\n"; + config << v.shieldbar << "\n"; + config << v.distance << "\n"; + config << thirdperson << "\n"; + config << std::boolalpha << minimapradar << "\n"; + + config << std::boolalpha << lightbackpack << "\n"; + config << std::boolalpha << medbackpack << "\n"; + config << std::boolalpha << heavybackpack << "\n"; + config << std::boolalpha << shieldupgrade << "\n"; + config << std::boolalpha << shieldupgradehead << "\n"; + config << std::boolalpha << accelerant << "\n"; + config << std::boolalpha << phoenix << "\n"; + config << std::boolalpha << healthlarge << "\n"; + config << std::boolalpha << healthsmall << "\n"; + config << std::boolalpha << shieldbattsmall << "\n"; + config << std::boolalpha << shieldbattlarge << "\n"; + config << std::boolalpha << ammosniper << "\n"; + config << std::boolalpha << ammohc << "\n"; + config << std::boolalpha << optic << "\n"; + config << std::boolalpha << ammosc << "\n"; + config << std::boolalpha << ammonrg << "\n"; + config << std::boolalpha << ammoshotgun << "\n"; + config << std::boolalpha << lasersight << "\n"; + config << std::boolalpha << magsniper << "\n"; + config << std::boolalpha << magenergy << "\n"; + config << std::boolalpha << stocksniper << "\n"; + config << std::boolalpha << stockregular << "\n"; + config << std::boolalpha << shielddown << "\n"; + config << std::boolalpha << lightammomag << "\n"; + config << std::boolalpha << heavyammomag << "\n"; + config << std::boolalpha << optic2x << "\n"; + config << std::boolalpha << opticholo1x << "\n"; + config << std::boolalpha << opticsniper6x << "\n"; + config << std::boolalpha << opticsniper4x8x << "\n"; + config << std::boolalpha << opticsniperthreat << "\n"; + config << std::boolalpha << optic2x4x << "\n"; + config << std::boolalpha << opticthreat << "\n"; + config << std::boolalpha << optic3x << "\n"; + config << std::boolalpha << opticholo1x2x << "\n"; + + config << std::boolalpha << suppressor << "\n"; + config << std::boolalpha << weaponmod << "\n"; + config << std::boolalpha << grenade_frag << "\n"; + config << std::boolalpha << grenade_arc_star << "\n"; + config << std::boolalpha << grenade_thermite << "\n"; + config << std::boolalpha << shotgunbolt << "\n"; + config << std::boolalpha << weapon_kraber << "\n"; + config << std::boolalpha << weapon_mastiff << "\n"; + config << std::boolalpha << weapon_lstar << "\n"; + config << std::boolalpha << weapon_havoc << "\n"; + config << std::boolalpha << weapon_devotion << "\n"; + config << std::boolalpha << weapon_triple_take << "\n"; + config << std::boolalpha << weapon_flatline << "\n"; + config << std::boolalpha << weapon_hemlock << "\n"; + config << std::boolalpha << weapon_g7_scout << "\n"; + config << std::boolalpha << weapon_alternator << "\n"; + config << std::boolalpha << weapon_r99 << "\n"; + config << std::boolalpha << weapon_prowler << "\n"; + config << std::boolalpha << weapon_volt << "\n"; + config << std::boolalpha << weapon_longbow << "\n"; + config << std::boolalpha << weapon_charge_rifle << "\n"; + config << std::boolalpha << weapon_spitfire << "\n"; + config << std::boolalpha << weapon_r301 << "\n"; + config << std::boolalpha << weapon_eva8 << "\n"; + config << std::boolalpha << weapon_peacekeeper << "\n"; + config << std::boolalpha << weapon_mozambique << "\n"; + config << std::boolalpha << weapon_wingman << "\n"; + config << std::boolalpha << weapon_p2020 << "\n"; + config << std::boolalpha << weapon_re45 << "\n"; + config << std::boolalpha << weapon_sentinel << "\n"; + config << std::boolalpha << weapon_bow << "\n"; + config << std::boolalpha << weapon_3030_repeater << "\n"; + config << std::boolalpha << weapon_rampage << "\n"; + config << std::boolalpha << weapon_car_smg << "\n"; + config << toggleaim << "\n"; + config << toggleaim2 << "\n"; + config << e << "\n"; + config << minimapradardotsize1 << "\n"; + config << minimapradardotsize2 << "\n"; + config << aimdist << "\n"; + config << itemglowbrightness; + + config.close(); + } + } + ImGui::SameLine(); + //Loading + if (ImGui::Button("Load Config")) + { + ifstream config("Settings.txt"); + if (config.is_open()) + { + config >> std::boolalpha >> firing_range; + config >> aim; + config >> std::boolalpha >> esp; + config >> std::boolalpha >> item_glow; + config >> std::boolalpha >> player_glow; + config >> std::boolalpha >> aim_no_recoil; + config >> max_dist; + config >> smooth; + config >> max_fov; + config >> bone; + config >> glowr; + config >> glowg; + config >> glowb; + config >> glowcolor[0]; + config >> glowcolor[1]; + config >> glowcolor[2]; + config >> radarcolorr; + config >> radarcolorg; + config >> radarcolorb; + config >> radarcolor[0]; + config >> radarcolor[1]; + config >> radarcolor[2]; + config >> v.healthbar; + config >> v.shieldbar; + config >> v.distance; + config >> thirdperson; + config >> minimapradar; + config >> lightbackpack; + config >> medbackpack; + config >> heavybackpack; + config >> shieldupgrade; + config >> shieldupgradehead; + config >> accelerant; + config >> phoenix; + config >> healthlarge; + config >> healthsmall; + config >> shieldbattsmall; + config >> shieldbattlarge; + config >> ammosniper; + config >> ammohc; + config >> optic; + config >> ammosc;; + config >> ammonrg; + config >> ammoshotgun; + config >> lasersight;; + config >> magsniper; + config >> magenergy; + config >> stocksniper; + config >> stockregular; + config >> shielddown; + config >> lightammomag; + config >> heavyammomag; + config >> optic2x; + config >> opticholo1x; + config >> opticsniper6x; + config >> opticsniper4x8x; + config >> opticsniperthreat; + config >> optic2x4x; + config >> opticthreat; + config >> optic3x; + config >> opticholo1x2x; + + config >> suppressor; + config >> weaponmod; + config >> grenade_frag; + config >> grenade_arc_star; + config >> grenade_thermite; + config >> shotgunbolt; + config >> weapon_kraber; + config >> weapon_mastiff; + config >> weapon_lstar; + config >> weapon_havoc; + config >> weapon_devotion; + config >> weapon_triple_take; + config >> weapon_flatline; + config >> weapon_hemlock; + config >> weapon_g7_scout; + config >> weapon_alternator; + config >> weapon_r99; + config >> weapon_prowler; + config >> weapon_volt; + config >> weapon_longbow; + config >> weapon_charge_rifle; + config >> weapon_spitfire; + config >> weapon_r301; + config >> weapon_eva8; + config >> weapon_peacekeeper; + config >> weapon_mozambique; + config >> weapon_wingman; + config >> weapon_p2020; + config >> weapon_re45; + config >> weapon_sentinel; + config >> weapon_bow; + config >> weapon_3030_repeater; + config >> weapon_rampage; + config >> weapon_car_smg; + config >> toggleaim; + config >> toggleaim2; + config >> e; + config >> minimapradardotsize1; + config >> minimapradardotsize2; + config >> aimdist; + config >> itemglowbrightness; + config.close(); + + } + } + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + if (menu1 == 1) + { + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0); + } + } - else + if (ImGui::CollapsingHeader("Radar Settings")) { - aim = 1; + menu2 = 1; + //Dot Size for both mini and main map + ImGui::Text(XorStr("MiniMap Radar Dot Size")); + ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10); + ImGui::SliderInt(XorStr("MiniMap Dot length"), &minimapradardotsize2, 1, 10); + ImGui::Text(XorStr("Main Map Radar Dot Size")); + ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10); + ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10); + /*//Radar Color + ImGui::Text(XorStr("Radar Color Picker:")); + ImGui::ColorEdit3("##Radar Color Picker", radarcolor); + { + radarcolorr = radarcolor[0] * 250; + radarcolorg = radarcolor[1] * 250; + radarcolorb = radarcolor[2] * 250; + } + */ + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + if (menu2 == 1) + { + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0); + } } - } - else - { - aim = 0; - } - - ImGui::Sliderbox(XorStr("Glow Items"), &item_glow); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Glow Players"), &player_glow); - ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson); - ImGui::Sliderbox(XorStr("Firing Range Toggle"), &firing_range); - ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar); - ImGui::Text(XorStr("Max distance:")); - ImGui::SliderFloat(XorStr("##1"), &max_dist, 100.0f * 40, 3800.0f * 40, "%.2f"); - ImGui::SameLine(); - ImGui::Text("(%d meters)", (int)(max_dist / 40)); - ImGui::Text(XorStr("Smooth Aim Value:")); - ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "%.2f"); - ImGui::SameLine(); - ImGui::Text(XorStr("85 To 100 Is Safe")); - ImGui::Text(XorStr("Max FOV:")); - ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "%.2f"); - ImGui::Text(XorStr("Aiming Bone:")); - ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach")); - ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3); - ImGui::Text(XorStr("ESP options:")); - ImGui::Sliderbox(XorStr("Distance"), &v.distance); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar); - //Glow Color - ImGui::Text(XorStr("Item Glow Brightness:")); - ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d"); - ImGui::Text(XorStr("Glow Color Picker:")); - ImGui::ColorEdit3("##Glow Color Picker", glowcolor); - { - glowr = glowcolor[0] * 250; - glowg = glowcolor[1] * 250; - glowb = glowcolor[2] * 250; - } - //Radar Color - ImGui::Text(XorStr("Radar Color Picker:")); - ImGui::ColorEdit3("##Radar Color Picker", radarcolor); - { - radarcolorr = radarcolor[0] * 250; - radarcolorg = radarcolor[1] * 250; - radarcolorb = radarcolor[2] * 250; - } - ImGui::Text(XorStr("Saving and Loading. Need to Save Once to make the file.")); - //Saving - if (ImGui::Button("Save Config")) - { - ofstream config("Settings.txt"); - if (config.is_open()) + if (ImGui::CollapsingHeader("Item Filter Settings")) { - config << std::boolalpha << firing_range << "\n"; - config << aim << "\n"; - config << std::boolalpha << esp << "\n"; - config << std::boolalpha << item_glow << "\n"; - config << std::boolalpha << player_glow << "\n"; - config << std::boolalpha << aim_no_recoil << "\n"; - config << max_dist << "\n"; - config << smooth << "\n"; - config << max_fov << "\n"; - config << bone << "\n"; - config << glowr << "\n"; - config << glowg << "\n"; - config << glowb << "\n"; - config << glowcolor[0] << "\n"; - config << glowcolor[1] << "\n"; - config << glowcolor[2] << "\n"; - config << radarcolorr << "\n"; - config << radarcolorg << "\n"; - config << radarcolorb << "\n"; - config << radarcolor[0] << "\n"; - config << radarcolor[1] << "\n"; - config << radarcolor[2] << "\n"; - config << v.healthbar << "\n"; - config << v.shieldbar << "\n"; - config << v.distance << "\n"; - config << thirdperson << "\n"; - config << std::boolalpha << minimapradar << "\n"; - - config << std::boolalpha << lightbackpack << "\n"; - config << std::boolalpha << medbackpack << "\n"; - config << std::boolalpha << heavybackpack << "\n"; - config << std::boolalpha << shieldupgrade << "\n"; - config << std::boolalpha << shieldupgradehead << "\n"; - config << std::boolalpha << accelerant << "\n"; - config << std::boolalpha << phoenix << "\n"; - config << std::boolalpha << healthlarge << "\n"; - config << std::boolalpha << healthsmall << "\n"; - config << std::boolalpha << shieldbattsmall << "\n"; - config << std::boolalpha << shieldbattlarge << "\n"; - config << std::boolalpha << ammosniper << "\n"; - config << std::boolalpha << ammohc << "\n"; - config << std::boolalpha << optic << "\n"; - config << std::boolalpha << ammosc << "\n"; - config << std::boolalpha << ammonrg << "\n"; - config << std::boolalpha << ammoshotgun << "\n"; - config << std::boolalpha << lasersight << "\n"; - config << std::boolalpha << magsniper << "\n"; - config << std::boolalpha << magenergy << "\n"; - config << std::boolalpha << stocksniper << "\n"; - config << std::boolalpha << stockregular << "\n"; - config << std::boolalpha << shielddown << "\n"; - config << std::boolalpha << lightammomag << "\n"; - config << std::boolalpha << heavyammomag << "\n"; - config << std::boolalpha << optic2x << "\n"; - config << std::boolalpha << opticholo1x << "\n"; - config << std::boolalpha << opticsniper6x << "\n"; - config << std::boolalpha << opticsniper4x8x << "\n"; - config << std::boolalpha << opticsniperthreat << "\n"; - config << std::boolalpha << optic2x4x << "\n"; - config << std::boolalpha << opticthreat << "\n"; - config << std::boolalpha << optic3x << "\n"; - config << std::boolalpha << opticholo1x2x << "\n"; - - config << std::boolalpha << suppressor << "\n"; - config << std::boolalpha << weaponmod << "\n"; - config << std::boolalpha << grenade_frag << "\n"; - config << std::boolalpha << grenade_arc_star << "\n"; - config << std::boolalpha << grenade_thermite << "\n"; - config << std::boolalpha << shotgunbolt << "\n"; - config << std::boolalpha << weapon_kraber << "\n"; - config << std::boolalpha << weapon_mastiff << "\n"; - config << std::boolalpha << weapon_lstar << "\n"; - config << std::boolalpha << weapon_havoc << "\n"; - config << std::boolalpha << weapon_devotion << "\n"; - config << std::boolalpha << weapon_triple_take << "\n"; - config << std::boolalpha << weapon_flatline << "\n"; - config << std::boolalpha << weapon_hemlock << "\n"; - config << std::boolalpha << weapon_g7_scout << "\n"; - config << std::boolalpha << weapon_alternator << "\n"; - config << std::boolalpha << weapon_r99 << "\n"; - config << std::boolalpha << weapon_prowler << "\n"; - config << std::boolalpha << weapon_volt << "\n"; - config << std::boolalpha << weapon_longbow << "\n"; - config << std::boolalpha << weapon_charge_rifle << "\n"; - config << std::boolalpha << weapon_spitfire << "\n"; - config << std::boolalpha << weapon_r301 << "\n"; - config << std::boolalpha << weapon_eva8 << "\n"; - config << std::boolalpha << weapon_peacekeeper << "\n"; - config << std::boolalpha << weapon_mozambique << "\n"; - config << std::boolalpha << weapon_wingman << "\n"; - config << std::boolalpha << weapon_p2020 << "\n"; - config << std::boolalpha << weapon_re45 << "\n"; - config << std::boolalpha << weapon_sentinel << "\n"; - config << std::boolalpha << weapon_bow << "\n"; - config << std::boolalpha << weapon_3030_repeater << "\n"; - config << std::boolalpha << weapon_rampage << "\n"; - config << std::boolalpha << weapon_car_smg << "\n"; - config << toggleaim << "\n"; - config << toggleaim2 << "\n"; - config << e << "\n"; - config << minimapradardotsize1 << "\n"; - config << minimapradardotsize2 << "\n"; - config << aimdist << "\n"; - config << itemglowbrightness; - - config.close(); + menu3 = 1; + ImGui::Text(XorStr("Ammo")); + ImGui::Dummy(ImVec2(0.0f, 1.0f)); + ImGui::Sliderbox(XorStr("Sniper Ammo"), &ammosniper); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Heavy Ammo"), &ammohc); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Light Ammo"), &ammosc); + ImGui::Sliderbox(XorStr("Energy Ammo"), &ammonrg); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Shotgun Ammo"), &ammoshotgun); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Ammo Mags")); + ImGui::Dummy(ImVec2(0.0f, 1.0f)); + ImGui::Sliderbox(XorStr("Sniper"), &magsniper); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Heavy"), &heavyammomag); + ImGui::Sliderbox(XorStr("Light"), &lightammomag); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Energy "), &magenergy); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("HCOGs")); + ImGui::Dummy(ImVec2(0.0f, 1.0f)); + ImGui::Sliderbox(XorStr("1x HCOG"), &optic); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("2x HCOG"), &optic2x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("3x HCOG"), &optic3x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("2-4x"), &optic2x4x); + ImGui::Text(XorStr("Snipers")); + ImGui::Dummy(ImVec2(0.0f, 1.0f)); + ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Holo's")); + ImGui::Dummy(ImVec2(0.0f, 1.0f)); + ImGui::Sliderbox(XorStr("1x Holo"), &opticholo1x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("2x Holo"), &opticholo1x2x); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("1x Threat"), &opticthreat); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Backpacks")); + ImGui::Sliderbox(XorStr("Light"), &lightbackpack); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Medium"), &medbackpack); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Heavy"), &heavybackpack); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Shield's")); + ImGui::Sliderbox(XorStr("Armor"), &shieldupgrade); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Helmets"), &shieldupgradehead); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Knockdown"), &shielddown); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::TextColored(GREEN, "Heals for Health"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("Large Health"), &healthlarge); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Small Health"), &healthsmall); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Phoenix Kit"), &phoenix); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::TextColored(BLUE, "Heals for Shields"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("Large Shield"), &shieldbattlarge); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Attachements")); + ImGui::Dummy(ImVec2(0.0f, 5.0f)); + ImGui::Sliderbox(XorStr("Lasersight"), &lasersight); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular); + ImGui::Sliderbox(XorStr("Suppressor"), &suppressor); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Weapon Mods"), &weaponmod); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Item Glow Brightness:")); + ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + if (menu3 == 1) + { + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0); + } } - } - ImGui::SameLine(); - //Loading - if (ImGui::Button("Load Config")) - { - ifstream config("Settings.txt"); - if (config.is_open()) + if (ImGui::CollapsingHeader("Weapone Filter Settings")) { - config >> std::boolalpha >> firing_range; - config >> aim; - config >> std::boolalpha >> esp; - config >> std::boolalpha >> item_glow; - config >> std::boolalpha >> player_glow; - config >> std::boolalpha >> aim_no_recoil; - config >> max_dist; - config >> smooth; - config >> max_fov; - config >> bone; - config >> glowr; - config >> glowg; - config >> glowb; - config >> glowcolor[0]; - config >> glowcolor[1]; - config >> glowcolor[2]; - config >> radarcolorr; - config >> radarcolorg; - config >> radarcolorb; - config >> radarcolor[0]; - config >> radarcolor[1]; - config >> radarcolor[2]; - config >> v.healthbar; - config >> v.shieldbar; - config >> v.distance; - config >> thirdperson; - config >> minimapradar; - config >> lightbackpack; - config >> medbackpack; - config >> heavybackpack; - config >> shieldupgrade; - config >> shieldupgradehead; - config >> accelerant; - config >> phoenix; - config >> healthlarge; - config >> healthsmall; - config >> shieldbattsmall; - config >> shieldbattlarge; - config >> ammosniper; - config >> ammohc; - config >> optic; - config >> ammosc;; - config >> ammonrg; - config >> ammoshotgun; - config >> lasersight;; - config >> magsniper; - config >> magenergy; - config >> stocksniper; - config >> stockregular; - config >> shielddown; - config >> lightammomag; - config >> heavyammomag; - config >> optic2x; - config >> opticholo1x; - config >> opticsniper6x; - config >> opticsniper4x8x; - config >> opticsniperthreat; - config >> optic2x4x; - config >> opticthreat; - config >> optic3x; - config >> opticholo1x2x; - - config >> suppressor; - config >> weaponmod; - config >> grenade_frag; - config >> grenade_arc_star; - config >> grenade_thermite; - config >> shotgunbolt; - config >> weapon_kraber; - config >> weapon_mastiff; - config >> weapon_lstar; - config >> weapon_havoc; - config >> weapon_devotion; - config >> weapon_triple_take; - config >> weapon_flatline; - config >> weapon_hemlock; - config >> weapon_g7_scout; - config >> weapon_alternator; - config >> weapon_r99; - config >> weapon_prowler; - config >> weapon_volt; - config >> weapon_longbow; - config >> weapon_charge_rifle; - config >> weapon_spitfire; - config >> weapon_r301; - config >> weapon_eva8; - config >> weapon_peacekeeper; - config >> weapon_mozambique; - config >> weapon_wingman; - config >> weapon_p2020; - config >> weapon_re45; - config >> weapon_sentinel; - config >> weapon_bow; - config >> weapon_3030_repeater; - config >> weapon_rampage; - config >> weapon_car_smg; - config >> toggleaim; - config >> toggleaim2; - config >> e; - config >> minimapradardotsize1; - config >> minimapradardotsize2; - config >> aimdist; - config >> itemglowbrightness; - config.close(); - + menu4 = 1; + //Light Weapons + ImGui::TextColored(ORANGE, "Light Weapons"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("R-99"), &weapon_r99); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("G7 Scout"), &weapon_g7_scout); + ImGui::Sliderbox(XorStr("Spitfire"), &weapon_spitfire); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("R-301"), &weapon_r301); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + //Heavy Weapons + ImGui::TextColored(TEAL, "Heavy Weapons"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Hemlok"), &weapon_hemlock); + ImGui::Sliderbox(XorStr("Prowler "), &weapon_prowler); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater); + //Energy Weapons + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::TextColored(YELLOW, "Energy Weapons"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("Triple Take"), &weapon_triple_take); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Volt"), &weapon_volt); + ImGui::Sliderbox(XorStr("Devotion "), &weapon_devotion); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc); + //Shotgun Weapons + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::TextColored(RED, "Shotgun Weapons"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("EVA-8"), &weapon_eva8); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Peacekeeper"), &weapon_peacekeeper); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff); + //Sniper Weapons + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::TextColored(BLUE, "Sniper Weapons"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("Charge Rifle"), &weapon_charge_rifle); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow); + ImGui::SameLine(); + ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel); + ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman); + //KRABER + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("The Kraber")); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Sliderbox(XorStr("Kraber .50-Cal Sniper"), &weapon_kraber); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + ImGui::Text(XorStr("Item Glow Brightness:")); + ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + if (menu4 == 1) + { + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0); + ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0); + } } - } - ImGui::EndTabItem(); - } - if (ImGui::BeginTabItem(XorStr("Radar"))) - { - //Dot Size for both mini and main map - ImGui::Text(XorStr("MiniMap Radar Dot Size")); - ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10); - ImGui::SliderInt(XorStr("MiniMap Dot length"), &minimapradardotsize2, 1, 10); - ImGui::Text(XorStr("Main Map Radar Dot Size")); - ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10); - ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10); - - ImGui::EndTabItem(); - } - if (ImGui::BeginTabItem(XorStr("Item Filter List"))) - { - //Dot Size for both mini and main map - ImGui::Text(XorStr("Ammo")); - ImGui::Sliderbox(XorStr("Sniper"), &ammosniper); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Heavy"), &ammohc); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Light"), &ammosc); - ImGui::Sliderbox(XorStr("Energy"), &ammonrg); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Shotgun"), &ammoshotgun); - ImGui::Text(XorStr("Ammo Mag's")); - ImGui::Sliderbox(XorStr("Sniper Mag"), &magsniper); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Energy Mag"), &magenergy); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Light Mag"), &lightammomag); - ImGui::Sliderbox(XorStr("Heavy Mag"), &heavyammomag); - ImGui::Text(XorStr("Optic's")); - ImGui::Sliderbox(XorStr("Optic's 1x HCOG"), &optic); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Optic's 1x Holo"), &opticholo1x); - ImGui::Sliderbox(XorStr("Optic's 2x HCOG"), &optic2x); - ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat); - ImGui::Sliderbox(XorStr("Optic's 2-4x"), &optic2x4x); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Optic's Threat"), &opticthreat); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Optic's 3x HCOG"), &optic3x); - ImGui::Sliderbox(XorStr("Optic's 2x Holo"), &opticholo1x2x); - ImGui::Text(XorStr("Backpack's")); - ImGui::Sliderbox(XorStr("Light Backpack"), &lightbackpack); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Medium Backpack"), &medbackpack); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Heavy Backpack"), &heavybackpack); - ImGui::Text(XorStr("Shield's")); - ImGui::Sliderbox(XorStr("Shield's"), &shieldupgrade); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Helmet's"), &shieldupgradehead); - ImGui::Text(XorStr("Heal's")); - ImGui::Sliderbox(XorStr("Phoenix Kit"), &phoenix); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Large Health"), &healthlarge); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Small Health"), &healthsmall); - ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Large Shield"), &shieldbattlarge); - ImGui::Sliderbox(XorStr("Knockdown Shield"), &shielddown); - ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant); - ImGui::Text(XorStr("Attachement's")); - ImGui::Sliderbox(XorStr("Lasersight"), &lasersight); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular); - ImGui::Sliderbox(XorStr("Suppressor"), &suppressor); - ImGui::Sliderbox(XorStr("Weapon Mod's"), &weaponmod); - - + //ImGui::EndTabItem(); + //} - ImGui::EndTabItem(); - } - if (ImGui::BeginTabItem(XorStr("Weapon Filter List"))) - { - - //Light Weapons - ImGui::Text(XorStr("Light Ammo Weapon's")); - ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("R-99"), &weapon_r99); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("G7 Scout"), &weapon_g7_scout); - ImGui::Sliderbox(XorStr("Spitfire"), &weapon_spitfire); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("R-301"), &weapon_r301); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator); - - //Heavy Weapons - ImGui::Text(XorStr("Heavy Ammo Weapon's")); - ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Hemlok"), &weapon_hemlock); - ImGui::Sliderbox(XorStr("Prowler "), &weapon_prowler); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater); - //Energy Weapons - ImGui::Text(XorStr("Energy Ammo Weapon's")); - ImGui::Sliderbox(XorStr("Triple Take"), &weapon_triple_take); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Volt"), &weapon_volt); - ImGui::Sliderbox(XorStr("Devotion "), &weapon_devotion); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc); - //Shotgun Weapons - ImGui::Text(XorStr("Shotgun Ammo Weapon's")); - ImGui::Sliderbox(XorStr("EVA-8"), &weapon_eva8); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Peacekeeper"), &weapon_peacekeeper); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff); - //Sniper Weapons - ImGui::Text(XorStr("Sniper Ammo Weapon's")); - ImGui::Sliderbox(XorStr("Charge Rifle"), &weapon_charge_rifle); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow); - ImGui::SameLine(); - ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel); - ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman); - //KRABER - ImGui::Text(XorStr("The Kraber")); - ImGui::Sliderbox(XorStr("Kraber .50-Cal Sniper"), &weapon_kraber); - - - - - ImGui::EndTabItem(); - } - ImGui::EndTabBar(); - } + //ImGui::EndTabBar(); + //} + ImGui::Dummy(ImVec2(0.0f, 10.0f)); ImGui::Text(XorStr("Overlay FPS: %.3f ms/frame (%.1f FPS)"), 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate); ImGui::End(); } diff --git a/apex_guest/Client/Client/overlay.h b/apex_guest/Client/Client/overlay.h index 9aee84f..312b28b 100644 --- a/apex_guest/Client/Client/overlay.h +++ b/apex_guest/Client/Client/overlay.h @@ -24,6 +24,8 @@ #define BLUE ImColor(0, 0, 255) #define ORANGE ImColor(255, 165, 0) #define WHITE ImColor(255, 255, 255) +#define TEAL ImColor(0, 128, 128) +#define YELLOW ImColor(255, 255, 0) typedef struct visuals {