stanriders / hl2-asw-port

Porting Half-Life 2 base to the Alien Swarm Engine
Other
24 stars 11 forks source link

Maps crash on loading #2

Open SuperNexus4 opened 8 years ago

SuperNexus4 commented 8 years ago

Hi there,

I am using the HL2 ASW build for my mod. I am using Visual Studio 2010 to compile the source code, and changed the custom build step outputs to my mod's bin folder.

Now, I start up my mod as normal, but here is the issue: Whenever I go into the Developer Console, I attempt to load up a map, and the game will attempt to load the map for about a split second before crashing.

I eventually found the source of the problem by loading up a .mdmp file and noticed that the issue points to line 1436 in gameinterface.cpp of my mod's server-side code.

The error reads as:

TheNavMesh->Reset();

So that being said, I was wondering if there is something I need to fix/add/remove to ultimately fix said issue?

NOTE: I am also using the structure_seal func_brush entity for my maps, and they still won't load.

stanriders commented 8 years ago

Hi.

First, you shouldn't use structure_seal for your maps, just make them as in any Half-Life 2 game. You may even use hl2 tools

Second, try loading any HL2 map (i'd recommend d1_canals_01) and see if its going to crash.

SuperNexus4 commented 8 years ago

I tried loading some HL2 maps, and it still crashes.

I'm also using the Alien Swarm SDK and its Hammer Editor to make the maps.

stanriders commented 8 years ago

You have all necessary content? (all hl2-related content packs from Source Filmmaker workshop http://steamcommunity.com/id/valve_artists/myworkshopfiles/?appid=1840)

Could you please send me .mdmp file?

SuperNexus4 commented 8 years ago

I own all of the HL2 games, as well as Alien Swarm.

I can send you the .mdmp file. Do you have an e-mail address I can send it to? (Since GitHub strangely won't let me post it here.)

SuperNexus4 commented 8 years ago

Nevermind, here is the .mdmp file for you to look at. It'll point to the error in the source code of my mod.

https://www.dropbox.com/s/saf97zfk0xb00te/swarm_4993_crash_2015_10_25T19_14_44C0.mdmp?dl=0

SuperNexus4 commented 8 years ago

Despite the fact that the crash dump file points to the issue that causes my mod to crash, I'm just not sure what I should do next or how I can go about fixing the issue.

GuestSneezeOSDev commented 1 month ago

is this still an issue?

stanriders commented 1 month ago

You tell me, its been 10 years ¯_(ツ)_/¯

GuestSneezeOSDev commented 1 month ago

idk?

GuestSneezeOSDev commented 1 month ago

close issue

stanriders commented 1 month ago

Is it not reproducible anymore?

GuestSneezeOSDev commented 1 month ago

@stanriders yes it is no longer reproducible