View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005919 | Spring engine | Lua | public | 2018-03-11 02:47 | 2018-03-11 21:11 |
| Reporter | sprung | Assigned To | Kloot | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 104.0 +git | ||||
| Summary | 0005919: synced PlayerChanged not called in local games for /spectator or /team N | ||||
| Description | Multiplayer 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 Information | 104-271 maintenance | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
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. |
|
|
I've checked multiplayer more thoroughly and you're right. Can be closed. |
| 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 |