View Issue Details

IDProjectCategoryView StatusLast Update
0000312Gameplay + OpenGL[All Projects] Bugpublic2017-03-02 03:01
ReporterNash 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000312: event/neteven CCMD doesn't work in multiplayer
DescriptionAs confirmed by ZZYZX: https://forum.zdoom.org/viewtopic.php?f=3&t=55274#p978842
TagsNo tags attached.

Relationships

Activities

ZZYZX

ZZYZX

2017-02-23 08:18

reporter   ~0000713

'event' is not networked. If 'netevent' doesn't work however, it's a bug. I need someone (-->Edward850) who can understand how networking works.
Nash

Nash

2017-02-23 08:51

reporter  

ffff.pk3 (1,171 bytes)
Nash

Nash

2017-02-24 18:35

reporter   ~0000756

The previous example file is not working. Uploading the correct one here.

(btw, I tried to delete it but the attachment is still there o_O Weird. Anyway, ignore ffff.pk3 and use this one instead, this one works correctly in single player, and doesn't work in multiplayer, as per original bug description)

sprint key.pk3 (1,274 bytes)
Rachael

Rachael

2017-02-26 16:52

administrator   ~0000784

Last edited: 2017-02-26 17:23

View 2 revisions

Somehow the stream is getting corrupted. A few debug Printf's showed that the first output is okay (which is the stringname), the successive outputs (args) are much less reliable.

Graf Zahl

Graf Zahl

2017-02-26 19:22

administrator   ~0000791

netevent is also not handled in Net_SkipCommand which is a no-no.
Graf Zahl

Graf Zahl

2017-02-26 19:32

administrator   ~0000792

Can you retry? I fixed a few of the problems in there but I'm not sure it's enough.
Rachael

Rachael

2017-02-27 00:30

administrator   ~0000793

Well it works locally, I can tell you that much.

Over the network, however... well, it works for the most part... I can't reproduce what I did to get it to fluke, though.
Nash

Nash

2017-02-27 02:14

reporter   ~0000795

I tested with local multiplayer (2 instances of GZDoom, one with -host and the other with -join) and it seems to work. Should we assume that if it works in local multiplayer, it will work correctly in real multiplayer over the internet?
Rachael

Rachael

2017-02-27 03:34

administrator   ~0000796

Yes. There is not enough motivation/interest in ZDoom's multiplayer to keep it maintained much beyond that.
Graf Zahl

Graf Zahl

2017-03-02 03:01

administrator   ~0000834

This should be correct now.

Issue History

Date Modified Username Field Change
2017-02-20 11:03 Nash New Issue
2017-02-23 08:18 ZZYZX Note Added: 0000713
2017-02-23 08:51 Nash File Added: ffff.pk3
2017-02-24 18:35 Nash File Added: sprint key.pk3
2017-02-24 18:35 Nash Note Added: 0000756
2017-02-26 16:52 Rachael Note Added: 0000784
2017-02-26 17:23 Rachael Note Edited: 0000784 View Revisions
2017-02-26 19:22 Graf Zahl Note Added: 0000791
2017-02-26 19:32 Graf Zahl Note Added: 0000792
2017-02-27 00:30 Rachael Note Added: 0000793
2017-02-27 02:14 Nash Note Added: 0000795
2017-02-27 03:34 Rachael Note Added: 0000796
2017-03-02 03:01 Graf Zahl Status new => resolved
2017-03-02 03:01 Graf Zahl Resolution open => fixed
2017-03-02 03:01 Graf Zahl Note Added: 0000834