|Anonymous | Login | Signup for a new account||2023-12-02 20:44 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004166||Zandronum||[All Projects] Bug||public||2023-10-06 09:52||2023-10-31 09:05|
|Priority||urgent||Severity||major||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0004166: SwitchableDecoration is broken online|
|Description||See example. Offline the candle is active as expected. Online it's inactive but it should be active no matter what.|
|Steps To Reproduce||Load BrokenLight.pk3. map is `test`.|
|Attached Files|| BrokenLight.pk3 [^] (8,140 bytes) 2023-10-06 09:52|
BrokenExplanation.pk3 [^] (4,056 bytes) 2023-10-31 08:32
edited on: 2023-10-31 08:45
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.
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.
|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.|
|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.
|Copyright © 2000 - 2023 MantisBT Team|