Package: warzone2100
Version: 3.1~rc2-1
Severity: normal
Control: found -1 3.1~beta11-2

Hi,

it looks like kills/score aren't stored at all after multiplayer
games:
| kibi@arya:~$ cat .warzone2100-3.1/multiplay/players/KiBi.sta 
| WZ.STA.v3
| 4 0 0 0 2

after a few rounds. Or after a few hours:
| kibi@arya:~$ cat .warzone2100-3.1-backup/multiplay/players/KiBi.sta 
| WZ.STA.v3
| 206 0 0 0 113

The latter was using 3.1~beta11-2; I've moved it aside when I upgraded
to 3.1~rc2-1, to make sure.

saveMultiStats() in src/multistat.cpp has:
|         snprintf(buffer, MAX_STA_SIZE, "WZ.STA.v3\n%u %u %u %u %u",
|                  st->wins, st->losses, st->totalKills, st->totalScore, 
st->played);

so I suspect this st thing is somewhat busted. Besides the 0 values
for totalKills and totalScore, how can I get more wins than played
games?

Mraw,
KiBi.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to