Open Steve1215Macca opened 4 years ago
Once you run a match, there will be a folder named "scorecards" inside the main folder which will contain the output files..check that out.
Also, I forked out and made a few modifications to Jamie's code to produce additional output files including a MatchViewer and ball-by-ball commentary files. You will need to download the whole thing here if you want to give that a try: https://github.com/canonet28/cricket
Let me know how it goes.
Still can't get it too work - the only files that work when i try to open them is the custom team and when i create teams i do get a scorecard but still haven't work out how to get to the match viewer to work.
@Jamee999 @canonet28 : Need some help to understand below: I'm planning to host a draft (offline) and subsequently run a test league among 4-8 teams and with a final.
Questions:
Jamie will be the right one to answer those questions...from the little I have seen, I do not think you can do most of what you ask there. As for updating the player data, there are a couple of files to use: "cricinfoscrape.py" to scrape the latest data from espncricinfo and then use "playersconvert.py" to convert those scrapped data into the format used by the main script for simulation. But again will need Jamie to break that down..
I just tried to run cricinfoscrape.py but got "ModuleNotFoundError: No module named 'bs4' - any ideas?
Jamie
Sorry was born before computers were invented so need some help!! Great program and i managed to run a few customs games - How do i go about watching the commentary ball by ball rather than it just going straight through to the end of the match?