R3nzTheCodeGOD / R3nzSkin

Skin changer for League of Legends (LOL)
MIT License
4.82k stars 677 forks source link

The data structure of game champions has changed,Now let me update it #1205

Open hydy100 opened 2 weeks ago

hydy100 commented 2 weeks ago

First, make modifications in ChampionManager.hpp

#pragma once

#include <vector>

#include "Champion.hpp"
#include "Pad.hpp"
#include "RiotArray.hpp"

class ChampionManager {
    PAD(0x18)
    RiotArray<Champion*> champions;
};

Then, make modifications in SkinDatabase.cpp

makabaka2869 commented 2 weeks ago

Forgive me, the second step is to replace or add ![Uploading bff4be75c1347fc47f03d6fc0fbeab0.png…]()

makabaka2869 commented 2 weeks ago

cbdff867fab9adb6afcf5a098873de1 I was distressed, I didn't know what was wrong with me

Maqpwa commented 2 weeks ago

@hydy100 can you send me the offsets you are using?

Xuemantou commented 2 weeks ago

First, make modifications in ChampionManager.hpp

#pragma once

#include <vector>

#include "Champion.hpp"
#include "Pad.hpp"
#include "RiotArray.hpp"

class ChampionManager {
  PAD(0x18)
  RiotArray<Champion*> champions;
};

Then, make modifications in SkinDatabase.cpp

  • Old:
for (const auto& champion : cheatManager.memory->championManager->champions) {
  • New:
for (auto j{ 0 }; j < cheatManager.memory->championManager->champions.size;++j) {
      const auto& champion = cheatManager.memory->championManager->champions.list[j];

The offset of this version has not changed, so the previous version can be continued.

You are true hero!!!

adilyx commented 2 weeks ago

what are u talking about guys ?

ref4rain commented 1 week ago

how to get new offset?