MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003011 | Zandronum | [All Projects] Bug | public | 2017-02-10 22:22 | 2017-11-08 22:05 |
|
Reporter | buu342 | |
Assigned To | | |
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | closed | Resolution | no change required | |
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | 2.1 | |
Target Version | | Fixed in Version | | |
|
Summary | 0003011: GetCVar("screenblocks") does not return the correct value in multiplayer |
Description | GetCVar("screenblocks") seems to return the incorrect value, but only in multiplayer. I'm trying to make a weapon show on the screen through HudMessage, and I've made two versions. One has the bottom most part cut off in order to not overlap with the default Doom status bar, and one version which shows the entire weapon for when GetCVar("screenblocks") > 10. However, in multiplayer it always seems to return that it is >10, causing the weapon to overlap the default Doom status bar.
|
Steps To Reproduce | Sample Code:'http://pastebin.com/1Ed0jRjJ [^]' |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | HudIssue.wad (840,859) 2017-02-11 16:11 /tracker/file_download.php?file_id=2024&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2017-02-10 22:22 | buu342 | New Issue | |
2017-02-11 15:40 | Torr Samaho | Note Added: 0016835 | |
2017-02-11 15:40 | Torr Samaho | Status | new => feedback |
2017-02-11 16:11 | buu342 | File Added: HudIssue.wad | |
2017-02-11 16:13 | buu342 | Note Added: 0016836 | |
2017-02-11 16:13 | buu342 | Status | feedback => new |
2017-02-12 14:46 | Torr Samaho | Note Added: 0016845 | |
2017-02-12 14:47 | Torr Samaho | Status | new => feedback |
2017-11-08 22:05 | Dusk | Note Added: 0018832 | |
2017-11-08 22:05 | Dusk | Status | feedback => closed |
2017-11-08 22:05 | Dusk | Resolution | open => no change required |
Notes |
|
|
Please post a minimal example wad that allows to reproduce the problem. |
|
|
(0016836)
|
buu342
|
2017-02-11 16:13
|
|
Uploaded an example wad. Join the game and repeatedly press your shoot button to continue the animation. Try with different HUD sizes, and try with it in multiplayer. |
|
|
|
If GetCVar("screenblocks") is called, it returns the value of screenblocks from the machine that executes the script. So for a normal script online, it will return the value of screenblocks of the server. |
|
|
(0018832)
|
Dusk
|
2017-11-08 22:05
|
|
If you call getcvar("screenblocks") on the server, then you get the screenblocks of the server. So there's no bug here. |
|