From 0a6fc2e2a75dcb99ecae5bbba1c15287364e48f2 Mon Sep 17 00:00:00 2001 From: NctimeAza <102260794+NctimeAza@users.noreply.github.com> Date: Wed, 22 Jun 2022 23:17:43 +0800 Subject: [PATCH] Added avatar and npc to the ESP --- cheat-library/res/icons/Avatar.png | Bin 0 -> 2149 bytes cheat-library/res/icons/Npc.png | Bin 0 -> 1405 bytes cheat-library/res/res.rc | 6 ++++++ cheat-library/src/user/cheat/esp/ESP.cpp | 3 +++ cheat-library/src/user/cheat/game/filters.cpp | 4 ++++ cheat-library/src/user/cheat/game/filters.h | 3 +++ 6 files changed, 16 insertions(+) create mode 100644 cheat-library/res/icons/Avatar.png create mode 100644 cheat-library/res/icons/Npc.png diff --git a/cheat-library/res/icons/Avatar.png b/cheat-library/res/icons/Avatar.png new file mode 100644 index 0000000000000000000000000000000000000000..227affcb16d0e1048f08f77af0f0666f8f1ccdb3 GIT binary patch literal 2149 zcmV-r2%7haP);o;#Km&=vTWHP`o3`mj$2q8oW$tAfW=-f;K;cyrL0BUP% zH#IjmH&s_xH%OB7J*(9!vn*@UG)-~4-BSw-3(uZDefo88Z*Q;D>0Fc~iR9(wAx+cX z3Px`_#u!5+5+MKp`}XatX=!OWws-H|k1)o@cR5HT5_3I0J)c~-aN*CPPzVYO3*YK| z1vr^Z5&(eHr%!*}(b4e-0Ko48t`4Wu`PHdYr+z**HWsv4EIqP+gPEY`Vva+%d4<0=D zvuHF50I;Un7_ueay?gfut*x!cvWY0)iJFc2`udM}o`+nM46CXNgb-+JYda1AdO`?E zr_-7L1+J>9N^+=|mzURU+_*76>v|ZX*tTt(LlnhL%OaYl5r$zHMNw2u)84rZQ51z0MakrX*VWav zWmmx!<2ap8gV}7Zc$GRrplOQq%#-^Vgd(^M*zS_7`Ft!*qWF2?io^DA6q zj4>pW$@w=wjz*)QR4SD~2qBuLsa*Zb0cLW6&1SQ$tE=l%S(fRksVRuZ|adB}m*L$ng`h&*C#@$Avkx8f1fGLUsgb-Z0a^)|Y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cr0OyMd-@h2yw2 bcd7pX>Ep89-c!C`00000NkvXXu0mjf$UOvg literal 0 HcmV?d00001 diff --git a/cheat-library/res/icons/Npc.png b/cheat-library/res/icons/Npc.png new file mode 100644 index 0000000000000000000000000000000000000000..8586d1e1d33d74342d1ca57fff8d641cce713acf GIT binary patch literal 1405 zcmV-@1%mpCP)7f;C7g2t|AUB6@E@}27jtw7WlFhV0sw+@ zYzH7Yx^#}-&e8v8aMmdygt!dDkkjcj1pwL6r(7;qhB1~zM9X8cBEp^9~5JD-X zY9tczGRA6KTU!JD{rw%gcJ10p2-%uSrOa?RoT;d&$m9Tvf=gvg2_Xa#)#c^or@Fej znumsl`rF&vUjqP_W0Ssq{rY!Q$!Tj*4CJ=>&-JWGauE| z)HD^!003ZVY3Y}imX^1};qU@uY?%;(P#|lem?K2QOeQ1t^z`g51qA@``Fu@%eSI%y zGMS9?stZanunhpJD2g?GeSQ8?(5&?I^z0NxQG@jwC|F>{z=RNjlu}z!l&W&Us;asv zr7|G|9B|&NED9C`!L%$Ze*5;#M1k>@KH|uilI28;Ar_1D~gTdgB zwr!^ov1lI`1p@$7R#xKp`1ntuQ0Vhgwihm32u)5-{=8|B+pXncG;c<|uCj~_jHw89u$aWc-HvcMZqL`2)R)nqa$ClZO3(b3WG zW3kvBUDy9aL^B?bM-~aj-Q7MtJv}!wGjqq~ za+!>=RYXj|`Ve_Md(Js=j=(vmoO6|Pz6Aib)Ya7mPM$nDl1il>A|fs>F5Vg*9{w;8 z2prHf?G;_uy8?m0ffFZA3@t7$-b6%<$K!X8A3y#bc^XJchedy4kcV$`LElEUbDbDtriSq9J=9UVR0*4EYw0M7!zHjl@%Mbk9N>6n7WMLFj#CjiCea@9Hk)DH{{ zykl8bv>?&4qDPJ#832Ii0AMR)tXk7Fm2)mRK4~s%^W@4lIROA7ilQaUa$1rkd17MX zPCOp}ZSUT_-T5waaB%Rw;o;%0Dl02Z##odPV!_|*?mxE9LbDnHz!n6-5(EK7QA`p- z=;Y+&1Ha$zZftCPG1vI)*|T39J$m#@x7%$fiW0MJ8v($C^@(NY@n3Si-H1|Al$34T z(#4Axe>F|>zHQsF`T6;qr%s(ZeeBq=Zv;VDVvI#?+qNBG!3`6j__Fs{fUv&m3W-Fb zBAHAo0N{3X2}MzoZnxWTS|$rFD&>MVz9w=4$?oJ<4hW&lPnf>|S~)&>Iy1P700000 LNkvXXu0mjfa`2CP literal 0 HcmV?d00001 diff --git a/cheat-library/res/res.rc b/cheat-library/res/res.rc index ca167ba..cd8c2da 100644 --- a/cheat-library/res/res.rc +++ b/cheat-library/res/res.rc @@ -668,6 +668,10 @@ ARCHAICSTONE PNG "icons\\ArchaicStone.png" ARTIFACT PNG "icons\\Artifact.png" +AVATAR_OWN PNG "icons\\Avatar.png" + +AVATAR_TEAMMATE PNG "icons\\Avatar.png" + BAKEDANUKI PNG "icons\\BakeDanuki.png" BAMBOOSEGMENT PNG "icons\\BambooSegment.png" @@ -974,6 +978,8 @@ NOBUSHI PNG "icons\\Nobushi.png" NOCTILUCOUSJADE PNG "icons\\NoctilucousJade.png" +NPC PNG "icons\\Npc.png" + OCEANCRAB PNG "icons\\OceanCrab.png" OCEANID PNG "icons\\Oceanid.png" diff --git a/cheat-library/src/user/cheat/esp/ESP.cpp b/cheat-library/src/user/cheat/esp/ESP.cpp index 0b4f33f..f799946 100644 --- a/cheat-library/src/user/cheat/esp/ESP.cpp +++ b/cheat-library/src/user/cheat/esp/ESP.cpp @@ -472,6 +472,8 @@ namespace cheat::feature ADD_FILTER_FIELD(guide, Stormstone); ADD_FILTER_FIELD(guide, TriangularMechanism); + ADD_FILTER_FIELD(living, Avatar_teammate); + ADD_FILTER_FIELD(living, Avatar_own); ADD_FILTER_FIELD(living, BakeDanuki); ADD_FILTER_FIELD(living, BirdEgg); ADD_FILTER_FIELD(living, Boar); @@ -493,6 +495,7 @@ namespace cheat::feature ADD_FILTER_FIELD(living, LizardTail); ADD_FILTER_FIELD(living, LucklightFly); ADD_FILTER_FIELD(living, LuminescentSpine); + ADD_FILTER_FIELD(living, Npc); ADD_FILTER_FIELD(living, Onikabuto); ADD_FILTER_FIELD(living, Pigeon); ADD_FILTER_FIELD(living, Salamander); diff --git a/cheat-library/src/user/cheat/game/filters.cpp b/cheat-library/src/user/cheat/game/filters.cpp index 05a7d00..2cb28bf 100644 --- a/cheat-library/src/user/cheat/game/filters.cpp +++ b/cheat-library/src/user/cheat/game/filters.cpp @@ -60,6 +60,8 @@ namespace cheat::game::filters namespace living { + SimpleFilter Avatar_teammate = { app::EntityType__Enum_1::Avatar, "authority :False" }; + SimpleFilter Avatar_own = { app::EntityType__Enum_1::Avatar, "authority :True" }; SimpleFilter BirdEgg = { app::EntityType__Enum_1::GatherObject, "BirdEgg" }; SimpleFilter ButterflyWings = { app::EntityType__Enum_1::EnvAnimal, "Butterfly" }; SimpleFilter Crab = { app::EntityType__Enum_1::EnvAnimal, "Crab" }; @@ -75,6 +77,8 @@ namespace cheat::game::filters SimpleFilter Boar = { app::EntityType__Enum_1::Monster, "Boar" }; SimpleFilter Fox = { app::EntityType__Enum_1::Monster, "Fox" }; SimpleFilter Squirrel = { app::EntityType__Enum_1::Monster, "Squirrel" }; + SimpleFilter Npc = { app::EntityType__Enum_1::NPC, + std::vector { "_Liyue", "_Mengde", "_Inazuma", "_Coop", "_Quest", "_Enkanomiya", "_Animal", "_Guide", "_Homeworld" } }; SimpleFilter Crane = { app::EntityType__Enum_1::Monster, "Crane" }; SimpleFilter Falcon = { app::EntityType__Enum_1::Monster, "Falcon" }; SimpleFilter LucklightFly = { app::EntityType__Enum_1::EnvAnimal, "Boltbug_" }; diff --git a/cheat-library/src/user/cheat/game/filters.h b/cheat-library/src/user/cheat/game/filters.h index a630f36..cc30c15 100644 --- a/cheat-library/src/user/cheat/game/filters.h +++ b/cheat-library/src/user/cheat/game/filters.h @@ -63,6 +63,8 @@ namespace cheat::game::filters namespace living { + extern SimpleFilter Avatar_own; + extern SimpleFilter Avatar_teammate; extern SimpleFilter BirdEgg; extern SimpleFilter ButterflyWings; extern SimpleFilter Crab; @@ -81,6 +83,7 @@ namespace cheat::game::filters extern SimpleFilter Crane; extern SimpleFilter Falcon; extern SimpleFilter LucklightFly; + extern SimpleFilter Npc; extern SimpleFilter Salamander; extern SimpleFilter Pigeon; extern SimpleFilter Crow;