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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001647Zandronum[All Projects] Bugpublic2014-01-07 03:382018-09-30 22:41
Reportertrayness 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version1.2 
Target Version1.3Fixed in Version 
Summary0001647: Strange Line_SetBlocking behavior when using BLOCKF_EVERYTHING online
DescriptionWhen you use the Line_SetBlocking function to clear the BLOCKF_EVERYTHING flag on a line (that's already set to block everything) while online, the line will continue to block railgun shots and grenades; as far as I'm aware, everything else (rockets, normal hitscan attacks, etc.) passes through just fine.

Something similar happens when the line is set to block nothing by default and you try to use Line_SetBlocking to set the blockf_everything flag; the line will not block railgun shots or grenades, but it will block everything else.

This does not happen offline. This does happen in the latest developmental build.
Steps To Reproduce1) Start up a server using the attached WAD file and go to Map01.
2) Hit the switch to activate the script that clears the BLOCKF_EVERYTHING flag from the line.
3) Now try shooting the line with the grenade launcher and the railgun. Neither grenades nor railgun shots will pass through. Everything else will.

Additional InformationPerhaps related: When you run over the line after Line_SetBlocking has been used to clear the BLOCKF_EVERYTHING flag, it will allow you to pass through, but you'll experience noticeable lag.

SetLineBlocking works just fine.
Attached Files? file icon line_setblocking_test.wad [^] (3,229 bytes) 2014-01-07 03:38
diff file icon line_setblocking_fix.diff [^] (473 bytes) 2014-01-10 07:16 [Show Content]

- Relationships

-  Notes
User avatar (0007936)
Dusk (developer)
2014-01-10 07:15

classic case of a simple desync - Line_SetBlocking doesn't update the line flags on the client. if you spawn an imp on the other side of the structure you can kill it with the railgun/grenade launcher even though the grenades appear to bounce away.
User avatar (0007949)
Torr Samaho (administrator)
2014-01-11 11:59
edited on: 2014-01-11 12:00

The patch looks good. If you create a pull request that also includes a history entry, I'll pull it.

User avatar (0008926)
Dusk (developer)
2014-06-08 16:45

'https://bitbucket.org/Torr_Samaho/zandronum-stable/pull-request/47/fixed-line_setblocking-online [^]'
User avatar (0008933)
Torr Samaho (administrator)
2014-06-08 19:21

Transplanted.
User avatar (0008940)
Arco (updater)
2014-06-08 22:19

Works correctly in r140608-2119.

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
2014-01-07 03:38 trayness New Issue
2014-01-07 03:38 trayness File Added: line_setblocking_test.wad
2014-01-10 07:15 Dusk Note Added: 0007936
2014-01-10 07:15 Dusk Assigned To => Dusk
2014-01-10 07:15 Dusk Status new => confirmed
2014-01-10 07:15 Dusk Status confirmed => needs testing
2014-01-10 07:15 Dusk Status needs testing => needs review
2014-01-10 07:16 Dusk File Added: line_setblocking_fix.diff
2014-01-11 11:59 Torr Samaho Note Added: 0007949
2014-01-11 12:00 Torr Samaho Status needs review => feedback
2014-01-11 12:00 Torr Samaho Note Edited: 0007949 View Revisions
2014-01-11 12:01 Torr Samaho Note Revision Dropped: 7949: 0004393
2014-06-08 16:45 Dusk Note Added: 0008926
2014-06-08 16:45 Dusk Status feedback => needs review
2014-06-08 19:21 Torr Samaho Note Added: 0008933
2014-06-08 19:21 Torr Samaho Status needs review => needs testing
2014-06-08 19:22 Torr Samaho Target Version => 1.3
2014-06-08 22:19 Arco Note Added: 0008940
2014-06-08 22:19 Arco Status needs testing => resolved
2014-06-08 22:19 Arco Resolution open => fixed
2018-09-30 22:41 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker