From d0ade8cfc4614285265e8979659c715c40a58d5a Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Fri, 29 Jul 2022 22:47:12 -0600 Subject: [PATCH 01/15] Added Buried Chest(Dig spots) to ESP --- cheat-library/res/icons/BookPage.png | Bin 0 -> 1659 bytes cheat-library/res/iconsHD/BookPage.png | Bin 0 -> 49501 bytes cheat-library/res/res.rc | 26 +++-- cheat-library/src/user/cheat/esp/ESP.cpp | 96 +++++++++--------- cheat-library/src/user/cheat/game/filters.cpp | 29 +++--- cheat-library/src/user/cheat/game/filters.h | 4 +- 6 files changed, 85 insertions(+), 70 deletions(-) create mode 100644 cheat-library/res/icons/BookPage.png create mode 100644 cheat-library/res/iconsHD/BookPage.png diff --git a/cheat-library/res/icons/BookPage.png b/cheat-library/res/icons/BookPage.png new file mode 100644 index 0000000000000000000000000000000000000000..c504ebe96a71f5a0d68cd22d6202294d7f7472e9 GIT binary patch literal 1659 zcmV->288*EP)J9p;Jj6Jq7xbm~ac1^HDlH$b3O>p^08%Xj~b=;_lOPVUJqDDmY0a7db z&Q<6aRdOkt}E|tN;eS2qfukXaZF}jQ%+_U zSA(!pLE2!f3vyOS3?Xjr#*+_J)xY-rzCP!`*AJ~XcO$We*>NCZu{aU+s_Vy_188_+ zZ}-F7wzoYNEU)@Pz#rOCU9&l?q=(t5sdvgNBX(kLUc55!%Vz-OR*P{fRjb*phq7O} z2cBzb-@e=OnQcN)Tcn~gR1t}QK`2QNQfftD1Z}@jDi)w+5pTT}Kls`&jvtN3<3?}q z+T_HN;7O%)BZGgIo~*vB%H z$?EiSnw6&v0H$gA4bx|mVVNiv^YHltMj@Z~c}jC@>(<)ChhBV%hi=mLuWe};@jLYK}vE?&$T0qg*xv{C2 zzIo{WdFJfxRIhGX0>Ha=)!Va|Cu$}qC(+d0EKq?b@p zQ3KEOP*dB0<>j={EOcX2UHySqpYOYq>Q!O}0MDD0_dn3Fvn*^20x3Hf!1Uw;cyt++uOef0I}G6dOg)^t|ixX^^oJ3e?B!j`pMYE zSTUa#g?wHm=4Pe7YtAYnjC58<*(L@KvHNd;yg zToys8kVARZCM>0rU?#4vuEawR@BATy5syc2)8lL4J$qcm%;NCt$6g)&Xk@6A&l#!3 zq+|uy!4QZDi^*9mUs<@iEeQ*W87L`1AP~bSdQ!Kx-naLO9j#qLd`(58QR7a;0Ki1V z%uKHzJ^q!k(T_*Mp@5l~pHZgIgi;b^<&}_9qU4pJHN&>USWYb<9H~SuvjnZdb#+_B zW4j-HgP9SJ$9W^f0Klmj} z2{1z#CWtJfq?GFH+_8J#=No@OMEZKww{;+{>uP6UxB0tMqeGLEb8n^>=FN*2&MQL* zD6a_1=L4&iJ_{ibE~^3nSOFW-DN*k%5i$k zQ-6CuHatA~r?aQtGYh$l7Q#R zzhzreDxJ?|P|D}T+{_FX7E>SOGU=1!pZx3ei4%W4GnT<90KK{veR>Y=0`X|n=p7tX z&+h5?$v5`*{Wz6Qmr{#KE1%6^e0<{l^TQ)=ygR(`4z7EVgb+~2j~mq6%Qqx&S0Dz^ zd0%DuBOTk`eyFp3pHe(=>C*JTPmlfa*ecP9{(dttGQz`ygY2#(aa$X-Ve+eA>qp;y z+Ue@pS_1&gOgCN<{|(UfHaGr1AY6lZJZkXWx9k5D{|5c@`*D2epzZ(w002ovPDHLk FV1k^GI(Gm7 literal 0 HcmV?d00001 diff --git a/cheat-library/res/iconsHD/BookPage.png b/cheat-library/res/iconsHD/BookPage.png new file mode 100644 index 0000000000000000000000000000000000000000..d13b14f8f66c03d9f47879c0ba828396564e7b26 GIT binary patch literal 49501 zcmb??Wm8;T6Yby@T!Xv2yE_RU+#$GIa2+7HhhRhS@W9~i65QPx+})i!??1S=>ehVd zkuz2MoZj8Ld#%;c>Z%IpsKlrM003P{QC1TGfPub+0U#qnjgk9bYp8*@k@_kH0MsO+ zy_zFHKT}#NYJLR({OAFI5Fh~X4E-wP5CHJv1OSfB0080N005zDPOF9}^an%>6$M$q z$Nye`I!aTa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v1E>lXPcK0{(A8T;Gm-r7Xj~2M|9uEezB#bP{=dHD|F;ug zLy!%;A68PoTOuGJFnG!vcv@R{ei5;9{{s9$;N|A!<=__L;N#Zi<`?1N5#bYHeS)tK4+n4pg0j52T&0Zp*Z%`zE%WIB literal 0 HcmV?d00001 diff --git a/cheat-library/res/res.rc b/cheat-library/res/res.rc index 3b9e066..923ed0e 100644 --- a/cheat-library/res/res.rc +++ b/cheat-library/res/res.rc @@ -25,21 +25,21 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // TEXTINCLUDE // -1 TEXTINCLUDE +1 TEXTINCLUDE BEGIN - "resource.h\0" +"resource.h\0" END -2 TEXTINCLUDE +2 TEXTINCLUDE BEGIN - "#include ""winres.h""\r\n" - "\0" +"#include ""winres.h""\r\n" +"\0" END -3 TEXTINCLUDE +3 TEXTINCLUDE BEGIN - "\r\n" - "\0" +"\r\n" +"\0" END #endif // APSTUDIO_INVOKED @@ -140,6 +140,8 @@ HDBOAR PNG "iconsHD\\Boar.png" HDBOOK PNG "iconsHD\\Book.png" +HDBOOKPAGE PNG "iconsHD\\BookPage.png" + HDBOOTWEASEL PNG "iconsHD\\BootWeasel.png" HDBRIGHTCROWNPIGEON PNG "iconsHD\\BrightcrownPigeon.png" @@ -316,6 +318,8 @@ HDGEOGRANUM PNG "iconsHD\\Geogranum.png" HDGEOHYPOSTASIS PNG "iconsHD\\GeoHypostasis.png" +HDGEOPUZZLE PNG "iconsHD\\MiniPuzzle.png" + HDGEOSIGIL PNG "iconsHD\\GeoSigil.png" HDGEOVISHAP PNG "iconsHD\\Geovishap.png" @@ -626,7 +630,7 @@ HDSHOGUN PNG "iconsHD\\Shogun.png" HDSHOGUNATEINFANTRY PNG "iconsHD\\ShogunateInfantry.png" -HDSHRINEOFDEPTH PNG "iconsHD\\ShrineOfDepth.png" +HDSHRINEOFDEPTH PNG "iconsHD\\Mondstadt.png" HDSIGNORA PNG "iconsHD\\Signora.png" @@ -850,6 +854,8 @@ BOAR PNG "icons\\Boar.png" BOOK PNG "icons\\Book.png" +BOOKPAGE PNG "icons\\BookPage.png" + BOOTWEASEL PNG "icons\\BootWeasel.png" BRIGHTCROWNPIGEON PNG "icons\\BrightcrownPigeon.png" @@ -1026,6 +1032,8 @@ GEOGRANUM PNG "icons\\Geogranum.png" GEOHYPOSTASIS PNG "icons\\GeoHypostasis.png" +GEOPUZZLE PNG "icons\\MiniPuzzle.png" + GEOSIGIL PNG "icons\\GeoSigil.png" GEOVISHAP PNG "icons\\Geovishap.png" diff --git a/cheat-library/src/user/cheat/esp/ESP.cpp b/cheat-library/src/user/cheat/esp/ESP.cpp index 98a8d30..43d5d0b 100644 --- a/cheat-library/src/user/cheat/esp/ESP.cpp +++ b/cheat-library/src/user/cheat/esp/ESP.cpp @@ -21,17 +21,17 @@ namespace cheat::feature ESP::ESP() : Feature(), NF(f_Enabled, "ESP", "ESP", false), - NF(f_DrawBoxMode, "Draw Mode", "ESP", DrawMode::Box), + NF(f_DrawBoxMode, "Draw Mode", "ESP", DrawMode::Box), NF(f_DrawTracerMode, "Tracer Mode", "ESP", DrawTracerMode::Line), - NF(f_Fill, "Fill Box/Rectangle/Arrows", "ESP", false), - NF(f_FillTransparency, "Fill Transparency", "ESP", 0.5f), + NF(f_Fill, "Fill Box/Rectangle/Arrows", "ESP", false), + NF(f_FillTransparency, "Fill Transparency", "ESP", 0.5f), NF(f_ArrowRadius, "Arrow Radius", "ESP", 100.0f), NF(f_OutlineThickness, "Outline Thickness", "ESP", 1.0f), NF(f_TracerSize, "Tracer Size", "ESP", 1.0f), NF(f_MiddleScreenTracer, "Middle Screen Tracer", "ESP", false), - NF(f_DrawDistance, "Draw Distance", "ESP", false), - NF(f_DrawName, "Draw Name", "ESP", false), + NF(f_DrawDistance, "Draw Distance", "ESP", false), + NF(f_DrawName, "Draw Name", "ESP", false), NF(f_FontSize, "Font Size", "ESP", 12.0f), NF(f_FontOutline, "Font outline", "ESP", true), @@ -69,7 +69,7 @@ namespace cheat::feature ConfigWidget(f_DrawBoxMode, "Select the mode of box drawing."); ConfigWidget(f_DrawTracerMode, "Select the mode of tracer drawing."); - + ConfigWidget(f_Fill); ConfigWidget(f_FillTransparency, 0.01f, 0.0f, 1.0f, "Transparency of filled part."); ConfigWidget(f_MiddleScreenTracer, "Draw tracer from middle part of the screen."); @@ -84,7 +84,7 @@ namespace cheat::feature } ImGui::EndGroupPanel(); } - + ImGui::Spacing(); ConfigWidget(f_DrawName, "Draw name of object."); ConfigWidget(f_DrawDistance, "Draw distance of object."); @@ -189,55 +189,55 @@ namespace cheat::feature //switch statement to determine how we will get name switch (count) { - case 3: + case 3: + { + j = 0; // j is the number of spaces before the name starts + pos1 = 0; + pos2 = 0; + for (int i = 0; i < name.length(); i++) { - j = 0; // j is the number of spaces before the name starts - pos1 = 0; - pos2 = 0; - for (int i = 0; i < name.length(); i++) + if (name[i] == '_') { - if (name[i] == '_') + j++; + if (j == 3) { - j++; - if (j == 3) - { - pos1 = i; - } - + pos1 = i; } - if (name[i] == '(') + + } + if (name[i] == '(') + { + pos2 = i; + break; + } + } + name = name.substr(pos1, pos2 - pos1); + } + case 4: + { + j = 0; // j is the number of spaces before the name starts + pos1 = 0; + pos2 = 0; + for (int i = 0; i < name.length(); i++) + { + if (name[i] == '_') + { + j++; + if (j == 3) + { + pos1 = i; + } + if (j == 4) { pos2 = i; break; } } - name = name.substr(pos1, pos2 - pos1); } - case 4: - { - j = 0; // j is the number of spaces before the name starts - pos1 = 0; - pos2 = 0; - for (int i = 0; i < name.length(); i++) - { - if (name[i] == '_') - { - j++; - if (j == 3) - { - pos1 = i; - } - if (j == 4) - { - pos2 = i; - break; - } - } - } - name = name.substr(pos1 + 1, pos2 - pos1 - 1); - } - default: - break; + name = name.substr(pos1 + 1, pos2 - pos1 - 1); + } + default: + break; } return; } @@ -574,12 +574,16 @@ namespace cheat::feature ADD_FILTER_FIELD(collection, WoodenCrate); ADD_FILTER_FIELD(collection, GeoSigil); + // Regular Chests ADD_FILTER_FIELD(chest, CommonChest); ADD_FILTER_FIELD(chest, ExquisiteChest); ADD_FILTER_FIELD(chest, PreciousChest); ADD_FILTER_FIELD(chest, LuxuriousChest); ADD_FILTER_FIELD(chest, RemarkableChest); + // Other Chests + ADD_FILTER_FIELD(chest, BuriedChest); ADD_FILTER_FIELD(chest, SearchPoint); + ADD_FILTER_FIELD(featured, Anemoculus); ADD_FILTER_FIELD(featured, CrimsonAgate); diff --git a/cheat-library/src/user/cheat/game/filters.cpp b/cheat-library/src/user/cheat/game/filters.cpp index 0827961..781c30e 100644 --- a/cheat-library/src/user/cheat/game/filters.cpp +++ b/cheat-library/src/user/cheat/game/filters.cpp @@ -32,6 +32,7 @@ namespace cheat::game::filters ChestFilter SFrozen = ChestFilter(Chest::ChestState::Frozen); ChestFilter SBramble = ChestFilter(Chest::ChestState::Bramble); ChestFilter STrap = ChestFilter(Chest::ChestState::Trap); + SimpleFilter BuriedChest = { EntityType__Enum_1::Field, "_WorldArea_Operator" }; } namespace equipment @@ -111,7 +112,7 @@ namespace cheat::game::filters SimpleFilter WeaselThief = { EntityType__Enum_1::Monster, "Thoarder_Weasel" }; SimpleFilter Kitsune = { EntityType__Enum_1::EnvAnimal, "Vulpes" }; SimpleFilter BakeDanuki = { EntityType__Enum_1::Monster, "Inu_Tanuki" }; - SimpleFilter Meat = { EntityType__Enum_1::GatherObject , { "_Food_BirdMeat", "_Food_Meat", "_Fishmeat" }}; + SimpleFilter Meat = { EntityType__Enum_1::GatherObject , { "_Food_BirdMeat", "_Food_Meat", "_Fishmeat" } }; } namespace mineral @@ -131,7 +132,7 @@ namespace cheat::game::filters SimpleFilter DunlinsTooth = { EntityType__Enum_1::GatherObject, "_DunlinsTooth" }; SimpleFilter AmethystLumpDrop = { EntityType__Enum_1::GatherObject, "_Thundercrystaldrop" }; - SimpleFilter CrystalChunkDrop = { EntityType__Enum_1::GatherObject,"_Drop_Crystal"}; + SimpleFilter CrystalChunkDrop = { EntityType__Enum_1::GatherObject,"_Drop_Crystal" }; SimpleFilter ElectroCrystalDrop = { EntityType__Enum_1::GatherObject, "_Drop_Ore_ElectricRock" }; SimpleFilter IronChunkDrop = { EntityType__Enum_1::GatherObject, "_Drop_Stone" }; SimpleFilter NoctilucousJadeDrop = { EntityType__Enum_1::GatherObject,"_NightBerth" }; @@ -161,7 +162,7 @@ namespace cheat::game::filters SimpleFilter RuinGrader = { EntityType__Enum_1::Monster, "_Konungmathr" }; SimpleFilter RuinSentinel = { EntityType__Enum_1::Monster, "_Apparatus_Enigma" }; SimpleFilter Samachurl = { EntityType__Enum_1::Monster, "_Shaman" }; - SimpleFilter ShadowyHusk = { EntityType__Enum_1::Monster, "ForlornVessel_Strong" }; + SimpleFilter ShadowyHusk = { EntityType__Enum_1::Monster, "ForlornVessel_Strong" }; SimpleFilter Slime = { EntityType__Enum_1::Monster, "_Slime" }; SimpleFilter FloatingFungus = { EntityType__Enum_1::Monster, "Fungus_Un_" }; SimpleFilter StretchyFungus = { EntityType__Enum_1::Monster, "Fungus_Deux_" }; @@ -221,7 +222,7 @@ namespace cheat::game::filters SimpleFilter JadeplumeTerrorshroom = { EntityType__Enum_1::Monster, "Fungus_Raptor" }; SimpleFilter RishbolandTiger = { EntityType__Enum_1::Monster, "_Megamoth_" }; SimpleFilter ShaggySumpterBeast = { EntityType__Enum_1::Monster, "_Panther" }; - SimpleFilter Spincrocodile = { EntityType__Enum_1::Monster, "_Gator" }; + SimpleFilter Spincrocodile = { EntityType__Enum_1::Monster, "_Gator" }; SimpleFilter SentryTurrets = { EntityType__Enum_1::Field, "SentryTurrets_" }; } @@ -285,7 +286,7 @@ namespace cheat::game::filters SimpleFilter AncientRime = { EntityType__Enum_1::Gadget, "_IceSolidBulk" }; SimpleFilter BakeDanuki = { EntityType__Enum_1::Monster, "Animal_Inu_Tanuki_" }; SimpleFilter BloattyFloatty = { EntityType__Enum_1::Field, "_Flower_PongPongTree_" }; - WhitelistFilter CubeDevices = { {EntityType__Enum_1::Gadget, EntityType__Enum_1::Platform }, {"_ElecStone", "_ElecSwitch" }}; + WhitelistFilter CubeDevices = { {EntityType__Enum_1::Gadget, EntityType__Enum_1::Platform }, {"_ElecStone", "_ElecSwitch" } }; SimpleFilter EightStoneTablets = { EntityType__Enum_1::Gadget, "_HistoryBoard" }; SimpleFilter ElectricConduction = { EntityType__Enum_1::Gear, "_ElectricPowerSource" }; SimpleFilter RelayStone = { EntityType__Enum_1::Worktop, "_ElectricTransfer_" }; @@ -518,15 +519,15 @@ namespace cheat::game::filters monster::Whopperflower }; SimpleFilter MonsterEquips = { EntityType__Enum_1::MonsterEquip }; - BlacklistFilter Living = { - {EntityType__Enum_1::EnvAnimal, EntityType__Enum_1::Monster}, - { - // Environmental mobs - "Cat", "DogPrick", "Vulpues", "Inu_Tanuki", - // Overworld bosses - "Ningyo", "Regisvine", "Hypostasis", "Planelurker", "Nithhoggr" - } - }; + BlacklistFilter Living = { + {EntityType__Enum_1::EnvAnimal, EntityType__Enum_1::Monster}, + { + // Environmental mobs + "Cat", "DogPrick", "Vulpues", "Inu_Tanuki", + // Overworld bosses + "Ningyo", "Regisvine", "Hypostasis", "Planelurker", "Nithhoggr" + } + }; SimpleFilter OrganicTargets = { Monsters, Animals }; // Solael: Please don't mess around with this filter. //m0nkrel: We can choose the entities we need ourselves so as not to magnetize cats, dogs, etc. //AdvancedFilter Animals = { {EntityType__Enum_1::EnvAnimal, EntityType__Enum_1::Monster }, {"Crane", "Tit", "Boar", "Squirrel", "Fox", "Pigeon", "Wigeon", "Falcon" ,"Marten" } }; diff --git a/cheat-library/src/user/cheat/game/filters.h b/cheat-library/src/user/cheat/game/filters.h index 8a9f2a2..f5fa633 100644 --- a/cheat-library/src/user/cheat/game/filters.h +++ b/cheat-library/src/user/cheat/game/filters.h @@ -32,6 +32,8 @@ namespace cheat::game::filters extern ChestFilter SFrozen; extern ChestFilter SBramble; extern ChestFilter STrap; + + extern SimpleFilter BuriedChest; } namespace equipment @@ -220,7 +222,7 @@ namespace cheat::game::filters extern SimpleFilter Beisht; extern SimpleFilter RishbolandTiger; extern SimpleFilter ShaggySumpterBeast; - extern SimpleFilter Spincrocodile; + extern SimpleFilter Spincrocodile; extern SimpleFilter SentryTurrets; } From 30fec1e193d8719c076e468f793cc32745fef935 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Fri, 29 Jul 2022 23:40:39 -0600 Subject: [PATCH 02/15] Added AutoDestroy:Plants --- cheat-library/src/user/cheat/game/filters.cpp | 7 +++++++ cheat-library/src/user/cheat/game/filters.h | 1 + cheat-library/src/user/cheat/world/AutoDestroy.cpp | 14 +++++++++----- cheat-library/src/user/cheat/world/AutoDestroy.h | 1 + 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/cheat-library/src/user/cheat/game/filters.cpp b/cheat-library/src/user/cheat/game/filters.cpp index 781c30e..3c23e4f 100644 --- a/cheat-library/src/user/cheat/game/filters.cpp +++ b/cheat-library/src/user/cheat/game/filters.cpp @@ -347,6 +347,13 @@ namespace cheat::game::filters mineral::Starsilver, mineral::WhiteIronChunk }; + SimpleFilter PlantDestroy = { + //plant::SakuraBloom, + plant::DandelionSeed, + plant::MistFlowerCorolla, + plant::FlamingFlowerStamen + }; + WhitelistFilter Doodads = { EntityType__Enum_1::Gadget, { diff --git a/cheat-library/src/user/cheat/game/filters.h b/cheat-library/src/user/cheat/game/filters.h index f5fa633..2edd84f 100644 --- a/cheat-library/src/user/cheat/game/filters.h +++ b/cheat-library/src/user/cheat/game/filters.h @@ -327,6 +327,7 @@ namespace cheat::game::filters extern SimpleFilter Oculies; extern SimpleFilter Chests; extern SimpleFilter Ores; + extern SimpleFilter PlantDestroy; extern WhitelistFilter Doodads; extern SimpleFilter Animals; extern SimpleFilter AnimalDrop; diff --git a/cheat-library/src/user/cheat/world/AutoDestroy.cpp b/cheat-library/src/user/cheat/world/AutoDestroy.cpp index 65d26a3..4ee4168 100644 --- a/cheat-library/src/user/cheat/world/AutoDestroy.cpp +++ b/cheat-library/src/user/cheat/world/AutoDestroy.cpp @@ -18,6 +18,7 @@ namespace cheat::feature NF(f_DestroyOres, "Destroy Ores", "AutoDestroy", false), NF(f_DestroyShields, "Destroy Shields", "AutoDestroy", false), NF(f_DestroyDoodads, "Destroy Doodads", "AutoDestroy", false), + NF(f_DestroyPlants, "Destroy Plants", "AutoDestroy", false), NF(f_Range, "Range", "AutoDestroy", 10.0f) { HookManager::install(app::MoleMole_LCAbilityElement_ReduceModifierDurability, LCAbilityElement_ReduceModifierDurability_Hook); @@ -43,6 +44,7 @@ namespace cheat::feature ConfigWidget("Doodads", f_DestroyDoodads, "Barrels, boxes, vases, etc."); ImGui::SameLine(); ImGui::TextColored(ImColor(255, 165, 0, 255), "Extremely risky!"); + ConfigWidget("Plants", f_DestroyPlants, "Dandelion Seeds, Sakura Bloom, etc."); ImGui::Unindent(); ConfigWidget("Range (m)", f_Range, 0.1f, 1.0f, 15.0f); } @@ -54,12 +56,13 @@ namespace cheat::feature void AutoDestroy::DrawStatus() { - ImGui::Text("Destroy [%.01fm%s%s%s%s]", + ImGui::Text("Destroy [%.01fm%s%s%s%s%s]", f_Range.value(), - f_DestroyOres || f_DestroyShields || f_DestroyDoodads ? "|" : "", + f_DestroyOres || f_DestroyShields || f_DestroyDoodads || f_DestroyPlants ? "|" : "", f_DestroyOres ? "O" : "", f_DestroyShields ? "S" : "", - f_DestroyDoodads ? "D" : ""); + f_DestroyDoodads ? "D" : "", + f_DestroyPlants ? "P" : ""); } AutoDestroy& AutoDestroy::GetInstance() @@ -86,8 +89,9 @@ namespace cheat::feature (autoDestroy.f_DestroyDoodads && game::filters::combined::Doodads.IsValid(manager.entity(entity))) || (autoDestroy.f_DestroyShields && !game::filters::combined::MonsterBosses.IsValid(manager.entity(entity)) && ( game::filters::combined::MonsterShielded.IsValid(manager.entity(entity)) || // For shields attached to monsters, e.g. abyss mage shields. - game::filters::combined::MonsterEquips.IsValid(manager.entity(entity)) // For shields/weapons equipped by monsters, e.g. rock shield. - )) + game::filters::combined::MonsterEquips.IsValid(manager.entity(entity)) || // For shields/weapons equipped by monsters, e.g. rock shield. + (autoDestroy.f_DestroyPlants && game::filters::combined::PlantDestroy.IsValid(manager.entity(entity))) // For plants e.g dandelion seeds. + )) ) ) { diff --git a/cheat-library/src/user/cheat/world/AutoDestroy.h b/cheat-library/src/user/cheat/world/AutoDestroy.h index 14e0985..d4c47a0 100644 --- a/cheat-library/src/user/cheat/world/AutoDestroy.h +++ b/cheat-library/src/user/cheat/world/AutoDestroy.h @@ -12,6 +12,7 @@ namespace cheat::feature config::Field> f_DestroyOres; config::Field> f_DestroyShields; config::Field> f_DestroyDoodads; + config::Field> f_DestroyPlants; config::Field f_Range; static AutoDestroy& GetInstance(); From 2f433fd4e95f2fe491592ded5426b018510ae503 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Sat, 30 Jul 2022 00:21:02 -0600 Subject: [PATCH 03/15] [WIP] Animation Changer --- cheat-library/cheat-library.vcxproj | 4 + cheat-library/cheat-library.vcxproj.filters | 12 + cheat-library/src/appdata/il2cpp-functions.h | 2 + cheat-library/src/user/cheat/cheat.cpp | 4 +- .../user/cheat/visuals/AnimationChanger.cpp | 292 ++++++++++++++++++ .../src/user/cheat/visuals/AnimationChanger.h | 26 ++ 6 files changed, 339 insertions(+), 1 deletion(-) create mode 100644 cheat-library/src/user/cheat/visuals/AnimationChanger.cpp create mode 100644 cheat-library/src/user/cheat/visuals/AnimationChanger.h diff --git a/cheat-library/cheat-library.vcxproj b/cheat-library/cheat-library.vcxproj index af6ba65..04f14df 100644 --- a/cheat-library/cheat-library.vcxproj +++ b/cheat-library/cheat-library.vcxproj @@ -21,6 +21,7 @@ + @@ -113,6 +114,7 @@ + @@ -219,6 +221,7 @@ + @@ -557,6 +560,7 @@ + diff --git a/cheat-library/cheat-library.vcxproj.filters b/cheat-library/cheat-library.vcxproj.filters index 7392f94..c949b36 100644 --- a/cheat-library/cheat-library.vcxproj.filters +++ b/cheat-library/cheat-library.vcxproj.filters @@ -252,6 +252,9 @@ Header Files + + Header Files + @@ -462,6 +465,9 @@ Source Files + + Source Files + @@ -2508,5 +2514,11 @@ Resource Files + + Resource Files + + + Resource Files + \ No newline at end of file diff --git a/cheat-library/src/appdata/il2cpp-functions.h b/cheat-library/src/appdata/il2cpp-functions.h index f9ceaba..d3f5a9a 100644 --- a/cheat-library/src/appdata/il2cpp-functions.h +++ b/cheat-library/src/appdata/il2cpp-functions.h @@ -344,6 +344,8 @@ DO_APP_FUNC(0x057E9D10, int32_t, Camera_get_pixelHeight, (Camera* __this, Method DO_APP_FUNC(0x0579EB70, int32_t, Screen_get_width, (MethodInfo* method)); DO_APP_FUNC(0x0579EB00, int32_t, Screen_get_height, (MethodInfo* method)); +DO_APP_FUNC(0x05822EE0, void, Animator_Play, (Animator* __this, String* stateName, int32_t layer, float normalizedTime, MethodInfo* method)); +DO_APP_FUNC(0x05823060, void, Animator_Rebind, (Animator* __this, MethodInfo* method)); DO_APP_FUNC(0x058236F0, void, Animator_set_speed, (Animator* __this, float value, MethodInfo* method)); DO_APP_FUNC(0x058AE2D0, bool, Behaviour_get_isActiveAndEnabled, (Behaviour* __this, MethodInfo* method)); diff --git a/cheat-library/src/user/cheat/cheat.cpp b/cheat-library/src/user/cheat/cheat.cpp index 5093d7f..1dbdcae 100644 --- a/cheat-library/src/user/cheat/cheat.cpp +++ b/cheat-library/src/user/cheat/cheat.cpp @@ -55,6 +55,7 @@ #include #include #include +#include #include "GenshinCM.h" @@ -122,7 +123,8 @@ namespace cheat FEAT_INST(Browser), FEAT_INST(EnablePeeking), FEAT_INST(TextureChanger), - FEAT_INST(FreeCamera) + FEAT_INST(FreeCamera), + FEAT_INST(AnimationChanger) }); #undef FEAT_INST diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp new file mode 100644 index 0000000..bca2fd5 --- /dev/null +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -0,0 +1,292 @@ +#include "pch-il2cpp.h" +#include "AnimationChanger.h" + +#include +#include +#include +#include + +namespace cheat::feature +{ + static std::string f_Animation; + + AnimationChanger::AnimationChanger() : Feature(), + NFEX(f_Enabled, "Animation Changer", "AnimationChanger", "Visuals", false, false) + { + events::GameUpdateEvent += MY_METHOD_HANDLER(AnimationChanger::OnGameUpdate); + } + + const FeatureGUIInfo& AnimationChanger::GetGUIInfo() const + { + static const FeatureGUIInfo info{ "AnimationChanger", "Visuals", false }; + return info; + } + + void AnimationChanger::DrawMain() + { + ConfigWidget(f_Enabled, "Changes active character's animation."); + ImGui::InputText("Animation", &f_Animation); + } + + bool AnimationChanger::NeedStatusDraw() const + { + return f_Enabled; + } + + void AnimationChanger::DrawStatus() + { + ImGui::Text("AnimationChanger"); + } + + AnimationChanger& AnimationChanger::GetInstance() + { + static AnimationChanger instance; + return instance; + } + + void AnimationChanger::OnGameUpdate() + { + auto& manager = game::EntityManager::instance(); + auto avatar = manager.avatar(); + if (avatar->animator() == nullptr) + return; + + static bool changed = false; + + if (f_Enabled) + { + auto avatarObj = avatar->gameObject(); + auto rootObj = app::MoleMole_BaseEntity_get_rootGameObject(avatar->raw(), nullptr); // (Clone) + auto path = app::Object_1_get_name(reinterpret_cast(avatarObj), nullptr); + auto pathavatarObj = app::Object_1_get_name(reinterpret_cast(rootObj), nullptr); // (Clone) + + if (!changed) + { + app::Animator_Play(avatar->animator(), string_to_il2cppi(f_Animation.c_str()), 0, 0, nullptr); + changed = true; + } + + } + else + { + if (changed) + { + app::Animator_Rebind(avatar->animator(), nullptr); + changed = false; + } + } + } +} + +/* +//------Animations------\\ +SlipFaceWall +SlipBackWall +DropDown +JumpOffWall +Jump +JumpForRun +JumpForWalk +Fly +FlyStart +JumpForSprint +SwimIdle +SwimMove +SwimDash +ClimbMove1 +ClimbIdle +ClimbJump +ClimbMove0 +FallToGroundRun +FallOnGroundLit +FallOnGround +FallToGroundRunHard +FallToGroundSprint +Walk +Run +Standby +RunToIdle +RunToWalk +WalkToIdle +WalkToRun +Sprint +SprintToIdle +SprintToRun +ClimbDownToGround +SprintBS +ShowUp +CrouchToStandby +CrouchIdle +CrouchRoll +CrouchMove +SkiffNormal +Upstairs +JumpUpWallForStandby +JumpUpWallReady +Standby2ClimbA +SwimJump +SwimJumpDrop +SwimJumpToWater +Standby2ClimbB +CrouchDrop +TurnDir +StandbyWeapon +StandbyPutaway +StandbyPutawayOver +Icespine_Out +Icespine +LiquidStrike_MoveStandby +LiquidStrike_AS +LiquidStrike_BS +LiquidStrike_BS1 +LiquidStrike_Move +LiquidStrike_Strike +LiquidStrike_FatalStandby +LiquidStrike_FatalMove +LiquidStrike_AS_OnWater +LiquidStrike_BS_0 +FrozenWindmill +FrozenWindmill_AS +Attack03 +Attack04 +Attack05 +Attack01 +Attack02 +ExtraAttack +ExtraAttack_AS +FallingAnthem_Loop +FallingAnthem_AS_2 +FallingAnthem_BS_1 +FallingAnthem_BS_2 +FallingAnthem_AS_1 +FallingAnthem_Loop_Low +SitBDown +SitBLoop +SitBUp +SitDown +SitLoop +SitUp +StandbyShow_01 +StandbyShow_02 +StandbyVoice +Think01BS +Think01Loop +Think01AS +Akimbo02BS +Akimbo02Loop +Akimbo02AS +ChannelBS +ChannelLoop +ChannelAS +PlayMusic_Lyre_AS +PlayMusic_Lyre_BS +PlayMusic_Lyre_Loop +PlayMusic_Qin_BS +PlayMusic_Qin_AS +PlayMusic_Qin_Loop +ActivitySkill_ElectricCoreFly +Hit_H +Hit_L +Hit_Throw +Hit_Throw_Ground +Hit_ThrowAir +Struggle +NormalDie +SwimDie +HitGroundDie +FallDie_AS +FallDie + +//------Main Character------\\ +UziExplode_AS +UziExplode_BS +UziExplode_Charge_01 +UziExplode_Strike_02 +UziExplode_Charge_02 +UziExplode_Strike_01 +UziExplode_BS_1 +WindBreathe_AS +WindBreathe +Hogyoku_AS +Hogyoku_BS +Hogyoku +Hogyoku_Charge +Hogyoku_Charge_AS +Hogyoku_Charge_2 +RockTide_AS +RockTide +CrouchThrowBS +CrouchThrowLoop +CrouchThrowAS +FindCatThrowBS +FindCatThrowLoop +FindCatThrowAS +Player_Electric_ElementalArt +Player_Electric_ElementalArt_AS +Player_Electric_ElementalBurst +Player_Electric_ElementalBurst_AS +PutHand01BS +PutHand01Loop +PutHand01AS +Akimbo01BS +Backrake01BS +Forerake01BS +StrikeChest01BS +Akimbo01Loop +Akimbo01AS +Backrake01Loop +Backrake01AS +Forerake01Loop +Forerake01AS +StrikeChest01Loop +StrikeChest01AS +HoldHead01BS +HoldHead01Loop +HoldHead01AS +Clap01 +Turn01_90LBS +Turn01_90RBS +Turn01_90LAS +Turn01_90RAS +Alert01BS +Alert01Loop +Alert01AS +Fishing01_BS +Fishing01Loop +Fishing01AS +Think01_BS +Think01_Loop +Think01_AS +Channel01BS +Channel01Loop +Channel01AS +Fishing_Battle_BS +Fishing_Cast_AS +Fishing_Cast_BS +Fishing_Cast_Loop +Fishing_Choose +Fishing_Choose_Loop +Fishing_End +Fishing_Pull_01 +Fishing_Pull_02 +Fishing_Wait +Fishing_Pull_Fail +Bartender_MixingStandby +Bartender_MixingStart +Bartender_MixingToPour +Bartender_Pour +Bartender_PourFinish +Bartender_PourStandby +Bartender_AddLoop +Bartender_PrepareStart +Bartender_Standby +Bartender_AddStandby +Bartender_PrepareToStandby +Bartender_StandbyFinish +Blocking_BS +Blocking_Loop +Blocking_Back +Blocking_Bounce +Blocking_Hit +Blocking_AS +*/ \ No newline at end of file diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.h b/cheat-library/src/user/cheat/visuals/AnimationChanger.h new file mode 100644 index 0000000..309bdf9 --- /dev/null +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.h @@ -0,0 +1,26 @@ +#pragma once +#include +#include + +namespace cheat::feature +{ + + class AnimationChanger : public Feature + { + public: + config::Field> f_Enabled; + + static AnimationChanger& GetInstance(); + + const FeatureGUIInfo& GetGUIInfo() const override; + void DrawMain() override; + + virtual bool NeedStatusDraw() const override; + void DrawStatus() override; + void OnGameUpdate(); + + private: + AnimationChanger(); + }; +} + From 1f9d79d207add11270ca11378ebd69abf7350202 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Sat, 30 Jul 2022 18:06:43 -0600 Subject: [PATCH 04/15] Refactored Animation Changer, Added Sealed Chest to AutoDestroy --- .../user/cheat/visuals/AnimationChanger.cpp | 487 +++++++++--------- .../src/user/cheat/visuals/AnimationChanger.h | 2 + .../src/user/cheat/world/AutoDestroy.cpp | 4 +- 3 files changed, 253 insertions(+), 240 deletions(-) diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp index bca2fd5..83daebd 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -8,10 +8,222 @@ namespace cheat::feature { - static std::string f_Animation; - + static std::string animations[] = { + // All characters + "SlipFaceWall", + "SlipBackWall", + "DropDown", + "JumpOffWall", + "Jump", + "JumpForRun", + "JumpForWalk", + "Fly", + "FlyStart", + "JumpForSprint", + "SwimIdle", + "SwimMove", + "SwimDash", + "ClimbMove1", + "ClimbIdle", + "ClimbJump", + "ClimbMove0", + "FallToGroundRun", + "FallOnGroundLit", + "FallOnGround", + "FallToGroundRunHard", + "FallToGroundSprint", + "Walk", + "Run", + "Standby", + "RunToIdle", + "RunToWalk", + "WalkToIdle", + "WalkToRun", + "Sprint", + "SprintToIdle", + "SprintToRun", + "ClimbDownToGround", + "SprintBS", + "ShowUp", + "CrouchToStandby", + "CrouchIdle", + "CrouchRoll", + "CrouchMove", + "SkiffNormal", + "Upstairs", + "JumpUpWallForStandby", + "JumpUpWallReady", + "Standby2ClimbA", + "SwimJump", + "SwimJumpDrop", + "SwimJumpToWater", + "Standby2ClimbB", + "CrouchDrop", + "TurnDir", + "StandbyWeapon", + "StandbyPutaway", + "StandbyPutawayOver", + "Icespine_Out", + "Icespine", + "LiquidStrike_MoveStandby", + "LiquidStrike_AS", + "LiquidStrike_BS", + "LiquidStrike_BS1", + "LiquidStrike_Move", + "LiquidStrike_Strike", + "LiquidStrike_FatalStandby", + "LiquidStrike_FatalMove", + "LiquidStrike_AS_OnWater", + "LiquidStrike_BS_0", + "FrozenWindmill", + "FrozenWindmill_AS", + "Attack03", + "Attack04", + "Attack05", + "Attack01", + "Attack02", + "ExtraAttack", + "ExtraAttack_AS", + "FallingAnthem_Loop", + "FallingAnthem_AS_2", + "FallingAnthem_BS_1", + "FallingAnthem_BS_2", + "FallingAnthem_AS_1", + "FallingAnthem_Loop_Low", + "SitBDown", + "SitBLoop", + "SitBUp", + "SitDown", + "SitLoop", + "SitUp", + "StandbyShow_01", + "StandbyShow_02", + "StandbyVoice", + "Think01BS", + "Think01Loop", + "Think01AS", + "Akimbo02BS", + "Akimbo02Loop", + "Akimbo02AS", + "ChannelBS", + "ChannelLoop", + "ChannelAS", + "PlayMusic_Lyre_AS", + "PlayMusic_Lyre_BS", + "PlayMusic_Lyre_Loop", + "PlayMusic_Qin_BS", + "PlayMusic_Qin_AS", + "PlayMusic_Qin_Loop", + "ActivitySkill_ElectricCoreFly", + "Hit_H", + "Hit_L", + "Hit_Throw", + "Hit_Throw_Ground", + "Hit_ThrowAir", + "Struggle", + "NormalDie", + "SwimDie", + "HitGroundDie", + "FallDie_AS", + "FallDie", + // Main Character only + "UziExplode_AS", + "UziExplode_BS", + "UziExplode_Charge_01", + "UziExplode_Strike_02", + "UziExplode_Charge_02", + "UziExplode_Strike_01", + "UziExplode_BS_1", + "WindBreathe_AS", + "WindBreathe", + "Hogyoku_AS", + "Hogyoku_BS", + "Hogyoku", + "Hogyoku_Charge", + "Hogyoku_Charge_AS", + "Hogyoku_Charge_2", + "RockTide_AS", + "RockTide", + "CrouchThrowBS", + "CrouchThrowLoop", + "CrouchThrowAS", + "FindCatThrowBS", + "FindCatThrowLoop", + "FindCatThrowAS", + "Player_Electric_ElementalArt", + "Player_Electric_ElementalArt_AS", + "Player_Electric_ElementalBurst", + "Player_Electric_ElementalBurst_AS", + "PutHand01BS", + "PutHand01Loop", + "PutHand01AS", + "Akimbo01BS", + "Backrake01BS", + "Forerake01BS", + "StrikeChest01BS", + "Akimbo01Loop", + "Akimbo01AS", + "Backrake01Loop", + "Backrake01AS", + "Forerake01Loop", + "Forerake01AS", + "StrikeChest01Loop", + "StrikeChest01AS", + "HoldHead01BS", + "HoldHead01Loop", + "HoldHead01AS", + "Clap01", + "Turn01_90LBS", + "Turn01_90RBS", + "Turn01_90LAS", + "Turn01_90RAS", + "Alert01BS", + "Alert01Loop", + "Alert01AS", + "Fishing01_BS", + "Fishing01Loop", + "Fishing01AS", + "Think01_BS", + "Think01_Loop", + "Think01_AS", + "Channel01BS", + "Channel01Loop", + "Channel01AS", + "Fishing_Battle_BS", + "Fishing_Cast_AS", + "Fishing_Cast_BS", + "Fishing_Cast_Loop", + "Fishing_Choose", + "Fishing_Choose_Loop", + "Fishing_End", + "Fishing_Pull_01", + "Fishing_Pull_02", + "Fishing_Wait", + "Fishing_Pull_Fail", + "Bartender_MixingStandby", + "Bartender_MixingStart", + "Bartender_MixingToPour", + "Bartender_Pour", + "Bartender_PourFinish", + "Bartender_PourStandby", + "Bartender_AddLoop", + "Bartender_PrepareStart", + "Bartender_Standby", + "Bartender_AddStandby", + "Bartender_PrepareToStandby", + "Bartender_StandbyFinish", + "Blocking_BS", + "Blocking_Loop", + "Blocking_Back", + "Blocking_Bounce", + "Blocking_Hit", + "Blocking_AS" + }; + static std::string currentAnimation{}; AnimationChanger::AnimationChanger() : Feature(), - NFEX(f_Enabled, "Animation Changer", "AnimationChanger", "Visuals", false, false) + NF(f_Enabled, "Animation Changer", "Visuals::AnimationChanger", false), + NF(f_ApplyAnimation, "Apply Animation", "Visuals::AnimationChanger", false), + NF(f_ResetAnimation, "Reset Animation", "Visuals::AnimationChanger", false) { events::GameUpdateEvent += MY_METHOD_HANDLER(AnimationChanger::OnGameUpdate); } @@ -24,8 +236,30 @@ namespace cheat::feature void AnimationChanger::DrawMain() { - ConfigWidget(f_Enabled, "Changes active character's animation."); - ImGui::InputText("Animation", &f_Animation); + ConfigWidget(f_Enabled, "Changes active character's animation.\nNot all animations work for every character except Main Character."); + if (f_Enabled) + { + if (ImGui::BeginCombo("Animations", currentAnimation.c_str())) + { + for (int n = 0; n < IM_ARRAYSIZE(animations); n++) + { + bool is_selected = (currentAnimation.c_str() == animations[n]); + if (ImGui::Selectable(animations[n].c_str(), is_selected)) + currentAnimation = animations[n]; + + if (is_selected) + ImGui::SetItemDefaultFocus(); + } + ImGui::EndCombo(); + } + + if (ImGui::Button("Apply")) + f_ApplyAnimation = true; + ImGui::SameLine(); + if (ImGui::Button("Reset")) + f_ResetAnimation = true; + } + } bool AnimationChanger::NeedStatusDraw() const @@ -46,247 +280,24 @@ namespace cheat::feature void AnimationChanger::OnGameUpdate() { + if (!f_Enabled) + return; + auto& manager = game::EntityManager::instance(); auto avatar = manager.avatar(); if (avatar->animator() == nullptr) return; - static bool changed = false; - - if (f_Enabled) + if (f_Enabled && f_ApplyAnimation) { - auto avatarObj = avatar->gameObject(); - auto rootObj = app::MoleMole_BaseEntity_get_rootGameObject(avatar->raw(), nullptr); // (Clone) - auto path = app::Object_1_get_name(reinterpret_cast(avatarObj), nullptr); - auto pathavatarObj = app::Object_1_get_name(reinterpret_cast(rootObj), nullptr); // (Clone) - - if (!changed) - { - app::Animator_Play(avatar->animator(), string_to_il2cppi(f_Animation.c_str()), 0, 0, nullptr); - changed = true; - } - + app::Animator_Play(avatar->animator(), string_to_il2cppi(currentAnimation.c_str()), 0, 0, nullptr); + f_ApplyAnimation = false; } - else + + if (f_Enabled && f_ResetAnimation) { - if (changed) - { - app::Animator_Rebind(avatar->animator(), nullptr); - changed = false; - } + app::Animator_Rebind(avatar->animator(), nullptr); + f_ResetAnimation = false; } } } - -/* -//------Animations------\\ -SlipFaceWall -SlipBackWall -DropDown -JumpOffWall -Jump -JumpForRun -JumpForWalk -Fly -FlyStart -JumpForSprint -SwimIdle -SwimMove -SwimDash -ClimbMove1 -ClimbIdle -ClimbJump -ClimbMove0 -FallToGroundRun -FallOnGroundLit -FallOnGround -FallToGroundRunHard -FallToGroundSprint -Walk -Run -Standby -RunToIdle -RunToWalk -WalkToIdle -WalkToRun -Sprint -SprintToIdle -SprintToRun -ClimbDownToGround -SprintBS -ShowUp -CrouchToStandby -CrouchIdle -CrouchRoll -CrouchMove -SkiffNormal -Upstairs -JumpUpWallForStandby -JumpUpWallReady -Standby2ClimbA -SwimJump -SwimJumpDrop -SwimJumpToWater -Standby2ClimbB -CrouchDrop -TurnDir -StandbyWeapon -StandbyPutaway -StandbyPutawayOver -Icespine_Out -Icespine -LiquidStrike_MoveStandby -LiquidStrike_AS -LiquidStrike_BS -LiquidStrike_BS1 -LiquidStrike_Move -LiquidStrike_Strike -LiquidStrike_FatalStandby -LiquidStrike_FatalMove -LiquidStrike_AS_OnWater -LiquidStrike_BS_0 -FrozenWindmill -FrozenWindmill_AS -Attack03 -Attack04 -Attack05 -Attack01 -Attack02 -ExtraAttack -ExtraAttack_AS -FallingAnthem_Loop -FallingAnthem_AS_2 -FallingAnthem_BS_1 -FallingAnthem_BS_2 -FallingAnthem_AS_1 -FallingAnthem_Loop_Low -SitBDown -SitBLoop -SitBUp -SitDown -SitLoop -SitUp -StandbyShow_01 -StandbyShow_02 -StandbyVoice -Think01BS -Think01Loop -Think01AS -Akimbo02BS -Akimbo02Loop -Akimbo02AS -ChannelBS -ChannelLoop -ChannelAS -PlayMusic_Lyre_AS -PlayMusic_Lyre_BS -PlayMusic_Lyre_Loop -PlayMusic_Qin_BS -PlayMusic_Qin_AS -PlayMusic_Qin_Loop -ActivitySkill_ElectricCoreFly -Hit_H -Hit_L -Hit_Throw -Hit_Throw_Ground -Hit_ThrowAir -Struggle -NormalDie -SwimDie -HitGroundDie -FallDie_AS -FallDie - -//------Main Character------\\ -UziExplode_AS -UziExplode_BS -UziExplode_Charge_01 -UziExplode_Strike_02 -UziExplode_Charge_02 -UziExplode_Strike_01 -UziExplode_BS_1 -WindBreathe_AS -WindBreathe -Hogyoku_AS -Hogyoku_BS -Hogyoku -Hogyoku_Charge -Hogyoku_Charge_AS -Hogyoku_Charge_2 -RockTide_AS -RockTide -CrouchThrowBS -CrouchThrowLoop -CrouchThrowAS -FindCatThrowBS -FindCatThrowLoop -FindCatThrowAS -Player_Electric_ElementalArt -Player_Electric_ElementalArt_AS -Player_Electric_ElementalBurst -Player_Electric_ElementalBurst_AS -PutHand01BS -PutHand01Loop -PutHand01AS -Akimbo01BS -Backrake01BS -Forerake01BS -StrikeChest01BS -Akimbo01Loop -Akimbo01AS -Backrake01Loop -Backrake01AS -Forerake01Loop -Forerake01AS -StrikeChest01Loop -StrikeChest01AS -HoldHead01BS -HoldHead01Loop -HoldHead01AS -Clap01 -Turn01_90LBS -Turn01_90RBS -Turn01_90LAS -Turn01_90RAS -Alert01BS -Alert01Loop -Alert01AS -Fishing01_BS -Fishing01Loop -Fishing01AS -Think01_BS -Think01_Loop -Think01_AS -Channel01BS -Channel01Loop -Channel01AS -Fishing_Battle_BS -Fishing_Cast_AS -Fishing_Cast_BS -Fishing_Cast_Loop -Fishing_Choose -Fishing_Choose_Loop -Fishing_End -Fishing_Pull_01 -Fishing_Pull_02 -Fishing_Wait -Fishing_Pull_Fail -Bartender_MixingStandby -Bartender_MixingStart -Bartender_MixingToPour -Bartender_Pour -Bartender_PourFinish -Bartender_PourStandby -Bartender_AddLoop -Bartender_PrepareStart -Bartender_Standby -Bartender_AddStandby -Bartender_PrepareToStandby -Bartender_StandbyFinish -Blocking_BS -Blocking_Loop -Blocking_Back -Blocking_Bounce -Blocking_Hit -Blocking_AS -*/ \ No newline at end of file diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.h b/cheat-library/src/user/cheat/visuals/AnimationChanger.h index 309bdf9..1cf2f7f 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.h +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.h @@ -9,6 +9,8 @@ namespace cheat::feature { public: config::Field> f_Enabled; + config::Field> f_ApplyAnimation; + config::Field> f_ResetAnimation; static AnimationChanger& GetInstance(); diff --git a/cheat-library/src/user/cheat/world/AutoDestroy.cpp b/cheat-library/src/user/cheat/world/AutoDestroy.cpp index 4ee4168..757d7d1 100644 --- a/cheat-library/src/user/cheat/world/AutoDestroy.cpp +++ b/cheat-library/src/user/cheat/world/AutoDestroy.cpp @@ -85,8 +85,8 @@ namespace cheat::feature if (autoDestroy.f_Enabled && autoDestroy.f_Range > manager.avatar()->distance(entity) && ( - (autoDestroy.f_DestroyOres && game::filters::combined::Ores.IsValid(manager.entity(entity))) || - (autoDestroy.f_DestroyDoodads && game::filters::combined::Doodads.IsValid(manager.entity(entity))) || + (autoDestroy.f_DestroyOres && game::filters::combined::Ores.IsValid(manager.entity(entity))) || + (autoDestroy.f_DestroyDoodads && (game::filters::combined::Doodads.IsValid(manager.entity(entity)) || game::filters::chest::SBramble.IsValid(manager.entity(entity)))) || (autoDestroy.f_DestroyShields && !game::filters::combined::MonsterBosses.IsValid(manager.entity(entity)) && ( game::filters::combined::MonsterShielded.IsValid(manager.entity(entity)) || // For shields attached to monsters, e.g. abyss mage shields. game::filters::combined::MonsterEquips.IsValid(manager.entity(entity)) || // For shields/weapons equipped by monsters, e.g. rock shield. From a13bde436760293161df19903fb4a25d4d840d64 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Mon, 1 Aug 2022 00:29:35 -0600 Subject: [PATCH 05/15] Fixed enemies not freezing(elemental reaction) --- cheat-library/src/appdata/il2cpp-functions.h | 1 + cheat-library/src/user/cheat/world/FreezeEnemies.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cheat-library/src/appdata/il2cpp-functions.h b/cheat-library/src/appdata/il2cpp-functions.h index d3f5a9a..b40a760 100644 --- a/cheat-library/src/appdata/il2cpp-functions.h +++ b/cheat-library/src/appdata/il2cpp-functions.h @@ -346,6 +346,7 @@ DO_APP_FUNC(0x0579EB00, int32_t, Screen_get_height, (MethodInfo* method)); DO_APP_FUNC(0x05822EE0, void, Animator_Play, (Animator* __this, String* stateName, int32_t layer, float normalizedTime, MethodInfo* method)); DO_APP_FUNC(0x05823060, void, Animator_Rebind, (Animator* __this, MethodInfo* method)); +DO_APP_FUNC(0x058235C0, float, Animator_get_speed, (Animator* __this, MethodInfo* method)); DO_APP_FUNC(0x058236F0, void, Animator_set_speed, (Animator* __this, float value, MethodInfo* method)); DO_APP_FUNC(0x058AE2D0, bool, Behaviour_get_isActiveAndEnabled, (Behaviour* __this, MethodInfo* method)); diff --git a/cheat-library/src/user/cheat/world/FreezeEnemies.cpp b/cheat-library/src/user/cheat/world/FreezeEnemies.cpp index a9d8bed..5b6ca72 100644 --- a/cheat-library/src/user/cheat/world/FreezeEnemies.cpp +++ b/cheat-library/src/user/cheat/world/FreezeEnemies.cpp @@ -9,6 +9,7 @@ namespace cheat::feature { + static bool change = false; FreezeEnemies::FreezeEnemies() : Feature(), NF(f_Enabled, "Freeze Enemies", "FreezeEnemies", false) @@ -61,11 +62,16 @@ namespace cheat::feature //LOG_DEBUG("%s", magic_enum::enum_name(constraints).data()); app::Rigidbody_set_constraints(rigidBody, app::RigidbodyConstraints__Enum::FreezeAll, nullptr); app::Animator_set_speed(animator, 0.f, nullptr); + change = false; } else { app::Rigidbody_set_constraints(rigidBody, app::RigidbodyConstraints__Enum::FreezeRotation, nullptr); - app::Animator_set_speed(animator, 1.f, nullptr); + if (!change) + { + app::Animator_set_speed(animator, 1.f, nullptr); + change = true; + } } } } From 905fb68f5f8f6b3d97525973f03dc3e4be7efaea Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Mon, 1 Aug 2022 05:14:29 -0600 Subject: [PATCH 06/15] Changed from Button to Hotkey(Animation Changer) --- .../user/cheat/visuals/AnimationChanger.cpp | 60 ++++++++++--------- .../src/user/cheat/visuals/AnimationChanger.h | 13 ++-- 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp index 83daebd..2b61f77 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -219,11 +219,13 @@ namespace cheat::feature "Blocking_Hit", "Blocking_AS" }; - static std::string currentAnimation{}; + AnimationChanger::AnimationChanger() : Feature(), NF(f_Enabled, "Animation Changer", "Visuals::AnimationChanger", false), - NF(f_ApplyAnimation, "Apply Animation", "Visuals::AnimationChanger", false), - NF(f_ResetAnimation, "Reset Animation", "Visuals::AnimationChanger", false) + NF(f_Animation, "Animation", "Visuals::AnimationChanger", "ExtraAttack"), + NF(f_ApplyKey, "Apply Animation", "Visuals::AnimationChanger", Hotkey('Y')), + NF(f_ResetKey, "Reset Animation", "Visuals::AnimationChanger", Hotkey('R')), + toBeUpdate(), nextUpdate(0) { events::GameUpdateEvent += MY_METHOD_HANDLER(AnimationChanger::OnGameUpdate); } @@ -236,30 +238,30 @@ namespace cheat::feature void AnimationChanger::DrawMain() { - ConfigWidget(f_Enabled, "Changes active character's animation.\nNot all animations work for every character except Main Character."); - if (f_Enabled) + ImGui::BeginGroupPanel("Animation Changer"); { - if (ImGui::BeginCombo("Animations", currentAnimation.c_str())) + ConfigWidget(f_Enabled, "Changes active character's animation.\nNot all animations work for every character except Main Character."); + if (f_Enabled) { - for (int n = 0; n < IM_ARRAYSIZE(animations); n++) + if (ImGui::BeginCombo("Animations", f_Animation.value().c_str())) { - bool is_selected = (currentAnimation.c_str() == animations[n]); - if (ImGui::Selectable(animations[n].c_str(), is_selected)) - currentAnimation = animations[n]; + for (int n = 0; n < IM_ARRAYSIZE(animations); n++) + { + bool is_selected = (f_Animation.value().c_str() == animations[n]); + if (ImGui::Selectable(animations[n].c_str(), is_selected)) + f_Animation.value() = animations[n]; - if (is_selected) - ImGui::SetItemDefaultFocus(); + if (is_selected) + ImGui::SetItemDefaultFocus(); + } + ImGui::EndCombo(); } - ImGui::EndCombo(); + + ConfigWidget("Apply Key", f_ApplyKey, true); + ConfigWidget("Reset Key", f_ResetKey, true); } - - if (ImGui::Button("Apply")) - f_ApplyAnimation = true; - ImGui::SameLine(); - if (ImGui::Button("Reset")) - f_ResetAnimation = true; } - + ImGui::EndGroupPanel(); } bool AnimationChanger::NeedStatusDraw() const @@ -283,21 +285,21 @@ namespace cheat::feature if (!f_Enabled) return; + auto currentTime = util::GetCurrentTimeMillisec(); + if (currentTime < nextUpdate) + return; + auto& manager = game::EntityManager::instance(); auto avatar = manager.avatar(); if (avatar->animator() == nullptr) return; - if (f_Enabled && f_ApplyAnimation) - { - app::Animator_Play(avatar->animator(), string_to_il2cppi(currentAnimation.c_str()), 0, 0, nullptr); - f_ApplyAnimation = false; - } + if (f_ApplyKey.value().IsPressed()) + app::Animator_Play(avatar->animator(), string_to_il2cppi(f_Animation.value().c_str()), 0, 0, nullptr); - if (f_Enabled && f_ResetAnimation) - { + if (f_ResetKey.value().IsPressed()) app::Animator_Rebind(avatar->animator(), nullptr); - f_ResetAnimation = false; - } + + nextUpdate = currentTime + (int)f_DelayUpdate; } } diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.h b/cheat-library/src/user/cheat/visuals/AnimationChanger.h index 1cf2f7f..c0e9d29 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.h +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.h @@ -1,6 +1,7 @@ #pragma once #include #include +#include namespace cheat::feature { @@ -9,19 +10,21 @@ namespace cheat::feature { public: config::Field> f_Enabled; - config::Field> f_ApplyAnimation; - config::Field> f_ResetAnimation; - - static AnimationChanger& GetInstance(); + config::Field f_Animation; + config::Field f_ApplyKey; + config::Field f_ResetKey; const FeatureGUIInfo& GetGUIInfo() const override; void DrawMain() override; - virtual bool NeedStatusDraw() const override; void DrawStatus() override; + static AnimationChanger& GetInstance(); void OnGameUpdate(); private: + SafeQueue toBeUpdate; + SafeValue nextUpdate; + int f_DelayUpdate = 500; AnimationChanger(); }; } From 64531a0f81556c7e30eb2d2f8ad40db99772dd8d Mon Sep 17 00:00:00 2001 From: Nanako <00sh.chiha+github@gmail.com> Date: Wed, 3 Aug 2022 17:35:34 +0900 Subject: [PATCH 07/15] Update AnimationChanger.cpp --- .../src/user/cheat/visuals/AnimationChanger.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp index 2b61f77..2b77708 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -245,12 +245,11 @@ namespace cheat::feature { if (ImGui::BeginCombo("Animations", f_Animation.value().c_str())) { - for (int n = 0; n < IM_ARRAYSIZE(animations); n++) + for (auto &animation : animations) { - bool is_selected = (f_Animation.value().c_str() == animations[n]); - if (ImGui::Selectable(animations[n].c_str(), is_selected)) - f_Animation.value() = animations[n]; - + bool is_selected = (f_Animation.value().c_str() == animation); + if (ImGui::Selectable(animation.c_str(), is_selected)) + f_Animation.value() = animation; if (is_selected) ImGui::SetItemDefaultFocus(); } From 389b3e9c8707e678c27cf15fe6433cb74a661c00 Mon Sep 17 00:00:00 2001 From: Nanako <00sh.chiha+github@gmail.com> Date: Wed, 3 Aug 2022 18:46:41 +0900 Subject: [PATCH 08/15] interpolata --- .../user/cheat/teleport/CustomTeleports.cpp | 26 ++++++++++++++++++- .../src/user/cheat/teleport/CustomTeleports.h | 1 - 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 8e6738f..5c10866 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -17,7 +17,6 @@ namespace cheat::feature { CustomTeleports::CustomTeleports() : Feature(), - NF(f_DebugMode, "Debug Mode", "CustomTeleports", false), // Soon to be added NF(f_Enabled, "Custom Teleport", "CustomTeleports", false), NF(f_Next, "Teleport Next", "CustomTeleports", Hotkey(VK_OEM_6)), NF(f_Previous, "Teleport Previous", "CustomTeleports", Hotkey(VK_OEM_4)), @@ -194,6 +193,8 @@ namespace cheat::feature selectedIndexName = name; } + app::Vector3 Lerp(const app::Vector3 &a, const app::Vector3 &b, float t) { return a + (b - a) * t; } + void CustomTeleports::DrawMain() { // Buffers @@ -368,6 +369,29 @@ namespace cheat::feature } ImGui::SameLine(); + if (ImGui::Button("Interpolate to")) + { + auto &manager = game::EntityManager::instance(); + auto avatarPos = manager.avatar()->absolutePosition(); + LOG_DEBUG("Defined avatar pos: %s", il2cppi_to_string(avatarPos).c_str()); + auto endPos = position; + LOG_DEBUG("Defined end pos: %s", il2cppi_to_string(endPos).c_str()); + std::thread interpolate([avatarPos, endPos, &manager](){ + float t = 0.0f; + app::Vector3 zero = {0,0,0}; + auto newPos = zero, speed = zero; + while (t <= 1.0f) { + newPos = Lerp(avatarPos, endPos, t); + manager.avatar()->setAbsolutePosition(newPos); + t += 0.01f; + LOG_DEBUG("newpos: %s, completion rate: %.02f%%", il2cppi_to_string(newPos).c_str(), t * 100.0f); + Sleep(10); + if (t >= 1.0f) break; // this *might* be redundant, but i'm paranoid + } }); + interpolate.detach(); + } + ImGui::SameLine(); + if (ImGui::Button(("Select##Button" + std::to_string(index)).c_str())) { selectedIndex = index; diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.h b/cheat-library/src/user/cheat/teleport/CustomTeleports.h index e1fd414..3800dc2 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.h +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.h @@ -25,7 +25,6 @@ namespace cheat::feature class CustomTeleports : public Feature { public: - config::Field> f_DebugMode; config::Field> f_Enabled; config::Field f_Next; config::Field f_Previous; From d34e16b0d355b30f61d13cf17f74ef4350a68af1 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Wed, 3 Aug 2022 05:01:52 -0600 Subject: [PATCH 09/15] Lerp function --- cheat-library/src/user/cheat/teleport/CustomTeleports.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 5c10866..633be4c 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -193,8 +193,6 @@ namespace cheat::feature selectedIndexName = name; } - app::Vector3 Lerp(const app::Vector3 &a, const app::Vector3 &b, float t) { return a + (b - a) * t; } - void CustomTeleports::DrawMain() { // Buffers @@ -381,7 +379,7 @@ namespace cheat::feature app::Vector3 zero = {0,0,0}; auto newPos = zero, speed = zero; while (t <= 1.0f) { - newPos = Lerp(avatarPos, endPos, t); + newPos = app::Vector3_Lerp(avatarPos, endPos, t, nullptr); manager.avatar()->setAbsolutePosition(newPos); t += 0.01f; LOG_DEBUG("newpos: %s, completion rate: %.02f%%", il2cppi_to_string(newPos).c_str(), t * 100.0f); From 534005dfa3142cb67e38c53d875b7a903da82351 Mon Sep 17 00:00:00 2001 From: Nanako <00sh.chiha+github@gmail.com> Date: Wed, 3 Aug 2022 20:56:45 +0900 Subject: [PATCH 10/15] Make speed option - and some fixes --- .../user/cheat/teleport/CustomTeleports.cpp | 30 +++++++++---------- .../src/user/cheat/teleport/CustomTeleports.h | 1 + 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 633be4c..6f9a71a 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -20,6 +20,7 @@ namespace cheat::feature NF(f_Enabled, "Custom Teleport", "CustomTeleports", false), NF(f_Next, "Teleport Next", "CustomTeleports", Hotkey(VK_OEM_6)), NF(f_Previous, "Teleport Previous", "CustomTeleports", Hotkey(VK_OEM_4)), + NF(f_Speed, "Interpolation Speed", "CustomTeleports", 10.0f), dir(util::GetCurrentPath() / "teleports") { f_Next.value().PressedEvent += MY_METHOD_HANDLER(CustomTeleports::OnNext); @@ -172,9 +173,7 @@ namespace cheat::feature while (wordItr != std::sregex_iterator()) { for (unsigned i = 0; i < wordItr->size(); i++) - { shortened.append((*wordItr)[i]); - } wordItr++; } @@ -248,6 +247,9 @@ namespace cheat::feature "3. You can now press Next or Previous Hotkey to Teleport through the Checklist\n" "Initially it will teleport the player to the selection made\n" "Note: Double click or click the arrow to open teleport details"); + ConfigWidget("Interpolation Speed", f_Speed, 0.1f, 0.1f, 99.0f, + "Interpolation speed.\n" \ + "recommended setting below or equal to 0.1."); ImGui::SameLine(); if (ImGui::Button("Delete Checked")) @@ -315,7 +317,7 @@ namespace cheat::feature maxNameLength = Teleport.name.length(); ImGui::BeginTable("Teleports", 4, ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable | ImGuiTableFlags_NoSavedSettings); ImGui::TableSetupColumn("#", ImGuiTableColumnFlags_WidthFixed, 20); - ImGui::TableSetupColumn("Commands", ImGuiTableColumnFlags_WidthFixed, 100); + ImGui::TableSetupColumn("Commands", ImGuiTableColumnFlags_WidthFixed, 130); ImGui::TableSetupColumn("Name", ImGuiTableColumnFlags_WidthFixed, maxNameLength * 8 + 10); ImGui::TableSetupColumn("Position"); ImGui::TableHeadersRow(); @@ -331,12 +333,13 @@ namespace cheat::feature bool checked = std::any_of(checkedIndices.begin(), checkedIndices.end(), [&index](const auto &i) { return i == index; }); bool selected = index == selectedIndex; + std::string stringIndex = std::to_string(index); ImGui::TableNextRow(); ImGui::TableNextColumn(); ImGui::Text("%d", index); ImGui::TableNextColumn(); - ImGui::Checkbox(("##Index" + std::to_string(index)).c_str(), &checked); + ImGui::Checkbox(("##Index" + stringIndex).c_str(), &checked); if (ImGui::IsItemClicked(0)) { if (checked) @@ -351,7 +354,7 @@ namespace cheat::feature } ImGui::SameLine(); - if (ImGui::Button(("TP##Button" + std::to_string(index)).c_str())) + if (ImGui::Button(("TP##Button" + stringIndex).c_str())) { auto &manager = game::EntityManager::instance(); auto avatar = manager.avatar(); @@ -367,30 +370,27 @@ namespace cheat::feature } ImGui::SameLine(); - if (ImGui::Button("Interpolate to")) + if (ImGui::Button(("Lerp##Button" + stringIndex).c_str())) { + float speed = this->f_Speed; auto &manager = game::EntityManager::instance(); auto avatarPos = manager.avatar()->absolutePosition(); - LOG_DEBUG("Defined avatar pos: %s", il2cppi_to_string(avatarPos).c_str()); auto endPos = position; - LOG_DEBUG("Defined end pos: %s", il2cppi_to_string(endPos).c_str()); - std::thread interpolate([avatarPos, endPos, &manager](){ + std::thread interpolate([avatarPos, endPos, &manager, speed](){ float t = 0.0f; app::Vector3 zero = {0,0,0}; - auto newPos = zero, speed = zero; - while (t <= 1.0f) { + auto newPos = zero; + while (t < 1.0f) { newPos = app::Vector3_Lerp(avatarPos, endPos, t, nullptr); manager.avatar()->setAbsolutePosition(newPos); - t += 0.01f; - LOG_DEBUG("newpos: %s, completion rate: %.02f%%", il2cppi_to_string(newPos).c_str(), t * 100.0f); + t += speed / 100.0f; Sleep(10); - if (t >= 1.0f) break; // this *might* be redundant, but i'm paranoid } }); interpolate.detach(); } ImGui::SameLine(); - if (ImGui::Button(("Select##Button" + std::to_string(index)).c_str())) + if (ImGui::Button(("Select##Button" + stringIndex).c_str())) { selectedIndex = index; selectedByClick = true; diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.h b/cheat-library/src/user/cheat/teleport/CustomTeleports.h index 3800dc2..3150659 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.h +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.h @@ -26,6 +26,7 @@ namespace cheat::feature { public: config::Field> f_Enabled; + config::Field f_Speed; config::Field f_Next; config::Field f_Previous; static CustomTeleports& GetInstance(); From 36a836ebe3c0cc532d30b18f65d5927ae5fd9f67 Mon Sep 17 00:00:00 2001 From: Nanako <00sh.chiha+github@gmail.com> Date: Thu, 4 Aug 2022 16:24:28 +0900 Subject: [PATCH 11/15] Little Refactor --- .../user/cheat/teleport/CustomTeleports.cpp | 35 +++++++------------ 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 6f9a71a..91776a9 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -157,36 +157,28 @@ namespace cheat::feature OnTeleportKeyPressed(true); } + void itr(std::regex exp, std::string name, std::string s) + { + std::sregex_iterator itr(name.begin(), name.end(), exp); + while (itr != std::sregex_iterator()) + { + for (unsigned i = 0; i < itr->size(); i++) + s.append((*itr)[i]); + itr++; + } + } void CustomTeleports::UpdateIndexName() { - std::string name(selectedIndex == -1 || checkedIndices.empty() ? "" : Teleports.at(selectedIndex).name); - // abbreviate teleport names that are too long + std::string name(selectedIndex == -1 || checkedIndices.empty() ? "" : Teleports.at(selectedIndex).name); if (name.length() > 15) { std::string shortened; std::regex numsExp("[\\d]+"); std::regex firstCharsExp("\\b[A-Za-z]"); - - std::sregex_iterator wordItr(name.begin(), name.end(), firstCharsExp); - while (wordItr != std::sregex_iterator()) - { - for (unsigned i = 0; i < wordItr->size(); i++) - shortened.append((*wordItr)[i]); - wordItr++; - } - - std::sregex_iterator numItr(name.begin(), name.end(), numsExp); - while (numItr != std::sregex_iterator()) - { - for (unsigned i = 0; i < numItr->size(); i++) - { - shortened.append(" "); - shortened.append((*numItr)[i]); - } - numItr++; - } + itr(firstCharsExp, name, shortened); + itr(numsExp, name, shortened); name = shortened; } selectedIndexName = name; @@ -250,7 +242,6 @@ namespace cheat::feature ConfigWidget("Interpolation Speed", f_Speed, 0.1f, 0.1f, 99.0f, "Interpolation speed.\n" \ "recommended setting below or equal to 0.1."); - ImGui::SameLine(); if (ImGui::Button("Delete Checked")) { From 7df983acb7c6473837b766aef761f11094127229 Mon Sep 17 00:00:00 2001 From: Nanako <00sh.chiha+github@gmail.com> Date: Thu, 4 Aug 2022 17:32:13 +0900 Subject: [PATCH 12/15] Refactor and Interpolate Hotkey --- .../user/cheat/teleport/CustomTeleports.cpp | 71 +++++++++++-------- .../src/user/cheat/teleport/CustomTeleports.h | 2 + 2 files changed, 44 insertions(+), 29 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 91776a9..7444093 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -20,6 +20,7 @@ namespace cheat::feature NF(f_Enabled, "Custom Teleport", "CustomTeleports", false), NF(f_Next, "Teleport Next", "CustomTeleports", Hotkey(VK_OEM_6)), NF(f_Previous, "Teleport Previous", "CustomTeleports", Hotkey(VK_OEM_4)), + NF(f_Interpolate, "Custom Teleport", "CustomTeleports", false), NF(f_Speed, "Interpolation Speed", "CustomTeleports", 10.0f), dir(util::GetCurrentPath() / "teleports") { @@ -122,6 +123,42 @@ namespace cheat::feature return sqrt(pow(a.x - b.x, 2) + pow(a.y - b.y, 2) + pow(a.z - b.z, 2)); } + void CustomTeleports::TeleportTo(app::Vector3 position, bool interpolate) + { + auto &manager = game::EntityManager::instance(); + auto avatar = manager.avatar(); + if (avatar->moveComponent() == nullptr) + { + LOG_ERROR("Avatar has no move component, Is scene loaded?"); + return; + } + if (interpolate) + { + float speed = this->f_Speed; + auto avatarPos = manager.avatar()->absolutePosition(); + auto endPos = position; + std::thread interpolate([avatarPos, endPos, &manager, speed]() + { + float t = 0.0f; + app::Vector3 zero = {0,0,0}; + auto newPos = zero; + while (t < 1.0f) { + newPos = app::Vector3_Lerp(avatarPos, endPos, t, nullptr); + manager.avatar()->setAbsolutePosition(newPos); + t += speed / 100.0f; + Sleep(10); + } }); + interpolate.detach(); + } + else + { + if (PositionDistance(position, app::ActorUtils_GetAvatarPos(nullptr)) > 60.0f) + MapTeleport::GetInstance().TeleportTo(position); + else + manager.avatar()->setAbsolutePosition(position); + } + } + void CustomTeleports::OnTeleportKeyPressed(bool next) { if (!f_Enabled || selectedIndex < 0) @@ -144,7 +181,7 @@ namespace cheat::feature position = Teleports.at(list.at(index + (next ? 1 : -1))).position; selectedIndex = list.at(index + (next ? 1 : -1)); } - mapTeleport.TeleportTo(position); + TeleportTo(position, this->f_Interpolate); UpdateIndexName(); } @@ -239,9 +276,9 @@ namespace cheat::feature "3. You can now press Next or Previous Hotkey to Teleport through the Checklist\n" "Initially it will teleport the player to the selection made\n" "Note: Double click or click the arrow to open teleport details"); + ConfigWidget("Enable Interpolation", f_Interpolate, "Enable interpolation between teleports when using keybinds"); ConfigWidget("Interpolation Speed", f_Speed, 0.1f, 0.1f, 99.0f, - "Interpolation speed.\n" \ - "recommended setting below or equal to 0.1."); + "Interpolation speed.\n recommended setting below or equal to 0.1."); if (ImGui::Button("Delete Checked")) { @@ -347,37 +384,13 @@ namespace cheat::feature ImGui::SameLine(); if (ImGui::Button(("TP##Button" + stringIndex).c_str())) { - auto &manager = game::EntityManager::instance(); - auto avatar = manager.avatar(); - if (avatar->moveComponent() == nullptr) - { - LOG_ERROR("Avatar has no move component, Is scene loaded?"); - return; - } - if (PositionDistance(position, app::ActorUtils_GetAvatarPos(nullptr)) > 60.0f) - MapTeleport::GetInstance().TeleportTo(position); - else - manager.avatar()->setAbsolutePosition(position); + TeleportTo(position, false); } ImGui::SameLine(); if (ImGui::Button(("Lerp##Button" + stringIndex).c_str())) { - float speed = this->f_Speed; - auto &manager = game::EntityManager::instance(); - auto avatarPos = manager.avatar()->absolutePosition(); - auto endPos = position; - std::thread interpolate([avatarPos, endPos, &manager, speed](){ - float t = 0.0f; - app::Vector3 zero = {0,0,0}; - auto newPos = zero; - while (t < 1.0f) { - newPos = app::Vector3_Lerp(avatarPos, endPos, t, nullptr); - manager.avatar()->setAbsolutePosition(newPos); - t += speed / 100.0f; - Sleep(10); - } }); - interpolate.detach(); + TeleportTo(position, true); } ImGui::SameLine(); diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.h b/cheat-library/src/user/cheat/teleport/CustomTeleports.h index 3150659..6b2de3c 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.h +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.h @@ -26,6 +26,7 @@ namespace cheat::feature { public: config::Field> f_Enabled; + config::Field> f_Interpolate; config::Field f_Speed; config::Field f_Next; config::Field f_Previous; @@ -55,6 +56,7 @@ namespace cheat::feature std::string selectedName; std::string selectedIndexName; CustomTeleports(); + void TeleportTo(app::Vector3 position, bool interpolate); void OnTeleportKeyPressed(bool next); void OnPrevious(); void OnNext(); From 59d7f4b937189b11c7022d3e42b2a033ace08817 Mon Sep 17 00:00:00 2001 From: HarrySilan Date: Thu, 4 Aug 2022 20:36:43 +0800 Subject: [PATCH 13/15] fix #413 --- .../user/cheat/teleport/CustomTeleports.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp index 8e6738f..39b000c 100644 --- a/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp +++ b/cheat-library/src/user/cheat/teleport/CustomTeleports.cpp @@ -138,11 +138,12 @@ namespace cheat::feature else { std::vector list(checkedIndices.begin(), checkedIndices.end()); - if (selectedIndex == list.back() ? next : selectedIndex == list.front()) + if (next ? selectedIndex == list.back() : selectedIndex == list.front()) return; + auto index = std::distance(list.begin(), std::find(list.begin(), list.end(), selectedIndex)); - position = Teleports.at(list.at(index + (next ? 1 : -1))).position; selectedIndex = list.at(index + (next ? 1 : -1)); + position = Teleports.at(selectedIndex).position; } mapTeleport.TeleportTo(position); UpdateIndexName(); @@ -281,8 +282,8 @@ namespace cheat::feature { std::sort(Teleports.begin(), Teleports.end(), [](const auto &a, const auto &b) { return StrCmpLogicalW(std::wstring(a.name.begin(), a.name.end()).c_str(), std::wstring(b.name.begin(), b.name.end()).c_str()) < 0; }); - bool allChecked = checkedIndices.size() == Teleports.size() && !Teleports.empty(); - bool allSearchChecked = checkedIndices.size() == searchIndices.size() && !searchIndices.empty(); + bool allSearchChecked = std::includes(checkedIndices.begin(), checkedIndices.end(), searchIndices.begin(), searchIndices.end()) && !searchIndices.empty(); + bool allChecked = (checkedIndices.size() == Teleports.size() && !Teleports.empty()) || allSearchChecked; ImGui::Checkbox("All", &allChecked); if (ImGui::IsItemClicked()) { @@ -320,7 +321,6 @@ namespace cheat::feature ImGui::TableSetupColumn("Name", ImGuiTableColumnFlags_WidthFixed, maxNameLength * 8 + 10); ImGui::TableSetupColumn("Position"); ImGui::TableHeadersRow(); - ImGuiTreeNodeFlags nodeFlags = ImGuiTreeNodeFlags_OpenOnArrow | ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_SpanAvailWidth; for (const auto &[name, position, description] : Teleports) { @@ -374,15 +374,11 @@ namespace cheat::feature selectedByClick = true; UpdateIndexName(); } - ImGui::SameLine(); - ImGui::PushStyleColor(ImGuiCol_Text, selected ? IM_COL32(40, 90, 175, 255) : IM_COL32(255, 255, 255, 255)); - - if (selected) - nodeFlags |= ImGuiTreeNodeFlags_Selected; - ImGui::PopStyleColor(); ImGui::TableNextColumn(); + ImGui::PushStyleColor(ImGuiCol_Text, selected ? IM_COL32(40, 90, 175, 255) : ImGui::ColorConvertFloat4ToU32(ImGui::GetStyle().Colors[ImGuiCol_Text])); ImGui::Text("%s", name.c_str()); + ImGui::PopStyleColor(); if (ImGui::IsItemHovered()) { ImGui::BeginTooltip(); From d71a09ac82494c1d50f0a976d266895286a20c23 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Thu, 4 Aug 2022 22:01:17 -0600 Subject: [PATCH 14/15] Changes from review --- .../src/user/cheat/visuals/AnimationChanger.cpp | 11 ++++------- .../src/user/cheat/visuals/AnimationChanger.h | 4 ---- cheat-library/src/user/cheat/world/FreezeEnemies.cpp | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp index 2b77708..37f36e0 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.cpp @@ -224,8 +224,7 @@ namespace cheat::feature NF(f_Enabled, "Animation Changer", "Visuals::AnimationChanger", false), NF(f_Animation, "Animation", "Visuals::AnimationChanger", "ExtraAttack"), NF(f_ApplyKey, "Apply Animation", "Visuals::AnimationChanger", Hotkey('Y')), - NF(f_ResetKey, "Reset Animation", "Visuals::AnimationChanger", Hotkey('R')), - toBeUpdate(), nextUpdate(0) + NF(f_ResetKey, "Reset Animation", "Visuals::AnimationChanger", Hotkey('R')) { events::GameUpdateEvent += MY_METHOD_HANDLER(AnimationChanger::OnGameUpdate); } @@ -250,6 +249,7 @@ namespace cheat::feature bool is_selected = (f_Animation.value().c_str() == animation); if (ImGui::Selectable(animation.c_str(), is_selected)) f_Animation.value() = animation; + if (is_selected) ImGui::SetItemDefaultFocus(); } @@ -284,9 +284,8 @@ namespace cheat::feature if (!f_Enabled) return; - auto currentTime = util::GetCurrentTimeMillisec(); - if (currentTime < nextUpdate) - return; + // Taiga#5555: Maybe need to add separate option to change delay value if user feels like it's too fast or slow. + UPDATE_DELAY(400); auto& manager = game::EntityManager::instance(); auto avatar = manager.avatar(); @@ -298,7 +297,5 @@ namespace cheat::feature if (f_ResetKey.value().IsPressed()) app::Animator_Rebind(avatar->animator(), nullptr); - - nextUpdate = currentTime + (int)f_DelayUpdate; } } diff --git a/cheat-library/src/user/cheat/visuals/AnimationChanger.h b/cheat-library/src/user/cheat/visuals/AnimationChanger.h index c0e9d29..b8f9d0c 100644 --- a/cheat-library/src/user/cheat/visuals/AnimationChanger.h +++ b/cheat-library/src/user/cheat/visuals/AnimationChanger.h @@ -1,7 +1,6 @@ #pragma once #include #include -#include namespace cheat::feature { @@ -22,9 +21,6 @@ namespace cheat::feature void OnGameUpdate(); private: - SafeQueue toBeUpdate; - SafeValue nextUpdate; - int f_DelayUpdate = 500; AnimationChanger(); }; } diff --git a/cheat-library/src/user/cheat/world/FreezeEnemies.cpp b/cheat-library/src/user/cheat/world/FreezeEnemies.cpp index 5b6ca72..183b4d1 100644 --- a/cheat-library/src/user/cheat/world/FreezeEnemies.cpp +++ b/cheat-library/src/user/cheat/world/FreezeEnemies.cpp @@ -9,7 +9,6 @@ namespace cheat::feature { - static bool change = false; FreezeEnemies::FreezeEnemies() : Feature(), NF(f_Enabled, "Freeze Enemies", "FreezeEnemies", false) @@ -48,6 +47,7 @@ namespace cheat::feature void FreezeEnemies::OnGameUpdate() { auto& manager = game::EntityManager::instance(); + static bool change = false; for (const auto& monster : manager.entities(game::filters::combined::Monsters)) { From 32796600c4d1258b011757ca0db8835ec3160abf Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Fri, 5 Aug 2022 05:20:13 -0600 Subject: [PATCH 15/15] Fix AutoDestroy:Plants not working if enabled alone --- .../src/user/cheat/world/AutoDestroy.cpp | 69 +++++++++---------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/cheat-library/src/user/cheat/world/AutoDestroy.cpp b/cheat-library/src/user/cheat/world/AutoDestroy.cpp index 757d7d1..3f873e2 100644 --- a/cheat-library/src/user/cheat/world/AutoDestroy.cpp +++ b/cheat-library/src/user/cheat/world/AutoDestroy.cpp @@ -9,32 +9,32 @@ #include #include -namespace cheat::feature +namespace cheat::feature { static void LCAbilityElement_ReduceModifierDurability_Hook(app::LCAbilityElement* __this, int32_t modifierDurabilityIndex, float reduceDurability, app::Nullable_1_Single_ deltaTime, MethodInfo* method); - AutoDestroy::AutoDestroy() : Feature(), - NF(f_Enabled, "Auto Destroy", "AutoDestroy", false), - NF(f_DestroyOres, "Destroy Ores", "AutoDestroy", false), - NF(f_DestroyShields, "Destroy Shields", "AutoDestroy", false), - NF(f_DestroyDoodads, "Destroy Doodads", "AutoDestroy", false), - NF(f_DestroyPlants, "Destroy Plants", "AutoDestroy", false), - NF(f_Range, "Range", "AutoDestroy", 10.0f) - { + AutoDestroy::AutoDestroy() : Feature(), + NF(f_Enabled, "Auto Destroy", "AutoDestroy", false), + NF(f_DestroyOres, "Destroy Ores", "AutoDestroy", false), + NF(f_DestroyShields, "Destroy Shields", "AutoDestroy", false), + NF(f_DestroyDoodads, "Destroy Doodads", "AutoDestroy", false), + NF(f_DestroyPlants, "Destroy Plants", "AutoDestroy", false), + NF(f_Range, "Range", "AutoDestroy", 10.0f) + { HookManager::install(app::MoleMole_LCAbilityElement_ReduceModifierDurability, LCAbilityElement_ReduceModifierDurability_Hook); } - const FeatureGUIInfo& AutoDestroy::GetGUIInfo() const - { - static const FeatureGUIInfo info { "Auto Destroy Objects", "World", true }; - return info; - } + const FeatureGUIInfo& AutoDestroy::GetGUIInfo() const + { + static const FeatureGUIInfo info{ "Auto Destroy Objects", "World", true }; + return info; + } - void AutoDestroy::DrawMain() - { + void AutoDestroy::DrawMain() + { ImGui::TextColored(ImColor(255, 165, 0, 255), "Note. This feature is not fully tested detection-wise.\n" "Not recommended for main accounts or used with high values."); - + ConfigWidget("Enabled", f_Enabled, "Instantly destroys non-living objects within range."); ImGui::Indent(); ConfigWidget("Ores", f_DestroyOres, "Ores and variants, e.g. electro crystals, marrows, etc."); @@ -47,15 +47,15 @@ namespace cheat::feature ConfigWidget("Plants", f_DestroyPlants, "Dandelion Seeds, Sakura Bloom, etc."); ImGui::Unindent(); ConfigWidget("Range (m)", f_Range, 0.1f, 1.0f, 15.0f); - } + } - bool AutoDestroy::NeedStatusDraw() const + bool AutoDestroy::NeedStatusDraw() const { - return f_Enabled; - } + return f_Enabled; + } - void AutoDestroy::DrawStatus() - { + void AutoDestroy::DrawStatus() + { ImGui::Text("Destroy [%.01fm%s%s%s%s%s]", f_Range.value(), f_DestroyOres || f_DestroyShields || f_DestroyDoodads || f_DestroyPlants ? "|" : "", @@ -63,13 +63,13 @@ namespace cheat::feature f_DestroyShields ? "S" : "", f_DestroyDoodads ? "D" : "", f_DestroyPlants ? "P" : ""); - } + } - AutoDestroy& AutoDestroy::GetInstance() - { - static AutoDestroy instance; - return instance; - } + AutoDestroy& AutoDestroy::GetInstance() + { + static AutoDestroy instance; + return instance; + } // Thanks to @RyujinZX // Every ore has ability element component @@ -82,18 +82,17 @@ namespace cheat::feature auto& manager = game::EntityManager::instance(); auto& autoDestroy = AutoDestroy::GetInstance(); auto entity = __this->fields._._._entity; - if (autoDestroy.f_Enabled && + if (autoDestroy.f_Enabled && autoDestroy.f_Range > manager.avatar()->distance(entity) && ( (autoDestroy.f_DestroyOres && game::filters::combined::Ores.IsValid(manager.entity(entity))) || (autoDestroy.f_DestroyDoodads && (game::filters::combined::Doodads.IsValid(manager.entity(entity)) || game::filters::chest::SBramble.IsValid(manager.entity(entity)))) || (autoDestroy.f_DestroyShields && !game::filters::combined::MonsterBosses.IsValid(manager.entity(entity)) && ( - game::filters::combined::MonsterShielded.IsValid(manager.entity(entity)) || // For shields attached to monsters, e.g. abyss mage shields. - game::filters::combined::MonsterEquips.IsValid(manager.entity(entity)) || // For shields/weapons equipped by monsters, e.g. rock shield. - (autoDestroy.f_DestroyPlants && game::filters::combined::PlantDestroy.IsValid(manager.entity(entity))) // For plants e.g dandelion seeds. - )) + game::filters::combined::MonsterShielded.IsValid(manager.entity(entity)) || // For shields attached to monsters, e.g. abyss mage shields. + game::filters::combined::MonsterEquips.IsValid(manager.entity(entity)))) || // For shields/weapons equipped by monsters, e.g. rock shield. + (autoDestroy.f_DestroyPlants && game::filters::combined::PlantDestroy.IsValid(manager.entity(entity))) // For plants e.g dandelion seeds. + ) ) - ) { // This value always above any ore durability reduceDurability = 1000;