2019-12-14 11:43 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005138Spring engineGeneralpublic2018-09-16 15:14
ReporterFloris 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version101.0 
Target VersionFixed in Version 
Summary0005138: cannot resign (being a standin)
Descriptionwas also the case in v100

"[f=0032264] Spectator [teh]Flow sent invalid team resign"

aperantly the host/engine still considers me a spectator
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0015976

abma (administrator)

replay?

~0015977

Floris (reporter)

added

~0015978

abma (administrator)

seems .spectator in GameServer isn't updated when AssignPlayerToTeam is called:

https://github.com/spring/spring/blob/develop/rts/Lua/LuaSyncedCtrl.cpp#L702

https://github.com/spring/spring/blob/develop/rts/Net/GameServer.cpp#L1417

~0019347

silentwings (reporter)

> seems .spectator in GameServer isn't updated when AssignPlayerToTeam is called:

I didn't know .spectator existed when I wrote AssignPlayerToTeam. (Unfortunately, I don't have a build system for spring.exe set up atm, so can't fix.)

~0019349

sprung (reporter)

It seems not to update .team as well, see 0006039

~0019352

silentwings (reporter)

The precise effect is to call https://github.com/spring/spring/blob/720832e7993aec6e78e66aebb9dbe60b024834c5/rts/Lua/LuaSyncedCtrl.cpp#L696
+Notes

-Issue History
Date Modified Username Field Change
2016-03-06 01:02 Floris New Issue
2016-03-06 01:28 abma Note Added: 0015976
2016-03-06 01:29 Floris File Added: 20160306_003830_DeltaSiegeDry_101.sdfz
2016-03-06 01:30 Floris Note Added: 0015977
2016-03-06 02:44 abma Note Added: 0015978
2018-09-12 08:14 silentwings Note Added: 0019347
2018-09-12 18:37 sprung Note Added: 0019349
2018-09-16 15:14 silentwings Note Added: 0019352
+Issue History