Sim Dynasty

View Old Forum Thread

Old Forum Index » Baseball Beta Testing » Beta News » Linking Draft Pick Trades to the Player Cards in News - Step 1
Admin

Linking Draft Pick Trades to the Player Cards in News - Step 1

October 15, 2009 at 09:25PM View BBCode

I've written some code that help in my attempt to link previously traded draft picks to the player selected in that spot.

So for example, if you trade the 4th round pick and that pick becomes Bob Jones, in the news area that should have a link to Bob Jones.

The news is shown under News, and also at the bottom of player cards.

The first step in this is to have a nice, clean, definitive, database record of how the amateur draft went down. This is the change I put in today. This may also be used to re-work the Amateur Draft results pages to make it more accurate.

Once I have some data in the database for this, after the next draft, I can see what can be done to change the news link to link draft trades to the player cards.

Tyson
dabigtrain

October 16, 2009 at 02:39PM View BBCode

Excellent work, Tyson. Just wanted to thank you for your ongoing committment to improving the sim.
Admin

October 22, 2009 at 05:59PM View BBCode

Ok, I've moved on to Step 2. I have code to replace this news text.

It didn't work exactly as planned for 2046. But we'll try it again for 2047. Please make as many 2047 draft pick trades as you can so we can test it after the next draft.

Step 3 will be to set this up to run this at the same time draftees are populated for the next season, just in case a league has a draft reversal.

Tyson
Admin

October 27, 2009 at 10:41PM View BBCode

I simmed through the rest of the season and the draft so I could test this again. It didn't quite work like I had hoped. We'll try it again next season - please trade some draft picks so we can test this.

Tyson
CCondardo

October 28, 2009 at 02:50PM View BBCode

Should you consider making a trade involving a player & a draft pick?

That way we can see it on a player card?

ex. You look at Joe Doe's player card because you wonder what you traded for him... his player card reads X Gives 2000 Rd 1 (Dave Peo) and Jim Schult in return for Joe Doe..

Right now you can't see the pick for a pick trade because no past player was involved in the trades you did with Chris.

~Corey
Admin

October 28, 2009 at 04:15PM View BBCode

You can see them on the News page, but please feel free to make more trades involving players and picks.

Tyson
Admin

November 04, 2009 at 09:32PM View BBCode

Ok, we're getting closer. I found another bug which I've fixed. I'm going to run through another season over the next few days so we can get to the AmateurDraft again.

Tyson
tworoosters

November 05, 2009 at 12:20AM View BBCode

Right now the draft picks aren't being listed improperly.

Look at this deal:

5/8/2047

A trade has been completed between the Detroit Devastation Redux and the Chicago Outfit. The Chicago Outfit receive Dave Goetz, Draft Pick 2048 Round 4 DET (Rolando Dixon) from the Detroit Devastation Redux in exchange for Hank Rasmussen, Draft Pick 2048 Round 4 CHA (Bert Connatser).

In fact what Chicago did get was Goetz and Cannatser, my 4th round pick, not Dixon. Dixon was Chicago's 4th round pick who ended up in Detroit.
Admin

November 05, 2009 at 01:06AM View BBCode

Yeah, that's the problem. I think I have it fixed for next time.

Tyson
Admin

November 09, 2009 at 10:08PM View BBCode

Well I ran through another season, but there wasn't any draft pick trades. Oops! We'll do another season in the next day or 2.

Tyson
tworoosters

November 10, 2009 at 12:18AM View BBCode

I kept trying to trade picks last season but people read the trades and ignored them.

It's beta boys we're not here to "build a winner" we're here to test stuff.
Admin

November 10, 2009 at 01:59AM View BBCode

Swapping 4th and 5th round picks should be sufficient. I've done this between betauser and chris's account.

Tyson

Pages: 1