Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[HLDMS] Multiple double spawned entities in MP Maps

Open Dmx6 opened this issue 13 years ago • 20 comments

==Frenzy== The Glasses are twice aviable in the Map: frenzy1

Also the Crates are twice aviable, everywhere: frenzy2

Twice Crate, and a wrong alingmented Nodraw Texture i think: frenzy3

Wrong Model for the Snark Weapon: frenzy4

==Datacore== This Door is aviable twice in the Map: datacore

==Rapidcore== Info_ladder Error in the Console:

rapidcore

==Snarkpit== This thing is twice aviable in the Map, one rotating and one not: snarkpit

The Fan is aviable twice, and you can NOT fly on the activated fan: snarkpit2

==Undertow== The Elevator is aviable twice: undertow

==Subtransit== All Elevators are aviable twice: subtransit1

Uhm yeah, happens to the attached door too: subtransit3

==Stalkyard== Twice aviable door: unbenannt

Here too: unbenannt2

This too: unbenannt3

Aand the mounted gun too: unbenannt4

==Crossfire== Mounted Guns dont work: unbenannt6

Weird parented Brush, happend on all elevators: unbenannt7

==All Maps== *The Jump Module dont dissappear after getting it. *Displacement + Gauss Gun = Selfkill. The beam kills you almost every time. *The Weapon demage settings dont fit to the original HLDMS settings.

Dmx6 avatar Sep 22 '13 10:09 Dmx6

==Subtransit== Train is available twice.

snapchipper avatar Sep 23 '13 11:09 snapchipper

Also on Crossfire, the windows are available twice as well.

http://youtu.be/n9AY8gQcikg

Yesbuddy avatar Sep 23 '13 21:09 Yesbuddy

We wonder when this gonna get fixed? This game is suffering by Valve-time.

BlackShadow avatar Aug 21 '17 15:08 BlackShadow

Come on Valve, fix this already...

DUSK-D avatar Dec 09 '17 19:12 DUSK-D

I do believe the reason why this bug is possible is because a mod-specific CServerGameDLL::LevelInit_ParseAllEntities is not empty. If that's the case, adding a new cvar to let server operators turn it on/off would be nice, as I'd imagine community made maps to be designed with this bug in mind.

mutezero avatar Nov 20 '19 08:11 mutezero

@kisak-valve Any progress?

tyabus avatar Apr 16 '20 15:04 tyabus

I do believe the reason why this bug is possible is because a mod-specific CServerGameDLL::LevelInit_ParseAllEntities is not empty. If that's the case, adding a new cvar to let server operators turn it on/off would be nice, as I'd imagine community made maps to be designed with this bug in mind.

@iamthezzeroLeo K could you please send in a "pull request" for this? this bug breaks everything lifts,door, props, ect. Thanks

1157 avatar Dec 13 '20 20:12 1157

@iamthezzero could you please send in a "pull request" for this? this bug breaks everything lifts,door, props, ect. Thanks

I can't imagine how one would do that, especially since it's in the HLDM:S code.
I gave enough hints to have it fixed, but I'm afraid it's one of the lowest priority bugs in Valve's list, despite the fix being very simple.

mutezero avatar Dec 13 '20 21:12 mutezero

@1157 @iamthezzero HLDM:S SDK Branch was never released to the public (except for leaks). I was unable to make it run. You can try to patch server binary to skip this function call.

tyabus avatar Dec 14 '20 07:12 tyabus

@iamthezzeroLeoK @tyabus Thanks for the info, seems like all the bugs here are very low prio. With the exception of the recent l4d2 LS update no game has been touched unless is has microtransactions IE: CSGO,TF2. Valve has forgotten just how they got to where they are now. And how important the half-life series and mods ( hl1mp,hl2mp,CSS,DOD) were to their success. I 'll see if i can find someone to do some patching.

1157 avatar Dec 16 '20 00:12 1157

@tyabus @iamzeroLeoK I map for HLDMS, isnt this the same SDK AS HL2MP. CSS,TF2,DOD The 2013 mp version. all i add is gameinfo.txt and FGD config hammer and i can map with no problems, all the mentioned games use the same SDK you just add certain gameinfo.txt and FGD file's and like to tell the SDK what mod it is for.

https://developer.valvesoftware.com/wiki/Source_2013

1157 avatar Dec 19 '20 18:12 1157

Looks like they all show "void"( **click right arrow to see code**)

` 10 code results in ValveSoftware/source-sdk-2013 or view all results on GitHub mp/src/game/server/base_gameinterface.cpp maxplayers = MAX_PLAYERS; }

// -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 mp/src/game/server/hl2mp/hl2mp_gameinterface.cpp // -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 mp/src/game/server/sdk/sdk_gameinterface.cpp defaultMaxPlayers = 32; }

// -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 sp/src/game/server/base_gameinterface.cpp maxplayers = MAX_PLAYERS; }

// -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 sp/src/game/server/hl2mp/hl2mp_gameinterface.cpp // -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 sp/src/game/server/sdk/sdk_gameinterface.cpp defaultMaxPlayers = 32; }

// -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- //

void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { } C++ Showing the top three matches Last indexed on Jun 27, 2018 sp/src/game/server/gameinterface.h // Notify that the player is spawned virtual void ClientSpawned( edict_t *pPlayer ); };

class CServerGameDLL : public IServerGameDLL // with the entity list. void LevelInit_ParseAllEntities( const char *pMapEntities ); void LoadMessageOfTheDay(); void LoadSpecificMOTDMsg( const ConVar &convar, const char *pszStringName ); C++ Showing the top two matches Last indexed on Jun 27, 2018 mp/src/game/server/gameinterface.cpp DrawMessageEntities(); }

CServerGameDLL g_ServerGameDLL; // INTERFACEVERSION_SERVERGAMEDLL_VERSION_8 is compatible with the latest since we're only adding things to the end, so expose that as well. //EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CServerGameDLL, IServerGameDLL008, INTERFACEVERSION_SERVERGAMEDLL_VERSION_8, g_ServerGameDLL ); C++ Showing the top two matches Last indexed on Jun 27, 2018 sp/src/game/server/gameinterface.cpp // A hack to draw point_message entities w/o developer required DrawMessageEntities(); }

CServerGameDLL g_ServerGameDLL; // INTERFACEVERSION_SERVERGAMEDLL_VERSION_8 is compatible with the latest since we're only adding things to the end, so expose that as well. EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CServerGameDLL, IServerGameDLL008, INTERFACEVERSION_SERVERGAMEDLL_VERSION_8, g_ServerGameDLL ); C++ Showing the top two matches Last indexed on Jun 27, 2018 mp/src/game/server/gameinterface.h virtual void ClientSpawned( edict_t *pPlayer ) OVERRIDE; };

class CServerGameDLL : public IServerGameDLL { public: virtual bool DLLInit(CreateInterfaceFn engineFactory, CreateInterfaceFn physicsFactory, // This can just be a wrapper on MapEntity_ParseAllEntities, but CS does some tricks in here // with the entity list. void LevelInit_ParseAllEntities( const char *pMapEntities ); C++ Showing the top two matches Last indexed on Jun 27, 2018 ggggggggg`

1157 avatar Dec 21 '20 01:12 1157

Perhaps Valve should always use Visual Studio to look at every bug in Half-Life Source and Half-Life Deathmatch Source code using any YouTuber's video as reference, rather than using any of the official outdated Source Engine SDK tools.

https://youtu.be/SmQGWnYXEDM

Wadmodder avatar May 07 '23 01:05 Wadmodder

Confirmed still broken as of the 64-bit source update released today.

Skazzy3 avatar Feb 18 '25 21:02 Skazzy3

The game still has the duplication issue with the 64-bit Source update. @kisak-valve This still proves that Valve doesn't give a S*** about either HLS or HLDMS.

Wadmodder avatar Feb 22 '25 00:02 Wadmodder

Put this code in Already >:(

Wadmodder avatar Apr 26 '25 17:04 Wadmodder

It's been 12 years Valve will never fix this, If your running a Dedicated server hldms does have support, use sourcemod ver 1.13.0. 7215 with Metamod 2.0.0 dev+1334 with the plugin at Gamebanana.com/mods/534243 lifts, windows, healthkits everything is fixed it's sad they only way something that breaks gameplay gets fixed is by the community.

1157 avatar Apr 26 '25 17:04 1157

In Fact, the community has 80% more resources to fix the unmaintained games than what Valve has on offer.

Wadmodder avatar Dec 19 '25 23:12 Wadmodder

I have been using a version on this for a while now works perfect, the plugin alone fixes the double bug. maybe Valve should just close up git hub whats the point of hording issues and never fixing anything.

1157 avatar Dec 21 '25 19:12 1157

I made a pull request in the Source SDK 2013 repo that fixes this bug.

https://github.com/ValveSoftware/source-sdk-2013/pull/1839

ghost avatar Mar 14 '26 09:03 ghost