Raised This Month: $12 Target: $400
 3% 

[CSGO] Any way to hook IsValidObserverTarget?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KillMan
Member
Join Date: Aug 2017
Location: Belarus
Old 04-23-2020 , 11:23   [CSGO] Any way to hook IsValidObserverTarget?
Reply With Quote #1

Is there any way to hook "bool CCSPlayer::IsValidObserverTarget(CBaseEntity* )" in csgo without using of offsets?
KillMan is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-23-2020 , 11:46   Re: [CSGO] Any way to hook IsValidObserverTarget?
Reply With Quote #2

?
Check every tick
https://sm.alliedmods.net/new-api/sd...ayerRunCmdPost

https://sm.alliedmods.net/new-api/cl...ClientObserver
__________________
Do not Private Message @me
Bacardi is offline
KillMan
Member
Join Date: Aug 2017
Location: Belarus
Old 04-23-2020 , 12:42   Re: [CSGO] Any way to hook IsValidObserverTarget?
Reply With Quote #3

Bad unoptimized and glitched way
KillMan is offline
VerMon
Junior Member
Join Date: Jan 2020
Old 05-12-2020 , 15:34   Re: [CSGO] Any way to hook IsValidObserverTarget?
Reply With Quote #4

Just find by signature? I did it recently, find related location of "spec_player" command in IDA, there will be virtual function offset related to player structure and you need to get pointer from it, this is real IsValidObserverTarget function.
VerMon is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode