Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003716Zandronum[All Projects] Bugpublic2019-09-26 18:212019-09-26 18:21
ReporterHiM 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0003716: Player changes to different PlayerClass upon respawn
DescriptionSometimes Player changes to different PlayerClass upon respawn.
This breaks gameplay and any ACS based on PlayerClass value (==0, ==1 ==2 etc).

Joined player spectator has PlayerClass value "0".
First PlayerClass has value "0", Second PlayerClass has value "1" etc.
Flag "IsSpectator" is different, spectator has same value of "0" as first in order PlayerClass.

1 Team can have multiple PlayerClasses. When player joins certain PlayerClass, that value, i suppose, should be permanent across respawns and level loads until:
- player spectates
- player morphs to another PlayerClass
- player joins another PlayerClass by own will
Rare cases, but permanent is not the case upon respawns somehow.

PlayerClass value is not reset to "0" upon spectate. It retains last PlayerClass value, like "2".

Steps To ReproduceCan be observed in rare ocassions.

Current PlayerClass value can be tested with ACS printing on screen PlayerClass of player.
Additional InformationMaybe this is due to old Zandronum coding that needs review, or some script that somehow alters PlayerClass without really need to do that.

Besides, built-in ACS counters are for Player Teams only (counting players per teams), but there is no built-in way to count Players per PlayerClass unless TID is used for counting purposes, or some other workarounds.
Is PlayerClass a skulltag feature?
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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

- Issue History
Date Modified Username Field Change
2019-09-26 18:21 HiM New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker