Posted: Tue Jul 11, 2023 5:17 pm Post subject: It should but doesn't let me compile
Hi,
In the following code Adress is a newmem allocated in an other script PlayerBase is a pointer to a struct
Code:
[ENABLE]
define(Setinvincible,Character_CustomModule:PersistentUpdate) // should be unique
define(ResetBytes,Adress+A1)
registersymbol(Setinvincible)
registersymbol(ResetBytes)
Cheat engine doesn't let me compile this script due to this line : mov rax, qword ptr[ResetBytes]
in the Disable section wich is the same as the one in Enable section, so i found a way to bypass that by just
modifying the Disable section like this :
this solution works fine but it doesn't explain why it wouldn't let me compile even when it's literaly the same line at the same adress in the enable section
Yep that was the problem apparently. I guess it just "undefine" it automaticly when disabling, im gonna add all my define in the parent script so it won't be a problem. Thanks you for the answer !
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum