Thread: Ratings System
View Single Post
  #2  
Old 02-22-2006, 10:26 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes timevar2
You only need to update the deviation each login I guess, the minimum value for the deviation is 75, and it is raising by one each day without spar I think.

PHP Code:
newratings updateratings({winner.rating,winner.ratingd,loser.rating,loser.ratingd});
winner.rating newratings[0];
winner.ratingd newratings[1];
winner.lastspar int(timevar2);
loser.rating newratings[2];
loser.ratingd newratings[3];
loser.lastspar int(timevar2); 
Reply With Quote