MantisBT - Zandronum
View Issue Details
0004553Zandronum[All Projects] Bugpublic2025-05-18 18:292025-08-07 00:33
Fused 
Kaminsky 
normalmajoralways
needs testingopen 
3.2 
 
0004553: +NOMORPHLIMITATIONS actors are not properly given a weapon online.
- MAP01
- ACS morphs player which has an invisible weapon into a player with no weapon.
- Wait one second
- Player is given a shotgun.

Online, the player is not given a shotgun. Even calling `use shotgun` yields nothing.
It is fixed once you call `changemap MAP01`.
No tags attached.
zip MorphBug.zip (2,524) 2025-05-18 18:29
/tracker/file_download.php?file_id=3277&type=bug
Issue History
2025-05-18 18:29FusedNew Issue
2025-05-18 18:29FusedFile Added: MorphBug.zip
2025-05-25 15:52unknownnaNote Added: 0024548
2025-05-25 15:52unknownnaStatusnew => feedback
2025-05-25 16:03unknownnaNote Edited: 0024548bug_revision_view_page.php?bugnote_id=24548#r14579
2025-05-25 16:20unknownnaNote Edited: 0024548bug_revision_view_page.php?bugnote_id=24548#r14580
2025-05-25 16:20unknownnaStatusfeedback => confirmed
2025-06-11 20:22Evil OperativeNote Added: 0024551
2025-06-11 20:23Evil OperativeNote Edited: 0024551bug_revision_view_page.php?bugnote_id=24551#r14582
2025-06-11 20:36Evil OperativeNote Edited: 0024551bug_revision_view_page.php?bugnote_id=24551#r14583
2025-08-06 11:30FusedNote Added: 0024553
2025-08-07 00:33KaminskyNote Added: 0024559
2025-08-07 00:33KaminskyAssigned To => Kaminsky
2025-08-07 00:33KaminskyStatusconfirmed => needs testing
2025-08-07 00:33KaminskyProduct Version => 3.2
2025-08-07 00:33KaminskyTarget Version => 3.3
2025-08-07 00:33KaminskyTarget Version3.3 =>

Notes
(0024548)
unknownna   
2025-05-25 15:52   
(edited on: 2025-05-25 16:20)
This issue also seems to occur offline, the player is unable to select the shotgun until the next map, and it has to be brought up manually. This happens both offline and online.

Quote from Fused
Online, the player is not given a shotgun.


When I use the "printinv" command in the console online, the client has the shotgun in the inventory as expected according to the list printed.

Does this flag originate from Q-Zandronum? In that case, the flag behavior has to be improved upon a bit further I think, since the behavior seems to be consistent between offline and online play.

I found one difference that makes it behave different between online and offline play: "alwaysapplydmflags" being 1 or 0.

* If it's enabled by setting it to 1, the shotgun isn't brought up offline.
* If it's disabled by setting it to 0, the shotgun is brought up offline.
* It's never brought up online no matter what "alwaysapplydmflags" is set to.

So I can confirm that it's broken online, and also inconsistent in behavior offline. The flag probably has to be fine-tuned a bit more to make it consistent in behavior.

(0024551)
Evil Operative   
2025-06-11 20:22   
(edited on: 2025-06-11 20:36)
I want to add to this issue.

In offline games, morphing into a class with +NOMORPHLIMITATIONS enabled retains your momentum and pitch after morphing, which means you will not stop abruptly nor have your looking direction centred vertically.

However, in online games, while the flag does let you retain your momentum, it fails to retain your pitch, which means that your vertical mouselook gets moved to the centre of the screen.

That's another way this flag does not carry over the behaviour it exhibits offline to game sessions that are online. You can reproduce this issue with this same file by unmorphing using "morphme" in console, then doing "morphme actualplayer" while looking up or down. On doing so, your pitch will get reset online, but will be retained offline.

-

Furthermore, it appears that despite having defined a morph flash "MapSpot" in the MorphActor function, the game still produces a morph and unmorph flash in the form of teleport fog online, when in reality there should be no effects or sounds whatsoever since "MapSpot" is an invisible and soundless actor. I am fairly certain that this is a new bug introduced in 3.2, since this was not present in 3.1.

(0024553)
Fused   
2025-08-06 11:30   
This is fixed for me in 3.2.1
(0024559)
Kaminsky   
2025-08-07 00:33   
Thanks for testing! I'm assuming that the extra issues that Evil Operative reported (e.g. "in online games, while the flag does let you retain your momentum, it fails to retain your pitch...") in this ticket have also been fixed, right? If so, I'll go ahead and mark this ticket as resolved.