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
0002847Zandronum[All Projects] Bugpublic2016-10-02 19:542018-09-30 21:50
Reporterfr-blood 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0002847: GetScreenHeight function is ignored online
DescriptionThat function isn't working at all online.

The script is supposed to center the radar depending on your screen height.
Additional InformationI've added the scripts.

Here is the screen offline:
'http://images0.hiboox.com/images/3916/diapo5f10da6663471d14d0abdc6b45314900.png?37 [^]'

and here is the screen online:
'http://images0.hiboox.com/images/3916/diapo94960d38e92d7f30116b44f743dcec82.png?36 [^]'
Attached Filestxt file icon scripts.txt [^] (7,677 bytes) 2016-10-02 19:54 [Show Content]
? file icon getscreenonlinetest.wad [^] (2,155 bytes) 2016-10-07 18:35

- Relationships

-  Notes
User avatar (0015784)
fr-blood (reporter)
2016-10-07 18:38
edited on: 2016-10-13 18:43

Alright as you guys asked I've managed to make and upload an example wad.

Here are my video settings:

Aspect Ration 4:3
Renderer: OpenGL
Force Aspect Ratio: Off
Enable 5:4 Aspect Ration: No
1280 x 960

1. Launch the game with the file offline
2. Start a map and the script will write "ASPECT 4.0 / 3" if you got the same video settings than me.
3. Start a map online with the same video settings and normaly the script will say "ASPECT NOT 4.0 / 3" even tought the settings are still the same.

Hoping that wad will help you guys.

EDIT: Sorry for my mistake, it's not a suggestion but a bug!

User avatar (0015960)
Edward-san (developer)
2016-10-13 19:33

I think the only way to make it work reliably is to make the video resolution info shared between the clients to the server like autoaim, etc., but I don't know if it's worth it.
User avatar (0016607)
Dusk (developer)
2017-01-05 20:55

Fixed.
User avatar (0016637)
Torr Samaho (administrator)
2017-01-15 09:55

I added your patch.
User avatar (0016693)
Ru5tK1ng (updater)
2017-01-26 05:47

Tested this online with r170122 and the scripts seemed to indicate correctly which aspect I was using whenever I changed resolutions in the menu.

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
2016-10-02 19:54 fr-blood New Issue
2016-10-02 19:54 fr-blood File Added: scripts.txt
2016-10-07 18:35 fr-blood File Added: getscreenonlinetest.wad
2016-10-07 18:38 fr-blood Note Added: 0015784
2016-10-13 18:43 fr-blood Note Edited: 0015784 View Revisions
2016-10-13 18:55 WaTaKiD Category Suggestion => Bug
2016-10-13 19:33 Edward-san Note Added: 0015960
2016-12-24 22:42 Dusk Target Version => 3.0
2017-01-05 20:55 Dusk Note Added: 0016607
2017-01-05 20:55 Dusk Assigned To => Dusk
2017-01-05 20:55 Dusk Status new => needs review
2017-01-15 09:55 Torr Samaho Note Added: 0016637
2017-01-15 09:55 Torr Samaho Status needs review => needs testing
2017-01-26 05:47 Ru5tK1ng Note Added: 0016693
2017-01-26 05:47 Ru5tK1ng Status needs testing => resolved
2017-01-26 05:47 Ru5tK1ng Resolution open => fixed
2017-01-26 05:47 Ru5tK1ng Fixed in Version => 3.0
2018-09-30 21:50 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker