Гайд Фильтр ID медалей в Indigo

f3mb0y
Участник
Статус
Оффлайн
Регистрация
14 Фев 2017
Сообщения
625
Реакции[?]
291
Поинты[?]
1K
Доброго времени суток, сегодня мы сделаем ИД медалек внутри Indigo. Чтож, начнем!
В Settings.cpp
Код:
bool misc_FilterList;
В Settings.h
Код:
extern bool misc_FilterList;
Далее, там где меню (Smef - Client.cpp, дефолт индиго - gui.cpp)
Код:
if(Settings::Misc::misc_FilterList && bIsGuiVisible)
        {
            ImVec2 OldMinSize = ImGui::GetStyle().WindowMinSize;

            ImGui::GetStyle().WindowMinSize = ImVec2(0.f, 0.f);
            ImGui::SetNextWindowSize(ImVec2(525.f, 445.f));

            if (ImGui::Begin("Medals ID's", &Settings::Misc::misc_FilterList,
                ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize))
            {
                ImGui::BeginGroup(); //begins the group
                ImGui::PushItemWidth(150.f); //item width

                ImGui::BeginChild("second child", ImVec2(555, 205), true); //begins the child and the size of the child.
                {
                    ImGui::Text("Medal List");
                    static ImGuiTextFilter filter;
                    filter.Draw();
                    const char* lines2[] = {
                        "874 - 5 Year Veteran Coin",
                        "-----Tournament Trophys, etc..-----",
                        "875 - Champion at DreamHack 2013",
                        "876 - Finalist at DreamHack 2013",
                        "877 - Semifinalist at DreamHack 2013",
                        "878 - Quarterfinalist at DreamHack 2013",
                        "879 - Champion at EMS One Katowice 2014",
                        "880 - Finalist at EMS One Katowice 2014",
                        "881 - Semifinalist at EMS One Katowice 2014",
                        "882 - Quarterfinalist at EMS One Katowice 2014",
                        "883 - Champion at ESL One Cologne 2014",
                        "884 - Finalist at ESL One Cologne 2014",
                        "885 - Semifinalist at ESL One Cologne 2014",
                        "886 - Quarterfinalist at ESL One Cologne 2014",
                        "887 - Bronze Cologne 2014 Pick'Em Trophy",
                        "888 - Silver Cologne 2014 Pick'Em Trophy",
                        "889 - Gold Cologne 2014 Pick'Em Trophy",
                        "890 - Champion at DreamHack Winter 2014",
                        "891 - Finalist at DreamHack Winter 2014",
                        "892 - Semifinalist at DreamHack Winter 2014",
                        "893 - Quarterfinalist at DreamHack Winter 2014",
                        "894 - Bronze DreamHack 2014 Pick'Em Trophy",
                        "895 - Silver DreamHack 2014 Pick'Em Trophy",
                        "896 - Gold DreamHack 2014 Pick'Em Trophy",
                        "897 - Champion at ESL One Katowice 2015",
                        "898 - Finalist at ESL One Katowice 2015",
                        "899 - Semifinalist at ESL One Katowice 2015",
                        "900 - Quarterfinalist at ESL One Katowice 2015",
                        "901 - Bronze Katowice 2015 Pick'Em Trophy",
                        "902 - Silver Katowice 2015 Pick'Em Trophy",
                        "903 - Gold Katowice 2015 Pick'Em Trophy",
                        "904 - Champion at ESL One Cologne 2015",
                        "905 - Finalist at ESL One Cologne 2015",
                        "906 - Semifinalist at ESL One Cologne 2015",
                        "907 - Quarterfinalist at ESL One Cologne 2015",
                        "908 - Bronze Cologne 2015 Pick'Em Trophy",
                        "909 - Silver Cologne 2015 Pick'Em Trophy",
                        "910 - Gold Cologne 2015 Pick'Em Trophy",
                        "911 - Bronze Cluj - Napoca 2015 Pick'Em Trophy",
                        "912 - Silver Cluj - Napoca 2015 Pick'Em Trophy",
                        "913 - Gold Cluj - Napoca 2015 Pick'Em Trophy",
                        "914 - Bronze Cluj - Napoca 2015 Fantasy Trophy",
                        "915 - Silver Cluj - Napoca 2015 Fantasy Trophy",
                        "916 - Gold Cluj - Napoca 2015 Fantasy Trophy",
                        "917 - Champion at DreamHack Cluj - Napoca 2015",
                        "918 - Finalist at DreamHack Cluj - Napoca 2015",
                        "919 - Semifinalist at DreamHack Cluj - Napoca 2015",
                        "920 - Quarterfinalist at DreamHack Cluj - Napoca 2015",
                        "921 - Bronze Columbus 2016 Pick'Em Trophy",
                        "922 - Silver Columbus 2016 Pick'Em Trophy",
                        "923 - Gold Columbus 2016 Pick'Em Trophy",
                        "924 - Bronze Columbus 2016 Fantasy Trophy",
                        "925 - Silver Columbus 2016 Fantasy Trophy",
                        "926 - Gold Columbus 2016 Fantasy Trophy",
                        "927 - Champion at MLG Columbus 2016",
                        "928 - Finalist at MLG Columbus 2016",
                        "929 - Semifinalist at MLG Columbus 2016",
                        "930 - Quarterfinalist at MLG Columbus 2016",
                        "931 - Champion at ESL One Cologne 2016",
                        "932 - Finalist at ESL One Cologne 2016",
                        "923 - Semifinalist at ESL One Cologne 2016",
                        "934 - Quarterfinalist at ESL One Cologne 2016",
                        "935 - Bronze Cologne 2016 Pick'Em Trophy",
                        "936 - Silver Cologne 2016 Pick'Em Trophy",
                        "937 - Gold Cologne 2016 Pick'Em Trophy",
                        "938 - Bronze Cologne 2016 Fantasy Trophy",
                        "939 - Silver Cologne 2016 Fantasy Trophy",
                        "940 - Gold Cologne 2016 Fantasy Trophy",
                        "941 - Champion at ELEAGUE Atlanta 2017",
                        "942 - Finalist at ELEAGUE Atlanta 2017",
                        "943 - Semifinalist at ELEAGUE Atlanta 2017",
                        "944 - Quarterfinalist at ELEAGUE Atlanta 2017",
                        "945 - Bronze Atlanta 2017 Pick'Em Trophy",
                        "946 - Silver Atlanta 2017 Pick'Em Trophy",
                        "947 - Gold Atlanta 2017 Pick'Em Trophy",
                        "948 - Champion at PGL Krakow 2017",
                        "949 - Finalist at PGL Krakow 2017",
                        "950 - Semifinalist at PGL Krakow 2017",
                        "951 - Quarterfinalist at PGL Krakow 2017",
                        "952 - Bronze Krakow 2017 Pick'Em Trophy ",
                        "953 - Silver Krakow 2017 Pick'Em Trophy",
                        "954 - Gold Krakow 2017 Pick'Em Trophy",
                        "955 - Champion at ELEAGUE Boston 2018",
                        "956 - Finalist at ELEAGUE Boston 2018",
                        "957 - Semifinalist at ELEAGUE Boston 2018",
                        "958 - Quarterfinalist at ELEAGUE Boston 2018",
                        "959 - Bronze Boston 2018 Pick'Em Trophy",
                        "960 - Silver Boston 2018 Pick'Em Trophy",
                        "961 - Gold Boston 2018 Pick'Em Trophy",
                        "-----Operation Payback-----",
                        "1001 - Operation Payback Challenge Coin",
                        "1002 - Silver Operation Payback Coin",
                        "1003 - Gold Operation Payback Coin",
                        "-----Map coins-----",
                        "1004 - Museum Map Coin" ,
                        "1005 - Downtown Map Coin" ,
                        "1006 - Thunder Map Coin" ,
                        "1007 - Fevela Map Coin" ,
                        "1008 - Motel Map Coin" ,
                        "1009 - Seaside Map Coin" ,
                        "1010 - Library Map Coin" ,
                        "-----Operation Bravo-----",
                        "1013 - Operation Bravo Challenge Coin" ,
                        "1014 - Silver Operation Bravo Coin" ,
                        "1015 - Gold Operation Bravo Coin" ,
                        "-----Some Coins-----",
                        "1016 - Agency Map Coin" ,
                        "1017 - Ali Map Coin" ,
                        "1018 - Cache Map Coin" ,
                        "1019 - Chinatown Map Coin" ,
                        "1020 - Gwalior Map Coin" ,
                        "1021 - Ruins Map Coin" ,
                        "1022 - Siege Map Coin" ,
                        "-----Operation Phoenix-----",
                        "1024 - Operation Phoenix Challenge Coin" ,
                        "1025 - Silver Operation Phoenix Coin" ,
                        "1026 - Gold Operation Phoenix Coin" ,
                        "-----Operation Breakout-----",
                        "1028 - Operation Breakout Challenge Coin" ,
                        "1029 - Silver Operation Breakout Coin" ,
                        "1030 - Gold Operation Breakout Coin" ,
                        "-----Map Coins-----",
                        "1031 - Castle Map Coin" ,
                        "1032 - Black Gold Map Coin" ,
                        "1033 - Rush Map Coin" ,
                        "1034 - Mist Map Coin" ,
                        "1035 - Insertion Map Coin" ,
                        "1036 - Overgrown Map Coin" ,
                        "1037 - Marquis Map Coin" ,
                        "1038 - Workout Map Coin" ,
                        "1039 - Backalley Map Coin" ,
                        "1040 - Season Map Coin" ,
                        "1041 - Bazaar Map Coin" ,
                        "1042 - Facade Map Coin" ,
                        "1043 - Log Map Coin" ,
                        "1044 - Rails Map Coin" ,
                        "1045 - Resort Map Coin" ,
                        "1046 - Zoo Map Coin" ,
                        "1047 - Santorini Map Coin",
                        "1048 - Coast Map Coin",
                        "1049 - Mikla Map Coin",
                        "1050 - Royal Map Coin",
                        "1051 - Empire Map Coin",
                        "1052 - Tulip Map Coin",
                        "1053 - Cruise Map Coin",
                        "-----Operation Vanguard-----",
                        "1316 - Operation Vanguard Challenge Coin" ,
                        "1317 - Silver Operation Vanguard Coin" ,
                        "1318 - Gold Operation Vanguard Coin" ,
                        "-----Operation Bloodhound-----",
                        "1327 - Operation Bloodhound Challenge Coin" ,
                        "1328 - Silver Operation Bloodhound Coin" ,
                        "1329 - Gold Operation Bloodhound Coin" ,
                        "-----2015 Service Medals-----",
                        "1331 - Blue 2015 Service Medal" ,
                        "1332 - Purple 2015 Service Medal" ,
                        "-----Operation Wildfire-----",
                        "1336 - Bronze Operation Wildfire Challenge Coin",
                        "1337 - Silver Operation Wildfire Coin",
                        "1338 - Gold Operation Wildfire Coin",
                        "-----2016 Service Medals-----",
                        "1339 - Grise 2016 Service Medal" ,
                        "1340 - LBlue 2016 Service Medal" ,
                        "1341 - Blue 2016 Service Medal" ,
                        "1342 - Purple 2016 Service Medal",
                        "1343 - Rose 2016 Service Medal",
                        "1344 - Red 2016 Service Medal",
                        "-----2017 Service Medals-----",
                        "1357 - Grise 2017 Service Medal",
                        "1358 - LBlue 2017 Service Medal",
                        "1359 - Blue 2017 Service Medal,"
                        "1360 - Purple 2017 Service Medal",
                        "1361 - Rose 2017 Service Medal",
                        "1362 - Red 2017 Service Medal",
                        "1363 - Black 2017 Service Medal",
                        "-----2018 Service Medals-----",
                        "1367 - Grise 2018 Service Medal",
                        "1368 - Green 2018 Service Medal",
                        "1369 - Blue 2018 Service Medal",
                        "1370 - Purple 2018 Service Medal",
                        "1371 - Rose 2018 Service Medal",
                        "1372 - Red 2018 Service Medal",
                        "-----Operation Hydra-----",
                        "4353 - Bronze Operation Hydra Coin",
                        "4354 - Silver Operation Hydra Coin",
                        "4355 - Gold Operation Hydra Coin",
                        "4356 - Diamond Operation Hydra Coin",
                        "-----Map pins-----",
                        "6001 - Dust II Pin",
                        "6002 - Guardian Elite Pin",
                        "6003 - Mirage Pin",
                        "6004 - Inferno Pin",
                        "6005 - Italy Pin",
                        "6006 - Victory Pin",
                        "6007 - Militia Pin",
                        "6008 - Nuke Pin",
                        "6009 - Train Pin",
                        "6010 - Guardian Pin",
                        "6011 - Tactics Pin",
                        "6012 - Guardian 2 Pin",
                        "6013 - Bravo Pin",
                        "6014 - Baggage Pin",
                        "6015 - Phoenix Pin",
                        "6016 - Office Pin",
                        "6017 - Cobblestone Pin",
                        "6018 - Overpass Pin",
                        "6019 - Bloodhound Pin",
                        "6020 - Cache Pin",
                        "6021 - Valeria Phoenix Pin",
                        "6022 - Guardian 3 Pin",
                        "6024 - Canals Pin",
                        "6025 - Welcome to the Clutch Pin",
                        "6026 - Death Sentence Pin",
                        "6027 - Inferno 2 Pin",
                        "6028 - Wildfire Pin",
                        "6029 - Easy Peasy Pin",
                        "6030 - Aces High pin",
                        "6031 - Hydra Pin",
                        "6032 - Howl Pin",
                        "6033 - Brigadier General Pin",
                        
                    };
                    for (int i = 0; i < IM_ARRAYSIZE(lines2); i++)
                        if (filter.PassFilter(lines2[i]))
                            ImGui::Text("%s", lines2[i]);
                }

                
                ImGui::EndChild();

                ImGui::End();
        }

        ImGui::GetStyle().WindowMinSize = OldMinSize;

    }
