MantisBT - Zandronum
View Issue Details
0002558Zandronum[All Projects] Bugpublic2015-12-29 22:382018-09-30 22:13
Tribeam3rd 
Dusk 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.03.0 
0002558: (Online) A_RailAttack's custom particle class doesnt show from other players' perspectives.
'https://dl.dropboxusercontent.com/u/49758621/railbug.gif [^]'
both are shooting the same test weapon(a special weapon that constantly auto fires)

As you can see, the player can see his own special rail, but sees the normal rail from other players.



Download wad, host, run online, shoot pistol once, go online on another client, shoot once, see difference.

No tags attached.
? railbug.wad (898) 2015-12-29 22:38
/tracker/file_download.php?file_id=1703&type=bug
Issue History
2015-12-29 22:38Tribeam3rdNew Issue
2015-12-29 22:38Tribeam3rdFile Added: railbug.wad
2015-12-30 20:11Tribeam3rdNote Added: 0014029
2016-01-01 16:48Edward-sanNote Added: 0014033
2016-01-01 16:49Edward-sanNote Edited: 0014033bug_revision_view_page.php?bugnote_id=14033#r8381
2016-01-01 16:49Edward-sanStatusnew => confirmed
2016-01-02 12:09DuskAssigned To => Dusk
2016-01-02 12:09DuskStatusconfirmed => assigned
2016-01-02 13:43DuskNote Added: 0014035
2016-01-02 13:43DuskStatusassigned => needs review
2016-01-10 20:31cobaltStatusneeds review => needs testing
2016-01-10 20:31cobaltTarget Version => 3.0
2016-01-10 20:31cobaltDescription Updatedbug_revision_view_page.php?rev_id=8416#r8416
2016-01-10 20:31cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8418#r8418
2016-01-10 20:31cobaltNote Added: 0014068
2016-01-14 00:43Ru5tK1ngNote Added: 0014088
2016-01-14 19:38DuskStatusneeds testing => resolved
2016-01-14 19:38DuskFixed in Version => 3.0
2016-01-14 19:38DuskResolutionopen => fixed
2018-09-30 22:13Blzut3Statusresolved => closed

Notes
(0014029)
Tribeam3rd   
2015-12-30 20:11   
This also seems to effect A_CustomRailgun.
(0014033)
Edward-san   
2016-01-01 16:48   
(edited on: 2016-01-01 16:49)
The online railgun code is not updated to handle the new 3.0 rail parameters. Also, since each rail spawn with the parameters is commanded by the server to the clients, handling your example wad perfectly requires 35 bytes more per each railgun command: 1 parameter to change in size (the 'silent' bool -> 'railflags' int, hence 3 bytes more) + 8 more parameters int-sized), so there's going to be a problem with bandwidth...

(0014035)
Dusk   
2016-01-02 13:43   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/50 [^]'
(0014068)
cobalt   
2016-01-10 20:31   
Issue addressed by commit b52cc91f7b25: Made new parameters of A_RailAttack work online (fixes 2558)
Committed by Teemu Piippo [Dusk] on Saturday 02 January 2016 15:55:30

Changes in files:

 src/cl_main.cpp | 82 +++++++++++++++++++++++++++++++++++++++++++++-------------------------------------
 src/p_map.cpp | 5 +++--
 src/sv_commands.cpp | 46 +++++++++++++++++++++++++++++++++-------------
 src/sv_commands.h | 2 +-
 4 files changed, 82 insertions(+), 53 deletions(-)

(0014088)
Ru5tK1ng   
2016-01-14 00:43   
Using the latest build, the test wad seems to work and I can see the custom pink rail from both points of view.