ok, I'm working on the saving of wins/losses/stats

ok, I'm working on the saving of wins/losses/stats

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
duncs
Posts: 107
Joined: 27 Feb 2006, 16:27

ok, I'm working on the saving of wins/losses/stats

Post by duncs »

Hi

I started looking at the endgamebox.cpp, and it's not hard to save the stats to a file, which I've done in a rudimentary way.

A couple of questions here:
1: is it worth saving all the stats or just the final count? at the moment, the stats make up a graph of how the game went, with counts at various intervals. I can save all of these to a file (is that needed?) or I can save the final count only.

2: are the stats even needed? maybe just wins and losses are.

how will the lobby clients/servers use this? this will be a client side saving of someone's wins and losses. if someone moves PC or reinstalls spring, he'll lose his stats. is this actually useful?
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

YES!

Save Every. Single. Frigging. Stat.


I actually have been hoping for more uber stat taking and counting and measuring... hell, i have been secretly hoping for a 'statistical interface'so that i can literally check any stat any number of times nad then anyalze it in some graph somewhere and see all sorts of random information.


analyze analyze analyze! is my motto :D


But yeah, definatly.


*hopes for a copmletel statdump of EVVVVVVVVVERYTHINGGGG*
User avatar
Aun
Posts: 788
Joined: 31 Aug 2005, 13:00

Post by Aun »

Ever wondered why stats like these aren't available right now? Because it can very easily lead to elitism.

Go for it anyway, though. It's good practice. :-)
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Aun wrote:Ever wondered why stats like these aren't available right now? Because it can very easily lead to elitism.

Go for it anyway, though. It's good practice. :-)
More because no one got around to it. We're game developers, not social engineers.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Was wondering if this was possible before.
But was tryin to get convience peep another feature done first. But noone seemed to care 1 v multiple AI = all ai named after human player

Anyway can think of few ideas for client side. i.e graphics
have seperate graphs etc for AI etc.
No harm in looking at yourself where u normally stall in games on average etc.

And to save hassle recommend leavin it up to clients to store & display the idea, just concreate on getting it in & dumping info to txt file.

But one thing plz, try & code it in option in registry value / .springrc for linux users so we can tell it were to save the file plz. Annoying way spring assumes write access to datadir.

And cant cause elitism if its not on lobby.
i.e leave client side & tourtainments could figure away to use them if they want aswell
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

I'm working on a generic datadir abstraction in spring actually, where it also understands the concept of one "writedir" and multiple "readdirs". That should solve all issues with spring assuming write access to datadir (provided user / packager sets up datadir paths correctly, ie. a writedir in /home/user and a readdir in /usr/local/games or so).
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

I sure hope I can acess a gmes info-graph without having to replay a replay.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I'd like all the data, and a separate loader for data analysis.
Post Reply

Return to “Engine”