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
0004166Zandronum[All Projects] Bugpublic2023-10-06 09:522023-10-31 09:05
ReporterFused 
Assigned To 
PriorityurgentSeveritymajorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004166: SwitchableDecoration is broken online
DescriptionSee example. Offline the candle is active as expected. Online it's inactive but it should be active no matter what.
Steps To ReproduceLoad BrokenLight.pk3. map is `test`.
Attached Files? file icon BrokenLight.pk3 [^] (8,140 bytes) 2023-10-06 09:52
? file icon BrokenExplanation.pk3 [^] (4,056 bytes) 2023-10-31 08:32

- Relationships

-  Notes
User avatar (0022918)
Fused (reporter)
2023-10-31 08:36
edited on: 2023-10-31 08:45

Hi,
I have gone and tried to find a reasonable explanation for this issue, and it seems like I have found a workaround for the issue.

The thing that continued to stump me was the fact that some of my SwitchableDecorations worked, and some did not. I have uploaded `BrokenExplanation.pk3` which will be used to explain how to work around the issue.

Map: map01

Navigate to `actors/lightsources/candlestick.dec`
This file has three blocks of code, one uncommented and two commented.

1.1 Keep the file as it is with the top part uncommented and test online.
1.2 The candle stick will be inactive regardless of the dormant state.

2.1 Comment the first block and uncomment the second block. Test online.
2.2 Notice the candlestick now correctly shows its active state and dormant state.

3.1 Comment the second block and uncomment the third block. Test online.
3.2 Notice the candlestick now correctly shows its active state and dormant state.

So, for some reason the negative frame state causes this issue, and either properly looping the state or adding a death state fixes the issue.
I can understand the negative frame as this is properly just synching not being quick enough, but why would the death state fix this?

EDIT: It appears the third block hard a bright keyword added by accident. I can confirm that the candlestick still properly works without it.


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
2023-10-06 09:52 Fused New Issue
2023-10-06 09:52 Fused File Added: BrokenLight.pk3
2023-10-31 08:32 Fused File Added: BrokenExplanation.pk3
2023-10-31 08:36 Fused Note Added: 0022918
2023-10-31 08:45 Fused Note Edited: 0022918 View Revisions
2023-10-31 09:05 Fused Note Added: 0022920
2023-10-31 09:07 Fused Note Deleted: 0022920






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2023 MantisBT Team
Powered by Mantis Bugtracker