I think you're on to something. I did a new compile and searched through the
logs. I can find references to the standard HL2 weapons being compiled, such
as

 

/usr/bin/g++-3.4 -m32 -g -w -I../game/server/../../common
-I../game/server/../../public -I../game/server/../../public/tier0
-I../game/server/../../public/tier1 -I../game/server/.
-I../game/server/../../game/shared -I../game/server/../../utils/common
-I../game/server/../../game/shared/hl2 -I../game/server/./hl2
-I../game/server/./hl2mp -I../game/server/../../game/shared/hl2mp
-I../game/server/../../game/shared/multiplayer -DNDEBUG -D_USRDLL
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DGAME_DLL -DVECTOR
-DPROTECTED_THINGS_ENABLE -Dfopen=dont_use_fopen
-Dsprintf=use_Q_snprintf_instead_of_sprintf -Dstrncpy=use_Q_strncpy_instead
-D_snprintf=use_Q_snprintf_instead -DHL2MP -DMP_SDK -DHL2_DLL
-DVERSION_SAFE_STEAM_API_INTERFACES  -mtune=i686 -march=pentium -mmmx -msse
-pipe  -DVPROF_LEVEL=1 -DSWDS -D_LINUX -DLINUX -DNDEBUG -fpermissive
-Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp
-Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf
-D_alloca=alloca -Dstrcmpi=strcasecmp
-Usprintf=use_Q_snprintf_instead_of_sprintf -Ustrncpy=use_Q_strncpy_instead
-Ufopen=dont_use_fopen -UPROTECTED_THINGS_ENABLE -o
obj/server_i486/game/servs./shared/hl2mp/weapon_smg1.o -c
../game/server/../shared/hl2mp/weapon_smg1.cpp

 

But I can't find anything for my own new entities, they don't show up at all
in the compile log. 

 

Kind regards,

Radimir

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Radimir Bobev
Sent: Thursday, September 5, 2013 3:43 PM
To: 'Discussion of Half-Life Programming'
Subject: Re: [hlcoders] Linux srcds does not seem to use mod's libraries

 

This is something new to me. VPC scripts were not mentioned in the guide for
compiling under Linux at the wiki, or at another guide that I read. I
assumed that the vcpm tool which converts the VC project to a makefile
should take care of all that. Could you give me some pointers for those VPC
scripts, I can't find them mentioned in any related guides with a quick
google search.

 

Kind regards,

Radimir

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Saul Rennison
Sent: Thursday, September 5, 2013 3:40 PM
To: Discussion of Half-Life Programming
Subject: Re: [hlcoders] Linux srcds does not seem to use mod's libraries

 

Did you add your new entities to the VPC scripts before you compiled? Or did
you just add them to your Visual Studio solution? Seems like your mod is
being compiled, just not with any of the new mod files you added.




 

Kind regards,

Saul Rennison

 

On 5 September 2013 14:28, Radimir Bobev <[email protected]> wrote:

Hi again guys, I finally managed to compile my Linux srcds, but now I'm
having a very weird issue when I try running the mod. When I run srcds, I
get all sorts of errors like these:

 

Attempted to create unknown entity type weapon_nailgun!

Can't init weapon_nailgun

Attempted to create unknown entity type pm_health_large!

Can't init pm_health_large

Attempted to create unknown entity type pm_armor_small!

Can't init pm_armor_small

Attempted to create unknown entity type pm_armor_large!

Can't init pm_armor_large

 

Also, the server is not listed in the server browser for the mod, and if I
try to connect to it manually, I get this:

 

Host_Error: Unexepected authentication protocol -2119095924!

 

All of this sounds to me like it didn't load the mod's libraries. However,
in the beginning of srcds's output, I see this:

 

Game.dll loaded for "Platform"

 

So it *does* seem to be loading the mod's libraries. What could be wrong?
I'm stumped.

 

Kind regards,

Radimir


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to