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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 01-14-2011 , 10:08   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1071

Quote:
Originally Posted by blodia View Post
client can't be added since psychonic is just hooking one of valves functions which doesn't have the index of the entity involved in the collision.
Okay, so then psychonic can you add SDKHook_StartPreTouch ?
__________________
xbatista is offline
Send a message via Skype™ to xbatista
psychonic

BAFFLED
Join Date: May 2008
Old 01-14-2011 , 13:23   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1072

Update :

The binaries in the SDK Hooks 1.3 packages have been updated for the Source 2009 (CSS/TF2/HL2DM/GMOD) and L4D2 engines.

The source itself is unchanged, but the SDK Hooks code is recompiled against the latest versions of the SDKs to fix the following issues:
Left 4 Dead 2
  • Fixed incorrect vars being passed in OnTakeDamage and TraceAttack hooks (this fixes the issue causing damage to be unchangeable as well as incorrect values for attacker and inflictor)
Source 2009
  • Fixed FireBullets hook passing player model string as weapon name

In addition, the newer gamedata for Source 2009 is also included in the updated package.

As usual, you can find the downloads @ http://code.google.com/p/tsunami-productions/downloads
If you have the updated version of one of these two, the version string should read "1.3.0-REDUCKS".

---------------------------

SDK Hooks 2 is still having work done on it as time permits. It will be a separate extension, but I will keep compatibility as much as possible so that existing plugins will need very few changes (possibly just a recompile at the least).

Some things in store are:
  • The much requested 'TakeDamage' native that DukeHacks had.
    Code:
    native SDKHooks_TakeDamage(entity, inflictor, attacker, Float:damage, damageType, weapon=-1, Float:damageForce[3]=NULL_VECTOR, Float:damagePosition[3]=NULL_VECTOR);
  • Passing and allowing changes to the damage force and position in OnTakeDamage (think: removing knockback)
  • Touch hooks will be blockable
  • More hook types
  • Unified download (or at most, one package per operating system). No more trying to figure out which package is the right one for your game. Each binary will be properly named as sdkhooks.ext.<core>.<enigne>.<ext>
  • Support for Alien Swarm, Dark Messiah, and Bloody Good Time

Last edited by psychonic; 01-14-2011 at 13:45.
psychonic is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 01-14-2011 , 16:40   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1073

Sounds great! Love your work. It would be nice to have a gamedata updater like SourceMod has.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 01-14-2011 , 16:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1074

I'll definitely be writing some plugins for L4D2 with this new version. Keep up the good work and keep us posted on progress.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
0x00
SourceMod Donor
Join Date: Oct 2010
Location: #!/usr/bin/0x00
Old 01-14-2011 , 17:41   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1075

Quote:
Originally Posted by psychonic View Post
Update :

The binaries in the SDK Hooks 1.3 packages have been updated for the Source 2009 (CSS/TF2/HL2DM/GMOD) and L4D2 engines.

The source itself is unchanged, but the SDK Hooks code is recompiled against the latest versions of the SDKs to fix the following issues:
Left 4 Dead 2
  • Fixed incorrect vars being passed in OnTakeDamage and TraceAttack hooks (this fixes the issue causing damage to be unchangeable as well as incorrect values for attacker and inflictor)
Source 2009
  • Fixed FireBullets hook passing player model string as weapon name

In addition, the newer gamedata for Source 2009 is also included in the updated package.

As usual, you can find the downloads @ http://code.google.com/p/tsunami-productions/downloads
If you have the updated version of one of these two, the version string should read "1.3.0-REDUCKS".

---------------------------

SDK Hooks 2 is still having work done on it as time permits. It will be a separate extension, but I will keep compatibility as much as possible so that existing plugins will need very few changes (possibly just a recompile at the least).

Some things in store are:
  • The much requested 'TakeDamage' native that DukeHacks had.


    Code:

    native SDKHooks_TakeDamage(entity, inflictor, attacker, Float:damage, damageType, weapon=-1, Float:damageForce[3]=NULL_VECTOR, Float:damagePosition[3]=NULL_VECTOR);

  • Passing and allowing changes to the damage force and position in OnTakeDamage (think: removing knockback)
  • Touch hooks will be blockable
  • More hook types
  • Unified download (or at most, one package per operating system). No more trying to figure out which package is the right one for your game. Each binary will be properly named as sdkhooks.ext.<core>.<enigne>.<ext>
  • Support for Alien Swarm, Dark Messiah, and Bloody Good Time
been waiting an official sm fix for bgt to request it to be supported by sdkhooks, but meh, you beaten me.
0x00 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-14-2011 , 18:05   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1076

Quote:
Originally Posted by exvel View Post
It would be nice to have a gamedata updater like SourceMod has.
The plan is for it to use SM's updater once some logistics are worked out.
psychonic is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-14-2011 , 18:06   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1077

Quote:
Originally Posted by 0x00 View Post
been waiting an official sm fix for bgt to request it to be supported by sdkhooks, but meh, you beaten me.
MM:S 1.8.6-dev and 1.9.0-dev have BGT support as does SM 1.4.0-dev (although teleport and slap will crash the server until I commit a workaround).
psychonic is offline
dirtyminuth
Senior Member
Join Date: Sep 2009
Old 01-14-2011 , 19:33   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1078

These changes sound great psychonic - can't wait to try them out!
__________________
dirtyminuth is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 01-14-2011 , 20:19   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1079

Awesome, great job psychonic and Tsunami
dataviruset is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 01-15-2011 , 06:36   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1080

Amazing, can't wait for SDKHooks 2!
__________________
Mecha the Slag is offline
Closed Thread



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 07:58.


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