MantisBT - Zandronum
View Issue Details
0003252Zandronum[All Projects] Bugpublic2017-09-01 21:532024-03-11 09:22
EnsaladaDeTomate 
Kaminsky 
highmajoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.13.1 
0003252: Issues with A_SkullPop or PlayerChunk's
I noticed that when you suicide ingame with a class that has A_SkullPop, and while the PlayerChunk actor is still in midair, and you immediately spectate, the spectator will present some strange behaviours and also will have a chance to crash Zandronum. The effects are different Online and Offline.
I tested this on Doom2 using a mod, and then on Heretic (without mods) to check if the mod i was using was causing such effects, and confirmed that the issue happened on both wads

- Start Heretic
- Join the game
- Kill in console
- While your camera / the PlayerChunk is still in midair, spectate
- Try to roam around spectating
The Offline and Online effects are:

Offline:
- The speed of the spectator will increase and decrease randomly
- When touching a wall, you will be able to see through it (like using the "noclip" cheat)
- You wont be able to move on certain areas, as if the spectator radius increases and decreases itself randomly
- Zandronum will have a chance to crash (thought its rare, only happened once, i wasnt able reproduce the crash again)

Online:
- Only the "See through walls like noclip" effect happens, i dont know if it might also have a chance to crash
No tags attached.
duplicate of 0000378resolved Torr Samaho Spectators inherit flags/properties from A_SkullPop actor 
Issue History
2017-09-01 21:53EnsaladaDeTomateNew Issue
2017-09-01 21:54EnsaladaDeTomateNote Added: 0018219
2017-09-01 21:57EnsaladaDeTomateNote Edited: 0018219bug_revision_view_page.php?bugnote_id=18219#r10897
2017-09-01 22:00EnsaladaDeTomateNote Edited: 0018219bug_revision_view_page.php?bugnote_id=18219#r10898
2017-09-01 22:13EnsaladaDeTomateNote Edited: 0018219bug_revision_view_page.php?bugnote_id=18219#r10899
2017-09-02 05:37EnsaladaDeTomateNote Edited: 0018219bug_revision_view_page.php?bugnote_id=18219#r10900
2017-09-07 20:48DuskNote Added: 0018237
2017-09-07 20:48DuskStatusnew => confirmed
2017-09-07 22:02DuskTarget Version => 3.1
2021-08-08 11:23KaminskyNote Added: 0021688
2021-08-08 11:23KaminskyAssigned To => Kaminsky
2021-08-08 11:23KaminskyStatusconfirmed => needs testing
2024-03-11 08:58unknownnaRelationship addedduplicate of 0000378
2024-03-11 09:10unknownnaNote Added: 0023355
2024-03-11 09:10unknownnaStatusneeds testing => resolved
2024-03-11 09:10unknownnaResolutionopen => fixed
2024-03-11 09:10unknownnaFixed in Version => 3.1
2024-03-11 09:22KaminskyNote Added: 0023357

Notes
(0018219)
EnsaladaDeTomate   
2017-09-01 21:54   
(edited on: 2017-09-02 05:37)
If you guys need me to upload an example wad, just let me know.

Edit: Just confirmed that when the PlayerChunk actor is on the ground, and the player spectates, the same issues will occur

(Just pointing that im using 3.0-alpha-r170806-2040)

Edit2: Ignore the "Spectator radius increasing and decreasing randomly" thing, turns out that a similar effect was happening because i was using chasecam, my bad

Edit3: Just tested the issue on older 3.0 alpha versions and 2.1.2 and the same issue is still happening, but i dont know if it also might crash in these, since im still not able to reproduce the crash

(0018237)
Dusk   
2017-09-07 20:48   
I can confirm that the spectator radius is significantly smaller when spectating from a PlayerChunk. Looks like the spectator remains as the chunk actor.

Since this can be reproduced with vanilla Heretic, there is no need to provide any example wad.
(0021688)
Kaminsky   
2021-08-08 11:23   
The user now re-inherits the properties of the class they're playing as, and not the PlayerChunk class itself, if they spectate while the PlayerChunk is still in the air in 3.1, as it should be.
(0023355)
unknownna   
2024-03-11 09:10   
It works now, but if you somehow die and spectate at the same tick, you're still stuck as a PlayerChunk.

"kill; spectate"

Anyway, it's very unlikely to happen, so marking as resolved. Good work!
(0023357)
Kaminsky   
2024-03-11 09:22   
Does the player still remain stuck as a PlayerChunk when they die and spectate after this commit?

'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/e7872589deb3763b559c513f31a444e7709442ad [^]'