Graal Forums  

Go Back   Graal Forums > Gold Servers > Zone
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1  
Old 11-09-2008, 03:47 PM
Dan Dan is offline
Daniel
Join Date: Oct 2007
Posts: 383
Dan is an unknown quantity at this point
Send a message via MSN to Dan
Quote:
Originally Posted by Desear View Post
How exactly is spar rate calculated? I'm curious I never understood how exactly, cause sometimes I would kill a **** load of people, and still have no rate, than I would kill a couple people, and die, and I would get one... so, is it like how many people you kill before you die?
There's a scriptcommand for that.

PHP Code:
updateratings(obj) - returns object updates an array of {rating1,ratingdeviation1rating2,ratingdeviation2, ...}, init them at 1500 and 350 
Example of how to use:
PHP Code:
temp.rating updateratings({attacker.rating,attacker.ratingdeviation,player.rating,player.ratingdeviation}); 
The real algorithm behind the rating calculation is obviously secret To get rating deviation use this:

PHP Code:
updateratingdeviation(floatfloat) - returns float old deviationtime of last sparreturns new deviation 
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.