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

[EXTENSION] NPC in CS:S - Updated 2012-7-4


Post New Thread Reply   
 
Thread Tools Display Modes
madman200
Junior Member
Join Date: Aug 2012
Old 02-11-2013 , 20:13   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #111

It would be nice to get this in CS:GO or other source mods.
madman200 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-12-2013 , 23:43   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #112

Quote:
Originally Posted by madman200 View Post
It would be nice to get this in CS:GO or other source mods.
Pretty sure this died when the gamedata file is missing +100 signatures or what ever.
Plus we ARE NOT even sure cs:go (since it's on a new engine and what not) would have the npc's etc.
Mitchell is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-13-2013 , 00:08   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #113

Quote:
Originally Posted by Mitchell View Post
Pretty sure this died when the gamedata file is missing +100 signatures or what ever.
Plus we ARE NOT even sure cs:go (since it's on a new engine and what not) would have the npc's etc.
I highly doubt it would work easily on CSGO, as it is in common/ folder, and therefore I believe it is not using .gcf files; meaning it is missing a shitload of files.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 02-13-2013 at 00:08.
RedSword is offline
lagers
Junior Member
Join Date: Feb 2013
Old 02-23-2013 , 14:30   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #114

Raydan, write please detailed instruction how to build this extension and make a new gamedata, and we will continue your work.
I tried to compile under Linux, but it writes errors:
Code:
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$  make ENGINE=orangebox
if [ "true" = "true" ] && [ "true" = "false" ]; then \
		echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
		exit 1; \
	fi
mkdir -p Release.orangebox/sdk
ln -sf ../../../hl2sdk-ob/lib/linux/vstdlib_i486.so vstdlib_i486.so;
ln -sf ../../../hl2sdk-ob/lib/linux/tier0_i486.so tier0_i486.so;
make -f Makefile extension
make[1]: Entering directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
if [ "true" = "true" ] && [ "true" = "false" ]; then \
		echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
		exit 1; \
	fi
gcc -I../../../hl2sdk-ob/public/tier3 -I../sourcemod-npc-in-css/CEntity -I../../../hl2sdk-ob/public/game/server -I../../../hl2sdk-ob/game/server -I../../../hl2sdk-ob/common -I../../../hl2sdk-ob/game/shared -I../../../hl2sdk-ob/public/toolframework -I. -I.. -Isdk -I../../../hl2sdk-ob/public -I../../../hl2sdk-ob/public/engine -I../../../hl2sdk-ob/public/mathlib -I../../../hl2sdk-ob/public/tier0 -I../../../hl2sdk-ob/public/tier1 -I../../../mmsource-central/core -I../../../mmsource-central/core/sourcehook -I../../public -I../../public/extensions -I../../public/sourcepawn -DSOURCE_ENGINE=3 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release.orangebox/extension.o -c extension.cpp
In file included from extension.h:18:0,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/IEffects.h:23:6: error: use of enum ‘ShakeCommand_t’ without previous declaration
In file included from ../../../hl2sdk-ob/game/shared/igamemovement.h:19:0,
                 from extension.h:22,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/imovehelper.h:20:6: error: use of enum ‘PLAYER_ANIM’ without previous declaration
In file included from ../../../hl2sdk-ob/game/shared/igamemovement.h:19:0,
                 from extension.h:22,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/imovehelper.h:81:35: error: ‘PLAYER_ANIM’ has not been declared
In file included from extension.h:38:0,
                 from extension.cpp:2:
sign_func.h:22:6: error: use of enum ‘Navigation_t’ without previous declaration
sign_func.h:32:6: error: use of enum ‘FlankType_t’ without previous declaration
In file included from extension.h:38:0,
                 from extension.cpp:2:
sign_func.h:164:28: error: ‘Navigation_t’ has not been declared
sign_func.h:168:171: error: ‘FlankType_t’ has not been declared
In file included from CEntity/AI/CAI_NetworkManager.h:5:0,
                 from extension.cpp:3:
CEntity/AI/CAI_Network.h:18:6: error: use of enum ‘Hull_t’ without previous declaration
CEntity/AI/CAI_Network.h:58:28: error: ‘Hull_t’ has not been declared
In file included from CEntity/AI/CAI_NetworkManager.h:5:0,
                 from extension.cpp:3:
CEntity/AI/CAI_Network.h:96:66: error: ‘Hull_t’ has not been declared
CEntity/AI/CAI_Network.h:97:47: error: ‘Hull_t’ has not been declared
In file included from extension.cpp:3:0:
CEntity/AI/CAI_NetworkManager.h: In member function ‘virtual void CEAI_NetworkManager::m_pNetworkPropTracker::InitProp(CEntity*)’:
CEntity/AI/CAI_NetworkManager.h:22:2: error: ‘dynamic_cast’ not permitted with -fno-rtti
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:60:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:61:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual bool Monster::SDK_OnLoad(char*, size_t, bool)’:
extension.cpp:162:66: error: ‘VirtualQuery’ was not declared in this scope
extension.cpp:165:27: error: NULL used in arithmetic [-Werror=pointer-arith]
cc1plus: all warnings being treated as errors
make[1]: *** [Release.orangebox/extension.o] Error 1
make[1]: Leaving directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
make: *** [all] Error 2
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$
What could I do wrong?

Last edited by lagers; 02-24-2013 at 05:33.
lagers is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 02-24-2013 , 05:36   Re: [EXTENSION] NPC in CS:S
Reply With Quote #115

Quote:
Originally Posted by xbatista View Post
HL2 COOP maps pis**** you? Or bugged as hell?
Not a problem, here I made SM monster creator tool:
Write in console: cmonster . It will open menu to spawn monsters where you want, how many and for how long. It creates/spawns monsters at where you aim to.
Write in console: cmonster_del . To delete whole currently playing monster map CFG file also remove all yours created monsters.


Note : At spawn count menu "0" value means instant spawn.
Requirements : SDKHooks.

Plugin works without any crashes and errors in log.
Does this work even without the NPC extension?
__________________
zeroibis is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 02-24-2013 , 05:44   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #116

Quote:
Originally Posted by lagers View Post
Raydan, write please detailed instruction how to build this extension and make a new gamedata, and we will continue your work.
I tried to compile under Linux, but it writes errors:
Code:
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$  make ENGINE=orangebox
if [ "true" = "true" ] && [ "true" = "false" ]; then \
        echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
        exit 1; \
    fi
mkdir -p Release.orangebox/sdk
ln -sf ../../../hl2sdk-ob/lib/linux/vstdlib_i486.so vstdlib_i486.so;
ln -sf ../../../hl2sdk-ob/lib/linux/tier0_i486.so tier0_i486.so;
make -f Makefile extension
make[1]: Entering directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
if [ "true" = "true" ] && [ "true" = "false" ]; then \
        echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
        exit 1; \
    fi
gcc -I../../../hl2sdk-ob/public/tier3 -I../sourcemod-npc-in-css/CEntity -I../../../hl2sdk-ob/public/game/server -I../../../hl2sdk-ob/game/server -I../../../hl2sdk-ob/common -I../../../hl2sdk-ob/game/shared -I../../../hl2sdk-ob/public/toolframework -I. -I.. -Isdk -I../../../hl2sdk-ob/public -I../../../hl2sdk-ob/public/engine -I../../../hl2sdk-ob/public/mathlib -I../../../hl2sdk-ob/public/tier0 -I../../../hl2sdk-ob/public/tier1 -I../../../mmsource-central/core -I../../../mmsource-central/core/sourcehook -I../../public -I../../public/extensions -I../../public/sourcepawn -DSOURCE_ENGINE=3 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release.orangebox/extension.o -c extension.cpp
In file included from extension.h:18:0,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/IEffects.h:23:6: error: use of enum ‘ShakeCommand_t’ without previous declaration
In file included from ../../../hl2sdk-ob/game/shared/igamemovement.h:19:0,
                 from extension.h:22,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/imovehelper.h:20:6: error: use of enum ‘PLAYER_ANIM’ without previous declaration
In file included from ../../../hl2sdk-ob/game/shared/igamemovement.h:19:0,
                 from extension.h:22,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/shared/imovehelper.h:81:35: error: ‘PLAYER_ANIM’ has not been declared
In file included from extension.h:38:0,
                 from extension.cpp:2:
sign_func.h:22:6: error: use of enum ‘Navigation_t’ without previous declaration
sign_func.h:32:6: error: use of enum ‘FlankType_t’ without previous declaration
In file included from extension.h:38:0,
                 from extension.cpp:2:
sign_func.h:164:28: error: ‘Navigation_t’ has not been declared
sign_func.h:168:171: error: ‘FlankType_t’ has not been declared
In file included from CEntity/AI/CAI_NetworkManager.h:5:0,
                 from extension.cpp:3:
CEntity/AI/CAI_Network.h:18:6: error: use of enum ‘Hull_t’ without previous declaration
CEntity/AI/CAI_Network.h:58:28: error: ‘Hull_t’ has not been declared
In file included from CEntity/AI/CAI_NetworkManager.h:5:0,
                 from extension.cpp:3:
CEntity/AI/CAI_Network.h:96:66: error: ‘Hull_t’ has not been declared
CEntity/AI/CAI_Network.h:97:47: error: ‘Hull_t’ has not been declared
In file included from extension.cpp:3:0:
CEntity/AI/CAI_NetworkManager.h: In member function ‘virtual void CEAI_NetworkManager::m_pNetworkPropTracker::InitProp(CEntity*)’:
CEntity/AI/CAI_NetworkManager.h:22:2: error: ‘dynamic_cast’ not permitted with -fno-rtti
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:60:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:61:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual bool Monster::SDK_OnLoad(char*, size_t, bool)’:
extension.cpp:162:66: error: ‘VirtualQuery’ was not declared in this scope
extension.cpp:165:27: error: NULL used in arithmetic [-Werror=pointer-arith]
cc1plus: all warnings being treated as errors
make[1]: *** [Release.orangebox/extension.o] Error 1
make[1]: Leaving directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
make: *** [all] Error 2
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$
What could I do wrong?
I do not think the extension ever did support linux, only windows. Would be nice to see a way to have this thing maintained easily by the community even if just for windows.
__________________
zeroibis is offline
lagers
Junior Member
Join Date: Feb 2013
Old 02-24-2013 , 06:33   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #117

In linux missing several enums and structures. They can be taken from windows, but I have no windows. I need:
Code:
enum ShakeCommand_t
enum PLAYER_ANIM
enum Navigation_t
enum FlankType_t
enum Hull_t

Last edited by lagers; 02-24-2013 at 06:41.
lagers is offline
lagers
Junior Member
Join Date: Feb 2013
Old 02-24-2013 , 07:20   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #118

I fix some errors. Now it writes such errors:
Code:
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$ make ENGINE=orangebox
if [ "true" = "true" ] && [ "true" = "false" ]; then \
		echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
		exit 1; \
	fi
mkdir -p Release.orangebox/sdk
ln -sf ../../../hl2sdk-ob/lib/linux/vstdlib_i486.so vstdlib_i486.so;
ln -sf ../../../hl2sdk-ob/lib/linux/tier0_i486.so tier0_i486.so;
make -f Makefile extension
make[1]: Entering directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
if [ "true" = "true" ] && [ "true" = "false" ]; then \
		echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
		exit 1; \
	fi
gcc -I../../../hl2sdk-ob/public/tier3 -I../sourcemod-npc-in-css/CEntity -I../../../hl2sdk-ob/public/game/server -I../../../hl2sdk-ob/game/server -I../../../hl2sdk-ob/common -I../../../hl2sdk-ob/game/shared -I../../../hl2sdk-ob/public/toolframework -I. -I.. -Isdk -I../../../hl2sdk-ob/public -I../../../hl2sdk-ob/public/engine -I../../../hl2sdk-ob/public/mathlib -I../../../hl2sdk-ob/public/tier0 -I../../../hl2sdk-ob/public/tier1 -I../../../mmsource-central/core -I../../../mmsource-central/core/sourcehook -I../../public -I../../public/extensions -I../../public/sourcepawn -DSOURCE_ENGINE=3 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release.orangebox/extension.o -c extension.cpp
In file included from ../../../hl2sdk-ob/game/server/ai_tacticalservices.h:8:0,
                 from sign_func.h:15,
                 from extension.h:38,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/server/ai_component.h:31:38: error: ISO C++ forbids declaration of ‘DECLARE_CLASS_NOBASE’ with no type [-fpermissive]
In file included from extension.cpp:3:0:
CEntity/AI/CAI_NetworkManager.h: In member function ‘virtual void CEAI_NetworkManager::m_pNetworkPropTracker::InitProp(CEntity*)’:
CEntity/AI/CAI_NetworkManager.h:22:2: error: ‘dynamic_cast’ not permitted with -fno-rtti
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:60:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:61:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual bool Monster::SDK_OnLoad(char*, size_t, bool)’:
extension.cpp:162:66: error: ‘VirtualQuery’ was not declared in this scope
extension.cpp:165:27: error: NULL used in arithmetic [-Werror=pointer-arith]
cc1plus: all warnings being treated as errors
make[1]: *** [Release.orangebox/extension.o] Error 1
make[1]: Leaving directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
make: *** [all] Error 2
Help plz fix them

Last edited by lagers; 02-24-2013 at 07:21.
lagers is offline
lagers
Junior Member
Join Date: Feb 2013
Old 02-24-2013 , 08:41   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #119

Quote:
Originally Posted by zeroibis View Post
... Would be nice to see a way to have this thing maintained easily by the community even if just for windows.
Good idea, css has all basic modes, except cooperative. I too think that this extension should be maintained by the community. On its basis many different games can be created
lagers is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-25-2013 , 07:37   Re: [EXTENSION] NPC in CS:S - Updated 2012-7-4
Reply With Quote #120

Quote:
Originally Posted by lagers View Post
I fix some errors. Now it writes such errors:
Code:
mypc@N53Jg:~/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css$ make ENGINE=orangebox
if [ "true" = "true" ] && [ "true" = "false" ]; then \
        echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
        exit 1; \
    fi
mkdir -p Release.orangebox/sdk
ln -sf ../../../hl2sdk-ob/lib/linux/vstdlib_i486.so vstdlib_i486.so;
ln -sf ../../../hl2sdk-ob/lib/linux/tier0_i486.so tier0_i486.so;
make -f Makefile extension
make[1]: Entering directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
if [ "true" = "true" ] && [ "true" = "false" ]; then \
        echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
        exit 1; \
    fi
gcc -I../../../hl2sdk-ob/public/tier3 -I../sourcemod-npc-in-css/CEntity -I../../../hl2sdk-ob/public/game/server -I../../../hl2sdk-ob/game/server -I../../../hl2sdk-ob/common -I../../../hl2sdk-ob/game/shared -I../../../hl2sdk-ob/public/toolframework -I. -I.. -Isdk -I../../../hl2sdk-ob/public -I../../../hl2sdk-ob/public/engine -I../../../hl2sdk-ob/public/mathlib -I../../../hl2sdk-ob/public/tier0 -I../../../hl2sdk-ob/public/tier1 -I../../../mmsource-central/core -I../../../mmsource-central/core/sourcehook -I../../public -I../../public/extensions -I../../public/sourcepawn -DSOURCE_ENGINE=3 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release.orangebox/extension.o -c extension.cpp
In file included from ../../../hl2sdk-ob/game/server/ai_tacticalservices.h:8:0,
                 from sign_func.h:15,
                 from extension.h:38,
                 from extension.cpp:2:
../../../hl2sdk-ob/game/server/ai_component.h:31:38: error: ISO C++ forbids declaration of ‘DECLARE_CLASS_NOBASE’ with no type [-fpermissive]
In file included from extension.cpp:3:0:
CEntity/AI/CAI_NetworkManager.h: In member function ‘virtual void CEAI_NetworkManager::m_pNetworkPropTracker::InitProp(CEntity*)’:
CEntity/AI/CAI_NetworkManager.h:22:2: error: ‘dynamic_cast’ not permitted with -fno-rtti
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:60:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual void __SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl::DeleteThis()’:
extension.cpp:61:1: error: deleting object of polymorphic class type ‘__SourceHook_FHCls_IServerGameClientsSetCommandClient0::CMyDelegateImpl’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
extension.cpp: In member function ‘virtual bool Monster::SDK_OnLoad(char*, size_t, bool)’:
extension.cpp:162:66: error: ‘VirtualQuery’ was not declared in this scope
extension.cpp:165:27: error: NULL used in arithmetic [-Werror=pointer-arith]
cc1plus: all warnings being treated as errors
make[1]: *** [Release.orangebox/extension.o] Error 1
make[1]: Leaving directory `/home/mypc/sourceSDK/sourcemod-central/extensions/sourcemod-npc-in-css'
make: *** [all] Error 2
Help plz fix them
You should start with the right sdk. It's hl2sdk-css or hl2sdk-ob-valve instead of just hl2sdk-ob.
I actually updated the gamedata once 90%, but still have some class member variable offsets to find. psychonic changed the sdk to merge a fix by raydan and other stuff related to sound used by this extension.

This gamedata isn't done completely yet and still needs some work. Maybe raydan himself could share some of them. Someone could pick it up. I added the linux symbol/offset when a change was needed, so there is still some more linux gamedata missing.
Attached Files
File Type: txt gdc-output.txt (47.2 KB, 155 views)
File Type: txt monster.cstrike.games.txt (76.3 KB, 181 views)
__________________

Last edited by Peace-Maker; 02-26-2013 at 19:54.
Peace-Maker is offline
Reply


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 22:02.


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