Anonymous | Login | Signup for a new account | 2024-03-28 10:44 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 | ||||
0002671 | Zandronum | [All Projects] Bug | public | 2016-03-07 04:51 | 2018-09-30 22:02 | ||||
Reporter | throwaway | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||||||
Summary | 0002671: TIDs only sent to client as short - huge issues when combined with UniqueTID() | ||||||||
Description | UniqueTID() can return any TID in the range [1, 0x7FFFFFFF]. Only TIDs in the range [1, 32767] will be sent properly to the client, since the TID is sent as a signed short. This causes quite a few issues with using UniqueTID() and newly-spawned actors as a way to send position data to the client (presumably you could also send angle/pitch data this way, but I haven't messed with that), namely that the client only gets a correct TID about 1/65536 of the time. Right now, almost no Zandronum mods use UniqueTID(), but as mods get developed for Zandronum 3.0, this could very easily become an issue. | ||||||||
Attached Files | |||||||||
Notes | |
(0014566) ZzZombo (reporter) 2016-03-07 09:54 |
That might explain quite a few things, but, actually negative TIDs are valid too, and can be returned by specifying a negative starting TID. |
(0014588) Torr Samaho (administrator) 2016-03-20 14:45 |
SERVERCOMMANDS_SetThingTID now sends the TID as long. |
(0014597) cobalt (updater) 2016-03-20 16:14 |
Issue addressed by commit f928a926b864: SERVERCOMMANDS_SetThingTID now sends the TID as long (addresses 2671). Committed by Benjamin Berkels [Torr Samaho] on Wednesday 31 December 1969 23:59:57 Changes in files:
|
(0015008) Ru5tK1ng (updater) 2016-06-04 17:36 |
Tested this online with r160519-2047 and UniqueTID successfully returned values +/-0x7FFFFFFF and values in between. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | ZzZombo Catastrophe |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2016-03-07 04:51 | throwaway | New Issue | |
2016-03-07 09:54 | ZzZombo | Note Added: 0014566 | |
2016-03-20 14:45 | Torr Samaho | Note Added: 0014588 | |
2016-03-20 16:14 | cobalt | Assigned To | => Torr Samaho |
2016-03-20 16:14 | cobalt | Status | new => needs testing |
2016-03-20 16:14 | cobalt | Target Version | => 3.0 |
2016-03-20 16:14 | cobalt | Description Updated | View Revisions |
2016-03-20 16:14 | cobalt | Note Added: 0014597 | |
2016-06-04 17:36 | Ru5tK1ng | Note Added: 0015008 | |
2016-06-04 17:36 | Ru5tK1ng | Status | needs testing => resolved |
2016-06-04 17:36 | Ru5tK1ng | Resolution | open => fixed |
2016-06-04 17:36 | Ru5tK1ng | Fixed in Version | => 3.0 |
2016-06-04 17:36 | Ru5tK1ng | Description Updated | View Revisions |
2018-09-30 22:02 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |