Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001275Zandronum[All Projects] Bugpublic2013-02-09 16:392019-03-22 00:51
ReporterMonsterovich 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version1.0 
Target VersionFixed in Version 
Summary0001275: Line_SetTextureOffset doesn't work in multiplayer
DescriptionCalls to Line_SetTextureOffset are ignored when it is called in a serverside script in multiplayer. It works in singleplayer and in clientside scripts.
Steps To Reproduce1. Create a serverside script which uses Line_SetTextureOffset.
2. Run it in multiplayer.
3. Texture offset won't change at all.
Additional InformationIt works in clientside scripts but (obviously) newly connected clients don't see the offset.
Attached Files? file icon aligntest-fixed.wad [^] (1,879 bytes) 2013-02-09 16:39

- Relationships

-  Notes
User avatar (0005989)
Dusk (developer)
2013-02-10 23:56
edited on: 2013-11-01 09:15

OK so to make this work I had to establish texture offset networking in general.

https://bitbucket.org/slatenails/neurosphere/commits/3854 [^]
https://bitbucket.org/slatenails/neurosphere/commits/3855 [^]
(https://bitbucket.org/slatenails/neurosphere/commits/3856)
https://bitbucket.org/slatenails/neurosphere/commits/3857 [^]

Here is how it works:
- Saved offsets are stored in side_t::part (3 pairs for each sidedef)
- Whenever offsets are changed, a callback function is called to handle the offset change and sync the offsets if needed. A global variable is used as a toggle so as not to make for instance scrollers constantly trigger this and waste bandwidth like no tomorrow.
- On map reset, the server and client both restore the offsets. No network traffic is used here.

User avatar (0014421)
djskaarj (reporter)
2016-02-11 16:40

Sorry for making a pointless post, but may I ask, will be this merged in Zandronum in future? Dusk made a patch a long time ago, but the links are broken and this bug doesn't seem to be fixed now.
User avatar (0018553)
Edward-san (developer)
2017-10-14 08:10

Is it possible to recover these patches, Dusk?
User avatar (0020451)
buu342 (reporter)
2019-03-22 00:51

This would be really nice to get fixed.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Monsterovich djskaarj JC Tenton MaxRideWizardLord Korshun KirovNoir buu342
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2013-02-09 16:39 Monsterovich New Issue
2013-02-09 16:39 Monsterovich File Added: aligntest-fixed.wad
2013-02-10 19:34 Dusk Assigned To => Dusk
2013-02-10 19:34 Dusk Priority high => normal
2013-02-10 19:34 Dusk Severity tweak => major
2013-02-10 19:34 Dusk Status new => assigned
2013-02-10 19:34 Dusk Severity major => minor
2013-02-10 23:56 Dusk Note Added: 0005989
2013-02-10 23:56 Dusk Status assigned => needs review
2013-02-10 23:58 Dusk Note Edited: 0005989 View Revisions
2013-02-11 00:01 Dusk Note Edited: 0005989 View Revisions
2013-02-11 16:19 Dusk Note Edited: 0005989 View Revisions
2013-10-29 08:49 Monsterovich Note Added: 0007488
2013-11-01 09:15 Dusk Note Deleted: 0007488
2013-11-01 09:15 Dusk Note Edited: 0005989 View Revisions
2016-02-11 16:40 djskaarj Note Added: 0014421
2017-10-14 08:10 Edward-san Note Added: 0018553
2017-10-14 08:10 Edward-san Status needs review => feedback
2019-03-22 00:51 buu342 Note Added: 0020451






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker