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

New SDK change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Functor
Junior Member
Join Date: May 2006
Old 06-12-2007 , 21:14   New SDK change
Reply With Quote #1

The following methods become static therefore no longer vtable hookable:

CCSPlayer:: Blind
CFlashBangProjectile:: Detonate
CHEGrenadeProjectile:: Detonate
CSmokeGrenadeProjectile:: Detonate
CCSPlayer:: EntSelectSpawnPoint
CCSGameRules:: GotoIntermission
CCSPlayer:: PlayerRunCommand
{CAK47, CDEagnle, ... CCS weapons}:: PrimaryAttack
CKnife:: SecondaryAttack
CCSPlayerMove:: SetupMove
CCSPlayer:: Weapon_CanUse
CCSPlayer:: Weapon_Switch

They are ALL very interesting vtbl methods to hook, but all closed.
Thanks Valve, you made modding even more harder!
No special grenades, no weapon restriction and so on...
Maybe some of them can be replaced by hooking of their corresponding vtable methods of superclasses, but I am not sure...
__________________

Last edited by Functor; 06-12-2007 at 21:17.
Functor is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 06-12-2007 , 21:48   Re: New SDK change
Reply With Quote #2

From what I understand these are sigscann-able though.

btw, good work on caml (I liked what I saw) it'd be nice to see a Win32 version in the future ;).
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 06-12-2007 , 21:48   Re: New SDK change
Reply With Quote #3

Well, I guess they will have to be detoured instead.
__________________
sslice is offline
Functor
Junior Member
Join Date: May 2006
Old 06-12-2007 , 22:03   Re: New SDK change
Reply With Quote #4

I have quickly checked all of them except CCSPlayer::Blind can be vtable hookable by hooking their superclass method instead.
I think the impact is much smaller than I have imagined.
__________________
Functor is offline
cybermind
Senior Member
Join Date: Oct 2004
Old 06-13-2007 , 01:32   Re: New SDK change
Reply With Quote #5

I guess I need to finish up SourceDetours
cybermind is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 06-13-2007 , 02:55   Re: New SDK change
Reply With Quote #6

Indeed.
__________________
sslice is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 06-13-2007 , 10:28   Re: New SDK change
Reply With Quote #7

I've been waiting for SourceDetours for a long time.



There are some CS game rules functions I'd like to detour.
L. Duke 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 18:53.


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