Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003011Zandronum[All Projects] Bugpublic2017-02-10 22:222017-11-08 22:05
Reporterbuu342 
Assigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.1 
Target VersionFixed in Version 
Summary0003011: GetCVar("screenblocks") does not return the correct value in multiplayer
DescriptionGetCVar("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 ReproduceSample Code:'http://pastebin.com/1Ed0jRjJ [^]'
Attached Files? file icon HudIssue.wad [^] (840,859 bytes) 2017-02-11 16:11

- Relationships

-  Notes
User avatar (0016835)
Torr Samaho (administrator)
2017-02-11 15:40

Please post a minimal example wad that allows to reproduce the problem.
User avatar (0016836)
buu342 (reporter)
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.
User avatar (0016845)
Torr Samaho (administrator)
2017-02-12 14:46

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.
User avatar (0018832)
Dusk (developer)
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.

Issue Community Support
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
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker