MantisBT - Zandronum
View Issue Details
0002766Zandronum[All Projects] Bugpublic2016-06-26 21:552018-09-30 21:39
Dusk 
Torr Samaho 
normalminoralways
closedfixed 
2.1 
2.2 
0002766: ReplaceTextures() no longer works online properly
It looks like the ACS function ReplaceTextures no longer works online. It does not update clients of the change. Reconnecting solves the desync.

As for the cause, the client end of DLevelScript::ReplaceTextures gets fromname and toname to be NULL, causing the function to fail.
Launch a server and client with attached pwad:
zandronum -iwad doom -warp 3 1 -nomonsters -file replacetextures.pk3
zandronum -connect localhost -file replacetextures.pk3

Run "puke 1" as either the client or the server. The red fort is supposed to turn green but doesn't until the client reconnects.
No tags attached.
? replacetextures.pk3 (979) 2016-06-26 21:55
/tracker/file_download.php?file_id=1843&type=bug
Issue History
2016-06-26 21:55DuskNew Issue
2016-06-26 21:55DuskFile Added: replacetextures.pk3
2016-06-28 19:23Torr SamahoProduct Version => 2.1
2016-06-28 19:45Torr SamahoNote Added: 0015149
2016-06-28 19:46Torr SamahoAssigned To => Torr Samaho
2016-06-28 19:46Torr SamahoStatusnew => needs testing
2016-07-02 15:46WaTaKiDNote Added: 0015181
2016-07-02 19:05Ru5tK1ngNote Added: 0015192
2016-07-02 19:26DuskStatusneeds testing => resolved
2016-07-02 19:26DuskFixed in Version => 2.2
2016-07-02 19:26DuskResolutionopen => fixed
2018-09-30 21:39Blzut3Statusresolved => closed

Notes
(0015149)
Torr Samaho   
2016-06-28 19:45   
Should be fixed now. Seems to have been caused by the ZDoom changes to dynamically generated ACS strings.
(0015181)
WaTaKiD   
2016-07-02 15:46   
added in 3.0 with:'https://bitbucket.org/Torr_Samaho/zandronum/commits/b82e0cd2e09011c9fe30c2bdaa3b7585722a23a7 [^]'
(0015192)
Ru5tK1ng   
2016-07-02 19:05   
Tested online with r160702-1232 and the sp_hot textures changed to marble without problem and showed up properly to newly connected clients.
.