View Issue Details

IDProjectCategoryView StatusLast Update
0005919Spring engineLuapublic2018-03-11 21:11
Reportersprung Assigned ToKloot  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version104.0 +git 
Summary0005919: synced PlayerChanged not called in local games for /spectator or /team N
DescriptionMultiplayer appears to work fine.

I'm fairly sure it's not a gadget handler failure because to debug i've replaced both luarules entrypoints (main.lua and draw.lua) with just

```
PlayerChanged = function()
    Spring.Echo((SendToUnsynced and "SYNCED" or "UNSYNC") .. " PlayerChanged called")
end

_G.PlayerChanged = PlayerChanged
```

and only the unsynced part is printed.
Additional Information104-271 maintenance
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2018-03-11 12:09

developer   ~0018877

PlayerChanged has a big fat UNSYNCED_BIT attached, synced event clients should not receive it at all.

I do not grok how this would differ in multiplayer (and doesn't for me in a local 1v1 with server and client running on the same machine) unless there is a major bug in event routing.

sprung

2018-03-11 20:20

reporter   ~0018879

I've checked multiplayer more thoroughly and you're right. Can be closed.

Issue History

Date Modified Username Field Change
2018-03-11 02:47 sprung New Issue
2018-03-11 12:09 Kloot Note Added: 0018877
2018-03-11 20:20 sprung Note Added: 0018879
2018-03-11 21:11 Kloot Assigned To => Kloot
2018-03-11 21:11 Kloot Status new => closed
2018-03-11 21:11 Kloot Resolution open => no change required