2025-07-20 16:42 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004020Spring engineLuapublic2013-10-03 02:27
Reportersilentwings 
Assigned TojK 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0004020: GetPlayerRoster returns the wrong stuff
DescriptionTested with -1216. Used:

local roster = Spring.GetPlayerRoster()
for i,el in pairs(roster) do
    Spring.Echo(i,el)
end

And result in infolog is:

[f=0000000] 1, <table>
[f=0000000] 2, 0
[f=0000000] 3, 0
[f=0000000] 4, 0
[f=0000000] 5, false
[f=0000000] 6, 0
[f=0000000] 7, -0.033333335071802

This was a game started directly from spring.exe with only myself in it. The "table" that is roster[1] has #(roster[1])=0.

TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

+Notes

-Issue History
Date Modified Username Field Change
2013-10-03 00:09 silentwings New Issue
2013-10-03 02:27 Kloot Note Added: 0011663
2013-10-03 02:27 Kloot Status new => resolved
2013-10-03 02:27 Kloot Resolution open => fixed
2013-10-03 02:27 Kloot Assigned To => jK
+Issue History