Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. if (tabSelected == 0) // Aimbot
  2. {
  3. ImGui::PushItemWidth(110.f);
  4. ImGui::Text("Current Weapon: ");
  5. ImGui::SameLine();
  6. ImGui::Combo("##AimWeapon", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));
  7. ImGui::PopItemWidth();
  8.  
  9. ImGui::Spacing();
  10. ImGui::Separator();
  11. ImGui::Spacing();
  12.  
  13. ImGui::Checkbox("Deathmatch", &Settings::Aimbot::aim_Deathmatch);
  14. ImGui::SameLine(SpaceLineOne);
  15. ImGui::Checkbox("WallAttack", &Settings::Aimbot::aim_WallAttack);
  16. ImGui::SameLine(SpaceLineTwo);
  17. ImGui::Checkbox("CheckSmoke", &Settings::Aimbot::aim_CheckSmoke);
  18.  
  19. ImGui::Checkbox("AntiJump", &Settings::Aimbot::aim_AntiJump);
  20. ImGui::SameLine(SpaceLineOne);
  21. ImGui::Checkbox("Draw Fov", &Settings::Aimbot::aim_DrawFov);
  22. ImGui::SameLine(SpaceLineTwo);
  23. ImGui::Checkbox("DrawSpot", &Settings::Aimbot::aim_DrawSpot);
  24.  
  25. ImGui::Checkbox("Backtrack", &Settings::Aimbot::aim_Backtrack);
  26. ImGui::SameLine(SpaceLineOne);
  27. ImGui::Checkbox("Draw Ticks", &Settings::Aimbot::aim_DrawBacktrack);
  28. ImGui::SliderInt("Ticks", &Settings::Aimbot::aim_Backtracktickrate, 1, 12);
  29.  
  30. ImGui::Spacing();
  31. ImGui::Separator();
  32. ImGui::Spacing();
  33.  
  34. ImGui::Checkbox("Active", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Active);
  35.  
  36. if (iWeaponID <= 9)
  37. {
  38. ImGui::SameLine();
  39. ImGui::Checkbox("Autopistol", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_AutoPistol);
  40. }
  41. ImGui::PushItemWidth(362.f);
  42. ImGui::SliderInt("Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Smooth, 1, 300);
  43. ImGui::SliderInt("Fov", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Fov, 1, 300);
  44. ImGui::PopItemWidth();
  45.  
  46. const char* AimFovType[] = { "Dynamic" , "Static" };
  47. ImGui::PushItemWidth(362.f);
  48. ImGui::Combo("Fov Type", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType, AimFovType, IM_ARRAYSIZE(AimFovType));
  49. ImGui::PopItemWidth();
  50.  
  51. const char* BestHit[] = { "Disable" , "Enable" };
  52. ImGui::PushItemWidth(362.f);
  53. ImGui::Combo("BestHit", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit, BestHit, IM_ARRAYSIZE(BestHit));
  54.  
  55. if (ImGui::IsItemHovered())
  56. ImGui::SetTooltip("if disabled then used Aimspot");
  57.  
  58. ImGui::PopItemWidth();
  59.  
  60. const char* Aimspot[] = { "Head" , "Neck" , "Low Neck" , "Body" , "Thorax" , "Chest" };
  61. ImGui::PushItemWidth(362.f);
  62. ImGui::Combo("Aimspot", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot, Aimspot, IM_ARRAYSIZE(Aimspot));
  63. ImGui::PopItemWidth();
  64.  
  65. ImGui::Spacing();
  66. ImGui::Separator();
  67. ImGui::Spacing();
  68.  
  69. ImGui::PushItemWidth(362.f);
  70. ImGui::SliderInt("ShotDelay", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Delay, 0, 200);
  71. ImGui::SliderInt("Rcs", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Rcs, 0, 100);
  72. ImGui::PopItemWidth();
  73.  
  74. ImGui::Spacing();
  75. ImGui::Separator();
  76. ImGui::Spacing();
  77.  
  78.  
  79. if (iWeaponID >= 10 && iWeaponID <= 30)
  80. {
  81. ImGui::PushItemWidth(362.f);
  82. ImGui::SliderInt("Rcs Fov", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsFov, 1, 300);
  83. ImGui::SliderInt("Rcs Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsSmooth, 1, 300);
  84. ImGui::PopItemWidth();
  85.  
  86. const char* ClampType[] = { "All Target" , "Shot" , "Shot + Target" };
  87. ImGui::PushItemWidth(362.f);
  88. ImGui::Combo("Rcs Clamp", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsClampType, ClampType, IM_ARRAYSIZE(ClampType));
  89. ImGui::PopItemWidth();
  90.  
  91. ImGui::Spacing();
  92. ImGui::Separator();
  93. ImGui::Spacing();
  94. }
  95. }
  96. else if (tabSelected == 1) // Visuals
  97. {
  98. const char* iHitSound[] =
  99. {
  100. "Off",
  101. "Default",
  102. "Anime",
  103. "Roblox",
  104. "German",
  105. "HeadMeme",
  106. "FadeCSGO.tk"
  107. };
  108.  
  109. const char* material_items[] =
  110. {
  111. "Glass",
  112. "Crystal",
  113. "Gold",
  114. "Dark Chrome",
  115. "Plastic Glass",
  116. "Velvet",
  117. "Crystal Blue",
  118. "Detailed Gold"
  119. };
  120.  
  121. const char* armtype_items[] =
  122. {
  123. "Arms Only",
  124. "Arms + Weapon"
  125. };
  126.  
  127. ImGui::Spacing();
  128. ImGui::Separator();
  129. ImGui::Spacing();
  130.  
  131. ImGui::Checkbox("Esp Team", &Settings::Esp::esp_Team);
  132. ImGui::SameLine(SpaceLineOne);
  133. ImGui::Checkbox("Esp Enemy", &Settings::Esp::esp_Enemy);
  134. ImGui::SameLine(SpaceLineTwo);
  135. ImGui::Checkbox("Esp Bomb", &Settings::Esp::esp_Bomb);
  136. ImGui::SameLine(SpaceLineThr);
  137.  
  138.  
  139.  
  140. ImGui::SameLine(SpaceLineOne);
  141.  
  142. ImGui::SameLine(SpaceLineTwo);
  143. ImGui::Checkbox("Esp Name", &Settings::Esp::esp_Name);
  144. ImGui::SameLine(SpaceLineThr);
  145. ImGui::Checkbox("Esp Rank", &Settings::Esp::esp_Rank);
  146.  
  147. ImGui::Checkbox("NightMode", &Settings::Esp::esp_NightMode);
  148. ImGui::Checkbox("Minecraft", &Settings::Esp::esp_MinecraftMode);
  149. ImGui::Checkbox("Esp Weapon", &Settings::Esp::esp_Weapon);
  150. ImGui::SameLine(SpaceLineOne);
  151. ImGui::Checkbox("Esp Ammo", &Settings::Esp::esp_Ammo);
  152. ImGui::SameLine(SpaceLineTwo);
  153.  
  154. ImGui::Checkbox("Time", &Settings::Esp::esp_Time);
  155. ImGui::SameLine(SpaceLineOne);
  156.  
  157. ImGui::SameLine(SpaceLineTwo);
  158.  
  159. ImGui::SameLine(SpaceLineThr);
  160. if (ImGui::Checkbox("Esp Grenade Prediction", &Settings::Esp::esp_GrenadePrediction))
  161. {
  162. if (!Interfaces::Engine()->IsInGame())
  163. Settings::Esp::esp_GrenadePrediction = false;
  164. }
  165.  
  166. ImGui::Spacing();
  167. ImGui::Separator();
  168. ImGui::Spacing();
  169.  
  170. ImGui::Checkbox("Hit Marker", &Settings::Esp::esp_HitMarker);
  171. ImGui::Text("Hit Marker Sound");
  172. ImGui::SameLine();
  173. ImGui::Combo("##HITSOUND", &Settings::Esp::esp_HitMarkerSound, iHitSound, ARRAYSIZE(iHitSound));
  174.  
  175. ImGui::Checkbox("Esp World Weapon", &Settings::Esp::esp_WorldWeapons);
  176.  
  177. ImGui::Checkbox("Esp Nade Boxes", &Settings::Esp::esp_BoxNade);
  178.  
  179.  
  180. string visible_1 = "Enemy";
  181. string visible_2 = "Team";
  182. string visible_3 = "All";
  183. string visible_4 = "Only Visible";
  184.  
  185. const char* items2[] = { visible_1.c_str() , visible_2.c_str() , visible_3.c_str() , visible_4.c_str() };
  186.  
  187. ImGui::PushItemWidth(339.f);
  188. ImGui::Combo("Esp Visible", &Settings::Esp::esp_Visible, items2, IM_ARRAYSIZE(items2));
  189.  
  190. ImGui::Spacing();
  191. ImGui::Separator();
  192. ImGui::Spacing();
  193.  
  194. ImGui::SliderInt("Esp Size", &Settings::Esp::esp_Size, 0, 10);
  195. ImGui::SliderInt("Esp BombTimer", &Settings::Esp::esp_BombTimer, 0, 65);
  196. ImGui::SliderInt("Esp BulletTrace", &Settings::Esp::esp_BulletTrace, 0, 3000);
  197.  
  198. ImGui::Spacing();
  199. ImGui::Separator();
  200. ImGui::Spacing();
  201.  
  202. string hpbar_1 = "None";
  203. string hpbar_2 = "Number";
  204. string hpbar_3 = "Bottom";
  205. string hpbar_4 = "Left";
  206.  
  207. const char* items3[] = { hpbar_1.c_str() , hpbar_2.c_str() , hpbar_3.c_str() , hpbar_4.c_str() };
  208. ImGui::Combo("Esp Health", &Settings::Esp::esp_Health, items3, IM_ARRAYSIZE(items3));
  209.  
  210. string arbar_1 = "None";
  211. string arbar_2 = "Number";
  212. string arbar_3 = "Bottom";
  213. string arbar_4 = "Right";
  214.  
  215. const char* items4[] = { arbar_1.c_str() , arbar_2.c_str() , arbar_3.c_str() , arbar_4.c_str() };
  216. ImGui::Combo("Esp Armor", &Settings::Esp::esp_Armor, items4, IM_ARRAYSIZE(items4));
  217.  
  218. ImGui::Spacing();
  219. ImGui::Separator();
  220. ImGui::Spacing();
  221.  
  222. string chams_1 = "None";
  223. string chams_2 = "Flat";
  224. string chams_3 = "Texture";
  225.  
  226. const char* items5[] = { chams_1.c_str() , chams_2.c_str() , chams_3.c_str() };
  227. ImGui::Combo("Chams", &Settings::Esp::esp_Chams, items5, IM_ARRAYSIZE(items5));
  228. ImGui::Combo("Chams Visible", &Settings::Esp::esp_ChamsVisible, items2, IM_ARRAYSIZE(items2));
  229.  
  230.  
  231. }
  232.  
  233. else if (tabSelected == 2) // Misc
  234. {
  235. const char* skybox_items[] =
  236. {
  237. "cs_baggage_skybox_",
  238. "cs_tibet",
  239. "embassy",
  240. "italy",
  241. "jungle",
  242. "nukeblank",
  243. "office",
  244. "sky_cs15_daylight01_hdr",
  245. "sky_cs15_daylight02_hdr",
  246. "sky_cs15_daylight03_hdr",
  247. "sky_cs15_daylight04_hdr",
  248. "sky_csgo_cloudy01",
  249. "sky_csgo_night02",
  250. "sky_csgo_night02b",
  251. "sky_csgo_night_flat",
  252. "sky_day02_05_hdr",
  253. "sky_day02_05",
  254. "sky_dust",
  255. "sky_l4d_rural02_ldr",
  256. "sky_venice",
  257. "vertigo_hdr",
  258. "vertigoblue_hdr",
  259. "vertigo",
  260. "vietnam"
  261. };
  262.  
  263. ImGui::Checkbox("Skin Changer", &Settings::Misc::misc_SkinChanger);
  264. ImGui::SameLine(SpaceLineOne);
  265. ImGui::Checkbox("Knife Changer", &Settings::Misc::misc_KnifeChanger);
  266. ImGui::Checkbox("AutoAccept", &Settings::Misc::misc_AutoAccept);
  267. ImGui::Checkbox("Spectators", &Settings::Misc::misc_Spectators);
  268. ImGui::SameLine(SpaceLineOne);
  269.  
  270. ImGui::Checkbox("Fov Changer", &Settings::Misc::misc_FovChanger);
  271. ImGui::PushItemWidth(362.f);
  272. ImGui::SliderInt("Fov View", &Settings::Misc::misc_FovView, 1, 170);
  273. ImGui::SliderInt("Fov Model View", &Settings::Misc::misc_FovModelView, 1, 190);
  274. ImGui::Separator();
  275. ImGui::PopItemWidth();
  276. ImGui::Spacing();
  277. ImGui::Text("Skybox (Spoof)");
  278. ImGui::SameLine();
  279. if (ImGui::Combo("", &Settings::Misc::misc_CurrentSky, skybox_items, IM_ARRAYSIZE(skybox_items)))
  280. {
  281. Settings::Misc::misc_SkyName = skybox_items[Settings::Misc::misc_CurrentSky];
  282. }
  283.  
  284. ImGui::Checkbox("Disable Postprocess (Spoof)", &Settings::Misc::misc_EPostprocess);
  285. ImGui::Checkbox("NoSky (Spoof)", &Settings::Misc::misc_NoSky);
  286. ImGui::Checkbox("SlideWalk", &Settings::Misc::misc_slidewalk);
  287. ImGui::Separator();
  288. ImGui::Spacing();
  289. ImGui::SliderFloat("##FAKELAG_AMOUNT", &Settings::Misc::misc_fakelag_amount, 0.f, 14.f, "Fake Lag Amount: %0.f");
  290. ImGui::Checkbox("FakeLag", &Settings::Misc::misc_FakeLag_Enable);
  291. ImGui::Checkbox("grenade helper", &Settings::Esp::helper);
  292. if (ImGui::Button("update map"))
  293. cGrenade.bUpdateGrenadeInfo(Interfaces::Engine()->GetLevelNameShort());
  294. ImGui::Checkbox("InventoryChanger", &Settings::Misc::misc_InventoryChanger);
  295. ImGui::Checkbox("Legit AntiAim", &Settings::Misc::misc_LegitAA);
  296. ImGui::Checkbox("Anti SilentAim", &Settings::Misc::misc_LegitAAToggle);
  297. ImGui::Separator();
  298. ImGui::Spacing();
  299. if (ImGui::Button("unload"))
  300. Shutdown();
  301. ImGui::Separator();
  302. ImGui::Spacing();
  303. ImGui::Checkbox("Enable Profile Changer", &Settings::Misc::misc_ProfileChanger);
  304. static const char* bans[] = {
  305. "None",
  306. "You were kicked from the last match (Competitive Cooldown)",
  307. "You killed too many teammates (Competitive Cooldown)",
  308. "You killed a teammate at round start (Competitive Cooldown)",
  309. "You failed to reconnect to the last match (Competitive Cooldown)",
  310. "You abandoned the last match (Competitive Cooldown)",
  311. "You did too much damage to your teammates (Competitive Cooldown)",
  312. "You did too much damage to your teammates at round start (Competitive Cooldown)",
  313. "This account is permanently Untrusted (Global Cooldown)",
  314. "You were kicked from too many recent matches (Competitive Cooldown)",
  315. "Convicted by Overwatch - Majorly Disruptive (Global Cooldown)",
  316. "Convicted by Overwatch - Minorly Disruptive (Global Cooldown)",
  317. "Resolving matchmaking state for your account (Temporary Cooldown)",
  318. "Resolving matchmaking state after the last match (Temporary Cooldown)",
  319. "This account is permanently Untrusted (Global Cooldown)",
  320. "(Global Cooldown)",
  321. "You failed to connect by match start. (Competitive Cooldown)",
  322. "You have kicked too many teammates in recent matches (Competitive Cooldown)",
  323. "Congratulations on your recent competitive wins! Before you play competitive matches further please wait for matchmaking servers to calibrate your Skill Group placement based on your lastest performance. (Temporary Cooldown)",
  324. "A server using your game server login token has been banned. Your account is now permanently banned from operating game servers, and you have a cooldown from connecting to game servers. (Global Cooldown)"
  325. };
  326. ImGui::Combo("Ban", &Settings::ProfileChanger::ban, bans, IM_ARRAYSIZE(bans));
  327. ImGui::InputInt("Ban - Time", &Settings::ProfileChanger::time);
  328. if (ImGui::Button("Ban"))
  329. SendClientHello();
  330.  
  331.  
  332. /*
  333. ImGui::Checkbox("enable custom models", &Settings::Misc::custommodelson);
  334. if (ImGui::IsItemHovered())
  335. ImGui::SetTooltip("CAUSES CRASH");
  336. const char* customModelsct[] =
  337. {
  338. "off",
  339. "trump",
  340. "noire",
  341. "anime",
  342. "joe"
  343.  
  344. };
  345.  
  346. const char* customModelst[] =
  347. {
  348. "off",
  349. "trump",
  350. "noire",
  351. "anime",
  352. "joe"
  353.  
  354. };
  355.  
  356. if (Settings::Misc::custommodelson) {
  357. ImGui::Combo(("ct model"), &Settings::Misc::customodelsct, customModelsct, ARRAYSIZE(customModelsct));
  358. ImGui::Combo(("t model"), &Settings::Misc::customodelst, customModelst, ARRAYSIZE(customModelst));
  359. }
  360.  
  361. if (ImGui::Button("Update"))
  362. {
  363. ForceFullUpdate();
  364. }*/
  365. }
  366. else if (tabSelected == 3)
  367. {
  368. ImGui::Text("Menu");
  369. ImGui::Separator();
  370. if (ImGui::ColorEdit3("Menu Color", Settings::Misc::misc_MenuColor))
  371. g_pGui->MenuColor();
  372. if (ImGui::ColorEdit3("Menu Text Color", Settings::Misc::misc_TextColor))
  373. g_pGui->MenuColor();
  374. ImGui::Spacing();
  375. ImGui::Text("Hit Marker");
  376. ImGui::Separator();
  377. ImGui::ColorEdit3("Hit Marker Color", Settings::Esp::esp_HitMarkerColor);
  378. ImGui::Spacing();
  379. ImGui::Separator();
  380. ImGui::Spacing();
  381. ImGui::Separator();
  382. ImGui::Text("ESP");
  383. ImGui::Separator();
  384. ImGui::ColorEdit3("Esp Color Hit Marker", Settings::Esp::esp_HitMarkerColor);
  385. ImGui::ColorEdit3("Esp Color CT", Settings::Esp::esp_Color_CT);
  386. ImGui::ColorEdit3("Esp Color TT", Settings::Esp::esp_Color_TT);
  387. ImGui::ColorEdit3("Esp Color Visible CT", Settings::Esp::esp_Color_VCT);
  388. ImGui::ColorEdit3("Esp Color Visible TT", Settings::Esp::esp_Color_VTT);
  389. ImGui::Spacing();
  390. ImGui::Separator();
  391. ImGui::Text("Chams");
  392. ImGui::Separator();
  393.  
  394. ImGui::ColorEdit3("Chams Color CT", Settings::Esp::chams_Color_CT);
  395. ImGui::ColorEdit3("Chams Color TT", Settings::Esp::chams_Color_TT);
  396. ImGui::ColorEdit3("Chams Color Visible CT", Settings::Esp::chams_Color_VCT);
  397. ImGui::ColorEdit3("Chams Color Visible TT", Settings::Esp::chams_Color_VTT);
  398. ImGui::Spacing();
  399. ImGui::Separator();
  400. ImGui::Separator();
  401. }
  402.  
  403. else if (tabSelected == 4) // Config
  404. {
  405. static int iConfigSelect = 0;
  406. static int iMenuSheme = 1;
  407. static char ConfigName[64] = { 0 };
  408.  
  409. ImGui::ComboBoxArray("Select Config", &iConfigSelect, ConfigList);
  410.  
  411. ImGui::Separator();
  412.  
  413. if (ImGui::Button("Load Config"))
  414. {
  415. Settings::LoadSettings(BaseDir + "\\" + ConfigList[iConfigSelect]);
  416. }
  417. ImGui::SameLine();
  418. if (ImGui::Button("Save Config"))
  419. {
  420. Settings::SaveSettings(BaseDir + "\\" + ConfigList[iConfigSelect]);
  421. }
  422. ImGui::SameLine();
  423. if (ImGui::Button("Refresh Config List"))
  424. {
  425. RefreshConfigs();
  426. }
  427.  
  428. ImGui::Separator();
  429.  
  430. ImGui::InputText("Config Name", ConfigName, 64);
  431.  
  432. if (ImGui::Button("Create & Save new Config"))
  433. {
  434. string ConfigFileName = ConfigName;
  435.  
  436. if (ConfigFileName.size() < 1)
  437. {
  438. ConfigFileName = "settings";
  439. }
  440.  
  441. Settings::SaveSettings(BaseDir + "\\" + ConfigFileName + ".ini");
  442. RefreshConfigs();
  443. }
  444.  
  445. ImGui::Separator();
  446.  
  447. const char* ThemesList[] = { "Purple" , "Default" , "Light Pink" , "Dark Blue" , "MidNight" , "Night" , "Dunno" , "Blue" , "Black" , "Green" , "Yellow" , "Light Blue" , "Light Grey" , "pHooK" };
  448.  
  449. ImGui::Combo("Menu Color Sheme", &iMenuSheme, ThemesList, IM_ARRAYSIZE(ThemesList));
  450.  
  451. ImGui::Separator();
  452.  
  453. if (ImGui::Button("Apply Color"))
  454. {
  455. if (iMenuSheme == 0)
  456. {
  457. g_pGui->purple();
  458. }
  459. else if (iMenuSheme == 1)
  460. {
  461. g_pGui->DefaultSheme1();
  462. }
  463. else if (iMenuSheme == 2)
  464. {
  465. g_pGui->RedSheme();
  466. }
  467. else if (iMenuSheme == 3)
  468. {
  469. g_pGui->darkblue();
  470. }
  471. else if (iMenuSheme == 4)
  472. {
  473. g_pGui->MidNightSheme();
  474. }
  475. else if (iMenuSheme == 5)
  476. {
  477. g_pGui->NightSheme();
  478. }
  479. else if (iMenuSheme == 6)
  480. {
  481. g_pGui->DunnoSheme();
  482. }
  483. else if (iMenuSheme == 7)
  484. {
  485. g_pGui->BlueSheme();
  486. }
  487. //else if (iMenuSheme == 10)
  488. //{
  489. // g_pGui->MidNight2();
  490. //}
  491. else if (iMenuSheme == 8)
  492. {
  493. g_pGui->BlackSheme2();
  494. }
  495. else if (iMenuSheme == 9)
  496. {
  497. g_pGui->green();
  498. }
  499. else if (iMenuSheme == 10)
  500. {
  501. g_pGui->pink();
  502. }
  503. else if (iMenuSheme == 11)
  504. {
  505. g_pGui->blue();
  506. }
  507. else if (iMenuSheme == 12)
  508. {
  509. g_pGui->yellow();
  510. }
  511. else if (iMenuSheme == 13)
  512. {
  513. g_pGui->BlackSheme();
  514. }
  515. }
  516. }
  517. }
  518.  
  519. ImGui::End();
  520. }
  521. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement