[Simulator] - The Hundred | V3.1 Released |

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
1637407247216.png

Version 3.1
Feature and Changes
  • More improved ratings to match pitch results.​
  • Added - Powerplay (1-25 balls)​
  • Added partnerships display​
  • Changed everything to The Hundred league standards. (Like players economy and RR per 5 balls)​
  • Improved bowler selections.​
  • A lot more...​

Credits to @Pinch hitter for the ratings as per pitch type and power plays. He improved them much better.

Auto Bowler Pick | Manual Bowler Selection
 
Last edited:

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
banner-copy-jpg.253759


It's here with all till date changes and improvements.
OneDrive - LINK
G-Drive - LINK


Steps to create and simulate a match.
1. Lets start with creating a team.
2. Go to templates folder and make a copy of templates with names Template.csv and Template Bowling.csv
3. Template for batsmen ratings and Template Bowling for bowlers.
4. For batsmen (Template.csv)
playerroletype0s1s2s3s4s6soutwidetotal

These are the attributes requited.
player - Player Name
role - Batsman / Keeper / Bowler (Remember first letter of role must be always caps !)
type - Just for reference for the comfort of simulator. You can enter anything there like left or right or gold player or level 1 category or anything that doesn't matter or you can leave alone.
0s, 1s, 2s, 3s, 4s, 6s and outs hope you got idea and how to give those ratings.
wide - By default let it be 2 or 1. Chances of that batsmen facing wide's.
total - Again just for our reference - sum(0s, 1s, 2s, 3s, 4s, 6s, out) - for better results make sure this wont cross 100. Even if it cross doesn't matter.

5. For bowlers (Template Bowling.csv)

playertyperating

Be careful, for who all players you mentioned in Template.csv role as Bowler, their names must be present in Template Bowling.csv else you will get team data match error.
In this version.
You can give ratings for batting allrounder less than 70 and rest other roles 70 or 70+. Make sure you wont give more than 95.

Team Name

1. Once you are done with ratings, rename the csv file names from Template.csv -> teamname.csv and for bowlers data Template Bowling.csv -> teamname Bowling.csv -> teamname Bowling.manish
For example - Team Name - The Losers
Batsmen - Template.csv -> The Losers.csv
Bowlers - Template Bowling.csv -> The Losers Bowling.manish

2. Move the 2 files to the main root folder. We are ready to simulate.
3. Run The-Hundred-Manish.exe and you will be getting like
Code:
Avaliable teams: ['Bad Boys.csv', 'Manchester Originals.csv', 'The Losers.csv', 'Wild Force.csv']
Enter team 1 index:
Enter team 2 index:

It displays all available teams. Now i want to simulate match for The Losers and Manchester Originals just enter their index numbers.
Enter team 1 index: 3 (3 for The Losers)
Enter team 2 index: 2 (2 for Manchester Originals)

Similarly if there are more teams enter their index number.

Below are the examples for the ratings for RUDI's team The Losers.
The Losers.csv -> Batsmen ratings
here i used type -> for easy notification of player auction category price. :goldo: 500 for ABD

You can include all your playing 11 here.
playerroletype0s1s2s3s4s6soutwidetotal
Evin LewisBatsman18035252021046296
Rilee RossouwBatsman18035252021046296
AB De VilliersKeeper500253025515922109
Rassie Van Der DussenBatsman18035252021046296
Aiden MarkramBatsman18035252021046296
Chris WoakesBowler18035252021046296
Dwaine PretoriusBowler1004020181668291
Isura UdanaBowler1004020181668291
Wiaan MulderBowler1004020181668291
George LindeBowler1004020181668291
Raymon ReiferBowler604525151439293


The Losers Bowling.manish

Remember from The Losers.csv i mentioned 6 players role as Bowler. So all 6 must be present here. If you want to edit bowler ratings just rename .manish to .csv. After changes change it to .manish

playertyperating
Chris Woakesfast85
Dwaine Pretoriusfast75
Isura Udanafast70
Wiaan Mulderfast70
George Lindespin70
Raymon Reiferfast65

May be this write up looking long but it's way easier to change ratings with Microsoft Excel.

Fixed all the bugs and loopholes in the code as far I noticed, let me know more if you find anything !
 

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
Change Logs
version 1.0.0
  • With all basic suggestions and fixes suggested by some of our members​
  • Download - OneDrive - Link G-Drive - Link
Version 1.0.1
  • Fixed - For random simulations, batsmen who stands not out in 2nd innings data, gets entry twice.
  • Fixed - In second innings, when batting first team won, it prints the batsmen who scored winning runs as out.
  • Download - Google Drive - LINK OneDrive - LINK
Future planned improvements / features
  • More possible outcomes like - No Ball, Free Hit, Leg Byes :tick:
  • More dismissals types like - LBW, Run Out, Hit Wicket :tick:
  • Implementation of 5 ball when the bowler give away more runs in the first 5 balls. :tick:
  • More bowler ratings from 70 to 60. :tick:
  • Powerplay for thr first 25 balls :tick:
  • Pitch types - Flat, Normal, Green, Dusty :tick:
  • Chances of rain and D/L method winners and setting targets for more realstic.
 
Last edited:

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
Bug Reports / Fixes
Bugs
• Fixed - When batsman out on the multiples of 10th ball, player out individual score gets swapped to non striker individual score.
• Fixed - Out type stump causing parameter error. (technical)
• Fixed - When ball outcome is 2 runs, random times commentary is null.
• Fixed - 2nd Innings ball outcome 6 not printing.

Improvements
• Added - Do not bat at the end of scoreboard.
• Added - Total Score and wickets .
• Added - Labels for scoreboards instead of first innings and bowling scoreboard titles.
• Added - Run rate at scoreboard
• Added - Extras at scoreboard
• Added - Required Run Rate in 2nd innings
• Re-Coded - Scoreboard board players alignment based on their playing order.
• Added - Ball outcome leg bye.
• Added - More bowling options from 70 to 55.
 
Last edited:

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC

banner-copy-jpg.253759

Improvements and Fixes (27th August 2021)

Bugs

• Fixed - When batsman out on the multiples of 10th ball, player out individual score gets swapped to non striker individual score.
• Fixed - Out type stump causing parameter error. (technical)
• Fixed - When ball outcome is 2 runs, random times commentary is null.
• Fixed - 2nd Innings ball outcome 6 not printing.

Improvements
• Added - Do not bat at the end of scoreboard.
• Added - Total Score and wickets .
• Added - Labels for scoreboards instead of first innings and bowling scoreboard titles.
• Added - Run rate at scoreboard
• Added - Extras at scoreboard
• Added - Required Run Rate in 2nd innings
• Re-Coded - Scoreboard board players alignment based on their playing order.
• Added - Ball outcome leg bye.
• Added - More bowling options from 70 to 55.

Now we will have matches more realistic that restricts scoring total in between 80 to 120 runs per 100 balls.
 

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
banner-copy-jpg.253759


Version 2.0.0
What's New
  • Completely made simulation as GUI compatible​
  • Added - Stats Calculator with GUI​
  • Stats output includes both csv and txt files.​
  • Simulation includes one with report (data) and other without.​
Bugs
  • Fixed - The out ball isn't included in the batsman's score.
  • Many more improvements
How to calculate stats ?
  • Put your simulated match csv files separately for the batsmen and bowlers in ./stats-calculator folder.
  • Now, run the exe, select 4. for stats calculator.
  • Click Batsmen and Bowler buttons and select files. Click compute.
  • Stats are stored in the same folder in csv and txt format.
1630315742281.png
1630315789623.png
1630315826557.png

Google Drive | OneDrive
 

ahmedleo414

The Butcher
PAK...
LQ
The Boys
Joined
Jun 9, 2019
Location
Toronto
Profile Flag
Canada
Enter team 1 index, There are 3 teams. 1 for BB, 2 for The Losers and 3 for Wild Force.
Thanks, that worked. Maybe you can add that in the next version, just have a little number beside each team so it's easier to pick when there are a bunch together
 

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
Thanks, that worked. Maybe you can add that in the next version, just have a little number beside each team so it's easier to pick when there are a bunch together
Found few bugs in the existing code again. With this update will make that team selection GUI too.
 

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
banner-copy-jpg.253759


Version 2.1.0
What's New
  • Added new outcomes like LBW, Hit Wicket and Run Out. (Stumping, Hit Wicket and Run Out will occur rarely but not in every match, for realistic simulation)
Bugs
  • Fixed - Batsmen scoring with 200+ SR.
  • Fixed - 2nd Innings, Leg Bye strike not rotating.
How to calculate stats ?
  • Put your simulated match csv files separately for the batsmen and bowlers in ./stats-calculator folder.
  • Now, run the exe, select 4. for stats calculator.
  • Click Batsmen and Bowler buttons and select files. Click compute.
  • Stats are stored in the same folder in csv and txt format.
 
Last edited:

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
Fixtures Calculator
Available Fixtures
  • Round Robin​
  • Double Round Robin​
  • Group Stage​
  1. Place your league team names in ./fixtures/teams/teams.txt
  2. Run the exe
  3. Choose your options
  4. Fixtures stored in ./fixtures/outcome/leaguename.txt

1632834223713.png
1632834249785.png
 

Attachments

  • Fixtures Gen.zip
    7.2 MB · Views: 2

Manish.

Staff Member
Moderator
PlanetCricket Award Winner
TPCL Titans
Joined
Aug 22, 2016
Location
Vijayawada, India.
Profile Flag
India
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - Steam PC
icon.png

The Hundred v3.0

Exe File | Source Code | Virus Total
What's New
  1. Implementation of 5 ball league. But this is completely dynamic selection by sim. 75% probability of bowling 10 balls and 25% of bowling 5 balls. This can be adjusted by a simulator.
  2. Improved ratings
  3. Added more outcomes
  4. Improved teams selection using csv.
  5. Output both on ui and txt file.
  6. Pitch Types
Player Ratings
Unlike last version today we don't have a separate csv file for bowlers. They are integrated with batsmen data. Below is the ratings table for the team The Wild Force.
role make sure your team have one and only one keeper marked as 'Keeper' case sensitive.
Player whom you don't want to bowl mark their ratings has 0 in bowling_points.

Pitch Types
  • Set out in range of 4-6 for normal match.
  • Set out in range of 1-3 for batsmen friendly.
  • Set out in range of 7-9 for bowler friendly.

playerroletype0s1s2s3s4s6soutwideleg byeno balltotalbowling_actionbowling_points
I GundaBatsmanleft
41​
30​
10​
5​
10​
7​
3​
2​
3​
3​
88​
spin
0​
TSPKeeperright
40​
30​
10​
5​
10​
7​
3​
2​
3​
3​
72​
spin
0​
Kushal CBatsmanright
40​
35​
10​
2​
10​
5​
3​
2​
3​
3​
67​
spin
0​
MarkkkkkBatsmanright
40​
35​
10​
2​
8​
5​
3​
2​
3​
3​
74​
spin
0​
M AliBatsmanright
40​
35​
10​
2​
8​
5​
4​
2​
3​
3​
74​
spin
0​
AKBowlerright
40​
20​
20​
0​
6​
5​
4​
2​
3​
3​
79​
spin
75​
A RafayBowlermedium
40​
20​
20​
0​
6​
5​
6​
2​
3​
3​
80​
fast
75​
X FactorBowlerspin
40​
25​
10​
0​
5​
4​
6​
2​
3​
3​
78​
spin
65​
M RatchedBowlermedium
40​
25​
10​
0​
5​
3​
10​
2​
3​
3​
93​
fast
80​
ReddyBowlerfast
40​
25​
10​
0​
5​
3​
10​
2​
3​
3​
89​
fast
85​
DaleBowlermedium
40​
25​
10​
0​
5​
3​
10​
2​
3​
3​
89​
spin
80​
 
Last edited:

Users who are viewing this thread

Top