Raised This Month: $ Target: $400
 0% 

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 11-13-2013 , 05:10   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #141

How might I be able to do this?

According to Psychonic: "You can hook/block IEngineSound::SetPlayerDSP if the value is between 32 and 34 inclusive using DHooks or a custom extension."

This is for HL2DM.

Last edited by StrikerMan780; 11-13-2013 at 05:16.
StrikerMan780 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-19-2013 , 21:20   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #142

Something like this, You would have to find the correct interface name https://forums.alliedmods.net/showpo...2&postcount=60
Dr!fter is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-20-2013 , 12:21   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #143

Quote:
Originally Posted by Dr!fter View Post
Something like this, You would have to find the correct interface name https://forums.alliedmods.net/showpo...2&postcount=60
Which is probably "IEngineSoundServer003" for hl2dm.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 01-02-2014 , 17:47   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #144

Parameters are optional?
I'd like to just hook those functions:
CTFPlayer::ValidateWeapons
CTFPlayer::ValidateWearables
And return them always true
__________________
...
Oshizu is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-02-2014 , 21:49   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #145

Quote:
Originally Posted by Oshizu View Post
Parameters are optional?
I'd like to just hook those functions:
CTFPlayer::ValidateWeapons
CTFPlayer::ValidateWearables
And return them always true
You need to care about some of the logic in there, or Spy disguises will screw up.
__________________
asherkin is offline
pchun
Member
Join Date: Sep 2013
Old 02-14-2014 , 14:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #146

Quote:
Originally Posted by Dr!fter View Post
Heres an updated windows bin for CS:GO's latest update I will update the zip/source once I fix all my build stuff. This version replaces the old Entitycreated/deleted code with entity listeners from sdkhooks. If there is any problems please post any info you have.
csgo If the client connect to the server server does not work
os is win2003

Click image for larger version

Name:	QQ??20140215025310.jpg
Views:	373
Size:	24.7 KB
ID:	130599

Click image for larger version

Name:	QQ??20140215025343.jpg
Views:	437
Size:	24.3 KB
ID:	130600

Last edited by pchun; 02-14-2014 at 14:02.
pchun is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 02-14-2014 , 14:16   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #147

Quote:
Originally Posted by pchun View Post
csgo If the client connect to the server server does not work
os is win2003

Attachment 130599

Attachment 130600
Tested works fine for me, What is your code?
Dr!fter is offline
pchun
Member
Join Date: Sep 2013
Old 02-14-2014 , 14:48   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #148

Quote:
Originally Posted by Dr!fter View Post
Tested works fine for me, What is your code?
kzmod https://forums.alliedmods.net/showthread.php?p=2010998
pchun is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 02-14-2014 , 17:14   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #149

Quote:
Originally Posted by pchun View Post
//CBaseEntity::Teleport(Vector const*, QAngle const*, Vector const*, bool)
Teleport has an extra param (a bool) in csgo. The plugin developer needs to add the param to the hook.

Last edited by Dr!fter; 02-14-2014 at 17:14.
Dr!fter is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-14-2014 , 20:43   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #150

Oh, k!
__________________
Peace-Maker is offline
Reply



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 05:59.


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