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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-03-2010 , 16:19   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#731

Just means they're empty.

@cskiwi: Do sm exts list, sm version and sm plugins list, and post them here so we can help you.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
joshtrav
Senior Member
Join Date: Sep 2009
Old 07-03-2010 , 19:25   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#732

@ Tsunami

If i were to SDKhook a player for weaponcanuse as they connect, and never SDKUnhook them for weaponcanuse when they leave, would it generate a memory leak over time? Say 600 users later?

I just want to check if I should alter my script to unhook them on disconnect.
joshtrav is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 07-03-2010 , 19:58   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#733

Quote:
Originally Posted by joshtrav View Post
@ Tsunami

If i were to SDKhook a player for weaponcanuse as they connect, and never SDKUnhook them for weaponcanuse when they leave, would it generate a memory leak over time? Say 600 users later?

I just want to check if I should alter my script to unhook them on disconnect.
Quote:
Originally Posted by psychonic View Post
There was an issue in SDK Hooks 1.1 and lower where clients would not be automatically unhooked on disconnect, or any entities on plugin unload. This has been fixed in SDK Hooks 1.2. You shouldn't be required to do any manual unhooking unless you choose to.
__________________
FoxMulder is offline
joshtrav
Senior Member
Join Date: Sep 2009
Old 07-03-2010 , 20:00   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#734

Thanks for the info Fox, must have missed that when trying to read through all the stuff.
joshtrav is offline
HL-SDK
Member
Join Date: Jan 2009
Old 07-03-2010 , 23:42   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#735

You say ontakedamage no longer works in L4D2?

What functionality is missing? I'll give it another go.

Assuming you need to change the damage, I'll see if I can drag myself away from cheating projects and grab an updated server.so if my linux VM still exists.

Note: You're pre-hooking and you have access to the damage field of the firebullets struct (IIRC). Changing that field in EVERY OTHER GAME results in changed damage (IIRC). I'll see if I can find out why.

Last edited by HL-SDK; 07-03-2010 at 23:45.
HL-SDK is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 07-05-2010 , 11:33   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#736

EDIT: Sorry I am wrong, the NoBlock script by altex doesn't require SDKHoosk therefore it can't be because of this extension. More than likely it's a side-effect of the CS:S OB update for some reason. My apologies.
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d

Last edited by daleGEND; 07-05-2010 at 15:09.
daleGEND is offline
cskiwi
Junior Member
Join Date: Jan 2010
Old 07-05-2010 , 18:48   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#737

Quote:
Originally Posted by strontiumdog View Post
Just means they're empty.

@cskiwi: Do sm exts list, sm version and sm plugins list, and post them here so we can help you.
The output from "sm exts list"
Code:
[01] Automatice updater <1.3.3>
[02] Webternet <1.3.3>
[03] CS:S Tools <1.3.3>
[04] BinTools <1.3.3>
[05] Top Menus <1.3.3>
[06] SDK Tools <1.3.3>
[07] Client Preferences <1.3.3>
[08] SQLite <1.3.3>
[09] <FAILED> file "sdkhooks.ext.dll": Metamod attach failed
The output from "sm version"
Code:
Sourcemode Version Information
    SourceMod Version: 1.3.3
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.3)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Jun 24 2010 04:46:07
    Build ID: 2994:c5062ca82830
    http://www.sourcemod.net
The output from "sm plugins list"
Code:
01 "Admin File Reader" <1.3.3> by AlliedModders LLC
02 "Admin Help" <1.3.3> by AlliedModders LLC
03 "Admin Help" <1.3.3> by AlliedModders LLC
04 "Anti-Flood" <1.3.3> by AlliedModders LLC
05 "Basic Ban Commands" <1.3.3> by AlliedModders LLC
06 "Basic Chat" <1.3.3> by AlliedModders LLC
07 "Basic Comm Control" <1.3.3> by AlliedModders LLC
08 "Basic commands" <1.3.3> by AlliedModders LLC
09 "Basic Info Triggers" <1.3.3> by AlliedModders LLC
10 "Basic Votes" <1.3.3> by AlliedModders LLC
11 "Client Prefences" <1.3.3> by AlliedModders LLC
12 "Fun Commands" <1.3.3> by AlliedModders LLC
13 "Fun Votes" <1.3.3> by AlliedModders LLC
14 "Nextmap" <1.3.3> by AlliedModders LLC
15 "Player Commands" <1.3.3> by AlliedModders LLC
16 "Reserverd Slots" <1.3.3> by AlliedModders LLC
17 <Failed> "SM_Hosties" <1.07> by dataviruset
18 "Sound Commands" <1.3.3> by AlliedModders LLC
and img:
cskiwi is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-05-2010 , 23:38   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#738

I'm assuming you added all the files correctly?
Did you remember to add the sdkhooks.games.txt file to the gamedata folder?

What version of MetaMod are you using?
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 07-05-2010 , 23:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#739

@ cskiwi: If you are running a Windows server, make sure you have also updated to the latest gameinfo version for hosties mod.

http://forums.alliedmods.net/showpos...&postcount=147
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
sAnd57
Junior Member
Join Date: Jun 2010
Old 07-06-2010 , 14:27   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#740

Hi,

My SDKHooks is not working properly, it says :
Quote:
[SM] Unable to load extension "sdkhooks.ext": /home/server20/game/css/orangebox/cstrike/addons/sourcemod/extensions/sdkhooks.ext.so: cannot open shared object file: No such file or directory
Here is my exts list

Quote:
[SM] Displaying 10 extensions:
[01] Automatic Updater (1.3.4-dev): Updates SourceMod gamedata files
[02] Webternet (1.3.4-dev): Extension for interacting with URLs
[03] CS:S Tools (1.3.4-dev): CS:S extended functionality
[04] BinTools (1.3.4-dev): Low-level C/C++ Calling API
[05] SDK Tools (1.3.4-dev): Source SDK Tools
[06] Top Menus (1.3.4-dev): Creates sorted nested menus
[07] SDK Hooks (1.3.0): Source SDK Hooks
[08] Client Preferences (1.3.4-dev): Saves client preference settings
[09] SQLite (1.3.4-dev): SQLite Driver
[10] Socket (3.0.1alpha): Socket extension for SourceMod
And SM version

Quote:
SourceMod Version Information:
SourceMod Version: 1.3.4-dev
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.4-dev)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Jun 24 2010 03:57:45
Build ID: 2996:5e8cff733917-dev
http://www.sourcemod.net/
And finally Meta version
Quote:

Metamod:Source version 1.8.3-dev
Build ID: 728:e64a1ecd2126-dev
Loaded As: Valve Server Plugin
Compiled on: Jul 1 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
How can I fix this ?
sAnd57 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 17:31.


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