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

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
SHAREN
Senior Member
Join Date: Dec 2011
Old 11-01-2015 , 20:19   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #381

What I do wrong?
Code:
sm plugins load dhooks-test
[SM] Plugin encountered error 25: Call was aborted
[SM] Native "SetFailState" reported: Failed to get CreateInterface
[SM] Displaying call stack trace for plugin "dhooks-test.smx":
[SM]   [0]  Line 99, D:\CSGOServer\war3\1\csgo\addons\sourcemod\scripting\dhooks-test.sp::OnPluginStart()
[SM] Loaded plugin dhooks-test.smx successfully.
SHAREN is offline
Send a message via Skype™ to SHAREN
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-02-2015 , 18:58   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #382

Quote:
Originally Posted by SHAREN View Post
What I do wrong?
Code:
sm plugins load dhooks-test
[SM] Plugin encountered error 25: Call was aborted
[SM] Native "SetFailState" reported: Failed to get CreateInterface
[SM] Displaying call stack trace for plugin "dhooks-test.smx":
[SM]   [0]  Line 99, D:\CSGOServer\war3\1\csgo\addons\sourcemod\scripting\dhooks-test.sp::OnPluginStart()
[SM] Loaded plugin dhooks-test.smx successfully.
I think you need new gamedata but I'm not sure.
Potato Uno is offline
SHAREN
Senior Member
Join Date: Dec 2011
Old 11-03-2015 , 09:35   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #383

I use this
Code:
"Games"
{
	"cstrike"
	{
		"Keys"
		{
			"EngineInterface"	"VEngineServer021"
		}
		"Signatures"
		{
			"CreateInterface"
			{
				"library"		"engine"
				"windows"		"@CreateInterface"
				"linux"			"@CreateInterface"
			}
		}
		"Offsets"
		{
			"BloodColor"
			{
				"windows"	"68"
				"linux"		"69"
			}
			"GetModelName"
			{
				"windows"	"7"
				"linux"		"8"
			}
			"GetMaxs"
			{
				"windows"	"338"
				"linux"		"339"
			}
			"CanUse"
			{
				"windows"	"259"
				"linux"		"260"
			}
			"CanHaveAmmo"
			{
				"windows"	"97"
				"linux"		"97"
			}
			"SetModel"
			{
				"windows"	"24"
				"linux"		"25"
			}
			"GetMaxPlayerSpeed"
			{
				"windows"	"437"
				"linux"		"438"
			}
			"GiveAmmo"
			{
				"windows"	"251"
				"linux"		"252"
			}
			"OnTakeDamage"
			{
				"windows"	"62"
				"linux"		"63"
			}
			"ClientPrintf"
			{
				"windows"	"45"
				"linux"		"45"
			}
			"AcceptInput"
			{
				"windows"	"36"
				"linux"		"37"
			}
		}
	}
}
SHAREN is offline
Send a message via Skype™ to SHAREN
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-03-2015 , 11:15   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #384

Based on the path in the error its a csgo server and that has no gamedata for csgo
Dr!fter is offline
psychonic

BAFFLED
Join Date: May 2008
Old 11-03-2015 , 11:17   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #385

You're on CS:GO and that gamedata is for CS:S (hence the "cstrike" in it).
psychonic is offline
SHAREN
Senior Member
Join Date: Dec 2011
Old 11-06-2015 , 02:38   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #386

thank
SHAREN is offline
Send a message via Skype™ to SHAREN
dr_lex
Member
Join Date: Dec 2014
Old 11-06-2015 , 11:21   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #387

