Sim Dynasty

View Old Forum Thread

Old Forum Index » Baseball Beta Testing » Beta News » Minor League Development Now Up and Running!!!
tysonlowery

Minor League Development Now Up and Running!!!

January 21, 2002 at 08:22PM View BBCode

Okay, this was a huge undertaking (like 5 hours of my day), but I'm glad I got it done.

Minor league players will now improve over the course of the season. Here are the basics on how it works:

First, go to your minor league roster from the Roster page. You'll see I've upgraded this page, and added a column to the far right called Coach Points. In this column, you can input a number between 0 and 5, with 5 being the best.

After each game, there is an opportunity for one of your minor leaguers to get an increase in a particular skill by one point. For players, this can be fielding, speed, contact, or power. I have it set up for pitchers with endurance, velocity, and control.

For example, if you set your 20 year old right fielder's coach points = 5, then he may get his contact vs. Lefties increased by one point.

Here are some more basics on the logic. The older a player gets, the less chance that he will actually get an increase in skill. There is a very small chance of players over 30 getting an increase, but it can happen. So its better to assign your coach points to younger players, as there is a greater chance you will actually receive points for this player.

I think the logic makes since, even if I'm finding it a bit difficult to explain. Basically, if you assign a young player (under 24) 5 coach points, his overall total rating should increase about 5-7 points over the course of the season.

Check this out, it should be coo!


Ben

January 22, 2002 at 09:18PM View BBCode

two things where can i find who gets the points and on the minor league roster page it would be easier to use if you put a counter on the bottom of the page to tell you how many coach points you have used
tysonlowery

January 22, 2002 at 09:29PM View BBCode

First thing: Nowhere currently. I could easily add this to the boxscore, but I'm not sure if that's the best place for it. What do you think?

Second thing: I can do that, I think. Let me look into it. I think I would have to use Java Script, which I have never, ever used. But it can't be too hard to figure out, right?
Ben

January 22, 2002 at 09:44PM View BBCode

first thing: could you possibly put it on the gm center page have something with the 3 people you get points for that day and then then have a link to another page with the names of all the players from through out the season
Second: you were smart enough to figure everything else out you should be able to do this and if you can't there might be someone else who used the site and could help you
ChrisL

January 24, 2002 at 05:12AM View BBCode

Originally posted by tysonlowery

Second thing: I can do that, I think. Let me look into it. I think I would have to use Java Script, which I have never, ever used. But it can't be too hard to figure out, right?


It would go something like this:

- Add the following script to the <HEAD> section:

<SCRIPT Language=JavaScript>
function AddUpPoints() {
var pointvalues
var i
var pointtotal

pointtotal=0
pointvalues = document.all.tags("input")
for(i=0;i<pointvalues.length;i++) {
if(pointvalues.name.substring(0,6)=='points')
pointtotal+=parseInt(pointvalues.value)
}
PointsTotal.innerText=pointtotal
}

</SCRIPT>

- Add the following to each INPUT tag:

ONCHANGE='AddUpPoints'

- Add the following to the cell you want the results to show up in:

Points Used: <SPAN ID=PointsTotal>15</SPAN>

(You can put 15 there to start because it should always be 15 on page load.)

--Chris

tysonlowery

January 24, 2002 at 09:05PM View BBCode

Awesome, thanks Chris! I'll try to get it in this weekend.
tysonlowery

January 26, 2002 at 12:32AM View BBCode

It needed some help, but I got it to work.

Thanks Chris. I assume you'll be suing me for intellectual property rights if I ever make any money off this, right?

Back to the first thing:
I don't store this information anywhere currently, I just "do it on the fly". So I'd have to make some more changes.
ChrisL

January 26, 2002 at 01:09AM View BBCode

Originally posted by tysonlowery
Thanks Chris. I assume you'll be suing me for intellectual property rights if I ever make any money off this, right?


Any code I give you is free and clear. But if you spot me a free season, I won't argue with you... :)

--Chris

Pages: 1