AlliedModders
XFactor Servers

[EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)


Post New Thread Reply   
 
Thread Tools Display Modes
berni
SourceMod Plugin Approver
Karma: Neutral
Location: Austria
Old 11-04-2009 , 17:03   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #81

Quote:
Originally Posted by AtomicStryker View Post
Another question: OnTakeDamage is limited to clients? Theres nothing similar for entities (L4D Zombies)?


EDIT:

Looking at it ... could i use an OnEntityCreated hook and an entity instead of client?
I guess so... you should try it.
__________________
When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"
berni is offline
Send a message via MSN to berni
DJ Tsunami
DJ Post Spammer
Karma: Good
Location: Netherlands
Old 11-04-2009 , 17:32   Re: [EXTENSION] SDK Hooks
Reply With Quote #82

Quote:
Originally Posted by DJ Tsunami View Post
Yes, I know I kind of poorly named the entity index "victim", implying it only works for clients, but OnTakeDamage works for all entities.
__________________
My Plugins
Don't PM me asking for support, post in the plugin's topic.
DJ Tsunami is online now
[AAA] Thrawn
Junior Member
Karma: Neutral
Old 11-04-2009 , 19:42   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #83

Quote:
Originally Posted by DJ Tsunami View Post
I also noticed today that I compiled these against MM:S 1.8 and SM 1.3, it wouldn't load on MM:S 1.7.1 and SM 1.2.4.
hmm, it fails for me with 1.8 and 1.3:
<FAILED> file "sdkhooks.ext.so": /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /home/gs756/games/srcds_l/orangebox/tf/addons/sourcemod/extensions/sdkhooks.ext.so)

Metamod:Source version 1.8.0-dev
Build ID: 677:3ec9092c5dc8-dev
Compiled on: Nov 2 2009

SourceMod Version: 1.3.0-dev
Build ID: 2841:f9ba61a0f48b-dev
Compiled on: Oct 28 2009 21:35:18
[AAA] Thrawn is offline
DJ Tsunami
DJ Post Spammer
Karma: Good
Location: Netherlands
Old 11-04-2009 , 19:59   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #84

Maybe try installing GLIBC 2.4 then. That has nothing to do with the estension.
__________________
My Plugins
Don't PM me asking for support, post in the plugin's topic.
DJ Tsunami is online now
rhelgeby
Senior Member
Karma: Neutral
Location: Norway
Old 11-04-2009 , 20:30   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #85

[AAA] Thrawn: Look here:http://forums.alliedmods.net/showthread.php?t=97681

Btw, those zip-files in the first post should be fixed. Recompile against correct versions, and use my fix in the link above.
__________________
Richard Helgeby


Last edited by rhelgeby; 11-04-2009 at 20:34..
rhelgeby is online now
DJ Tsunami
DJ Post Spammer
Karma: Good
Location: Netherlands
Old 11-04-2009 , 20:37   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #86

No point in fixing them if the forums keeps breaking them anyway.
__________________
My Plugins
Don't PM me asking for support, post in the plugin's topic.
DJ Tsunami is online now
rhelgeby
Senior Member
Karma: Neutral
Location: Norway
Old 11-04-2009 , 20:54   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #87

Add Weapon_CanUse. Tried to block with Weapon_Equip, which works, but the weapon disappear. I think Weapon_CanUse is fired before the player pick up a weapon.
__________________
Richard Helgeby


Last edited by rhelgeby; 11-04-2009 at 21:03..
rhelgeby is online now
Darkimmortal
Senior Member
Karma: Neutral
Old 11-04-2009 , 21:55   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #88

Any chance of an equivalent to HK_GameNameDescription?

Also can you do damage like dhTakeDamage?
__________________
Darkimmortal is offline
psychonic
Veteran Member
Karma: Neutral
Old 11-04-2009 , 22:13   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #89

Quote:
Originally Posted by Darkimmortal View Post
Any chance of an equivalent to HK_GameNameDescription?
From the first post:

Quote:
  • 1.1
    • Added OnGetGameDescription forward
I do caution to use this with care. Changing the game description can break certain detection methods that various programs/scripts use to guess what game/mod is running.
__________________
HLstatsX Community Edition - http://www.hlxcommunity.com - Free stats package supporting many HL1/HL2 games and mods

Last edited by psychonic; 11-04-2009 at 22:15..
psychonic is offline
shady2k2
Junior Member
Karma: Neutral
Old 11-05-2009 , 08:12   Re: [EXTENSION] SDK Hooks 1.1 (Updated 11/03/09)
Reply With Quote #90

Quote:
Originally Posted by psychonic View Post
It is rather self-explanatory. In the zip file, there is a gamedata directory and an extensions directory. The contents of those go in the directories of the same name in your sourcemod install.

just copy/paste files from zip file?


PS: sorry for dumb questions
shady2k2 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 05:17.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies