Anonymous | Login | Signup for a new account | 2024-04-25 06:02 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001966 | Zandronum | [All Projects] Suggestion | public | 2014-10-19 19:16 | 2018-09-30 22:59 | ||||
Reporter | Watermelon | ||||||||
Assigned To | Watermelon | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.4 | ||||||||
Target Version | 1.4 | Fixed in Version | 2.0 | ||||||
Summary | 0001966: Compressing unlagged and similiar booleans into one field to save bandwidth with userinfo | ||||||||
Description | As discussed on IRC. Need code review from a pull request. | ||||||||
Attached Files | |||||||||
Notes | |
(0010699) Watermelon (developer) 2014-10-27 02:00 |
Can someone comment on my comment (also needing code review): 'https://bitbucket.org/ChrisKOmg/zandronum_stable/commits/36398a44816aaf74ce7039a4c1c60a72d1d703d4 [^]' I'm worried about future flags not being able to be set with this new method. |
(0010708) Torr Samaho (administrator) 2014-10-29 07:15 |
Please see my comments on bitbucket. |
(0010709) Watermelon (developer) 2014-10-29 14:46 |
Updated @ pull request |
(0010758) Torr Samaho (administrator) 2014-11-01 11:04 |
As I already said here: Quote from Torr Samaho Your current pull request still requires cl_main.cpp, sv_commands.cpp and sv_commands.cpp to be changed when adding a new client flag. bUnlagged and bRespawnonfire should be removed completely from userinfo_t and replaced by one int called ulClientFlags (or something like this). |
(0010770) Watermelon (developer) 2014-11-01 17:36 |
My bad, I erroneously thought when you meant merge into one flag, I thought you just meant use CVAR(Flag). Now that I understand this, my next update should cover what you said. |
(0010782) Watermelon (developer) 2014-11-01 20:44 edited on: 2014-11-01 20:50 |
Pull request sent. Though I also have a question for you which I commented in the pull request as well. |
(0010785) Watermelon (developer) 2014-11-02 05:17 |
All nice and updated, hopefully ready this time. |
(0010788) cobalt (updater) 2014-11-02 07:24 |
Issue addressed by commit c79a9b1a6f6d: Added CVAR cl_clientflags which controls both cl_unlagged and cl_respawnonfire to save bandwidth and make future booleans easier to transmit over the network (fixes 1966). Committed by WChrisK [Watermelon] on Sunday 02 November 2014 01:14:39 Changes in files: docs/zandronum-history.txt | 1 + src/cl_commands.cpp | 6 +-- src/cl_demo.cpp | 8 +-- src/cl_main.cpp | 25 ++++-------- src/d_netinf.h | 11 +++++ src/d_netinfo.cpp | 90 ++++++++++++++++----------------------------- src/d_player.h | 9 +--- src/m_menu.cpp | 2 +- src/m_options.cpp | 2 +- src/network.h | 10 ++-- src/p_user.cpp | 2 +- src/sv_commands.cpp | 10 ++--- src/sv_main.cpp | 12 ++---- src/unlagged.cpp | 4 +- 14 files changed, 80 insertions(+), 112 deletions(-) |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-10-19 19:16 | Watermelon | New Issue | |
2014-10-19 19:16 | Watermelon | Status | new => assigned |
2014-10-19 19:16 | Watermelon | Assigned To | => Watermelon |
2014-10-19 19:16 | Watermelon | Status | assigned => needs review |
2014-10-23 16:44 | Watermelon | Assigned To | Watermelon => |
2014-10-23 16:44 | Watermelon | Assigned To | => Watermelon |
2014-10-23 16:44 | Watermelon | Status | needs review => assigned |
2014-10-26 18:05 | Watermelon | Note Added: 0010694 | |
2014-10-26 18:05 | Watermelon | Status | assigned => needs review |
2014-10-26 21:26 | Watermelon | Status | needs review => assigned |
2014-10-26 21:36 | Watermelon | Note Deleted: 0010694 | |
2014-10-27 02:00 | Watermelon | Note Added: 0010699 | |
2014-10-27 02:00 | Watermelon | Status | assigned => needs review |
2014-10-29 07:15 | Torr Samaho | Note Added: 0010708 | |
2014-10-29 07:15 | Torr Samaho | Status | needs review => feedback |
2014-10-29 14:46 | Watermelon | Note Added: 0010709 | |
2014-10-29 14:46 | Watermelon | Status | feedback => assigned |
2014-10-29 14:46 | Watermelon | Status | assigned => needs review |
2014-11-01 11:04 | Torr Samaho | Note Added: 0010758 | |
2014-11-01 11:05 | Torr Samaho | Status | needs review => feedback |
2014-11-01 17:36 | Watermelon | Note Added: 0010770 | |
2014-11-01 17:36 | Watermelon | Status | feedback => assigned |
2014-11-01 20:44 | Watermelon | Note Added: 0010782 | |
2014-11-01 20:44 | Watermelon | Status | assigned => needs review |
2014-11-01 20:50 | Watermelon | Note Edited: 0010782 | View Revisions |
2014-11-02 05:17 | Watermelon | Note Added: 0010785 | |
2014-11-02 07:24 | cobalt | Status | needs review => needs testing |
2014-11-02 07:24 | cobalt | Note Added: 0010788 | |
2015-03-29 20:21 | Dusk | Status | needs testing => resolved |
2015-03-29 20:21 | Dusk | Fixed in Version | => 2.0 |
2015-03-29 20:21 | Dusk | Resolution | open => fixed |
2018-09-30 22:59 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |