Varun
ICC Board Member
- Joined
- Mar 14, 2009
- Location
- Delhi, India
- Online Cricket Games Owned
- Don Bradman Cricket 14 - Steam PC
Meet, can you do it please?
but if someone has the latest edition downloaded from the site itself, please post it here so others can download.
Thanks just when my league was startingSo PCPL informed me about some minor issues with the sim, so I thought it'd be fun to download the source, fix them, and release another version.
As it turned out, however, I nearly cried my eyes out. The code I wrote some 6 years ago is so bug-prone, so ugly, so naive... I am surprised about how it all still somehow pulls together and produces valid output without crashing here and there!
I had thought of overhauling the sim a bit but considering the code quality, I decided to give it a miss.
I gave a shot at some fixes. Here's what I was able to do:
1. Increase the frequency of sixes.
2. Fix issue with overs appearing as "18.6"
Give it a whirl. Some disclaimers:
0. I don't know whether the source I used (and had posted above) was the latest source with which the sim being used in PCPL was compiled. It may very well be older and hence more buggy or different in behavior; unfortunately this is also the only source still available.
1. I may have broken 10000 things; please do not kill me. If you can present a bug report to me (which includes how the issue occurred, how to make it occur if possible, state of match at that moment, what exactly is the issue), I shall be happy to fix it if I can.
2. I'm not really sure if the old team files would continue to work. They should, though.
3. The increase in number of sixes might translate into slightly higher total team scores. Let me know if it becomes too much of an issue/you have some suggestions (like reduce the twos, or fours, or dots, etc.)