IMXNOOBX / cs2-external-esp

Simple external esp using discord's/gdi overlay to render a box-esp on top of Counter-Strike 2, highlighting your enemies and teammates including their health.
Other
249 stars 54 forks source link

Skeleton ESP cause crash #87

Closed lekiet1214 closed 11 months ago

lekiet1214 commented 11 months ago

When I turn on Skeleton (F8), the ESP work for a few seconds (competitive) before crashing. In practice mode, the esp work for about 1-2 minutes then crash.

Exception thrown at 0x00007FF70DD39D15 in cs2-external-esp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

IMWurden commented 11 months ago

same issue, pls fix it

IMXNOOBX commented 11 months ago

When I turn on Skeleton (F8), the ESP work for a few seconds (competitive) before crashing. In practice mode, the esp work for about 1-2 minutes then crash.

Exception thrown at 0x00007FF70DD39D15 in cs2-external-esp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

I haven't had time to test it, thanks for reporting it. you might want to use an older commit instead

ifBars commented 11 months ago

When I turn on Skeleton (F8), the ESP work for a few seconds (competitive) before crashing. In practice mode, the esp work for about 1-2 minutes then crash.

Exception thrown at 0x00007FF70DD39D15 in cs2-external-esp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

I have not experienced this issue at all. I also don't play competitive though. Reading the entire skeleton at once might improve performance.

ifBars commented 11 months ago

When I turn on Skeleton (F8), the ESP work for a few seconds (competitive) before crashing. In practice mode, the esp work for about 1-2 minutes then crash.

Exception thrown at 0x00007FF70DD39D15 in cs2-external-esp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

Further looking into the issue, it is most likely caused to bone array just returning horrible values sometimes, however I could be wrong. Using the cheat without skeleton for now will probably help.

IMWurden commented 11 months ago

when a fix?

ifBars commented 11 months ago

Null checks for game scene node & bone array have been added, should fix the issue