Raised This Month: $ Target: $400
 0% 

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
darkkiller
New Member
Join Date: Feb 2011
Old 02-26-2011 , 15:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1141

how i install sdkhooks13 to my counter strike source server. can you tell/show me step by step how to install sdkhooks13. i have extensions folder, gamedata folder, and scripting folder..reply me back on here or just email me back at [email protected] or hit me up on steam lilcasper253
darkkiller is offline
Krillin
Senior Member
Join Date: Jul 2004
Old 02-28-2011 , 22:08   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1142

Any chances of getting this to work on CSS Beta version?

We are running Debian Linux 5.0.7 (lenny)
Metamod Source version 1.8.5
Source Mod version 1.3.6
Though these are OB releases, they appear to work fine in CSS Beta.

We kept seeing the posts for the error we are getting, but only in part.

Code:
L 02/28/2011 - 21:48:14: [SM] Unable to load extension "sdkhooks.ext": Failed to locate IEntityFactoryDictionary sig!
CSS Beta, near as we can tell is doesn't seem to be part of the OB release. It looks like it is on the old engine before CSS went to the OB engine.

Now that we have installed this plugin, sdkhooks131-obv-sm13, we get that error in a fatal crash of the server.

Code:
L 02/28/2011 - 21:48:14: Logical Entities not supported by this mod (gEntList) - Reverting to networkable entities only
L 02/28/2011 - 21:48:14: -------- Mapchange to de_dust --------
L 02/28/2011 - 21:48:14: Error log file session closed.
L 02/28/2011 - 21:48:14: [SM] Unable to load extension "sdkhooks.ext": Failed to locate IEntityFactoryDictionary sig!
./srcds_run: line 348:   609 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Mon Feb 28 21:48:14 EST 2011: Server restart in 10 seconds
Mon Feb 28 21:48:16 EST 2011: Server Quit
Before we were only getting this error message:

Code:
[06] <FAILED> file "sdkhooks.ext.so": /data/steam/srcdsb_l/cssbeta/cstrike_beta/addons/sourcemod/extensions/sdkhooks.ext.so: cannot open shared object file: No such file or directory
So now we have to remove the sdkhooks 1.3 OB install on this server and disable the plugins which require it. (KAC mainly). I do not like running servers without this plugin. It catches a lot hackers playing out there.

Is there maybe a different version which we need to use for the CSS Beta?

Thanks,
Krillin
__________________
Krillin's World Server(s) Operator


Last edited by Krillin; 02-28-2011 at 22:11. Reason: Posted SDKHOOKS install version from name of folder we got it from.
Krillin is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 03-01-2011 , 02:45   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1143

KAC can work very well without SDK Hooks, it's only the anti-wallhack that requires SDK Hooks as far as I know.
dataviruset is offline
cedavis8
New Member
Join Date: Mar 2011
Old 03-04-2011 , 09:15   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1144

I have an issue with my server.

I want to run zombieriot on my server, so I did what it said to do, that is, install meta mod (I have the newest version), sourcemod (also the newest version), hacks (newest xD), and sdkhooks. I downloaded the sdkhooks that says "CSS" (assuming that to be "counter strike: source") and installed it. When I attempted to restart my server, it crashed on startup (uninstalling it did indeed allow me to run it again). I then looked through this ENTIRE forum post to see if anyone else had my problem. They didn't...

Nonetheless, not to be discouraged, I then downloaded different versions of it (someone said at one point that you needed the ep1 version to run it on cs:s) and installed them instead. While they didn't crash on startup, when I tried to run "sm exts load sdkhooks.ext" (or w/e) it said metamod attach failed, which I found out meant I had the wrong version

SO what do I do? I would really like sdkhooks to work so that I can have zombieriot working and a fun server for people to play on...it's quite upsetting that it doesn't...
cedavis8 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-04-2011 , 13:07   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1145

Quote:
Originally Posted by psychonic View Post
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). The exception to this is that any plugin using the ShouldCollide hook will need a recompile and may only choose to be compatible with 1.x or 2.x&later, but not both.

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
Beta 3 attached.
This should be the last beta before the final release.

This is for the early adopters as it's only lightly tested so far (though current feedback has been promising and more is always welcome). Do not use unless you're willing to actually act as testing it. Crashes could occur (though not expected), especially when utilizing new features.

