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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000639Zandronum[All Projects] Bugpublic2011-12-24 18:342018-09-30 19:54
ReporterSickSadWorld 
Assigned ToDusk 
PriorityhighSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version98d 
Target VersionFixed in Version1.0 
Summary0000639: Hexen armorclass (AC) resets after Teleport_toMap in the display
DescriptionWhen a user changes to another map their SBARINFO displays the AC going back down to the Playerclass' default. Functionally, the user behaves as if they had their original AC but the display is consistently off and it affects gameplay.
Steps To ReproduceGet some armor. Change map. Look at the display.
Attached Filespng file icon Screenshot_Hexen_20120112_160120.png [^] (65,233 bytes) 2012-01-12 22:05


png file icon Screenshot_Hexen_20120112_160129.png [^] (72,306 bytes) 2012-01-12 22:05

- Relationships
duplicate of 0000242closed Hexen, armor and pieces of last weapon disappear 
related to 0000640closedDusk Hexen Weapon pieces disappear in the display between levels 

-  Notes
User avatar (0002358)
Torr Samaho (administrator)
2012-01-12 12:27

Can somebody please confirm whether this is still broken in the latest 98e beta build?
User avatar (0002361)
SickSadWorld (reporter)
2012-01-12 22:09
edited on: 2012-01-12 22:10

The reported behavior seems to be consistent with respect to ONLINE play in 0.98e build 3299. Of note, this behavior is not observed in offline play.

AC also specifically does not accurately reduce with damage during online play. That is to say, once an AC level is achieved it stays at the highest level regardless of damage taken until the map is changed. This too is not present in offline play, where the behavior works as expected.

Screenshots demonstrate a specific example where an AC level is achieved on the hub map, and immediately on Teleport_toMap AC is reset to its classes base value.

User avatar (0002408)
SickSadWorld (reporter)
2012-01-15 03:07

After further testing it seems only damage from lava or other damage "from the world" makes AC go down. Actor inflicted damage has no effect on AC.
User avatar (0002896)
Dusk (developer)
2012-03-25 21:44
edited on: 2012-03-26 05:28

'https://bitbucket.org/CrimsonDusk/notebola/changeset/4376a8be0238 [^]'
'https://bitbucket.org/CrimsonDusk/notebola/changeset/34b5d5a3fd34 [^]'
'https://bitbucket.org/CrimsonDusk/notebola/changeset/1deb29879820 [^]'

Phew! Had to pretty much establish netcode for Hexen armor class values. Enjoy your synced Hexen armor. :)

3/26: third commit with missing sanity check

User avatar (0002909)
Torr Samaho (administrator)
2012-03-27 01:59

Patches added with two small fixes (the clients didn't parse the full net command in case of an error and there was a missing ulClient in the SERVERCOMMANDS_SetHexenArmorSlots call in SERVER_SendFullUpdate). I also fixed that the Hexen armor value got out of sync when the "give armor" cheat was used.
User avatar (0002937)
Torr Samaho (administrator)
2012-03-28 01:25
edited on: 2012-03-28 01:34

Due to some problems (0000348:0002918) with the Hexen armor code (that are fixed now), I noticed that SERVERCOMMANDS_SetHexenArmorSlots in AHexenArmor::AbsorbDamage is called even in non-Hexen games. Does anybody know if AHexenArmor::AbsorbDamage is supposed to be absorbing something when bots are telefragged in Doom in d2ctf2?

Moreover, if clients don't need to know about the Hexen armor in non-Hexen games, I'll disable the code there to save net traffic.

User avatar (0002964)
Dusk (developer)
2012-03-28 17:11

Probably isn't... I'll go over and do some optimizations.
User avatar (0002973)
Dusk (developer)
2012-03-28 23:25

'https://bitbucket.org/CrimsonDusk/notebola/changeset/0e5dae6aa43d [^]'

Should be fixed. There was code to ensure only modified armor was sent, but bAbsorbed wasn't initialized properly, so it defaulted to true, causing it to think armor was always changed, sending updates all the time and wasting bandwidth.
User avatar (0002979)
Torr Samaho (administrator)
2012-03-29 01:56

Thanks! Patch added.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2011-12-24 18:34 SickSadWorld New Issue
2012-01-12 12:27 Torr Samaho Note Added: 0002358
2012-01-12 12:27 Torr Samaho Status new => feedback
2012-01-12 22:05 SickSadWorld File Added: Screenshot_Hexen_20120112_160120.png
2012-01-12 22:05 SickSadWorld File Added: Screenshot_Hexen_20120112_160129.png
2012-01-12 22:09 SickSadWorld Note Added: 0002361
2012-01-12 22:09 SickSadWorld Status feedback => new
2012-01-12 22:10 SickSadWorld Note Edited: 0002361 View Revisions
2012-01-15 03:07 SickSadWorld Note Added: 0002408
2012-02-18 16:00 Torr Samaho Relationship added duplicate of 0000242
2012-03-25 02:31 Dusk Assigned To => Dusk
2012-03-25 02:31 Dusk Status new => assigned
2012-03-25 14:32 Dusk Relationship added related to 0000640
2012-03-25 21:44 Dusk Note Added: 0002896
2012-03-25 21:44 Dusk Status assigned => feedback
2012-03-25 22:15 Dusk Note Edited: 0002896 View Revisions
2012-03-26 05:28 Dusk Note Edited: 0002896 View Revisions
2012-03-27 01:59 Torr Samaho Note Added: 0002909
2012-03-27 01:59 Torr Samaho Status feedback => resolved
2012-03-27 01:59 Torr Samaho Fixed in Version => 1.0
2012-03-27 01:59 Torr Samaho Resolution open => fixed
2012-03-28 01:25 Torr Samaho Note Added: 0002937
2012-03-28 01:25 Torr Samaho Status resolved => feedback
2012-03-28 01:25 Torr Samaho Resolution fixed => reopened
2012-03-28 01:34 Torr Samaho Note Edited: 0002937 View Revisions
2012-03-28 01:34 Torr Samaho Note Edited: 0002937 View Revisions
2012-03-28 01:34 Torr Samaho Note Edited: 0002937 View Revisions
2012-03-28 17:11 Dusk Note Added: 0002964
2012-03-28 17:11 Dusk Status feedback => assigned
2012-03-28 23:25 Dusk Note Added: 0002973
2012-03-28 23:25 Dusk Status assigned => feedback
2012-03-29 01:56 Torr Samaho Note Added: 0002979
2012-03-29 10:14 Dusk Status feedback => resolved
2012-03-29 10:14 Dusk Resolution reopened => fixed
2012-06-09 13:22 Torr Samaho Category General => Bug
2018-09-30 19:54 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker