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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 08-06-2010 , 07:45   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#801

Hello, How can I use sdkhook whit this:

PHP Code:
Hacks_Find("CCSPlayer::SetProgressBarTime""55 56 57 8B F9 8B 8F AC 12 00 00 8D B7 AC 12 00""_ZN9CCSPlayer18SetProgressBarTimeEi"); 
I want to move to sdkhook, because hack exts is not anymore supported.
Is it going work on linux and window?

Sorry for my english and thank you for answer me soon.
Mathias. is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-06-2010 , 08:02   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#802

Just use an SDKCall, it's all built into SM.
EDIT: If that sig is pre-OB, you may need an updated one.
__________________
asherkin is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 08-06-2010 , 08:05   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#803

Jesus christ, that was fast reply. Thank you! Im checking that out!
Mathias. is offline
matecro
BANNED
Join Date: Jun 2010
Old 08-07-2010 , 16:08   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#804

what version to use for new CSS OB ? is maybe this one sdkhooks131-obv-sm13.zip ?, and would work with new sourcemod ?
matecro is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 08-07-2010 , 16:11   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#805

Quote:
Originally Posted by matecro View Post
what version to use for new CSS OB ? is maybe this one sdkhooks131-obv-sm13.zip ?, and would work with new sourcemod ?
Yes, you are supposed to use that version, and it works with SourceMod 1.3.3 or later.
Please read other replies in the thread before posting
dataviruset is offline
chrisAk
Junior Member
Join Date: Aug 2010
Old 08-13-2010 , 11:15   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#806

This may sound like a noobish question, but where do i put the sdk hooks folders? thanks
chrisAk is offline
RasterMan
Senior Member
Join Date: Mar 2004
Location: Luton, UK
Old 08-13-2010 , 12:17   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#807

Example:

/home/xxxxxx/.gameservers/l4d2_0/left4dead2/left4dead2/addons/sourcemod/extensions
__________________
RasterMan is offline
Send a message via MSN to RasterMan
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Old 08-15-2010 , 10:17   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#808

I have a problem using this extension, or maybe i just misunderstood how a function is supposed to work.

Well, i wanted to create a hook for the 'SDKHook_WeaponDrop' just to create a timeout for idle weapons and remove them after a while. Well, it works very nice on a windows server, it would print to chat (on debug) '[DEBUG] Weapon drop' and also would eventually delete the weapon from the game. Im trying to do this for left 4 dead 2.

Now, when i put my plugin in a linux server, it crashes. I only have a few checks (IF's) for the client so it is valid, and also for the entity, i get the entity classname, compare with the classes that should be removed and then i just created a timer. Why could it crash the linux server? Anybody has an idea or a previus experience with that hook? Thanks in advance.

PD: Both windows and linux server have exactly the same CFG, plugins and the same SDKHOOKS extension version.
PD2: The server crash with a memory segmentation error.

Last edited by honorcode23; 08-15-2010 at 10:19.
honorcode23 is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 08-15-2010 , 22:57   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#809

Note that to avoid pissing valve off, we can't really allow discussion of methods that work around their attachment block in TF2.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
ktp11669
New Member
Join Date: May 2009
Old 08-17-2010 , 11:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#810

how can i fix it??

Quote:
L 08/17/2010 - 23:25:53: SourceMod error session started
L 08/17/2010 - 23:25:53: Info (map "ba_prison_v1") (file "errors_20100817.log")
L 08/17/2010 - 23:25:53: [SM] Unable to load extension "sdkhooks.ext": Metamod attach failed
L 08/17/2010 - 23:25:53: [SM] Native "SetConVarInt" reported: Invalid convar handle 0 (error 4)
L 08/17/2010 - 23:25:53: [SM] Displaying call stack trace for plugin "hide_and_seek.smx":
L 08/17/2010 - 23:25:53: [SM] [0] Line 167, C:\Users\Jannik\Desktop\WCFAN\Plugins\hideand seek\addons\sourcemod\scripting\hide_and_seek .sp::OnPluginStart()







ktp11669 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 15:25.


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