Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002706Zandronum[All Projects] Bugpublic2016-04-23 00:092024-03-14 07:52
ReporterMarcus101RR 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
Statusneeds reviewResolutionreopened 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.1 
Target Version3.2Fixed in Version 
Summary0002706: [2.1.2] MaxHealth/MaxArmor resets to 150 after Next Map Online
DescriptionWhen attempting to create Custom MaxHealth / MaxArmor Bonus types for Wad Projects, the inherited value of 150 is capsized thus every map change you will have a maximum of 150 Armor and Health rather than more. If you use a custom item that increases max capacity beyond 150 it will work for the current map, but, when moving to next map it will change to 150 and continue from there.
Steps To ReproduceCreate Wad/PK3 with the code below and use it to get more than 150 max armor or health. When changing the map or moving to the next map on coop it resets to 150 unless you are below 150.
Additional InformationACTOR CustomMaxHealth : MaxHealth
{
    Game Doom
    Game Heretic
    Game Hexen
    +COUNTITEM
    +INVENTORY.ALWAYSPICKUP
    Inventory.Amount 1
    Inventory.MaxAmount 100
    Health 200
    Inventory.PickupMessage "Picked up a Max Health Bonus."
    States
    {
    Spawn:
        BON3 ABCDCB 6
        Loop
    }
}

ACTOR CustomMaxArmor : BasicArmorBonus
{
    Game Doom
    Game Heretic
    Game Hexen
    Radius 20
    Height 16
    Inventory.Pickupmessage "Picked up a Max Armor Bonus."
    Inventory.Icon "ARM1A0"
    Armor.SavePercent 33.33333
    Armor.Saveamount 1
    Armor.MaxSaveAmount 200
    Armor.MaxBonus 1
    Armor.MaxBonusMax 100
    +COUNTITEM
    +INVENTORY.ALWAYSPICKUP
    States
    {
    Spawn:
        BON4 ABCDCB 6
        loop
    }
}
Attached Filespng file icon zKSLFrU.png [^] (451,966 bytes) 2016-04-23 00:09
png file icon Screenshot_Doom_20240310_124754.png [^] (125,185 bytes) 2024-03-10 11:59


? file icon armorhealth_max_01.wad [^] (1,716 bytes) 2024-03-10 11:59

- Relationships

-  Notes
User avatar (0023322)
Ru5tK1ng (updater)
2024-03-09 22:41

Unable to reproduce with with 3.1 either offline or online. Marking this as resolved. Feel free to reopen if you still encounter this bug in some way.
User avatar (0023331)
unknownna (updater)
2024-03-10 11:58

He means Inventory.MaxAmount and Armor.MaxBonusMax revert to a max of 150 after map changes and for incoming clients. I can confirm this is still the case. See the attached screenshot and try it with the example wad. It's an ancient Skulltag issue.
User avatar (0023389)
Ru5tK1ng (updater)
2024-03-13 22:14

Edited ticket to clarify that the bug is online only.
User avatar (0023390)
Ru5tK1ng (updater)
2024-03-14 04:48

Can you try this build and see if it's resolved?

'https://www.mediafire.com/file/guylwqe0jdczhxt/zandronum_3.2_r240311-0546M4.zip/file [^]'
User avatar (0023393)
unknownna (updater)
2024-03-14 06:13

Yeah, that seems to have taken care of it. Nice to finally have it fixed after all these years, good job!
User avatar (0023394)
Ru5tK1ng (updater)
2024-03-14 07:52

Thanks for testing. Merge request created:

'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/56 [^]'

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Marcus101RR Combinebobnt
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-04-23 00:09 Marcus101RR New Issue
2016-04-23 00:09 Marcus101RR File Added: zKSLFrU.png
2024-03-09 22:41 Ru5tK1ng Note Added: 0023322
2024-03-09 22:41 Ru5tK1ng Status new => resolved
2024-03-09 22:41 Ru5tK1ng Resolution open => fixed
2024-03-09 22:41 Ru5tK1ng Fixed in Version => 3.1
2024-03-09 22:41 Ru5tK1ng Target Version => 3.1
2024-03-09 22:41 Ru5tK1ng Additional Information Updated View Revisions
2024-03-10 11:58 unknownna Note Added: 0023331
2024-03-10 11:58 unknownna Status resolved => feedback
2024-03-10 11:58 unknownna Resolution fixed => reopened
2024-03-10 11:59 unknownna File Added: Screenshot_Doom_20240310_124754.png
2024-03-10 11:59 unknownna File Added: armorhealth_max_01.wad
2024-03-10 12:02 unknownna Status feedback => confirmed
2024-03-13 22:14 Ru5tK1ng Note Added: 0023389
2024-03-13 22:14 Ru5tK1ng Summary [2.1.2] MaxHealth/MaxArmor resets to 150 after Next Map => [2.1.2] MaxHealth/MaxArmor resets to 150 after Next Map Online
2024-03-14 04:48 Ru5tK1ng Note Added: 0023390
2024-03-14 04:48 Ru5tK1ng Assigned To => Ru5tK1ng
2024-03-14 04:48 Ru5tK1ng Status confirmed => feedback
2024-03-14 04:48 Ru5tK1ng Fixed in Version 3.1 =>
2024-03-14 04:48 Ru5tK1ng Target Version 3.1 => 3.2
2024-03-14 06:13 unknownna Note Added: 0023393
2024-03-14 07:52 Ru5tK1ng Note Added: 0023394
2024-03-14 07:52 Ru5tK1ng Assigned To Ru5tK1ng =>
2024-03-14 07:52 Ru5tK1ng Status feedback => needs review






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker