Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
14.13 offsets Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hydy100 committed Jun 26, 2024
1 parent dd9a1ba commit ec1dd5e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
6 changes: 4 additions & 2 deletions R3nzSkin/GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ inline static void footer() noexcept
static const auto buildText{ "Last Build: "s + __DATE__ + " - " + __TIME__ };
ImGui::Separator();
ImGui::textUnformattedCentered(buildText.c_str());
ImGui::textUnformattedCentered("Copyright (C) 2021-2024 R3nzTheCodeGOD");
ImGui::textUnformattedCentered("Copyright (C) 2021-2024 hydy100");
ImGui::textUnformattedCentered("This free. If u paid, pls request a refund.");
ImGui::textUnformattedCentered("QQ:1763906983");
}

static void changeTurretSkin(const std::int32_t skinId, const std::int32_t team) noexcept
Expand Down Expand Up @@ -84,7 +86,7 @@ void GUI::render() noexcept
return true;
};

ImGui::Begin("R3nzSkin", nullptr, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_AlwaysAutoResize);
ImGui::Begin("ReSkin", nullptr, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_AlwaysAutoResize);
{
ImGui::rainbowText();
if (ImGui::BeginTabBar("TabBar", ImGuiTabBarFlags_Reorderable | ImGuiTabBarFlags_FittingPolicyScroll | ImGuiTabBarFlags_NoTooltip)) {
Expand Down
3 changes: 3 additions & 0 deletions R3nzSkin/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ namespace d3d_vtable {
colors[ImGuiCol_NavWindowingDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.20f);
colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.35f);

// 经典的颜色主题
ImGui::StyleColorsClassic();

auto& io{ ImGui::GetIO() }; (void)io;
io.IniFilename = nullptr;
io.LogFilename = nullptr;
Expand Down
4 changes: 3 additions & 1 deletion R3nzSkin/R3nzSkin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@ __declspec(safebuffers) BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD

::_beginthreadex(nullptr, 0u, reinterpret_cast<_beginthreadex_proc_type>(DllAttach), nullptr, 0u, nullptr);
::CloseHandle(hModule);
return TRUE;
return TRUE;
}

extern "C" __declspec(dllexport) int NextHook(int code, WPARAM wParam, LPARAM lParam) { return CallNextHookEx(NULL, code, wParam, lParam); }
2 changes: 1 addition & 1 deletion R3nzSkin/R3nzSkin.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ChinaServer|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
6 changes: 5 additions & 1 deletion R3nzSkin/SDK/AIBaseCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ bool AIBaseCommon::checkSpecialSkins(const char* model, const std::int32_t skin)
stack->base_skin.gear = static_cast<std::int8_t>(0);
} else if (champ_name == FNV("MissFortune") && skin == 16) {
stack->base_skin.gear = static_cast<std::int8_t>(0);
} else if (champ_name == FNV("Lux") || champ_name == FNV("Sona")) {
}
//else if (champ_name == FNV("Ahri") && skin == 86) {
// stack->base_skin.gear = static_cast<std::int8_t>(0);
//}
else if (champ_name == FNV("Lux") || champ_name == FNV("Sona")) {
if ((skin == 7 && champ_name == FNV("Lux")) || (skin == 6 && champ_name == FNV("Sona"))) {
stack->stack.clear();
stack->push(model, skin);
Expand Down
6 changes: 3 additions & 3 deletions R3nzSkin/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ class Memory {
{
{
{
"48 8B 05 ? ? ? ? 4C 8B D2 4C 8B C1"
"48 8B 1D ? ? ? ? 48 85 DB 74 15 48 81 C3"
}, true, false, true, 0, &offsets::global::Player
},
{
{
"48 8B 1D ? ? ? ? E8 ? ? ? ? 48 8B 7B"
"48 8B 05 ? ? ? ? 45 33 E4 41 8B EC 48 8B 78 ? 8B 40 ?"
}, true, false, true, 0, &offsets::global::ManagerTemplate_AIHero_
},
{
Expand Down Expand Up @@ -95,7 +95,7 @@ class Memory {
},
{
{
"40 38 BB ? ? 00 00 0F 85 ? ? 00 00 66 C7 83 ? ? ? ? ? ? 0F 31 48 C1 E2 20 4C 8D 83 ? ? 00 00 48 0B C2 44 8B CF 48 89 44 24 38 8B D7"
"38 9F ? ? 00 00 75 47 66 C7 87 ? ? ? ? ? ? 0F 31 48 C1 E2 20 48 0B C2 88 87 ? ? 00 00 48 89 45 87 0F B6 45 88"
}, false, true, false, 0, &offsets::AIBaseCommon::SkinId
},
{
Expand Down

0 comments on commit ec1dd5e

Please sign in to comment.