|Anonymous | Login | Signup for a new account||2019-04-26 12:43 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001275||Zandronum||[All Projects] Bug||public||2013-02-09 16:39||2019-03-22 00:51|
|Target Version||Fixed in Version|
|Summary||0001275: Line_SetTextureOffset doesn't work in multiplayer|
|Description||Calls 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 Reproduce||1. Create a serverside script which uses Line_SetTextureOffset.|
2. Run it in multiplayer.
3. Texture offset won't change at all.
|Additional Information||It works in clientside scripts but (obviously) newly connected clients don't see the offset.|
|Attached Files||aligntest-fixed.wad [^] (1,879 bytes) 2013-02-09 16:39|
edited on: 2013-11-01 09:15
OK so to make this work I had to establish texture offset networking in general.
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.
|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.|
|Is it possible to recover these patches, Dusk?|
|This would be really nice to get fixed.|
|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.|
|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.
|Copyright © 2000 - 2019 MantisBT Team|