MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001804 | Zandronum | [All Projects] Suggestion | public | 2014-05-17 21:37 | 2021-01-10 20:35 |
|
Reporter | Dusk | |
Assigned To | Dusk | |
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | needs testing | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0001804: cvar difference description for dmflags |
Description | oh_no duskie has been doing science again, TAKE COVER.
Basically I hacked in a little algorithm thing that shows exactly what changed in dmflags/compatflags/whatever when the server prints the "dmflags changed to blah". If too many flags change (i.e. more than 5) it just prints the amount of flags that changed so that the chat doesn't get flooded.
Quote
*** MAP01: entryway ***
sv_nojump 1
dmflags changed to 65536 (sv_nojump ON)
dmflags 123
dmflags changed to 123 (7 flags changed)
dmflags 1234
dmflags changed to 1234 (sv_nohealth OFF, sv_oldfalldamage OFF, sv_spawnfarthest ON, sv_noexit ON)
compat_limited_airmovement 1
compatflags changed to 131072 (compat_limited_airmovement ON)
Diff attached. What do you guys think? |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | dmflags-data.diff (7,253) 2014-05-17 21:37 https://zandronum.com/tracker/file_download.php?file_id=1211&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-05-17 21:37 | Dusk | New Issue | |
2014-05-17 21:37 | Dusk | Status | new => assigned |
2014-05-17 21:37 | Dusk | Assigned To | => Dusk |
2014-05-17 21:37 | Dusk | File Added: dmflags-data.diff | |
2014-05-17 21:37 | Dusk | Status | assigned => needs review |
2014-05-17 22:33 | Watermelon | Note Added: 0008803 | |
2014-05-18 07:42 | Frits | Note Added: 0008807 | |
2014-05-18 07:42 | Frits | Note Deleted: 0008807 | |
2014-05-19 05:07 | ZzZombo | Note Added: 0008810 | |
2014-06-21 13:31 | Torr Samaho | Note Added: 0009612 | |
2014-06-21 13:31 | Torr Samaho | Status | needs review => feedback |
2021-01-10 20:34 | Torr Samaho | Note Added: 0021587 | |
2021-01-10 20:35 | Torr Samaho | Status | feedback => needs testing |
Notes |
|
|
|
|
|
I think if there more than 5 flags changed it should list the first 5 and then just add a remark about that not all were listed. Would be neat IMO. |
|
|
|
As we found out during an IRC discussion a while ago, the workaround of using CVAR_Dummy to determine whether a flag is of type FFlagCVar doesn't work with recent ZDoom versions anymore. Before we can add this, we need to find a way to identify these flags that also works with the current ZDoom versions. |
|
|
|
I added Kaminski patch for this that is building on Dusk's original patch. |
|