2025-07-18 21:46 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002018Spring engineGeneralpublic2012-03-06 01:53
Reporterlululaglue 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version0.81.2.1 
Target VersionFixed in Version 
Summary0002018: demos recorded by spring-dedicated are corrupted
DescriptionI have an spring's autohost (spring 0.81.2.1 + spads)
After the game, spring-dedicated save demo-file.

This demo-file can be read by spring or demotool or spring-dedicated-client, but a few informations are corrupted.

Exemple with demotool -H, WinningAllyTeam is always -1

The same demo recorded by my spring-client (on my pc not on my server) isn't corrupt.
Additional InformationExemple for one demo:
goliath:~# /opt/games/spads_ladder/DemoTool/demotool -H /opt/games/spads/spring/share/games/spring/demos/20100803_010236_Castles_0.81.2.sdf
Magic: spring demofile
Version: 4
HeaderSize: 112
VersionString: 0.81.2
GameID: 004f574ce80ba2dd85384546f270f133
UnixTime: 1280790156
ScriptSize: 2553
DemoStreamSize: 1134208
GameTime: 1578
WallclockTime: 1699
NumPlayers: 10
PlayerStatSize: 200
PlayerStatElemSize: 20
NumTeams: 7
TeamStatSize: 28
TeamStatElemSize: 76
TeamStatPeriod: 15
WinningAllyTeam: -1

The result for all my demos :
goliath:~# IFS=$'\n\t'; for i in `ls -1 /opt/games/spads/spring/share/games/spring/demos/`; do echo -n "$i "; /opt/games/spads_ladder/DemoTool/demotool -H /opt/games/spads/spring/share/games/spring/demos/$i | grep WinningAllyTeam; done
20100713_231825_Small_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100713_235421_Small_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100714_001734_Comet Catcher Redux_0.81.2.sdf WinningAllyTeam: -1
20100720_205832_DeltaSiegeX_0.81.2.sdf WinningAllyTeam: -1
20100720_210937_DeltaSiegeX_0.81.2.sdf WinningAllyTeam: -1
20100720_211625_DeltaSiegeX_0.81.2.sdf WinningAllyTeam: -1
20100720_213504_Tabula-v2_0.81.2.sdf WinningAllyTeam: -1
20100720_215700_Tabula-v2_0.81.2.sdf WinningAllyTeam: -1
20100720_223847_Tabula-v2_0.81.2.sdf WinningAllyTeam: -1
20100721_121604_SpeedMetal_0.81.2.sdf WinningAllyTeam: -1
20100721_130039_SpeedMetal_0.81.2.sdf WinningAllyTeam: -1
20100721_131139_SpeedMetal_0.81.2.sdf WinningAllyTeam: -1
20100721_134947_SpeedMetal_0.81.2.sdf WinningAllyTeam: -1
20100721_214429_Kappa_Basin_0.81.2.sdf WinningAllyTeam: -1
20100721_220828_Green_Fields_fix_0.81.2.sdf WinningAllyTeam: -1
20100722_135139_Comet Catcher Redux_0.81.2.sdf WinningAllyTeam: -1
20100722_140812_Comet Catcher Redux_0.81.2.sdf WinningAllyTeam: -1
20100722_142825_Adamantine_Mountian-V1_0.81.2.sdf WinningAllyTeam: -1
20100722_143202_Adamantine_Mountian-V1_0.81.2.sdf WinningAllyTeam: -1
20100722_143501_Adamantine_Mountian-V1_0.81.2.sdf WinningAllyTeam: -1
20100722_145615_Paradise Lost v2_0.81.2.sdf WinningAllyTeam: -1
20100722_152025_Paradise Lost v2_0.81.2.sdf WinningAllyTeam: -1
20100722_181520_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100722_183641_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100722_194119_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100727_212050_Barren_0.81.2.sdf WinningAllyTeam: -1
20100727_213036_Barren_0.81.2.sdf WinningAllyTeam: -1
20100727_214730_Comet Catcher Redux_0.81.2.sdf WinningAllyTeam: -1
20100727_221639_Titan-v2_0.81.2.sdf WinningAllyTeam: -1
20100727_224224_Titan-v2_0.81.2.sdf WinningAllyTeam: -1
20100727_225942_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100727_235600_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_003140_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_011246_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_013746_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_122239_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_124030_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_130317_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100728_204335_SuperSpeedMetal_0.81.2.sdf WinningAllyTeam: -1
20100728_212134_Talus_0.81.2.sdf WinningAllyTeam: -1
20100728_220745_Talus_0.81.2.sdf WinningAllyTeam: -1
20100728_224540_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_225110_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100728_234428_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100729_001309_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100731_111907_Talus_0.81.2.sdf WinningAllyTeam: -1
20100801_232317_Nightscape_v2_0.81.2.sdf WinningAllyTeam: -1
20100801_235202_River_Dale_Remake-v01_0.81.2.sdf WinningAllyTeam: -1
20100802_001330_River_Dale_Remake-v01_0.81.2.sdf WinningAllyTeam: -1
20100802_003005_River_Dale_Remake-v01_0.81.2.sdf WinningAllyTeam: -1
20100802_215347_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100802_215755_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100802_222200_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100802_224749_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100802_225257_Small Supreme Battlefield V2_0.81.2.sdf WinningAllyTeam: -1
20100802_234043_DeltaSiegeDry_0.81.2.sdf WinningAllyTeam: -1
20100803_003140_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_010236_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_013952_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_020246_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_022812_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_185922_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_194254_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_202629_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_203330_Castles_0.81.2.sdf WinningAllyTeam: -1
20100803_210732_Tropical_0.81.2.sdf WinningAllyTeam: -1
20100803_211046_Tropical_0.81.2.sdf WinningAllyTeam: -1
20100803_214637_Tropical_0.81.2.sdf WinningAllyTeam: -1
20100803_220700_Castles_0.81.2.sdf WinningAllyTeam: -1
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0005325

