MantisBT - Zandronum
View Issue Details
0002617Zandronum[All Projects] Bugpublic2016-02-04 02:262018-09-30 21:47
Lance 
Torr Samaho 
highminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.03.0 
0002617: ACS loop problem in 3.0
I'm not exactly sure what the problem is, but one of my mods takes place from a third-person perspective. Recently I've tried running the mod on Zandronum 3.0 to debug it for the newer build. I've not found any problems, except for one that heavily conflicts with the core of this mod. The mod uses an entirely client-sided script to give the player his own camera that follows him behind around the map, much like Zdoom's chasecam. This is the only way to enforce a third-person camera in Zandronum. I thought it worked fine, but in 3.0 the camera updates very slow and is very choppy. Where as in Zandronum 2.1 the camera is smooth and updating consistantly. The script is a while loop that updates every tic. This has not been tested online.
No tags attached.
related to 0003028closed Torr Samaho Backport Warp ACS function 
? camera.pk3 (1,022) 2016-02-04 02:26
/tracker/file_download.php?file_id=1726&type=bug
Issue History
2016-02-04 02:26LanceNew Issue
2016-02-04 02:26LanceFile Added: camera.pk3
2016-02-04 02:33LanceNote Added: 0014311
2016-02-04 10:37Edward-sanNote Added: 0014313
2016-02-04 10:37Edward-sanStatusnew => feedback
2016-02-04 10:38Edward-sanNote Edited: 0014313bug_revision_view_page.php?bugnote_id=14313#r8640
2016-02-04 20:24LanceNote Added: 0014314
2016-02-04 20:24LanceStatusfeedback => new
2016-02-04 20:32Edward-sanNote Added: 0014315
2016-02-04 20:32Edward-sanStatusnew => acknowledged
2016-02-04 20:32Edward-sanResolutionopen => waiting for zdoom
2016-02-04 20:41Edward-sanNote Edited: 0014315bug_revision_view_page.php?bugnote_id=14315#r8642
2016-02-04 20:41Edward-sanNote Edited: 0014315bug_revision_view_page.php?bugnote_id=14315#r8643
2016-02-04 23:13Edward-sanNote Added: 0014316
2016-02-04 23:14Edward-sanNote Edited: 0014316bug_revision_view_page.php?bugnote_id=14316#r8645
2016-02-04 23:15Edward-sanStatusacknowledged => feedback
2016-02-04 23:15Edward-sanResolutionwaiting for zdoom => open
2016-02-04 23:22DuskStatusfeedback => closed
2016-02-04 23:22DuskResolutionopen => no change required
2016-02-05 01:10LanceNote Added: 0014317
2016-02-05 01:10LanceStatusclosed => feedback
2016-02-05 01:10LanceResolutionno change required => reopened
2016-12-03 11:49DuskPrioritynormal => high
2016-12-03 11:49DuskTarget Version => 3.0-beta
2017-03-19 14:06Torr SamahoTarget Version3.0-beta => 3.0
2017-03-20 19:19CutmanNote Added: 0017036
2017-03-20 19:25Torr SamahoRelationship addedrelated to 0003028
2017-03-20 19:32Torr SamahoNote Added: 0017037
2017-03-20 19:35CutmanNote Added: 0017038
2017-03-20 19:42CutmanNote Edited: 0017038bug_revision_view_page.php?bugnote_id=17038#r10273
2017-03-20 19:47Torr SamahoNote Added: 0017039
2017-04-02 20:46Torr SamahoNote Added: 0017081
2017-04-08 13:48Torr SamahoNote Edited: 0017081bug_revision_view_page.php?bugnote_id=17081#r10292
2017-04-08 13:49Torr SamahoNote Added: 0017104
2017-04-08 13:49Torr SamahoNote Revision Dropped: 17081: 0010291
2017-04-08 13:50Torr SamahoAssigned To => Torr Samaho
2017-04-08 13:50Torr SamahoStatusfeedback => needs testing
2017-04-19 01:14Ru5tK1ngNote Added: 0017208
2017-04-19 01:14Ru5tK1ngStatusneeds testing => feedback
2017-04-19 06:17Torr SamahoNote Added: 0017215
2017-04-19 19:35Ru5tK1ngNote Added: 0017225
2017-04-19 19:35Ru5tK1ngStatusfeedback => resolved
2017-04-19 19:35Ru5tK1ngResolutionreopened => fixed
2017-04-19 19:35Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:47Blzut3Statusresolved => closed

Notes
(0014311)
Lance   
2016-02-04 02:33   
This bug can be reproduced on GZDoom 1.8.6. My apologies, I should've posted that in the description.
(0014313)
Edward-san   
2016-02-04 10:37   
(edited on: 2016-02-04 10:38)
Can you reproduce this with latest gzdoom build from here? You can test either the '1.8.10' series or the '2.1.pre' ones.

(0014314)
Lance   
2016-02-04 20:24   
It has been reproduced in both.
(0014315)
Edward-san   
2016-02-04 20:32   
(edited on: 2016-02-04 20:41)
Reported in zdoom bug thread (cl_capfps 0 is mandatory):'http://forum.zdoom.org/viewtopic.php?f=2&t=50686 [^]'

(0014316)
Edward-san   
2016-02-04 23:13   
(edited on: 2016-02-04 23:14)
[Not a bug].

It seems you should try using Warp instead in order to achieve the same smoothness as before.

(0014317)
Lance   
2016-02-05 01:10   
Just tested this on Zandronum 3.0, it seems the Warp function is not implemented. This may cause compatibility problems for any mod using a similar solution for the camera (arkdoom for example) where the camera will have extreme choppiness due to the camera only updating in a 35 fps window. SetActorPosition no longer has interpolation while Warp does. In the current build of GZDoom Zandronum is based from Warp is not availible, leaving no resolution to this problem.
(0017036)
Cutman   
2017-03-20 19:19   
Ticket 0003028 is also a request to backport ACS Warp. Not sure how useful it is but we do have the DECORATE version in 3.0 already.
(0017037)
Torr Samaho   
2017-03-20 19:32   
So you can work around this in MM8BDM with DECORATE?
(0017038)
Cutman   
2017-03-20 19:35   
(edited on: 2017-03-20 19:42)
I believe the mod(s) they're talking about are unrelated to 8bdm and we have (8bdm ) no need for the ACS Warp function (yet?)

(0017039)
Torr Samaho   
2017-03-20 19:47   
I see, thanks for clarifying.
(0017081)
Torr Samaho   
2017-04-02 20:46   
(edited on: 2017-04-08 13:48)
The implementation of the Warp ACS function unfortunately is spread over many commits in ZDoom, so backporting it fully is not really feasible. Would the version from GLOOME (with the function number from ZDoom) be sufficient, i.e.'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/afabdc83c31e2eee44bb354cd1ba56f1596fbd42 [^]' ?

(0017104)
Torr Samaho   
2017-04-08 13:49   
0003028:0017103
(0017208)
Ru5tK1ng   
2017-04-19 01:14   
Tested this with the latest build and to my eyes it still looks choppy when compared to 2.1.2.
(0017215)
Torr Samaho   
2017-04-19 06:17   
The behavior of the example wad will not change. ZDoom removed the interpolation from SetActorPosition, that's why camera.pk3 is choppy. I just supplied GLOOME's ACS Warp variant to give mod authors a ZDoom compatible way to fix the choppy movement by adjusting their mod to ZDoom's change.
(0017225)
Ru5tK1ng   
2017-04-19 19:35   
Ah I see. Well based on Sean's findings in 3028 regarding warp, I'll mark this as fixed.