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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
xomp
BANNED
Join Date: Jul 2008
Old 05-26-2012 , 12:06   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1831

Code:
	if (strcmp(classname, "tf_projectile_pipe", false) == 0)
		SDKHook(entity, SDKHook_Spawn, OnPipeSpawned);
Has OnPipeSpawned been removed? I'm getting undefined symbol "OnPipeSpawned" when trying to compile anything with it. If it has been, what is it's successor?
xomp is offline
Send a message via Skype™ to xomp
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-26-2012 , 12:16  
#1832

Quote:
Originally Posted by xomp View Post
Code:
	if (strcmp(classname, "tf_projectile_pipe", false) == 0)
		SDKHook(entity, SDKHook_Spawn, OnPipeSpawned);
Has OnPipeSpawned been removed? I'm getting undefined symbol "OnPipeSpawned" when trying to compile anything with it. If it has been, what is it's successor?
"My function I specified as the callback doesn't exist."
__________________
asherkin is offline
xomp
BANNED
Join Date: Jul 2008
Old 05-26-2012 , 12:30   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1833

Quote:
Originally Posted by asherkin View Post
"My function I specified as the callback doesn't exist."
Whoops, gotcha thanks!
xomp is offline
Send a message via Skype™ to xomp
wings
New Member
Join Date: May 2012
Old 05-28-2012 , 00:18   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1834

Hello! I installed the SDK Hooks 2.1 on the server via FTP, and now I have started to fall when the server starts and daddy sourcemod \ logs log file is created with errors errors_20120121 Tipo:
L 05/28/2012 - 06:29:41: SourceMod error session started
L 05/28/2012 - 06:29:41: Info (map "de_dust2") (file "errors_20120528.log")
L 05/28/2012 - 06:29:41: [SDKTOOLS] Could not locate FireOutput - Disabling detour
L 05/28/2012 - 06:29:41: [SM] Error parsing gameconfig file "/ cstrike / addons / sourcemod / gamedata / sdkhooks.games.txt":
L 05/28/2012 - 06:29:41: [SM] Error 1 on line 0, col 0: Stream failed to open
L 05/28/2012 - 06:29:41: [SM] Unable to load extension "sdkhooks.ext": Could not read sdkhooks.games.txt: File could not be opened: No such file or directory
tell me I do not understand what I did wrong!
Threw it right into folders before any SDK Hooks did not set.
wings is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-28-2012 , 03:24   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1835

Quote:
Originally Posted by wings View Post
Hello! I installed the SDK Hooks 2.1 on the server via FTP, and now I have started to fall when the server starts and daddy sourcemod \ logs log file is created with errors errors_20120121 Tipo:
L 05/28/2012 - 06:29:41: SourceMod error session started
L 05/28/2012 - 06:29:41: Info (map "de_dust2") (file "errors_20120528.log")
L 05/28/2012 - 06:29:41: [SDKTOOLS] Could not locate FireOutput - Disabling detour
L 05/28/2012 - 06:29:41: [SM] Error parsing gameconfig file "/ cstrike / addons / sourcemod / gamedata / sdkhooks.games.txt":
L 05/28/2012 - 06:29:41: [SM] Error 1 on line 0, col 0: Stream failed to open
L 05/28/2012 - 06:29:41: [SM] Unable to load extension "sdkhooks.ext": Could not read sdkhooks.games.txt: File could not be opened: No such file or directory
tell me I do not understand what I did wrong!
Threw it right into folders before any SDK Hooks did not set.


You didn't install it properly. Also SDKTools is not the latest, could just be missing gamedata. Would recommend reinstalling sourcemod.
__________________
Silvers is offline
wings
New Member
Join Date: May 2012
Old 05-28-2012 , 10:31   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1836

Quote:
Originally Posted by Silvers View Post
You didn't install it properly. Also SDKTools is not the latest, could just be missing gamedata. Would recommend reinstalling sourcemod.
reinstalled the server and sourcemod. does not work.
sorry for bad spelling. writing by the translator.
wings is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-28-2012 , 10:41   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1837

Ahh, could not be opened, maybe it's a file access issue. Make sure the gamedata files have the correct permissions on your FTP.
__________________
Silvers is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-28-2012 , 21:01   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1838

As a heads up, before anyone asks, I hope to have a build of SDK Hooks for CS:GO sometime next weekend, if not sooner.

I will also be addressing other reported, legitimate issues at that time.
psychonic is offline
fufu5978
New Member
Join Date: May 2012
Old 05-28-2012 , 21:16   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1839

i am so sorry to ask a noob question
i have been stuck in compiling sdkhooks used plugins for days
can some one please teach me how to do that please

when compile with sdkhooks
we always get more files then just one .sp file(and usually with .dll .inc .etc)
so it will not be as simple as compiling those with only one .sp
what should i do with other files?where to put them?
and how do i compile?

please help
thanks a lot
and hopefully this will slove and provide answers to those who is looking for as well

Last edited by fufu5978; 05-29-2012 at 02:59.
fufu5978 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-29-2012 , 07:34   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1840

@fufu5978

Copy from SourceMod pack folder "scripting" and paste it in your Desktop.
Same thing with SDKHooks pack, copy folder "scripting" and paste it in your Desktop, merge folders.

Grab plugin source code *.sp, move it in your "scripting" folder.
Then drag & drop file.sp on:
compile.exe = This will compile plugin in /scripting/compiled/file.smx
spcomp.exe = Compile plugin in /scripting/file.smx


Depend how developer have made plugin source code, have he/she written in single *.sp file or multiple.
You compile it with plugin head source file.

Used more included files, extension files. Find them.

*edit
All this "compiling" thing happen inside scripting folder, and server not need these.

Installing plugin+extension+gamedata+configs on server is way another thing.

Last edited by Bacardi; 05-29-2012 at 07:38.
Bacardi is offline
Closed Thread


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 11:03.


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