И выводим чекбокс куда нам нужно
Код:
ImGui::Checkbox("Medals ID's",&Settings::Misc::misc_FilterList);
 
nixware.cc
Эксперт
Статус
Оффлайн
Регистрация
1 Июл 2017
Сообщения
1,631
Реакции[?]
1,534
Поинты[?]
31K
Это же просто фильтер для поиска медалей.
Переименуй тему.
 
Забаненный
Статус
Оффлайн
Регистрация
30 Мар 2015
Сообщения
1,185
Реакции[?]
636
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Очередная паста с забугра, круто.
Укажи кредиты что-ли
 
f3mb0y
Участник
Статус
Оффлайн
Регистрация
14 Фев 2017
Сообщения
625
Реакции[?]
291
Поинты[?]
1K
Забаненный
Статус
Оффлайн
Регистрация
30 Мар 2015
Сообщения
1,185
Реакции[?]
636
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
///
Пользователь
Статус
Оффлайн
Регистрация
25 Янв 2018
Сообщения
511
Реакции[?]
114
Поинты[?]
0
Ну если ты мне скинешь тему с забугор форума - скажу спасибо. Я честно спастил из Resolve)
Разве в RESOLVE есть по дефу этот фильтр?
По теме: А для скинов замутить такое же можешь? (Хотя была тема как сделать удобнее, но думаю чем больше функций тем пиздже чит)
 
f3mb0y
Участник
Статус
Оффлайн
Регистрация
14 Фев 2017
Сообщения
625
Реакции[?]
291
Поинты[?]
1K
Разве в RESOLVE есть по дефу этот фильтр?
По теме: А для скинов замутить такое же можешь? (Хотя была тема как сделать удобнее, но думаю чем больше функций тем пиздже чит)
Вполне могу
 
Сверху Снизу