Daniel A said:I noticed the average was for the two last sessions only. Are you planning to make it average for the whole capaign?
Tonio said:- Average Rating added. How does that work ? Normally rating is calculated "on fly" and not stored anywhere. Calculating all ratings "on fly", when you browse the stats each time would be rather costy for server. So each time when you browse stats of certain game and certain year, the script saves rating of this game of this year. When someone visit it second time, it doesn`t resave, only first visit trigger the saving procedure. So from this visit, the rating of this year will be taken in database to calculate average rating. So if you want all of years of your current game would take in database all previous rating, enough to browse all them. And another important note: games with "e" in year won`t be recorded by script, so i cut off edited save not to double rating for average.
Everything was here