More Fixes, Typos and Redid menu.

math.h vs cmath ??
pull/30/head
NerfBatInc 3 years ago
parent 0d76548a47
commit ee874fea23

@ -657,7 +657,7 @@ static void AimbotLoop()
static void set_vars(uint64_t add_addr) 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)); std::this_thread::sleep_for(std::chrono::milliseconds(50));
//Get addresses of client vars //Get addresses of client vars
uint64_t check_addr = 0; uint64_t check_addr = 0;
@ -696,158 +696,154 @@ static void set_vars(uint64_t add_addr)
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*16, spectators_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*16, spectators_addr);
uint64_t allied_spectators_addr = 0; uint64_t allied_spectators_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*17, allied_spectators_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*17, allied_spectators_addr);
uint64_t chargerifle_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*18, chargerifle_addr);
uint64_t shooting_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*19, shooting_addr);
uint64_t glowr_addr = 0; uint64_t glowr_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*20, glowr_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*18, glowr_addr);
uint64_t glowg_addr = 0; uint64_t glowg_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*21, glowg_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*19, glowg_addr);
uint64_t glowb_addr = 0; uint64_t glowb_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*22, glowb_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*20, glowb_addr);
uint64_t firing_range_addr = 0; uint64_t firing_range_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*23, firing_range_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*21, firing_range_addr);
uint64_t lightbackpack_addr = 0; uint64_t lightbackpack_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*24, lightbackpack_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*22, lightbackpack_addr);
uint64_t medbackpack_addr = 0; uint64_t medbackpack_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*25, medbackpack_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*23, medbackpack_addr);
uint64_t heavybackpack_addr = 0; uint64_t heavybackpack_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*26, heavybackpack_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*24, heavybackpack_addr);
uint64_t shieldupgrade_addr = 0; uint64_t shieldupgrade_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*27, shieldupgrade_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*25, shieldupgrade_addr);
uint64_t shieldupgradehead_addr = 0; uint64_t shieldupgradehead_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*28, shieldupgradehead_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*26, shieldupgradehead_addr);
uint64_t accelerant_addr = 0; uint64_t accelerant_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*29, accelerant_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*27, accelerant_addr);
uint64_t phoenix_addr = 0; uint64_t phoenix_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*30, phoenix_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*28, phoenix_addr);
uint64_t healthlarge_addr = 0; uint64_t healthlarge_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*31, healthlarge_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*29, healthlarge_addr);
uint64_t healthsmall_addr = 0; uint64_t healthsmall_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*32, healthsmall_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*30, healthsmall_addr);
uint64_t shieldbattsmall_addr = 0; uint64_t shieldbattsmall_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*33, shieldbattsmall_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*31, shieldbattsmall_addr);
uint64_t shieldbattlarge_addr = 0; uint64_t shieldbattlarge_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*34, shieldbattlarge_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*32, shieldbattlarge_addr);
uint64_t ammosniper_addr = 0; uint64_t ammosniper_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*35, ammosniper_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*33, ammosniper_addr);
uint64_t ammohc_addr = 0; uint64_t ammohc_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*36, ammohc_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*34, ammohc_addr);
uint64_t optic_addr = 0; uint64_t optic_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*37, optic_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*35, optic_addr);
uint64_t ammosc_addr = 0; uint64_t ammosc_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*38, ammosc_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*36, ammosc_addr);
uint64_t ammonrg_addr = 0; uint64_t ammonrg_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*39, ammonrg_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*37, ammonrg_addr);
uint64_t ammoshotgun_addr = 0; uint64_t ammoshotgun_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*40, ammoshotgun_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*38, ammoshotgun_addr);
uint64_t lasersight_addr = 0; uint64_t lasersight_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*41, lasersight_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*39, lasersight_addr);
uint64_t magsniper_addr = 0; uint64_t magsniper_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*42, magsniper_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*40, magsniper_addr);
uint64_t magenergy_addr = 0; uint64_t magenergy_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*43, magenergy_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*41, magenergy_addr);
uint64_t stocksniper_addr = 0; uint64_t stocksniper_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*44, stocksniper_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*42, stocksniper_addr);
uint64_t stockregular_addr = 0; uint64_t stockregular_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*45, stockregular_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*43, stockregular_addr);
uint64_t shielddown_addr = 0; uint64_t shielddown_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*46, shielddown_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*44, shielddown_addr);
uint64_t lightammomag_addr = 0; uint64_t lightammomag_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*47, lightammomag_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*45, lightammomag_addr);
uint64_t heavyammomag_addr = 0; uint64_t heavyammomag_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*48, heavyammomag_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*46, heavyammomag_addr);
uint64_t optic2x_addr = 0; uint64_t optic2x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*49, optic2x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*47, optic2x_addr);
uint64_t opticholo1x_addr = 0; uint64_t opticholo1x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*50, opticholo1x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*48, opticholo1x_addr);
uint64_t opticholo1x2x_addr = 0; uint64_t opticholo1x2x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*51, opticholo1x2x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*49, opticholo1x2x_addr);
uint64_t opticthreat_addr = 0; uint64_t opticthreat_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*52, opticthreat_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*50, opticthreat_addr);
uint64_t optic3x_addr = 0; uint64_t optic3x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*53, optic3x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*51, optic3x_addr);
uint64_t optic2x4x_addr = 0; uint64_t optic2x4x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*54, optic2x4x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*52, optic2x4x_addr);
uint64_t opticsniper6x_addr = 0; uint64_t opticsniper6x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*55, opticsniper6x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*53, opticsniper6x_addr);
uint64_t opticsniper4x8x_addr = 0; uint64_t opticsniper4x8x_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*56, opticsniper4x8x_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*54, opticsniper4x8x_addr);
uint64_t opticsniperthreat_addr = 0; uint64_t opticsniperthreat_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*57, opticsniperthreat_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*55, opticsniperthreat_addr);
uint64_t suppressor_addr = 0; uint64_t suppressor_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*58, suppressor_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*56, suppressor_addr);
uint64_t weaponmod_addr = 0; uint64_t weaponmod_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*59, weaponmod_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*57, weaponmod_addr);
uint64_t grenade_frag_addr = 0; uint64_t grenade_frag_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*60, grenade_frag_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*58, grenade_frag_addr);
uint64_t grenade_arc_star_addr = 0; uint64_t grenade_arc_star_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*61, grenade_arc_star_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*59, grenade_arc_star_addr);
uint64_t grenade_thermite_addr = 0; uint64_t grenade_thermite_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*62, grenade_thermite_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*60, grenade_thermite_addr);
uint64_t shotgunbolt_addr = 0; uint64_t shotgunbolt_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*63, shotgunbolt_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*61, shotgunbolt_addr);
uint64_t weapon_kraber_addr = 0; uint64_t weapon_kraber_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*64, weapon_kraber_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*62, weapon_kraber_addr);
uint64_t weapon_mastiff_addr = 0; uint64_t weapon_mastiff_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*65, weapon_mastiff_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*63, weapon_mastiff_addr);
uint64_t weapon_lstar_addr = 0; uint64_t weapon_lstar_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*66, weapon_lstar_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*64, weapon_lstar_addr);
uint64_t weapon_havoc_addr = 0; uint64_t weapon_havoc_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*67, weapon_havoc_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*65, weapon_havoc_addr);
uint64_t weapon_devotion_addr = 0; uint64_t weapon_devotion_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*68, weapon_devotion_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*66, weapon_devotion_addr);
uint64_t weapon_triple_take_addr = 0; uint64_t weapon_triple_take_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*69, weapon_triple_take_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*67, weapon_triple_take_addr);
uint64_t weapon_flatline_addr = 0; uint64_t weapon_flatline_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*70, weapon_flatline_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*68, weapon_flatline_addr);
uint64_t weapon_hemlock_addr = 0; uint64_t weapon_hemlock_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*71, weapon_hemlock_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*69, weapon_hemlock_addr);
uint64_t weapon_g7_scout_addr = 0; uint64_t weapon_g7_scout_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*72, weapon_g7_scout_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*70, weapon_g7_scout_addr);
uint64_t weapon_alternator_addr = 0; uint64_t weapon_alternator_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*73, weapon_alternator_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*71, weapon_alternator_addr);
uint64_t weapon_r99_addr = 0; uint64_t weapon_r99_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*74, weapon_r99_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*72, weapon_r99_addr);
uint64_t weapon_prowler_addr = 0; uint64_t weapon_prowler_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*75, weapon_prowler_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*73, weapon_prowler_addr);
uint64_t weapon_volt_addr = 0; uint64_t weapon_volt_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*76, weapon_volt_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*74, weapon_volt_addr);
uint64_t weapon_longbow_addr = 0; uint64_t weapon_longbow_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*77, weapon_longbow_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*75, weapon_longbow_addr);
uint64_t weapon_charge_rifle_addr = 0; uint64_t weapon_charge_rifle_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*78, weapon_charge_rifle_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*76, weapon_charge_rifle_addr);
uint64_t weapon_spitfire_addr = 0; uint64_t weapon_spitfire_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*79, weapon_spitfire_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*77, weapon_spitfire_addr);
uint64_t weapon_r301_addr = 0; uint64_t weapon_r301_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*80, weapon_r301_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*78, weapon_r301_addr);
uint64_t weapon_eva8_addr = 0; uint64_t weapon_eva8_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*81, weapon_eva8_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*79, weapon_eva8_addr);
uint64_t weapon_peacekeeper_addr = 0; uint64_t weapon_peacekeeper_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*82, weapon_peacekeeper_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*80, weapon_peacekeeper_addr);
uint64_t weapon_mozambique_addr = 0; uint64_t weapon_mozambique_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*83, weapon_mozambique_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*81, weapon_mozambique_addr);
uint64_t weapon_wingman_addr = 0; uint64_t weapon_wingman_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*84, weapon_wingman_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*82, weapon_wingman_addr);
uint64_t weapon_p2020_addr = 0; uint64_t weapon_p2020_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*85, weapon_p2020_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*83, weapon_p2020_addr);
uint64_t weapon_re45_addr = 0; uint64_t weapon_re45_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*86, weapon_re45_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*84, weapon_re45_addr);
uint64_t weapon_sentinel_addr = 0; uint64_t weapon_sentinel_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*87, weapon_sentinel_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*85, weapon_sentinel_addr);
uint64_t weapon_bow_addr = 0; uint64_t weapon_bow_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*88, weapon_bow_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*86, weapon_bow_addr);
uint64_t weapon_3030_repeater_addr = 0; uint64_t weapon_3030_repeater_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*89, weapon_3030_repeater_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*87, weapon_3030_repeater_addr);
uint64_t weapon_rampage_addr = 0; uint64_t weapon_rampage_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*90, weapon_rampage_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*88, weapon_rampage_addr);
uint64_t weapon_car_smg_addr = 0; uint64_t weapon_car_smg_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*91, weapon_car_smg_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*89, weapon_car_smg_addr);
uint64_t aimdist_addr = 0; uint64_t aimdist_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*92, aimdist_addr); client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*90, aimdist_addr);
uint64_t itemglowbrightness_addr = 0; uint64_t itemglowbrightness_addr = 0;
client_mem.Read<uint64_t>(add_addr + sizeof(uint64_t)*93, itemglowbrightness_addr); client_mem.Read<uint64_t>(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) if(c_Base!=0 && g_Base!=0)
{ {
client_mem.Write<uint32_t>(check_addr, 0); client_mem.Write<uint32_t>(check_addr, 0);
printf("\nReady\n"); printf("\nLet the fun begin!\n");
} }
while(c_Base!=0 && g_Base!=0) while(c_Base!=0 && g_Base!=0)
@ -1007,7 +1003,7 @@ static void item_glow_t()
uint64_t entitylist = g_Base + OFFSET_ENTITYLIST; uint64_t entitylist = g_Base + OFFSET_ENTITYLIST;
if (item_glow) if (item_glow)
{ {
for (int i = 0; i < 15000; i++) for (int i = 0; i < 10000; i++)
{ {
uint64_t centity = 0; uint64_t centity = 0;
apex_mem.Read<uint64_t>(entitylist + ((uint64_t)i << 5), centity); apex_mem.Read<uint64_t>(entitylist + ((uint64_t)i << 5), centity);
@ -1051,7 +1047,7 @@ static void item_glow_t()
{ {
apex_mem.Write<int>(centity + OFFSET_GLOW_ENABLE, 1); apex_mem.Write<int>(centity + OFFSET_GLOW_ENABLE, 1);
apex_mem.Write<int>(centity + OFFSET_GLOW_THROUGH_WALLS, 2); // 1 = far, 2 = close apex_mem.Write<int>(centity + OFFSET_GLOW_THROUGH_WALLS, 2); // 1 = far, 2 = close
apex_mem.Write<GlowMode>(centity + GLOW_START_TIME, { 101,101,99,127 }); apex_mem.Write<GlowMode>(centity + GLOW_START_TIME, { 101,101,99,90 });
apex_mem.Write<float>(centity + GLOW_COLOR_R, 0 / itemglowbrightness); // r apex_mem.Write<float>(centity + GLOW_COLOR_R, 0 / itemglowbrightness); // r
apex_mem.Write<float>(centity + GLOW_COLOR_G, 191 / itemglowbrightness); // g apex_mem.Write<float>(centity + GLOW_COLOR_G, 191 / itemglowbrightness); // g
@ -1740,13 +1736,13 @@ static void item_glow_t()
} }
k=1; k=1;
std::this_thread::sleep_for(std::chrono::milliseconds(300)); std::this_thread::sleep_for(std::chrono::milliseconds(60));
} }
else else
{ {
if(k==1) if(k==1)
{ {
for (int i = 0; i < 15000; i++) for (int i = 0; i < 10000; i++)
{ {
uint64_t centity = 0; uint64_t centity = 0;
apex_mem.Read<uint64_t>(entitylist + ((uint64_t)i << 5), centity); apex_mem.Read<uint64_t>(entitylist + ((uint64_t)i << 5), centity);

@ -1,3 +1,7 @@
#pragma warning (disable : 4715)
#pragma warning (disable : 4005)
#pragma warning (disable : 4305)
#pragma warning (disable : 4244)
#include "main.h" #include "main.h"
typedef struct player typedef struct player
@ -152,7 +156,7 @@ int allied_spectators = 0; //write
bool valid = true; //write bool valid = true; //write
bool next2 = true; //read write bool next2 = true; //read write
uint64_t add[97]; uint64_t add[92];
bool k_f5 = 0; bool k_f5 = 0;
bool k_f6 = 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 // 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. // 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 //default creen res 1080p
// 1440p is x1.333333 // 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 world KingsCanyon(ImVec2(25223.177734, 28906.144531), ImVec2(1197, 185), ImVec2(10399.223633, 13334.792969), ImVec2(1014, 381)); //could be more accurate
@ -737,80 +741,80 @@ int main(int argc, char** argv)
add[15] = (uintptr_t)&thirdperson; add[15] = (uintptr_t)&thirdperson;
add[16] = (uintptr_t)&spectators; add[16] = (uintptr_t)&spectators;
add[17] = (uintptr_t)&allied_spectators; add[17] = (uintptr_t)&allied_spectators;
add[20] = (uintptr_t)&glowr; add[18] = (uintptr_t)&glowr;
add[21] = (uintptr_t)&glowg; add[19] = (uintptr_t)&glowg;
add[22] = (uintptr_t)&glowb; add[20] = (uintptr_t)&glowb;
add[23] = (uintptr_t)&firing_range; add[21] = (uintptr_t)&firing_range;
add[24] = (uintptr_t)&lightbackpack; add[22] = (uintptr_t)&lightbackpack;
add[25] = (uintptr_t)&medbackpack; add[23] = (uintptr_t)&medbackpack;
add[26] = (uintptr_t)&heavybackpack; add[24] = (uintptr_t)&heavybackpack;
add[27] = (uintptr_t)&shieldupgrade; add[25] = (uintptr_t)&shieldupgrade;
add[28] = (uintptr_t)&shieldupgradehead; add[26] = (uintptr_t)&shieldupgradehead;
add[29] = (uintptr_t)&accelerant; add[27] = (uintptr_t)&accelerant;
add[30] = (uintptr_t)&phoenix; add[28] = (uintptr_t)&phoenix;
add[31] = (uintptr_t)&healthlarge; add[29] = (uintptr_t)&healthlarge;
add[32] = (uintptr_t)&healthsmall; add[30] = (uintptr_t)&healthsmall;
add[33] = (uintptr_t)&shieldbattsmall; add[31] = (uintptr_t)&shieldbattsmall;
add[34] = (uintptr_t)&shieldbattlarge; add[32] = (uintptr_t)&shieldbattlarge;
add[35] = (uintptr_t)&ammosniper; add[33] = (uintptr_t)&ammosniper;
add[36] = (uintptr_t)&ammohc; add[34] = (uintptr_t)&ammohc;
add[37] = (uintptr_t)&optic; add[35] = (uintptr_t)&optic;
add[38] = (uintptr_t)&ammosc; add[36] = (uintptr_t)&ammosc;
add[39] = (uintptr_t)&ammonrg; add[37] = (uintptr_t)&ammonrg;
add[40] = (uintptr_t)&ammoshotgun; add[38] = (uintptr_t)&ammoshotgun;
add[41] = (uintptr_t)&lasersight; add[39] = (uintptr_t)&lasersight;
add[42] = (uintptr_t)&magsniper; add[40] = (uintptr_t)&magsniper;
add[43] = (uintptr_t)&magenergy; add[41] = (uintptr_t)&magenergy;
add[44] = (uintptr_t)&stocksniper; add[42] = (uintptr_t)&stocksniper;
add[45] = (uintptr_t)&stockregular; add[43] = (uintptr_t)&stockregular;
add[46] = (uintptr_t)&shielddown; add[44] = (uintptr_t)&shielddown;
add[47] = (uintptr_t)&lightammomag; add[45] = (uintptr_t)&lightammomag;
add[48] = (uintptr_t)&heavyammomag; add[46] = (uintptr_t)&heavyammomag;
add[49] = (uintptr_t)&optic2x; add[47] = (uintptr_t)&optic2x;
add[50] = (uintptr_t)&opticholo1x; add[48] = (uintptr_t)&opticholo1x;
add[51] = (uintptr_t)&opticholo1x2x; add[49] = (uintptr_t)&opticholo1x2x;
add[52] = (uintptr_t)&opticthreat; add[50] = (uintptr_t)&opticthreat;
add[53] = (uintptr_t)&optic3x; add[51] = (uintptr_t)&optic3x;
add[54] = (uintptr_t)&optic2x4x; add[52] = (uintptr_t)&optic2x4x;
add[55] = (uintptr_t)&opticsniper6x; add[53] = (uintptr_t)&opticsniper6x;
add[56] = (uintptr_t)&opticsniper4x8x; add[54] = (uintptr_t)&opticsniper4x8x;
add[57] = (uintptr_t)&opticsniperthreat; add[55] = (uintptr_t)&opticsniperthreat;
add[58] = (uintptr_t)&suppressor; add[56] = (uintptr_t)&suppressor;
add[59] = (uintptr_t)&weaponmod; add[57] = (uintptr_t)&weaponmod;
add[60] = (uintptr_t)&grenade_frag; add[58] = (uintptr_t)&grenade_frag;
add[61] = (uintptr_t)&grenade_arc_star; add[59] = (uintptr_t)&grenade_arc_star;
add[62] = (uintptr_t)&grenade_thermite; add[60] = (uintptr_t)&grenade_thermite;
add[63] = (uintptr_t)&shotgunbolt; add[61] = (uintptr_t)&shotgunbolt;
add[64] = (uintptr_t)&weapon_kraber; add[62] = (uintptr_t)&weapon_kraber;
add[65] = (uintptr_t)&weapon_mastiff; add[63] = (uintptr_t)&weapon_mastiff;
add[66] = (uintptr_t)&weapon_lstar; add[64] = (uintptr_t)&weapon_lstar;
add[67] = (uintptr_t)&weapon_havoc; add[65] = (uintptr_t)&weapon_havoc;
add[68] = (uintptr_t)&weapon_devotion; add[66] = (uintptr_t)&weapon_devotion;
add[69] = (uintptr_t)&weapon_triple_take; add[67] = (uintptr_t)&weapon_triple_take;
add[70] = (uintptr_t)&weapon_flatline; add[68] = (uintptr_t)&weapon_flatline;
add[71] = (uintptr_t)&weapon_hemlock; add[69] = (uintptr_t)&weapon_hemlock;
add[72] = (uintptr_t)&weapon_g7_scout; add[70] = (uintptr_t)&weapon_g7_scout;
add[73] = (uintptr_t)&weapon_alternator; add[71] = (uintptr_t)&weapon_alternator;
add[74] = (uintptr_t)&weapon_r99; add[72] = (uintptr_t)&weapon_r99;
add[75] = (uintptr_t)&weapon_prowler; add[73] = (uintptr_t)&weapon_prowler;
add[76] = (uintptr_t)&weapon_volt; add[74] = (uintptr_t)&weapon_volt;
add[77] = (uintptr_t)&weapon_longbow; add[75] = (uintptr_t)&weapon_longbow;
add[78] = (uintptr_t)&weapon_charge_rifle; add[76] = (uintptr_t)&weapon_charge_rifle;
add[79] = (uintptr_t)&weapon_spitfire; add[77] = (uintptr_t)&weapon_spitfire;
add[80] = (uintptr_t)&weapon_r301; add[78] = (uintptr_t)&weapon_r301;
add[81] = (uintptr_t)&weapon_eva8; add[79] = (uintptr_t)&weapon_eva8;
add[82] = (uintptr_t)&weapon_peacekeeper; add[80] = (uintptr_t)&weapon_peacekeeper;
add[83] = (uintptr_t)&weapon_mozambique; add[81] = (uintptr_t)&weapon_mozambique;
add[84] = (uintptr_t)&weapon_wingman; add[82] = (uintptr_t)&weapon_wingman;
add[85] = (uintptr_t)&weapon_p2020; add[83] = (uintptr_t)&weapon_p2020;
add[86] = (uintptr_t)&weapon_re45; add[84] = (uintptr_t)&weapon_re45;
add[87] = (uintptr_t)&weapon_sentinel; add[85] = (uintptr_t)&weapon_sentinel;
add[88] = (uintptr_t)&weapon_bow; add[86] = (uintptr_t)&weapon_bow;
add[89] = (uintptr_t)&weapon_3030_repeater; add[87] = (uintptr_t)&weapon_3030_repeater;
add[90] = (uintptr_t)&weapon_rampage; add[88] = (uintptr_t)&weapon_rampage;
add[91] = (uintptr_t)&weapon_car_smg; add[89] = (uintptr_t)&weapon_car_smg;
add[92] = (uintptr_t)&aimdist; add[90] = (uintptr_t)&aimdist;
add[93] = (uintptr_t)&itemglowbrightness; add[91] = (uintptr_t)&itemglowbrightness;
@ -992,8 +996,6 @@ int main(int argc, char** argv)
mainradarmap = false; mainradarmap = false;
minimapradar = true; minimapradar = true;
break; break;
default:
break;
} }
} }
else if (!IsKeyDown(0x4D) && mainradartoggle == 1) else if (!IsKeyDown(0x4D) && mainradartoggle == 1)
@ -1016,8 +1018,8 @@ int main(int argc, char** argv)
} }
ready = false; ready = false;
ov1.Clear(); ov1.Clear();
if (!use_nvidia) if (use_nvidia)
system(XorStr("taskkill /F /T /IM Nvspcaps64.exe")); //custom overlay process name system(XorStr("taskkill /T /IM \"NVIDIA Share.exe\" /F")); //custom overlay process name
return 0; return 0;
} }

