PlayerInfo killcount (etc) unsaved when travelling hubs (MP)

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

PlayerInfo killcount (etc) unsaved when travelling hubs (MP)

Postby Nash » Mon Mar 01, 2021 12:25 am

During a multiplayer game, if you are using the AltHUD, the counters for kills, items and secrets have three numbers, in this order:

Your personal stat / Stat for the current level / Total amount in the level

So for example, a kill counter of 3/10/150 would mean: I killed 3 monsters/a total of 10 monsters have been killed in this level (by any player)/there are a total of 150 monsters on this level.

However, when playing games with hub maps (like Hexen or Strife), the first number always gets reset to 0. So, for example, if I killed 3 monsters in MAP01, then travel to MAP02, then go back to MAP01, my personal kill stat for MAP01 will show 0.

It looks like the killcount, itemcount and secretcount fields on PlayerInfo aren't saved per level.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: PlayerInfo killcount (etc) unsaved when travelling hubs

Postby Graf Zahl » Mon Mar 01, 2021 1:05 am

It's a known issue. Back when the feature to collect info across a hub was implemented the whole thing was too messed up to handle multiplayer and it never became urgent.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Bugs

Who is online

Users browsing this forum: Marisa Kirisame and 0 guests