Quote:
lex@lex-desktop:~/server/dhooks2$ make
if [ "true" = "true" ] && [ "true" = "false" ]; then \
echo "You must supply one of the following values for ENGINE:"; \
echo "csgo, left4dead2, left4dead, css, orangeboxvalve, orangebox, or original"; \
exit 1; \
fi
mkdir -p Release.left4dead2/sdk
if [ "true" = "true" ]; then \
ln -sf /home/lex/server/hl2sdk-l4d2/lib/linux/libvstdlib_srv.so; \
ln -sf /home/lex/server/hl2sdk-l4d2/lib/linux/libtier0_srv.so; \
ln -sf /home/lex/server/sourcemod/public/jit/x86/assembler-x86.cpp; \
fi
make -f /home/lex/server/dhooks2/Makefile extension
make[1]: Вход в каталог `/home/lex/server/dhooks2'
if [ "true" = "true" ] && [ "true" = "false" ]; then \
echo "You must supply one of the following values for ENGINE:"; \
echo "csgo, left4dead2, left4dead, css, orangeboxvalve, orangebox, or original"; \
exit 1; \
fi
gcc -I/home/lex/server/hl2sdk-l4d2/public/game/server -I. -I.. -Isdk -I/home/lex/server/sourcemod/public -I/home/lex/server/sourcemod/public/sourcepawn -I/home/lex/server/sourcemod/public/extensions -I/home/lex/server/sourcemod/public/jit/x86 -I/home/lex/server/sourcemod/public/jit -I/home/lex/server/sourcemod/public/amtl -I/home/lex/server/hl2sdk-l4d2/public -I/home/lex/server/hl2sdk-l4d2/public/engine -I/home/lex/server/hl2sdk-l4d2/public/tier0 -I/home/lex/server/hl2sdk-l4d2/public/tier1 -I/home/lex/server/hl2sdk-l4d2/game/shared -I/home/lex/server/metamod-source/core -I/home/lex/server/metamod-source/core/sourcehook -I/home/lex/server/sourcemod/public -I/home/lex/server/sourcemod/public/extensions -I/home/lex/server/sourcemod/public/sourcepawn -DSOURCE_ENGINE=9 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_ORANGEBOXVALVE=6 -DSE_LEFT4DEAD=7 -DSE_LEFT4DEAD2=8 -DSE_ALIENSWARM=9 -DSE_PORTAL2=10 -DSE_CSGO=11 -DSE_CSS=12 -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wall -Werror -Wno-overloaded-virtual -Wno-switch -Wno-unused -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -D_LINUX -mfpmath=sse -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -o Release.left4dead2/extension.o -c extension.cpp
In file included from extension.h:46,
from extension.cpp:1:
sdk-hacks.h:4: error: redefinition of ‘class Vector’
/home/lex/server/hl2sdk-l4d2/public/mathlib/vector.h:62: error: previous definition of ‘class Vector’
sdk-hacks.h:24: error: redefinition of ‘struct string_t’
/home/lex/server/hl2sdk-l4d2/public/string_t.h:53: error: previous definition of ‘struct string_t’
sdk-hacks.h8: error: redefinition of ‘struct castable_string_t’
/home/lex/server/hl2sdk-l4d2/public/string_t.h:69: error: previous definition of ‘struct castable_string_t’
sdk-hacks.h:50: error: redefinition of ‘struct edict_t’
/home/lex/server/hl2sdk-l4d2/public/edict.h:422: error: previous definition of ‘struct edict_t’
sdk-hacks.h:61: error: redefinition of ‘class CBaseHandle’
/home/lex/server/hl2sdk-l4d2/public/basehandle.h:26: error: previous definition of ‘class CBaseHandle’
make[1]: *** [Release.left4dead2/extension.o] Ошибка 1
make[1]: Выход из каталога `/home/lex/server/dhooks2'
make: *** [all] Ошибка 2
lex@lex-desktop:~/server/dhooks2$
=(

Last edited by dr_lex; 11-06-2015 at 11:21.
dr_lex is offline
psychonic

BAFFLED
Join Date: May 2008
Old 11-06-2015 , 11:35   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #388

DHooks2 does not have a Makefile. It instead ships with AMBuild scripts. The Makefile you are using is incorrect and is including directories that should not be included.
psychonic is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-10-2015 , 09:17   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #389

Quote:
Originally Posted by psychonic View Post
DHooks2 does not have a Makefile. It instead ships with AMBuild scripts. The Makefile you are using is incorrect and is including directories that should not be included.
Actually, that reminds me... there's still an open pull request to fix building DHooks2 against SourceMod 1.7 and 1.8 both. Right now, you can't build against 1.8 because some files DHooks2 uses moved in 1.8.

I assume this pull request is still relevant as the last time the AMBuildScript was touched was before I created that pull request.

I'm totally not posting this just to move the now-deleted spambot post off the most recent post list for this board.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-13-2015 , 08:53   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #390

Quote:
Originally Posted by Powerlord View Post
I'm totally not posting this just to move the now-deleted spambot post off the most recent post list for this board.
Spoiler
Potato Uno is offline
Reply



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 07:26.


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