The offseason is nearly upon us, which means regression is about to hit the S15 players for the first time. I wanted to get a slightly improved version of my regression calculator out before this happens so that players and HO can better use this program. As with my last update, I will be posting any other updates I make here in NSFL Discussion. If you haven't read my original article about this yet, you can find it here.
CHANGES IN VERSION 1.0.2
- Further fixed which year displays when player is auto-retired.
- Added a new line that appears during regression years which tells you how much TPE was lost.
- The program no longer freezes after 50 is entered as the TPE. This was caused by the error trap only checking if the entered TPE was greater than 50, not greater than or equal to.
PLANNED UPDATES
- Change program from being Terminal Output-based to being GUI-based.
- Export program as an executable file so users only have to download the program and not the BlueJ IDE and the code.
To run this program, you will need to download a Java IDE. There are several ones out there, such as Eclipse, NetBeans, but I recommend downloading BlueJ since it's an easy IDE to understand for people unfamiliar with code.
BlueJ Website
NEW Program Code
Simply download BlueJ for whichever system you are using. Once it's downloaded, open BlueJ. You should be met with a screen similar to the first picture. From there, to to the top left, click "Project", "New Project", give it a name and store it somewhere on your computer. Once that's done, click the "New Class button" and name the class "TPECalculator". Press 'OK', and open the class by double clicking it. Remove all the code inside and replace it with the code in the provided in pastebin. Press the "Compile" button near the top right, close the code editor, right click on the class and click "void main(String[] args)". Simply press 'OK', and you can now use the program!
If you have any questions/comments/suggestions/found a bug, feel free to reply.
CHANGES IN VERSION 1.0.2
- Further fixed which year displays when player is auto-retired.
- Added a new line that appears during regression years which tells you how much TPE was lost.
- The program no longer freezes after 50 is entered as the TPE. This was caused by the error trap only checking if the entered TPE was greater than 50, not greater than or equal to.
PLANNED UPDATES
- Change program from being Terminal Output-based to being GUI-based.
- Export program as an executable file so users only have to download the program and not the BlueJ IDE and the code.
To run this program, you will need to download a Java IDE. There are several ones out there, such as Eclipse, NetBeans, but I recommend downloading BlueJ since it's an easy IDE to understand for people unfamiliar with code.
BlueJ Website
NEW Program Code
Simply download BlueJ for whichever system you are using. Once it's downloaded, open BlueJ. You should be met with a screen similar to the first picture. From there, to to the top left, click "Project", "New Project", give it a name and store it somewhere on your computer. Once that's done, click the "New Class button" and name the class "TPECalculator". Press 'OK', and open the class by double clicking it. Remove all the code inside and replace it with the code in the provided in pastebin. Press the "Compile" button near the top right, close the code editor, right click on the class and click "void main(String[] args)". Simply press 'OK', and you can now use the program!
If you have any questions/comments/suggestions/found a bug, feel free to reply.
Alex Dasistwirklichseinnachname || K || Orange County Otters || 382 TPE
http://sim-football.com/wiki/index.php?tit...ichseinnachname
![[Image: CrmdWap.png]](https://i.imgur.com/CrmdWap.png)
Player Page||Updates
http://sim-football.com/wiki/index.php?tit...ichseinnachname
![[Image: CrmdWap.png]](https://i.imgur.com/CrmdWap.png)
Player Page||Updates