Couldn't find game entity 'info_texlights' in game DLL Created 6 years ago2018-11-24 08:29:39 UTC by F0cu5 F0cu5

Created 6 years ago2018-11-24 08:29:39 UTC by F0cu5 F0cu5

Posted 6 years ago2018-11-24 08:29:39 UTC Post #341309
I used texlights within a map using the entity info_texlights. The map loads and runs perfectly on my own machine. When a friend tried to run the map in a server, it failed, and the server gave the following log:

/L 11/21/2018 - 04:57:18: [META] ERROR: Couldn't find game entity 'info_texlights' in game DLL 'cstrike': home/focus/serverfiles/cstrike/dlls/cs.so: undefined symbol: info_texlights

From a little online searching it seems that info_texlights should only be in the MAP file for ZHLT's compile, and we don't want this 'entity' hanging around afterwards in the BSP because it obviously crashes servers.

Is the only solution here to recompile the map using the 'other' texlight method (a text file outside of the MAP file during compile) so that there is no info_texlight entity in the BSP? Or is there some way I can get the original BSP to run on a server via a plugin or a different server setting? I'd rather not have to release a 'fixed' BSP and confuse everybody, if possible.

Thanks,

Focus
Posted 6 years ago2018-11-24 10:05:27 UTC Post #341310
You could try two things:

1. Hide the info_texlights entity, then in the compile dialog:
Check "Save visible objects only" and compile only with HLCSG, with Only Entities, or -onlyents if you're in the Expert mode. The "Save visible visible objects only" flag basically lets the compiler know to not compile anything that is temporarily hidden.

2. Use RipEnt. I've never used it myself, but from what I know, it can be useful in situations like these.
Essentially, it rips out entity data, and allows you to edit it, and back into the map, similar to -onlyents in CSG. Someone correct me if I'm wrong.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 6 years ago2018-11-24 11:04:04 UTC Post #341311
Yeah your best bet is ripenting the entity out after compilation.
Posted 6 years ago2018-11-24 21:34:57 UTC Post #341313
I guess this a MetaMod problem - what version are you using? The normal game shouldn't crash if there is a missing entity.
You should be able to stub out an entity with a plugin but I agree that ripent is the best/easiest solution.
You must be logged in to post a response.