View Full Version : Calculate Player Fantasy Points on-line
waheed
25th February 2005, 13:28
Now you can check how many points players are earning you as a match proceeds, by simply filling in a on-line form...
http://img.photobucket.com/albums/v365/waheed/FC_Interface.jpg
Once filled and submitted the points will be automatically calculated for you...
http://img.photobucket.com/albums/v365/waheed/FC_Output.jpg
Direct Link... Calculate FP Player Form (http://www.pakpassion.net/test/calculate_player_points.html)
It is better to open it from within the PP Fantasy Cricket Section, so a new web window not open up.
Fantasy Cricket Home (http://www.pakpassion.net/CM_M/index.php?option=com_wrapper&Itemid=240)
Civil
25th February 2005, 15:39
Excellent Work Waheed Bhai
but how come a batsmen gets 10 points for not bowling an over, in the bowling part??
I got 10 points from bowling when i was just calculating for Ashwell Prince, and he hasnt bowled yet in the match?
waheed
25th February 2005, 16:53
Thanks Civil.
You found a bug :-D
I needed an extra case statement in the code...
//only apply if over 5 overs bowled
switch ($_POST['$overs'])
{
case $_POST['$overs']>=5:
switch ($economy)
{
[b] case $economy=0:
$economyratePts = 0;[/b]
break;
case $economy>0 AND $economy<4:
$economyratePts = 20;
break;
That should work now.
Rob H
25th February 2005, 17:11
I have the one you e-mailed me waheed. Is that just the same as this?
waheed
25th February 2005, 17:18
RH Posted: Fri Feb 25, 2005 6:11 pm Post subject:
--------------------------------------------------------------------------------
I have the one you e-mailed me waheed. Is that just the same as this?
Not sure what you mean RH.
If you mean the C# application I sent it is not the same as this.
That is a client based solution and in the long run will do a lot more when I have more time to work on it.
This is a web based solution so everybody can check there points quickly, and they don't need to have the .Net Framework installed on there PC to run, which is one of the prerequisites for the c# application.
Waqar's inswinging yorker
25th February 2005, 20:09
great work waheed bhai - obviously computers are more reliable!!!! thanks
Rob H
26th February 2005, 10:34
I only got 159 points today :(
Saqlain_doosra
27th February 2005, 00:03
thanks Waheed. I Can see about 250+ points for 2 games
Fessal
27th February 2005, 01:00
Great work Waheed bhai.
Waqar's inswinging yorker
27th February 2005, 01:41
waheed bhai - does ur system allow for rounding when it comes to terms of strike rate as in first game u had gilchrist down for 26(inlcuding appearance) but i worked out as 27 coz working out from sr formula gave 1.6 pts - rounded it to 2 thus giving 27
waheed
28th February 2005, 12:05
Waqar's inswinging yorker Posted: Sun Feb 27, 2005 2:41 am
--------------------------------------------------------------------------------
waheed bhai - does ur system allow for rounding when it comes to terms of strike rate as in first game u had gilchrist down for 26(inlcuding appearance) but i worked out as 27 coz working out from sr formula gave 1.6 pts - rounded it to 2 thus giving 27
WIY, I deliberately rounded down everything :-)
I thought that's what you were doing, e.g. with the runs conceeded it is rounded for every 5 complete runs.
I can change the points to be rounded up instead, it is only a slight modification.
That will probably be the only change I will make to the code, other ideas I had will have to wait for a while now... :-*
Fessal
28th February 2005, 12:45
Waheed,
I have spent hours doing the calculations on excel which is very time consuming. I did the points for the last 3matches together. WIY and I think it's best to use your calculation tool from next match as it's a lot easier and because you have done a lot of hard work on it. It's very good and well done bhai.
So from next game we will use your fantastic calculation tool and even if it want used before it wont matter because it will be same for all.
Also, we believe that the first block shouldn't finish on 31st march. The reason being that the Pak v India series finishes in April. We prefer end of April and realise that we have to be flexible with the dates to make sure full series falls in a block. I think it's ok to have on average 3 month cycle but the dates should only be confirmed when fixtures are and near to the time. People will have at leasr one month notice to submit new teams and when the new fantasy cricket cycle blocks start.
What do u think? Mail me or come on msn.
Thanks
Officer Barbrady
1st March 2005, 02:31
Well done guys
Fessal
2nd March 2005, 00:23
Thanks
waquas_uk
2nd March 2005, 13:44
fessal bhai do i need 2 update anything this week
Fessal
3rd March 2005, 11:27
I am not sure because WIY is working on it but he may require some assistance.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.