Fuzion icon indicating copy to clipboard operation
Fuzion copied to clipboard

Activating Vision crashes the game

Open sicr0 opened this issue 3 years ago • 16 comments

After the latest update, activating the Vision panel crushes the game

sicr0 avatar Jun 23 '22 23:06 sicr0

Same issue. rebuilding doesnt solve.

D3SERT-Eagle avatar Jun 24 '22 06:06 D3SERT-Eagle

I have the same problem

milchevdimitar avatar Jun 24 '22 08:06 milchevdimitar

guys, please provide us backtrace, gdb version, gcc version, and your distro

acuifex avatar Jun 24 '22 12:06 acuifex

gdb log from gitter: https://pastebin.com/42yaaEir possible fix is to comment out this line: https://github.com/LWSS/Fuzion/blob/2317820abe8382cd2fbbe4dba0aea902ee0d3a2a/src/Hooks/DrawModelExecute.cpp#L15

acuifex avatar Jun 24 '22 16:06 acuifex

Does not help

milchevdimitar avatar Jun 24 '22 19:06 milchevdimitar

@acuifex is there any fix at the moment

milchevdimitar avatar Jun 24 '22 21:06 milchevdimitar

@acuifex is there any fix at the moment

idk, can you give me a backtrace?

acuifex avatar Jun 24 '22 21:06 acuifex

gdb log from gitter: https://pastebin.com/42yaaEir possible fix is to comment out this line:

https://github.com/LWSS/Fuzion/blob/2317820abe8382cd2fbbe4dba0aea902ee0d3a2a/src/Hooks/DrawModelExecute.cpp#L15

Fixed issue on Kali to me. Just after that some of the ESP features as additive arms and weapon quit working. Anyhow no more crashing.

jblxx avatar Jun 24 '22 22:06 jblxx

well yes, the initialization function hook or something is broken, chams uses that for materials, we're disabling chams

acuifex avatar Jun 24 '22 22:06 acuifex

@acuifex hey, sorry I didn't reply sooner. gcc and gdb version are 11.2.0 My distro is Manjaro. I don't really know how to see the backtrace, could you please tell me so I can give it to you? Also I read that you disabled chams, does that mean that know if now I clone from the master branch I'm going to be able to use Vision without CS:GO crashing or just that Vision is disabled until we get a proper fix?

sicr0 avatar Jun 25 '22 04:06 sicr0

I think I found the problem: The KeyValue System has been redone by Valve, means our Implementation is kinda screwed. One needs to rewrite the following: https://github.com/LWSS/Fuzion/blob/2317820abe8382cd2fbbe4dba0aea902ee0d3a2a/src/Utils/util_sdk.cpp#L1081 This Function seems to have a invalid signature or related now. The function used to look like: https://github.com/SwagSoftware/Kisak-Strike/blob/2d3a55c99986de0480f94bbc833261249678baa4/game/client/c_keyvalue_saver.cpp#L115

Could somebody check if this function changed in any form?

EDIT: Removing KeyValues and passing NULL into CreateMaterial could work aswell

Sumandora avatar Jun 25 '22 08:06 Sumandora

@acuifex is there any fix at the moment

idk, can you give me a backtrace?

how to give u a backtrace ? My system is arch

milchevdimitar avatar Jun 25 '22 08:06 milchevdimitar

gdb log from gitter: https://pastebin.com/42yaaEir possible fix is to comment out this line: https://github.com/LWSS/Fuzion/blob/2317820abe8382cd2fbbe4dba0aea902ee0d3a2a/src/Hooks/DrawModelExecute.cpp#L15

Fixed issue on Kali to me. Just after that some of the ESP features as additive arms and weapon quit working. Anyhow no more crashing.

This fixes the situation i guess, but u need to comment the whole if

milchevdimitar avatar Jun 25 '22 08:06 milchevdimitar

This fixes the situation i guess, but u need to comment the whole if

It just disables the broken feature. It is not fixing it.

Sumandora avatar Jun 25 '22 08:06 Sumandora

This fixes the situation i guess, but u need to comment the whole if

It just disables the broken feature. It is not fixing it.

true

milchevdimitar avatar Jun 25 '22 09:06 milchevdimitar

Ops

sicr0 avatar Jun 28 '22 01:06 sicr0