Open 8dcc opened 10 months ago
This is also the case with CL_Move
:
$ readelf -s hw.so.new | grep -w CL_Move
3088: 001391f0 2086 FUNC LOCAL DEFAULT 11 CL_Move
$ readelf -s hw.so.prev | grep -w CL_Move
1765: 00192090 1990 FUNC GLOBAL DEFAULT 10 CL_Move
3085: 00192090 1990 FUNC GLOBAL DEFAULT 10 CL_Move
Which we get in hooks_init()
:
https://github.com/8dcc/hl-cheat/blob/c6f9e3826c29452574c1a3f7de84d19593431570/src/hooks.c#L38-L45
After the update of 17/10/2023, the cheat cannot inject with the following error message:
This is of course caused by:
https://github.com/8dcc/hl-cheat/blob/c6f9e3826c29452574c1a3f7de84d19593431570/src/globals.c#L43-L53
If we look at the output of
readelf
(Thanks to @UnkwUsr) and we compare the old vs. newhw.so
files, we see:I am not sure if the problem is caused by this
GLOBAL
toLOCAL
change, but the disassembly ofClientDLL_Init
was pretty similar in both.so
files:Since Counter-Strike 1.6 is broken as well, and I imagine it will get fixed in a couple of days, I am going to wait until everything is stable before spending more time into this.