Taiga74164 / SLA-Cheeto

Solo Leveling:ARISE Cheat
GNU General Public License v3.0
154 stars 559 forks source link

Unity crash #122

Open rdxl8 opened 2 weeks ago

rdxl8 commented 2 weeks ago

Is the Unity crash (the one that appears after loading after logging in) related to anti-cheat detection? I used to get a message telling me that XIGNCODE was detecting a malicious program, but now that I've done other things, I have this problem.

image

ldoe5 commented 2 weeks ago

me too, i have the same problem

robert0329 commented 2 weeks ago

i have the same problem

xSyzk commented 2 weeks ago

i have the same problem

chrispat018 commented 2 weeks ago

can yall help me how to inject these files. I don't see any dll files tho :(

Whi7eSun commented 2 weeks ago

Got the same issue to

Taiga74164 commented 2 weeks ago

This repo is fully updated to the latest version. However, it does not provide any detection bypass. Im not responsible for any bans and I'm strongly against publishing a bypass on a public repo to prevent devs from patching it. Either you figure it out yourself or use forks of this project. A lot of them are actually posted in Unknowncheats or Discord servers.

At its current state, this repo is for dev purposes ONLY. This project serves as a starting point for people getting into game hacking. Only offsets will be updated since I can do it automatically using my tool every patch.

rdxl8 commented 2 weeks ago

Is this Unity crash a detection, that was my question? I didn't ask for a Bypass or anything, the forks aren't currently updated.

Taiga74164 commented 2 weeks ago

It's not. But if you don't know what you're doing, I suggest you stay away from using it. There are at least 5 forks that i know have it working so you're just not searching enough

rdxl8 commented 2 weeks ago

I'm just trying to learn. If it's not a detection, then my current method is working to bypass their protection. But I don't know what's causing this crash, I noticed you hadn't updated the il2cpp-api-functions-ptr with the latest metadata.

Taiga74164 commented 2 weeks ago

I'm just trying to learn. If it's not a detection, then my current method is working to bypass their protection. But I don't know what's causing this crash, I noticed you hadn't updated the il2cpp-api-functions-ptr with the latest metadata.

you're right. was in a rush when i pushed it. updated it now tho

rdxl8 commented 2 weeks ago

No worries. I'll try to figure out on my own why the game crashes, if it's not related to a detection

Taiga74164 commented 2 weeks ago

No worries. I'll try to figure out on my own why the game crashes, if it's not related to a detection

Seems to be one of the features causing it. Try commenting the INIT_FEATURE part and see which one is it. Can't really test at the moment

rdxl8 commented 2 weeks ago

Yes, it's a feature. I'll tell you which one, just wait.

rdxl8 commented 2 weeks ago

It's the EntityManager that cause the crash. I don't know if there are others (I can confirm that NoCD, Dmg, GodMode, DumbEnemies and Debug are working), as I've recoded the source a bit and kept only the features I was interested in.

robert0329 commented 2 weeks ago

could you find the solution?

rdxl8 commented 2 weeks ago

The code that causes the crash is this condition. In its third iteration, Unity crashes.

if (__this != nullptr &&
    __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC->fields._.m_CachedPtr != nullptr)
{

https://github.com/Taiga74164/SLA-Cheeto/blob/0f2afb194401beefcaab6b805657ae7d2bcc8d6e/cheat/src/cheat/features/EntityManager.cpp#L88C3-L90C4

image

rdxl8 commented 2 weeks ago

It seems that in this version, some pointers of the structures can be nullable, but they weren't before. Also they added a Bool to the structure ENNEJEPMJLJ__Fields, which is before the pointer we're trying to access, so it modifies the size of the structure significantly.

bool NGLCGPAJJGK;
bool DPJNONIOAFH;
bool FOEDEMGDJKF; // New
struct GBJHLCNJLOJ* ILDKBCNAELG; 
struct CDCHBPIDJCD* NKONPDBOBAG; // Accessed in the EntityManager

The condition must also be adjusted to check that each pointer is not null.

if (__this != nullptr && __this->fields.NKONPDBOBAG != nullptr && __this->fields.NKONPDBOBAG->fields.IALANALADIL != nullptr && __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC != nullptr && __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC->fields._.m_CachedPtr != nullptr)
xSyzk commented 2 weeks ago

can anyone send me the fixed dll that dont cause the crash,have no idea from programming pls