t1f7 / scp-internal-il2cpp

il2cpp internal cheat for SCP SL
58 stars 15 forks source link

Offset AOB outdated? #27

Closed ApEye closed 4 years ago

ApEye commented 4 years ago

When searching in Cheat Engine for any of the AOB's provided in the wiki you added in an attempt toupdate the offsets, I come up with no results.

t1f7 commented 4 years ago

When searching in Cheat Engine for any of the AOB's provided in the wiki you added in an attempt toupdate the offsets, I come up with no results.

Make sure you untick [x] Writable, because AOB would search unwritable-executable functions in .text

ApEye commented 4 years ago

That was the issue, I got them now thank you. I still crash on injection but that's a different issue so I'll close this one. Thanks again!

t1f7 commented 4 years ago

That was the issue, I got them now thank you. I still crash on injection but that's a different issue so I'll close this one. Thanks again!

Make sure you get the start of the function, some AOBs (draw_text, no_style) could scan middle of function and you should find its start.

ApEye commented 4 years ago

Make sure you get the start of the function, some AOBs (draw_text, no_style) could scan middle of function and you should find its start.

You were right about that, I went back and fixed what I believe all the offsets to be at the top, and it's made a bit of progress, I get GUI text to print on the left side of the screen but it still crashes upon loading in, I'll attach a picture

Are you getting an error which an instruction is trying to access an address that has nothing in it?

I'm getting a memory error but not that one specifically, I'll attach a picture SCPSL_nrlNCCZPro

scp2

t1f7 commented 4 years ago

Obviously the problem in second hook (PlayerStats_Update), its called only when loaded on server.

ccm_team offset is 0x178 now.

JosiahBeaulieu commented 4 years ago

Ah yes, Obviously. I see now. Thank you for your help.

ApEye commented 4 years ago

You're right, I was was a few bytes too high. Everythings working smoothly now, I appreciate the help!