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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
CSO-fag
Senior Member
Join Date: May 2010
Location: Indonesia, South Jakarta
Old 04-10-2011 , 02:57   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1201

im having a little problem here, when im paste the SDKHooks on Sourcemod, its just "hl2.exe has Stopped Working"
what did i do?
__________________
I play: CS 1.6, CSS, HL2, CSO, Seal Online, Ragnarok, and.....

1. [ZP] Zombie Ambience
[IMG]http://img714.**************/img714/9589/12013gd1w.gif[/IMG]
Adding more Link
CSO-fag is offline
coty9090
Senior Member
Join Date: Aug 2007
Old 04-10-2011 , 17:06   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1202

I get this error while trying to load zombie riot. im running SourceMod version 1.3.6 MetaMod:Source version 1.8.5 ... i tried using sdkhooks 1.3 and 2.0 beta

Filename: zombieriot.smx
Load error: Required extension "sdkhooks" file("sdkhooks.ext") not running
File info: (title "Zombie Riot") (version "1.9.1")
coty9090 is offline
0x00
SourceMod Donor
Join Date: Oct 2010
Location: #!/usr/bin/0x00
Old 04-10-2011 , 19:22   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1203

Does WeaponCanUse hook fires for tf_wearable_item or?
0x00 is offline
Samantha
SourceMod Donor
Join Date: Feb 2010
Location: Madagascar
Old 04-10-2011 , 20:53   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1204

Try it?
__________________
"I give sopport and knolage in making extractions"
"MASTER(D) - dun0: are you mocing me?" -Master the grate

Plugins
Godmode Until Attack | No Block Team Filter
Extensions
Rcon Hooks
Samantha is offline
0x00
SourceMod Donor
Join Date: Oct 2010
Location: #!/usr/bin/0x00
Old 04-10-2011 , 21:57   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1205

Quote:
Originally Posted by Samantha View Post
Try it?
I honestly dont know who's worse; 1) me for being lazy enough to ask something I could easily find out myself by testing. or 2) you for being able to create such useless post.
0x00 is offline
Samantha
SourceMod Donor
Join Date: Feb 2010
Location: Madagascar
Old 04-10-2011 , 21:58   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1206

It's not really useless, most of these forwards are ones from virtual functions in OB, you would have to test it or have someone else test it to find out if it works. Soooo try it
__________________
"I give sopport and knolage in making extractions"
"MASTER(D) - dun0: are you mocing me?" -Master the grate

Plugins
Godmode Until Attack | No Block Team Filter
Extensions
Rcon Hooks
Samantha is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-11-2011 , 01:17   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1207

Probably the first, since she wouldn't have needed to create that post if you had just tested it Also, I'm pretty sure hats can't fire bullets, or that you can wear weapons on your head, so I'm going to have to guess that WeaponCanUse doesn't fire for hats.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
yatchi
Member
Join Date: Feb 2011
Location: Brazil
Old 04-11-2011 , 21:03   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1208

Why in linux servers, SDK Hooks have problem to load?

I cant load the Hooks in my linux server..

how i fix that?
yatchi is offline
Viper_Vicki
AlliedModders Donor
Join Date: Sep 2005
Location: USA
Old 04-12-2011 , 16:59   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1209

I found the issue, it was the achievement plugin that was crashing the server, although it needed sdkhooks, when I removed MechaWare: Custom Achievements 2.0! and kept sdkhooks on the server didn't crash
__________________
[VIPER]_Vicki

Viper_Vicki is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 04-12-2011 , 17:00   Re: SDK Hooks 1.3 (NEW 2.0 IN BETA)
#1210

Very strange problem on both 1.3 and 2.0 SDKHooks versions.

Quote:
L 04/13/2011 - 00:59:25: [SM] Plugin encountered error 21: Native is not bound
L 04/13/2011 - 00:59:25: [SM] Native "SDKHook" reported:
L 04/13/2011 - 00:59:25: [SM] Displaying call stack trace for plugin "test.smx":
L 04/13/2011 - 00:59:25: [SM] [0] Line 43, test.sp::OnClientPutInServer()
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

#undef AUTOLOAD_EXTENSIONS
#undef REQUIRE_EXTENSIONS
#include <sdkhooks>

public Plugin:myinfo =
{
    
name "Test name",
    
author "Test author",
    
description "Test descr",
    
version "Test version",
    
url "Test url"
};

new 
bool:g_SdkHooksEnabled false;

public 
APLRes:AskPluginLoad2(Handle:myselfbool:lateString:error[], err_max)
{
    
MarkNativeAsOptional("SDKHook");
    
MarkNativeAsOptional("SDKUnhook");
    return 
APLRes_Success;
}

public 
Action:Timer_CheckSdkHooks(Handle:timer) {
    
g_SdkHooksEnabled GetExtensionFileStatus("sdkhooks.ext") == 1;
}

public 
OnPluginStart()
{
    
g_SdkHooksEnabled GetExtensionFileStatus("sdkhooks.ext") == 1;
    if ( !
g_SdkHooksEnabled ) {
        
InsertServerCommand("sm exts load sdkhooks");
        
CreateTimer(0.1Timer_CheckSdkHooks);
    }
}

public 
OnClientPutInServer(client) {
    if ( 
g_SdkHooksEnabled ) {
        
SDKHook(clientSDKHook_WeaponSwitchOnWeaponSwitch);
    }
}

public 
OnClientDisconnect(client)
{
    if ( 
g_SdkHooksEnabled ) {
        
SDKUnhook(clientSDKHook_WeaponSwitchOnWeaponSwitch);
    }
}

public 
Action:OnWeaponSwitch(clientweapon) {
    return 
Plugin_Continue;

__________________
altex 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 13:20.


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