KS212 wrote: ↑Sat Feb 27, 2021 6:58 am
Hi and thanks for the table! I'm getting an odd crash with using the Inf HP, Auto Parry, No Corruption, Inf Stamina and Move Speed cheats together. Didn't touch any of the pointers...
hey,
okay that took me a bit to find it
btw : the lua nil error only pops up because the game closes coz of the crash, then my (parry) thread cant access the allocated memory anymore.
but yeah i found a problem in the
Inf. Health script:
Inf. Health injects at the "Set" spot to give all entities hitpoints and its also called while loading the next room.
while loading the player gets reallocated and my nullptr check to get the EntityHitPoint can fail if the offset contains random values instead of a pointer.
fixed it and now
Enable does directly get the HitPointEntity if the PlayerHeroController exists, reuploaded a new version