This is the AMP version of this page.
If you want to load the real page instead, click this text.

Solved How to hook field offset with no update function?

Status
Not open for further replies.

RazerTexz

Platinian
I want to hook a bool field offset but the class doesn't have any update function, and there is no classes it uses that have reference to it that have a update function. Well there is one class that have reference to it and have a update function but it only works when on "Project Mode", so it won't works for normal gameplay.

Class i'm trying to hook: public class GameMaster : MonoBehavior // TypeDefindex: 4086
Field offset i'm trying to hook: public bool Invincibility; // 0x2D
The only class that have a reference to it and have a update function but doesn't work as i stated before is: Public class ProjectMaster : MonoBehavior // TypeDefindex: 4164

If there is no solution to this problem then i will use game guardian, but thanks for reading and i hope u have a good day.
 
Solution
Try to find other methods where a class with this value is used and hook up.
I already figured it out a couple weeks ago by using the awake function within the class and get its instance and then use the instance in my function update that uses another update offset from another class. But thanks for the suggestion
Try to find other methods where a class with this value is used and hook up.
I already figured it out a couple weeks ago by using the awake function within the class and get its instance and then use the instance in my function update that uses another update offset from another class. But thanks for the suggestion
 
Solution
Status
Not open for further replies.