| | |
![]() | |
| Welcome to the World-A-Team Cricket Forum. We promote friendly, good-natured, quality cricket discussion. |
| |||||||
| 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 |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| 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) |
| ||||
| 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. |
| | ||||
| ||||
| 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. |
| ||||
| 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 |
| ||||
| 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 |
| ||||
| 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) |
| Thread Tools | |
| Display Modes | |
| |