Hide/show banner
World A-Team Cricket Forum

Welcome to the World-A-Team Cricket Forum. We promote friendly, good-natured, quality cricket discussion.
Go Back   World A-Team Cricket Forum > Fantasy Cricket
Sitemap Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Contact Us Chat Room Shoutbox News Podcasts Fantasy Cricket

Fantasy Cricket Our Fantasy Cricket competitions are free to play, and the winners get bragging rights. :)Apart from our main Fantasy Cricket game, members can discuss cricket console games such as "Brian Lara International Cricket 2005" on the Playstation 2, and other consoles.
- Featured Link: CricketInc.com - Where fantasy cricket means business

Reply Without Quote
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-05-2005, 05:49 AM
SirAdrian's Avatar
SirAdrian SirAdrian is offline
FC Developer
Into double-figures
 
Join Date: Feb 2005
Location: Kelowna, BC, Canada
My other team/s: Soccer fan, sorry.
Posts: 15
Send a message via MSN to SirAdrian
Bug Reporting

It would be greatly appreciated if you could post any bugs you discover in this thread.
(Please don't post comments/suggestions here)

Last edited by Ernest : 16-05-2005 at 10:10 AM. Reason: TEST
Reply With Quote
  #2 (permalink)  
Old 24-05-2005, 02:37 AM in reply to SirAdrian's post "Bug Reporting"
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
Hi SirAdrian, I've made the text cells in reportmatch smaller by editing the size setting in fantasy_cricket_reportbit to size "1". This allows the report to be printed in portrait instead of landscape which saves some paper for long lists or extra rows in Test matches for 2nd innings. Unfortunately, the banner and navbar get printed as well. Is it possible to create a print function to print just the report instead of the whole page? In the report, you have pre-added zeroes in the text cells. Does the database require this or can we get rid of them to make scoring and checking easier when the report is printed? To score on paper first before transferring to the online report it would be better if the cells were blank.
__________________
Administrator

Last edited by admin : 24-05-2005 at 03:40 AM.
Reply With Quote
  #3 (permalink)  
Old 30-05-2005, 07:30 PM in reply to admin's post starting "Hi SirAdrian, I've made the text cells..."
Richard Jenkins's Avatar
Richard Jenkins Richard Jenkins is offline
WAT World Cup Predictor
(ZIM-captain) Passed David Houghton's 1464 Test runs
 
Join Date: Mar 2004
Location: Méron, France
My main national team: None - I support cricket in general
My other team/s: Cricket
Posts: 1,485
Send a message via MSN to Richard Jenkins Send a message via Yahoo to Richard Jenkins
Second inning s

Second innings wickets don't seem to be scored for the england v bangladesh match, hoggard harminson flintoff and jones should all have scored more acording to my calculations.Is this a bug?
__________________
I have a dream.... (Martin Luther King)
Reply With Quote
  #4 (permalink)  
Old 30-05-2005, 08:19 PM in reply to Richard Jenkins's post "Second inning s"
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
You're right, Richard. The 2nd innings score is in the database but the points haven't been added to the total points for some reason. Definitely a bug. Applies to 2nd innings runs and wickets. This was tested before installing it on our board so I'm not sure why it's not working.

Update: I just checked this on the test site and the problem exists there, as well. So the bug was not fixed there before the game was installed on our board. Funny thing is that it's not the sort of thing I would have overlooked when we debugged the game.

Update: The error seems to be in this piece of code:
$score = $zruns + $zrunouts5 + $zrunouts10 + + $zrunouts15 + $zstumpings + $zcatches5 + $zcatches10 + $zwickets20 + $zwickets30 - $zducks15 - $zducks30 - $zrunsconceded;

$zwickets20in2 + $zwickets30in2 + $bonusscore haven't been included to calculate $score. Also there appears to be two ++ in $zrunouts10 + + $zrunouts15. Is that a typo?

Update: I tested both reportmatch and editreport and the problem exists when the initial report is submitted and when the report is edited.

Update: Some more testing revealed that bonus points for the 2nd innings are getting added to the total score but not the base points. If 100 runs are scored in the 2nd innings then 30 bonus points plus 100 should be added to the total score. The 30 bonus points are getting added but not the 100 runs.

In the database the runsin2 field shows the correct value but that value isn't getting added to the score. In the PHP file adding $runsin2 to the $totalscore formula or adding $zrunsin2 to the $score formula doesn't fix the problem.
__________________
Administrator

Last edited by admin : 31-05-2005 at 01:57 PM.
Reply With Quote
  #5 (permalink)  
Old 04-06-2005, 04:11 AM in reply to admin's post starting "You're right, Richard. The 2nd innings..."
SirAdrian's Avatar
SirAdrian SirAdrian is offline
FC Developer
Into double-figures
 
Join Date: Feb 2005
Location: Kelowna, BC, Canada
My other team/s: Soccer fan, sorry.
Posts: 15
Send a message via MSN to SirAdrian
It is all fixed now, sorry for the long wait. The ++ wasn't the culprit, but that's fixed too. The 'Fantasy Cricket' link in the navbits also pointed to your current location upon viewing a game, so that's fixed too.
Reply With Quote
  #6 (permalink)  
Old 15-06-2005, 09:07 PM in reply to SirAdrian's post starting "It is all fixed now, sorry for the long..."
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
Hi aj, sorry to report a new bug. I saw this occur during the game development but I thought we had fixed it.

After a game is completed each Manager should have 11 main players and 9 or 10 reserves but in game 17 quite a few of the managers have less than 11 players showing in viewteam. Just a short selection:

http://www.world-a-team.com/fantasy-...eam&m=765&g=17
http://www.world-a-team.com/fantasy-...eam&m=700&g=17
http://www.world-a-team.com/fantasy-...team&m=37&g=17
http://www.world-a-team.com/fantasy-...eam&m=754&g=17

I checked the database and found that fc_playerownership has the correct player selections for each Manager but some of the players are missing after the match reports are finished.

I also found in some cases that a player is asociated with the wrong roleid in viewteam. For example Virender Sehweg may have been selected as Batsman 4 but shows as Batsman 5 in viewteam.

Andy Flower made 55 runs but has a points total of 110 for this team although he is not a bonus player:
http://www.world-a-team.com/fantasy-...eam&m=765&g=17

Other players scores aren't right either.

This may also be a problem in other games.
http://www.world-a-team.com/fantasy-...viewgame&id=13 is effected.

http://www.world-a-team.com/fantasy-...viewgame&id=23 is unaffected.

Don't know if it has any relevance but on June 5th the site went down for a short time. Webhost: "The server was updated due to a kernel update."

Interesting that games #13 and #17, which are effected, were created before June 5th and completed after that date. Is there some way of updating them?

Update: I clicked Update for every player in each match report for games #13 & #17 which updated the points and changed the rankings but didn't add the missing players in viewteam. We need a way to update viewteam to restore missing players and include their points in the team total. The database is holding the info but perhaps that server kernel upgrade effected the game and corrupted viewteam for some teams.
__________________
Administrator

Last edited by admin : 15-06-2005 at 10:08 PM.
Reply With Quote
  #7 (permalink)  
Old 19-07-2005, 08:34 PM in reply to admin's post starting "Hi aj, sorry to report a new bug. I saw..."
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
NatWest Challenge 2005

Hi Adrian, the points tally of the managers is not correct. Please check this out. We seem to always have this problem. The reports are correct but the incorrect points appear in the managers teams.
__________________
Administrator
Reply With Quote
  #8 (permalink)  
Old 20-07-2005, 07:37 PM in reply to admin's post "NatWest Challenge 2005"
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
To all game creators:

When you score a match please click each players name and re-submit their score to ensure the correct points are added to the teams. Sorry for the inconvenience.
__________________
Administrator
Reply With Quote
  #9 (permalink)  
Old 27-07-2005, 12:16 AM in reply to admin's post "To all game creators:"
admin's Avatar
admin admin is offline
Administrator
(WI) Passed Jeffery Dujon's 3322 Test runs
 
Join Date: Feb 2004
Location: Sydney, Australia
My main national team: Australia
My other team/s: England
Posts: 3,323
Send a message via Yahoo to admin Send a message via Skype™ to admin
The above fault has been rectified. For the record, I did some tests and discovered why the points were incorrect. Strangely, one of the formulas in the main file was incorrect so it added the 1st innings runs twice.
__________________
Administrator
Reply With Quote
  #10 (permalink)  
Old 12-04-2007, 07:30 AM in reply to admin's post starting "The above fault has been rectified. For..."
Richard Jenkins's Avatar
Richard Jenkins Richard Jenkins is offline
WAT World Cup Predictor
(ZIM-captain) Passed David Houghton's 1464 Test runs
 
Join Date: Mar 2004
Location: Méron, France
My main national team: None - I support cricket in general
My other team/s: Cricket
Posts: 1,485
Send a message via MSN to Richard Jenkins Send a message via Yahoo to Richard Jenkins
Using Opera the pages take a long time upload in the update pages. When I click on World cup 2007 the server seems to take a long time to respond. Is this a browser problem? I don't think so as i've tried with mozilla and windows explorer and had similar problems. Is this server related?
__________________
I have a dream.... (Martin Luther King)
Reply With Quote
Reply Without Quote


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:48 AM.

Page generated in 0.896 seconds (77.72% PHP - 22.28% MySQL) with 13 queries

Partner Sites: - pakistancricketzone.com | Fantasy Cricket | Cricket World Cup Images | Cricket 24/7 | Third Umpire | Indian Cricket League

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0