Map loads twice when using +map command line param

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
gramps
Posts: 300
Joined: Thu Oct 18, 2018 2:16 pm

Map loads twice when using +map command line param

Post by gramps »

When I run gzdoom like this:

Code: Select all

./gzdoom.exe -iwad wads/DOOM2.WAD +map map01 -stdout
The level loads twice in a row (notice "map01 - entryway" prints twice).

The second level load is visible if the the level happens to look different the second time around -- that is, you're already in place at the spawn point, seeing the first iteration of the map, when it loads again.

There might be a very fatal error associated with this in some cases.

Tested in 32bit DRD nightly build from last night.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Map loads twice when using +map command line param

Post by Rachael »

gramps wrote:Tested in 32bit DRD nightly build from last night.
Please always include the build number, statements like this mean absolutely nothing when someone's unable to tackle the bug right away.
gramps
Posts: 300
Joined: Thu Oct 18, 2018 2:16 pm

Re: Map loads twice when using +map command line param

Post by gramps »

The filename was gzdoom-g3.8pre-226-ga92090690.7z ... I guess 226 is the build number, and the last part is the commit hash?

Felt pretty sure this would be related to level de-globalization and would be resolved one way or another by the time that's done with, but left it here just in case.
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Map loads twice when using +map command line param

Post by Enjay »

I'm finding it easy to spot using g3.8pre-228-g3df112a7b and a map that plays a short sound via ACS as soon as the map starts. When using +map on the command line, I hear the sound twice.
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Map loads twice when using +map command line param

Post by Rachael »

gramps wrote:The filename was gzdoom-g3.8pre-226-ga92090690.7z ... I guess 226 is the build number, and the last part is the commit hash?
The file name is perfect... and by build number I did mean hash as well, the whole thing is fine though, keep doing that, that's perfect. :)
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Map loads twice when using +map command line param

Post by _mental_ »

Can be fixed like this. I want to be sure that the change fits well with level refactoring.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Map loads twice when using +map command line param

Post by Graf Zahl »

Sadly not. When all is done, each level will have its own list of thinkers, so that commit will undo a lot of my preparation. The problem comes from the feature being incomplete. Static thinkers like the CCMD execution helpers need to be run outside the level's context in a global list, but I haven't gotten to that part yet. I hope do do it over the weekend.
Post Reply

Return to “Closed Bugs [GZDoom]”