Page 1 of 1

CS:GO detonate offsets

Posted: Sat Sep 08, 2018 3:26 pm
by velocity
# _ZN20CFlashbangProjectile8DetonateEv
[[detonate]]
offset_linux = 236
offset_windows = 235

I think these offsets are outdated

This code doesn't work tho, I tried incrementing the offsets by 1 with no luck, since it usually works.

Syntax: Select all

@EntityPreHook(EntityCondition.equals_entity_classname('flashbang_projectile'), 'detonate')
def on_pre_flashbang_detonate(stack_data):
return False

Re: detonate offsets

Posted: Sat Sep 08, 2018 6:38 pm
by velocity
Also crash sometimes

Re: detonate offsets

Posted: Sun Sep 09, 2018 6:50 am
by Ayuto
Which game?

Re: detonate offsets

Posted: Sun Sep 09, 2018 7:08 am
by velocity
CS:GO sorry..

Re: CS:GO detonate offsets

Posted: Mon Sep 10, 2018 11:10 am
by velocity
I tried finding with IDA, but not entirely sure how to get the numbers.

Re: CS:GO detonate offsets

Posted: Thu Sep 20, 2018 5:58 pm
by Ayuto
Sorry for the delay. Life is keeping me busy lately. I have updated the offset:
https://github.com/Source-Python-Dev-Te ... fe2c67e078

If you haven't disabled auto_data_update in core_settings.ini, you just need to restart your server to receive the latest data.