Notes:
You must remove your old sdkhooks.ext.dll/so and sdkhooks.games.txt! from v1.x.
Version number on new build will read 2.0.0b3.

Changes from 1.3 (in addition to all of the above in quotes):
  • Some cleanup and standardizing of code (most by Tsunami).
  • Added many new posthook types for existing hook types.
  • Added VPhysicsThink and GroundEntChanged hooks.
  • Gamedata is now split into one file per engine/game, all in its own dir (similar to core and sdktools).

Changes from 2.0.0b1:
  • Added SDKHooks_DropWeapon native.
  • Added partial Dark Messiah gamedata.
  • SDKHooks now registers a library, "sdkhooks", for use with LibraryExists, OnLibraryAdded, and OnLibraryRemoved natives in SM.
  • SDKHooks_TakeDamage native now has a default damageType value of DMG_GENERIC.

Changes from 2.0.0b2:
  • Added some clarifications to inc regarding OnTakeDamage force.
  • Added gamedata for Dino D-Day.
  • Added blockable Use hook and post hook.
  • Made breaking, yet necessary, changes to ShouldCollide hook and callback.

Source link: http://hg.nicholashastings.com/sdkhooks/files/tip/

Last edited by psychonic; 04-15-2011 at 22:40. Reason: removed attachment
psychonic is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 03-04-2011 , 13:21   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1146

i can't wait to try this out, i know before even downloading it that i'll be able to use the new features in some way in atleast one of my existing plugins.
blodia is offline
dirtyminuth
Senior Member
Join Date: Sep 2009
Old 03-04-2011 , 13:29   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1147

I'll be trying this out this weekend (mainly utilizing the new TakeDamage functionality) - thanks for your hard work!
__________________
dirtyminuth is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 03-04-2011 , 15:18   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1148

Cool, a beta with TakeDamage \o/

There's a little error in sdkhooks.inc at line 185 which prevents plugins from compiling.
I just replaced it by:
PHP Code:
    Action:public(victim, &attacker, &inflictor, &Float:damage, &damagetype, &weaponFloat:damageForce[3], Float:damagePosition[3]), 
EDIT: And an error when trying to load the extension:
Code:
[SM] Unable to load extension "sdkhooks.ext": /do/you/like/mudkips/orangebox/tf/addons/sourcemod/extensions/sdkhooks.ext.2.ep2v.so: undefined symbol: g_pCVar
Debian Squeeze
Code:
SourceMod Version Information:
    SourceMod Version: 1.3.6
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.6)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Oct 30 2010 18:49:41
    Build ID: 3065:8036343199ca
    http://www.sourcemod.net/
Code:
Metamod:Source version 1.8.5
Build ID: 752:3e48f4adf523
Loaded As: Valve Server Plugin
Compiled on: Dec 19 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
__________________

Last edited by Flyflo; 03-04-2011 at 15:27.
Flyflo is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-04-2011 , 15:45   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1149

Quote:
Originally Posted by Flyflo View Post
Cool, a beta with TakeDamage \o/

There's a little error in sdkhooks.inc at line 185 which prevents plugins from compiling.
I just replaced it by:
PHP Code:
    Action:public(victim, &attacker, &inflictor, &Float:damage, &damagetype, &weaponFloat:damageForce[3], Float:damagePosition[3]), 
EDIT: And an error when trying to load the extension:
Code:
[SM] Unable to load extension "sdkhooks.ext": /do/you/like/mudkips/orangebox/tf/addons/sourcemod/extensions/sdkhooks.ext.2.ep2v.so: undefined symbol: g_pCVar
Debian Squeeze
Code:
SourceMod Version Information:
    SourceMod Version: 1.3.6
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.6)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Oct 30 2010 18:49:41
    Build ID: 3065:8036343199ca
    http://www.sourcemod.net/
Code:
Metamod:Source version 1.8.5
Build ID: 752:3e48f4adf523
Loaded As: Valve Server Plugin
Compiled on: Dec 19 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Looks like some errors in the makefile screwed up the linux builds for ep2v, l4d, and l4d2. Could you please see if the attached binary resolves the issue?

Last edited by psychonic; 03-04-2011 at 18:20.
psychonic is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 03-04-2011 , 18:05   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#1150

Thanks, the extension is now loading, but I'm getting a new error:
Code:
[SM] Unable to load plugin "derp.smx": Native "SDKHook" was not found
__________________
Flyflo 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 04:37.


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