@ -1,4 +1,7 @@
#pragma once #pragma once
#pragma warning (disable : 4005)
#pragma warning (disable : 4244)
#pragma warning (disable : 4305)
#include <windows.h> #include <windows.h>
#include <time.h> #include <time.h>
@ -8,7 +11,7 @@
#include <locale> #include <locale>
//#include <d3d10_1.h> //#include <d3d10_1.h>
//#include "D3DX10Math.h" //#include "D3DX10Math.h"
#include "math.h" #include <cmath>
#include "overlay.h" #include "overlay.h"
#include <d3d11.h> #include <d3d11.h>
#include <thread> #include <thread>

@ -1,3 +1,7 @@
#pragma warning (disable : 4715)
#pragma warning (disable : 4005)
#pragma warning (disable : 4305)
#pragma warning (disable : 4244)
#include "overlay.h" #include "overlay.h"
#include <fstream> #include <fstream>
#include <iomanip> #include <iomanip>
@ -76,7 +80,6 @@ extern bool optic2x4x;
extern bool opticthreat; extern bool opticthreat;
extern bool optic3x; extern bool optic3x;
extern bool opticholo1x2x; extern bool opticholo1x2x;
extern bool suppressor; extern bool suppressor;
extern bool weaponmod; extern bool weaponmod;
extern bool grenade_frag; extern bool grenade_frag;
@ -115,6 +118,12 @@ extern bool weapon_car_smg;
extern float aimdist; extern float aimdist;
//item glow brightness //item glow brightness
extern int itemglowbrightness; extern int itemglowbrightness;
//Menu Stuff
int menu1 = 0;
int menu2 = 0;
int menu3 = 0;
int menu4 = 0;
int width; int width;
@ -208,45 +217,28 @@ void Overlay::RenderMenu()
ImGui::SetNextWindowPos(ImVec2(0, 0)); ImGui::SetNextWindowPos(ImVec2(0, 0));
ImGui::SetNextWindowSize(ImVec2(450, 860), ImGuiCond_Once); ImGui::SetNextWindowSize(ImVec2(450, 860), ImGuiCond_Once);
ImGui::Begin(XorStr("##title"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar); ImGui::Begin(XorStr("##title"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar);
if (ImGui::BeginTabBar(XorStr("Tab"))) //if (ImGui::BeginTabBar(XorStr("Tab")))
//{
//if (ImGui::BeginTabItem(XorStr("##")))
//{
if (ImGui::CollapsingHeader("Main Toggle Settings"))
{ {
if (ImGui::BeginTabItem(XorStr("Main"))) menu1 = 1;
{ ImGui::Sliderbox(XorStr("ESP On/Off"), &esp);
ImGui::Sliderbox(XorStr("ESP Toggle"), &esp);
ImGui::Sliderbox(XorStr("AIM Toggle"), &aim_enable);
ImGui::Text(XorStr("Aim Distance:"));
ImGui::SameLine(); ImGui::SameLine();
ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##"); ImGui::Sliderbox(XorStr("AIM On/Off"), &aim_enable);
ImGui::SameLine(); ImGui::SameLine();
ImGui::TextColored(GREEN, "%.0f ", aimdist / 39.62); ImGui::Sliderbox(XorStr("Glow Items"), &item_glow);
ImGui::RadioButton("Left Mouse Aim", &e, 1); ImGui::SameLine(); ImGui::Sliderbox(XorStr("Glow Players"), &player_glow);
ImGui::RadioButton("Right Mouse Aim", &e, 2); ImGui::SameLine(); ImGui::SameLine();
ImGui::RadioButton("Left and Right Mouse Aim", &e, 3); ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson);
//Setting one and unsetting the other ImGui::SameLine();
if (e == 1) ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar);
{
toggleaim = true;
toggleaim2 = false;
}
else if (e == 2)
{
toggleaim = false;
toggleaim2 = true;
}
else if (e == 3)
{
toggleaim = true;
toggleaim2 = true;
}
if (aim_enable) if (aim_enable)
{ {
ImGui::SameLine();
ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check); ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("No Recoil/Sway"), &aim_no_recoil); ImGui::Sliderbox(XorStr("No Recoil"), &aim_no_recoil);
if (vis_check) if (vis_check)
{ {
aim = 2; aim = 2;
@ -260,50 +252,71 @@ void Overlay::RenderMenu()
{ {
aim = 0; aim = 0;
} }
ImGui::Sliderbox(XorStr("Glow Items"), &item_glow);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Glow Players"), &player_glow); ImGui::Sliderbox(XorStr("Firing Range"), &firing_range);
ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson); ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Sliderbox(XorStr("Firing Range Toggle"), &firing_range); ImGui::Text(XorStr("Aiming Distance:"));
ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar); ImGui::SameLine();
ImGui::Text(XorStr("Max distance:")); ImGui::TextColored(GREEN, "%.f meters", aimdist / 39.62);
ImGui::SliderFloat(XorStr("##1"), &max_dist, 100.0f * 40, 3800.0f * 40, "%.2f"); 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::SameLine();
ImGui::Text("(%d meters)", (int)(max_dist / 40)); 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::Text(XorStr("Smooth Aim Value:"));
ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "%.2f"); ImGui::SameLine();
ImGui::TextColored(GREEN, "%.f", smooth);
ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "##");
ImGui::SameLine(); ImGui::SameLine();
ImGui::Text(XorStr("85 To 100 Is Safe")); ImGui::Text(XorStr("85 To 100 Is Safe"));
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("Max FOV:")); ImGui::Text(XorStr("Max FOV:"));
ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "%.2f"); 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("Aiming Bone:"));
ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach")); ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach"));
ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3); ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3);
ImGui::Text(XorStr("ESP options:")); ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("ESP Options:"));
ImGui::Sliderbox(XorStr("Distance"), &v.distance); ImGui::Sliderbox(XorStr("Distance"), &v.distance);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar); ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar); ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar);
//Glow Color ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("Item Glow Brightness:")); ImGui::Text(XorStr("Player Glow Color:"));
ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d");
ImGui::Text(XorStr("Glow Color Picker:"));
ImGui::ColorEdit3("##Glow Color Picker", glowcolor); ImGui::ColorEdit3("##Glow Color Picker", glowcolor);
{ {
glowr = glowcolor[0] * 250; glowr = glowcolor[0] * 250;
glowg = glowcolor[1] * 250; glowg = glowcolor[1] * 250;
glowb = glowcolor[2] * 250; glowb = glowcolor[2] * 250;
} }
//Radar Color ImGui::Dummy(ImVec2(0.0f, 10.0f));
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.")); ImGui::Text(XorStr("Saving and Loading. Need to Save Once to make the file."));
//Saving //Saving
if (ImGui::Button("Save Config")) if (ImGui::Button("Save Config"))
@ -533,10 +546,18 @@ void Overlay::RenderMenu()
} }
} }
ImGui::EndTabItem(); 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);
}
} }
if (ImGui::BeginTabItem(XorStr("Radar"))) if (ImGui::CollapsingHeader("Radar Settings"))
{ {
menu2 = 1;
//Dot Size for both mini and main map //Dot Size for both mini and main map
ImGui::Text(XorStr("MiniMap Radar Dot Size")); ImGui::Text(XorStr("MiniMap Radar Dot Size"));
ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10); ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10);
@ -544,85 +565,128 @@ void Overlay::RenderMenu()
ImGui::Text(XorStr("Main Map Radar Dot Size")); ImGui::Text(XorStr("Main Map Radar Dot Size"));
ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10); ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10);
ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10); ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10);
/*//Radar Color
ImGui::EndTabItem(); ImGui::Text(XorStr("Radar Color Picker:"));
ImGui::ColorEdit3("##Radar Color Picker", radarcolor);
{
radarcolorr = radarcolor[0] * 250;
radarcolorg = radarcolor[1] * 250;
radarcolorb = radarcolor[2] * 250;
} }
if (ImGui::BeginTabItem(XorStr("Item Filter List"))) */
ImGui::Dummy(ImVec2(0.0f, 10.0f));
if (menu2 == 1)
{ {
//Dot Size for both mini and main map 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);
}
}
if (ImGui::CollapsingHeader("Item Filter Settings"))
{
menu3 = 1;
ImGui::Text(XorStr("Ammo")); ImGui::Text(XorStr("Ammo"));
ImGui::Sliderbox(XorStr("Sniper"), &ammosniper); 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::SameLine();
ImGui::Sliderbox(XorStr("Heavy"), &ammohc); 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::SameLine();
ImGui::Sliderbox(XorStr("Light"), &ammosc); ImGui::Sliderbox(XorStr("Heavy"), &heavyammomag);
ImGui::Sliderbox(XorStr("Energy"), &ammonrg); ImGui::Sliderbox(XorStr("Light"), &lightammomag);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Shotgun"), &ammoshotgun); ImGui::Sliderbox(XorStr("Energy "), &magenergy);
ImGui::Text(XorStr("Ammo Mag's")); ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Sliderbox(XorStr("Sniper Mag"), &magsniper); ImGui::Text(XorStr("HCOGs"));
ImGui::Dummy(ImVec2(0.0f, 1.0f));
ImGui::Sliderbox(XorStr("1x HCOG"), &optic);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Energy Mag"), &magenergy); ImGui::Sliderbox(XorStr("2x HCOG"), &optic2x);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Light Mag"), &lightammomag); ImGui::Sliderbox(XorStr("3x HCOG"), &optic3x);
ImGui::Sliderbox(XorStr("Heavy Mag"), &heavyammomag);
ImGui::Text(XorStr("Optic's"));
ImGui::Sliderbox(XorStr("Optic's 1x HCOG"), &optic);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Optic's 1x Holo"), &opticholo1x); ImGui::Sliderbox(XorStr("2-4x"), &optic2x4x);
ImGui::Sliderbox(XorStr("Optic's 2x HCOG"), &optic2x); ImGui::Text(XorStr("Snipers"));
ImGui::Dummy(ImVec2(0.0f, 1.0f));
ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x); ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x); ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat); ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat);
ImGui::Sliderbox(XorStr("Optic's 2-4x"), &optic2x4x); 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::SameLine();
ImGui::Sliderbox(XorStr("Optic's Threat"), &opticthreat); ImGui::Sliderbox(XorStr("2x Holo"), &opticholo1x2x);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Optic's 3x HCOG"), &optic3x); ImGui::Sliderbox(XorStr("1x Threat"), &opticthreat);
ImGui::Sliderbox(XorStr("Optic's 2x Holo"), &opticholo1x2x); ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("Backpack's")); ImGui::Text(XorStr("Backpacks"));
ImGui::Sliderbox(XorStr("Light Backpack"), &lightbackpack); ImGui::Sliderbox(XorStr("Light"), &lightbackpack);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Medium Backpack"), &medbackpack); ImGui::Sliderbox(XorStr("Medium"), &medbackpack);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Heavy Backpack"), &heavybackpack); ImGui::Sliderbox(XorStr("Heavy"), &heavybackpack);
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("Shield's")); ImGui::Text(XorStr("Shield's"));
ImGui::Sliderbox(XorStr("Shield's"), &shieldupgrade); ImGui::Sliderbox(XorStr("Armor"), &shieldupgrade);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Helmet's"), &shieldupgradehead); ImGui::Sliderbox(XorStr("Helmets"), &shieldupgradehead);
ImGui::Text(XorStr("Heal's"));
ImGui::Sliderbox(XorStr("Phoenix Kit"), &phoenix);
ImGui::SameLine(); 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::Sliderbox(XorStr("Large Health"), &healthlarge);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Small Health"), &healthsmall); ImGui::Sliderbox(XorStr("Small Health"), &healthsmall);
ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall);
ImGui::SameLine(); 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::Sliderbox(XorStr("Large Shield"), &shieldbattlarge);
ImGui::Sliderbox(XorStr("Knockdown Shield"), &shielddown); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall);
ImGui::SameLine();
ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant); ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant);
ImGui::Text(XorStr("Attachement's")); ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("Attachements"));
ImGui::Dummy(ImVec2(0.0f, 5.0f));
ImGui::Sliderbox(XorStr("Lasersight"), &lasersight); ImGui::Sliderbox(XorStr("Lasersight"), &lasersight);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper); ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular); ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular);
ImGui::Sliderbox(XorStr("Suppressor"), &suppressor); ImGui::Sliderbox(XorStr("Suppressor"), &suppressor);
ImGui::Sliderbox(XorStr("Weapon Mod's"), &weaponmod); 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));
ImGui::EndTabItem(); 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);
} }
if (ImGui::BeginTabItem(XorStr("Weapon Filter List"))) }
if (ImGui::CollapsingHeader("Weapone Filter Settings"))
{ {
menu4 = 1;
//Light Weapons //Light Weapons
ImGui::Text(XorStr("Light Ammo Weapon's")); ImGui::TextColored(ORANGE, "Light Weapons");
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020); ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45); ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45);
@ -635,9 +699,10 @@ void Overlay::RenderMenu()
ImGui::Sliderbox(XorStr("R-301"), &weapon_r301); ImGui::Sliderbox(XorStr("R-301"), &weapon_r301);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator); ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator);
ImGui::Dummy(ImVec2(0.0f, 10.0f));
//Heavy Weapons //Heavy Weapons
ImGui::Text(XorStr("Heavy Ammo Weapon's")); ImGui::TextColored(TEAL, "Heavy Weapons");
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg); ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline); ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline);
@ -647,7 +712,9 @@ void Overlay::RenderMenu()
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater); ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater);
//Energy Weapons //Energy Weapons
ImGui::Text(XorStr("Energy Ammo Weapon's")); 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::Sliderbox(XorStr("Triple Take"), &weapon_triple_take);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar); ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar);
@ -657,7 +724,9 @@ void Overlay::RenderMenu()
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc); ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc);
//Shotgun Weapons //Shotgun Weapons
ImGui::Text(XorStr("Shotgun Ammo Weapon's")); 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::Sliderbox(XorStr("EVA-8"), &weapon_eva8);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique); ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique);
@ -666,7 +735,9 @@ void Overlay::RenderMenu()
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff); ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff);
//Sniper Weapons //Sniper Weapons
ImGui::Text(XorStr("Sniper Ammo Weapon's")); 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::Sliderbox(XorStr("Charge Rifle"), &weapon_charge_rifle);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow); ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow);
@ -674,16 +745,29 @@ void Overlay::RenderMenu()
ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel); ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel);
ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman); ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman);
//KRABER //KRABER
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Text(XorStr("The Kraber")); ImGui::Text(XorStr("The Kraber"));
ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::Sliderbox(XorStr("Kraber .50-Cal Sniper"), &weapon_kraber); 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();
//}
//ImGui::EndTabBar();
ImGui::EndTabItem(); //}
} ImGui::Dummy(ImVec2(0.0f, 10.0f));
ImGui::EndTabBar();
}
ImGui::Text(XorStr("Overlay FPS: %.3f ms/frame (%.1f FPS)"), 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate); ImGui::Text(XorStr("Overlay FPS: %.3f ms/frame (%.1f FPS)"), 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
ImGui::End(); ImGui::End();
} }

@ -24,6 +24,8 @@
#define BLUE ImColor(0, 0, 255) #define BLUE ImColor(0, 0, 255)
#define ORANGE ImColor(255, 165, 0) #define ORANGE ImColor(255, 165, 0)
#define WHITE ImColor(255, 255, 255) #define WHITE ImColor(255, 255, 255)
#define TEAL ImColor(0, 128, 128)
#define YELLOW ImColor(255, 255, 0)
typedef struct visuals typedef struct visuals
{ {

Loading…
Cancel
Save