lululaglue (reporter)

I have try with the latest spring source.

If I use demotool on my autohost (bad):
./demotool -H /opt/games/spads/spring/share/games/spring/demos/20100819_211647_DeltaSiegeDry_0.82+.3.sdf
Magic: spring demofile
Version: 4
HeaderSize: 112
VersionString: 0.82+.3
GameID: 2b836d4c4d3f093415a58ea3d41f3ffe
UnixTime: 1282245407
ScriptSize: 925
DemoStreamSize: 97967
GameTime: 290
WallclockTime: 186
NumPlayers: 2
PlayerStatSize: 40
PlayerStatElemSize: 20
NumTeams: 1
TeamStatSize: 4
TeamStatElemSize: 80
TeamStatPeriod: 16
WinningAllyTeam: -1

On my pc (good):
./demotool -H ~/.spring/demos/20100819_211647_DeltaSiegeDry_0.82+.3.sdf
Magic: spring demofile
Version: 4
HeaderSize: 112
VersionString: 0.82+.3
GameID: 2b836d4c4d3f093415a58ea3d41f3ffe
UnixTime: 1282245407
ScriptSize: 925
DemoStreamSize: 97602
GameTime: 282
WallclockTime: 174
NumPlayers: 2
PlayerStatSize: 40
PlayerStatElemSize: 20
NumTeams: 2
TeamStatSize: 3048
TeamStatElemSize: 80
TeamStatPeriod: 16
WinningAllyTeam: 0

~0005330

hoijui (reporter)

could you please upload the two demo files, and give the exact version of git sources you used (git describe)?
as i played with you yesterday, i guess it is: 0.82.3-117-g1c5a4eb

~0005336

lululaglue (reporter)

Yes the version is 0.82.3-117-g1c5a4eb
The 2 replays have been attached.

~0008403

abma (administrator)

please reopen, if still present.
+Notes

-Issue History
Date Modified Username Field Change
2010-08-04 15:03 lululaglue New Issue
2010-08-19 21:30 lululaglue Note Added: 0005325
2010-08-20 08:54 hoijui Note Added: 0005330
2010-08-20 22:52 lululaglue Note Added: 0005336
2010-08-20 22:52 lululaglue File Added: 20100819_211647_DeltaSiegeDry_0.82+.3_corrupt.sdf
2010-08-20 22:53 lululaglue File Added: 20100819_211647_DeltaSiegeDry_0.82+.3_good.sdf
2012-03-06 01:53 abma Note Added: 0008403
2012-03-06 01:53 abma Status new => resolved
2012-03-06 01:53 abma Resolution open => unable to reproduce
2012-03-06 01:53 abma Assigned To => abma
+Issue History