JPatch icon indicating copy to clipboard operation
JPatch copied to clipboard

FixIsCharDead0HP breaks scripts

Open KoremuMekuro opened this issue 2 years ago • 3 comments

If this feature is enabled, then after loading save with this feature at least home_brains become broken(not working) and I assume that a lot of other regular scripts and mission scripts are become broken too, cuz alot of scripts uses this opcode. Also there may be cleo scripts that make use of this opcode, so I'm assume that they are may become broken(not working) too after save is loaded with this feature enabled.

KoremuMekuro avatar Jul 15 '23 07:07 KoremuMekuro

How do they broke? This fix simply adds additional test if ped has zero health

RusJJ avatar Jul 15 '23 14:07 RusJJ

How do they broke? This fix simply adds additional test if ped has zero health

Well, as I said, for example with home_brains, peds that you attached to this script dosen't behave like they suppoused to by the script, they behave just like if they wasn't attached to this script, but if I disable this feature, then those attached peds would behave just like they suppoused to by the script.And with missions it's just my assumptions that was based on fact that home_brains just dosen't work with this feature enabled, and the same with my claims about cleo scripts. But anyway, I can just disable this feature as it's not adding or fixing stuff just like I did with slippery floor fix before 1.4.3. And I reported this, cuz slippery floor fix also had issues before 1.4.3 and maybe this one can be also fixed and I don't know c++ and this whole thing with adresses. If no, issue should be closed.

KoremuMekuro avatar Jul 16 '23 16:07 KoremuMekuro

Is this still broken?

RusJJ avatar Jan 24 '24 16:01 RusJJ