CS:GO detonate offsets

All other Source.Python topics and issues.
User avatar
velocity
Member
Posts: 79
Joined: Sat May 10, 2014 6:17 pm

CS:GO detonate offsets

Postby velocity » Sat Sep 08, 2018 3:26 pm

# _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
Last edited by velocity on Sun Sep 09, 2018 7:08 am, edited 1 time in total.
User avatar
velocity
Member
Posts: 79
Joined: Sat May 10, 2014 6:17 pm

Re: detonate offsets

Postby velocity » Sat Sep 08, 2018 6:38 pm

Also crash sometimes
User avatar
Ayuto
Project Leader
Posts: 1857
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: detonate offsets

Postby Ayuto » Sun Sep 09, 2018 6:50 am

Which game?
User avatar
velocity
Member
Posts: 79
Joined: Sat May 10, 2014 6:17 pm

Re: detonate offsets

Postby velocity » Sun Sep 09, 2018 7:08 am

CS:GO sorry..
User avatar
velocity
Member
Posts: 79
Joined: Sat May 10, 2014 6:17 pm

Re: CS:GO detonate offsets

Postby velocity » Mon Sep 10, 2018 11:10 am

I tried finding with IDA, but not entirely sure how to get the numbers.
User avatar
Ayuto
Project Leader
Posts: 1857
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: CS:GO detonate offsets

Postby Ayuto » Thu Sep 20, 2018 5:58 pm

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.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests