RotoGuru Basketball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread


0 Subject: Assimilator Roster Enhancement

Posted by: Guru
- [330592710] Tue, Dec 09, 2003, 16:31

Gurupie penngray made a suggestion yesterday that, frankly, I had never considered. I think it's a winner.

I've implemented the ability to import a roster directly from the TSN Hoops site. All you need to supply is the TEAM_ID.

The Assimilator is only able to copy the most recent frozen roster, so if any trades have been made since the previous night's freeze, those player trades will not be reflected. However, the cash balance will always be the current balance, and in the case of post-freeze trades, will need to be adjusted.

I've got a beta version of the Assimilator posted for you to try. Here is the URL:
http://rotoguru2.com/hoop/jscript/hoopborg.html

Give it a test drive and let me know what you think. Any glitches? In addition to facilitating management of your own teams, this may be helpful in doing Assimilator analysis on your competition, since it avoids the tedious job of manually entering rosters.

Once I get this working correctly, I'll look into the same option for PS Challenge rosters.
1penngray
      Sustainer
      ID: 423241723
      Tue, Dec 09, 2003, 16:39
Thanks Guru!! This is going to save me lots of time :D
2skinneej
      Leader
      ID: 40625911
      Tue, Dec 09, 2003, 16:43
Guru, looks good. One little thing, in the 21 day look ahead schedule it defaults to Dec 8th as the first day. This is probably due to looking at yesterday's frozen roster. You can change it easily though by inputting the date you want. Another great enhancement!
3penngray
      Sustainer
      ID: 423241723
      Tue, Dec 09, 2003, 16:44
very impressive that you did it in a short time too. Why cant TSN have this type of service..sigh..

against thanks.
4penngray
      Sustainer
      ID: 423241723
      Tue, Dec 09, 2003, 16:47
One of the reasons I wanted this is because I like to look at my competitions rosters in the simulator also to compare. This is saving so much time!
5Guru
      ID: 330592710
      Tue, Dec 09, 2003, 16:56
I forgot to update the stats for today in this beta version, which is why it defaults to yesterday. I'll update it momentarily.
6Addicted
      Leader
      ID: 4611592518
      Tue, Dec 09, 2003, 17:59
Guru,
Would it be possible to Add the Number of trades to the Assimilator?

penngray - good idea about importing from TSN.
Funny how I've thought about that several times, but never took the time to ask. (;

--Addicted--
7ette524
      ID: 4
      Tue, Dec 09, 2003, 18:03
This is a really cool feature. Thanks Guru.
8RecycledSpinalFluid
      Dude
      ID: 204401122
      Tue, Dec 09, 2003, 18:19
ID: 4

Now thats cool.
9Blooki
      ID: 4510211419
      Tue, Dec 09, 2003, 18:23
WWR: 4 would be cooler. :)
10jedman
      Sustainer
      ID: 315192219
      Tue, Dec 09, 2003, 18:40
Very nice Guru. I forget to change my rosters sometimes after making trades and I always have to change my cash when I want to get serious again about upcoming trades. It will be nice to just bring in my current roster if I've missed a few days. Thanks.
11AckRight
      ID: 111112315
      Tue, Dec 09, 2003, 19:26
stupid question but how do you find your team id?
12Deadeyes
      ID: 50104029
      Tue, Dec 09, 2003, 19:32
is that you ackerson? jason?
13jeff
      ID: 311121918
      Tue, Dec 09, 2003, 19:35
I guess there has to be one moron in every group. I'm unable to get my TSN ID. I went to team center and right clicked but nothing came up. Once I get my ID what do I do then? This is probably a great feature to have.
14Deadeyes
      ID: 50104029
      Tue, Dec 09, 2003, 19:54
nice this should help me out a lot thanks man.
15joe suspect
      Sustainer
      ID: 521072313
      Tue, Dec 09, 2003, 20:00
Jeff, right click and then choose "Properties". You should see some info, and a line with this:

HTML&TEAM_ID=931 File,

Just replace your own team ID in place of 931.

Guru - this rocks.
16UKfan
      ID: 581047422
      Tue, Dec 09, 2003, 20:51
Here is another silly question...... I have never used any of these tools before. I put in my user ID and it pulls up my roster correctly. I then hit assimilate and it does nothing.... what do I need to do?
17joe suspect
      Sustainer
      ID: 521072313
      Tue, Dec 09, 2003, 21:15
It should be popping up another window with projected stats for your team? Is it doing that?
18UKfan
      ID: 581047422
      Tue, Dec 09, 2003, 21:22
joe suspect..... no new windows open when I hit assimilate. If I click on one of my players a new window does open like it is supposed too though..... any suggestions?
19joe suspect
      Sustainer
      ID: 521072313
      Tue, Dec 09, 2003, 21:23
Nope. There's not much more to it. Have you tried clicking on 'help'?
20jeff
      ID: 41001612
      Tue, Dec 09, 2003, 21:27
OK. I clicked on my team and then clicked on properties and 5 teams appeared. I clicked on my team and it came up like you said with my team ID. I don't see anywhere that I can input it into. Should the whole league appear?
I'm not nearly as computer illiterate as it seems. Really.
21UKfan
      ID: 581047422
      Tue, Dec 09, 2003, 21:31
I can't get a new window to open for the help button either.......
22UKfan
      ID: 581047422
      Tue, Dec 09, 2003, 21:35
Jeff... Click on "Copy from TSN site"..... then put your ID # in the box that appears
23joe suspect
      Sustainer
      ID: 521072313
      Tue, Dec 09, 2003, 21:37
UKFan - Sounds like a browser/pop-up control issue. Turn off any pop-up blockers then close all IE windows and try again. Or reboot.

After that, I am out of ideas.

Jeff - you open the beta (see link in above post) version of the assimilator. Then, there is a button that you need to click that will prompt for a team name.
24jeff
      ID: 41001612
      Tue, Dec 09, 2003, 21:39
Thanks a million. Can I put assilimatemy whole league? Only 5 teams appear. Thanks again.
25jeff
      ID: 41001612
      Tue, Dec 09, 2003, 21:40
Never mind. I found it. Thanks guys for your help.
26kentucky indians
      ID: 371126319
      Tue, Dec 09, 2003, 21:55
Jeff,
click on "TEAM CENTER" after you have logged into TSN Backetball site.
Then right click on your mouse and go down to proterties and click on that.

I right clicked on the first page and got my user_ID and not my team ID the first time.

27jeff
      ID: 41001612
      Tue, Dec 09, 2003, 22:29
Works great now. Now I need how to use it to my advantage.
28jeff
      ID: 41001612
      Tue, Dec 09, 2003, 22:37
Can you change the 21 day schedule look ahead?
29Guru
      ID: 330592710
      Tue, Dec 09, 2003, 22:49
You can change the starting date. The instructions are there.

UKfan, I suspect joe suspect is right. I'll bet you have some sort of pop-up blocker that is interfering. You should set up rotoguru2.com as a safe domain. (I don't have any pop ups on my site anyway.)

30jeff
      ID: 41001612
      Tue, Dec 09, 2003, 23:01
Got it. I need to look before I ask. This is great. Thanks for taking the time. Now if only TSN would use RTS for this league so I can see how my division is doing each night.
31Guru
      ID: 330592710
      Tue, Dec 09, 2003, 23:10
Seems to be working OK, so I released it to the regular URL (and updated the link in the opening post).
32joe suspect
      Sustainer
      ID: 521072313
      Tue, Dec 09, 2003, 23:43
Suspect, Joe Suspect. I'll have to use that more often!
33Pacers Rule
      Donor
      ID: 910311210
      Wed, Dec 10, 2003, 00:09
Very nice upgrade, Guru. Thanks.
34 pyrodave
      ID: 221046919
      Wed, Dec 10, 2003, 00:59
I am only in the free TSN game. When I put in my team ID, I get an error message that Ultimate team not found with that ID. I selected Basic team option. What did I do wrong??
35Pacers Rule
      Donor
      ID: 910311210
      Wed, Dec 10, 2003, 01:05
it says to leave the team id field blank for additional help. give it a try.
36pyrodave
      ID: 221046919
      Wed, Dec 10, 2003, 01:27
I added the "b" after my ID number and it worked fine. Thanks Pacers Rule. THANKS GURU!!!
37Addicted
      Leader
      ID: 4611592518
      Wed, Dec 10, 2003, 03:00
Guru,
Just another Assimilator thought.
Instead of asking for the team_id each time can you store the team_id in a cookie when you save your roster?

--Addicted--
38Guru
      ID: 330592710
      Wed, Dec 10, 2003, 07:57
Possibly, I need to think about that.
39Guru
      ID: 330592710
      Wed, Dec 10, 2003, 11:27
OK, I attempted to give rosters a "memory". If you save a roster that was copied over from TSN, it should remember its own team_id number the next time you try to copy it over.

This change only impacts team rosters that are saved from now on. If you copied a team from TSN last night or earlier this morning, it will not have a memory of its source. Only newly saved rosters have this capability.

So, to get your id numbers stored, copy in each roster now, and then save it in the assimilator.

When you copy in a roster, the TSN name of the team will be the default name of the roster. If you then save it in the Assimilator, you can change the name if you wish. Thereafter, if you recopy that team from TSN, the Assimilator name will not change. However, the dialog box will confirm the TSN name of the team that was loaded.

Example: My 500K team is named "rotoguru0.com" on the TSN site. If I copy it into the Assimilator, it initially assumes the "rotoguru0.com" name, but I can then save it in the Assimilator under the name "500 K". Now, the next time I load this team and copy the updated TSN roster in, it will retain the name "500 K". However, when the roster is copied in, the final dialog box will confirm that the roster copied was "rotoguru0.com".

Thus, you don't need to store your assimilator rosters under the same names used at TSN.

Please let me know if you discover any glitches. Also, let me know if you think anything is counterintuitive. I've tried to make this as intuitive as I can, but I am too involved to be a good judge of that.
40C.C. SOLDIERS
      ID: 22921120
      Wed, Dec 10, 2003, 11:48
joe suspect:
Are you using AOL? If so, try opening with IE.
41joe suspect
      Sustainer
      ID: 521072313
      Wed, Dec 10, 2003, 14:21
Thanks, CC but I was trying to help the other guys. I'm not having any problems.
42Guru
      ID: 330592710
      Fri, Dec 12, 2003, 16:17
There is now another button which allows you to copy a PSC roster into the Assimilator. PCS relies on team name rather than a number, so make sure you get the spelling right. Again, once a roster is copied and saved, it will remember where it came from, so you should only need to type in the whole name once.

I think it's all working OK, but let me now if something seems amiss.
43tsunami001
      ID: 35105753
      Sat, Dec 13, 2003, 03:55
guru: assimilator works great. I don't know if it would be hard, but is on the 21 day look ahead is there any way to see a total of the projected points for the player, instead of seeing his name again?
44kentucky indians
      ID: 371126319
      Sat, Dec 13, 2003, 07:44
I'm amazed at what computers can do!!!!
Thanks Guru!!!!
One minor glich though...
Everytime I seem to use this thing it "overprojects" my point total. Last night for example it projects I will score 248 points and my team actual scores 238 (thanks mainly to Pau Gasul). Usually the gap is larger than 10 TSNP but there is almost always a gap. I'm sure its nothing wrong with the programing on your part. Is there anything I can do to my system to correct that glich??
45Guru
      ID: 330592710
      Sat, Dec 13, 2003, 09:09
Yes - you should reduce the points projected for each player immediately after you pick him up! Just click on a player's point avg. in the upper section, and change it to something lower. If it isn't low enugh the first time, then repeat the process. After much trial and error, you'll end up with an accurate projection.

;-p

46Guru
      ID: 330592710
      Sat, Dec 13, 2003, 09:11
tsunami - I'll look into including the point total. I don't think I'd need to replace the name at the right end. In fact, I put that there because the for many people, the name on the left side has scrolled off the screen when looking at the right side.
47Guru
      ID: 330592710
      Sat, Dec 13, 2003, 10:04
I just added a 21-day game count and a point total at the right side of each player's projection line.
48Guru
      ID: 330592710
      Sat, Dec 13, 2003, 10:54
I just added a 14-day subtotal as well.

I'm not sure I'm crazy about the format. Maybe something better will occur to me.
49Dave R
      Dude
      ID: 3010361110
      Sat, Dec 13, 2003, 11:19
Sweet, nice feature.

Next project, Guru-- "actual" points for the next 21 days :)
50tsunami001
      ID: 35105753
      Sat, Dec 13, 2003, 14:31
thx guru!
51KnicksFan
      Donor
      ID: 30815418
      Sat, Dec 13, 2003, 14:40
Next feature: projected trades by Dave R and Guru for the next 21 days.
52Addicted
      Leader
      ID: 4611592518
      Sat, Dec 13, 2003, 15:33
Guru,
Is it possible to store the current # of trades in the Assimilator. Even if we have to prompt for it the first time?

--Addicted--
53Guru
      ID: 330592710
      Sat, Dec 13, 2003, 17:39
Addicted - I don't know how that would make sense, since trades aren't tracked in the Assimilator at all. I could have the number of trades remaining pop up when a roster is copied over, I suppose. I'll think about that.
54Guru
      ID: 330592710
      Tue, Dec 16, 2003, 14:34
OK. When a roster is copied in from the TSN site, the confirmation message now lists the number of trades remaining.
56kentucky indians
      ID: 371126319
      Wed, Dec 17, 2003, 06:27
Guru,
last night the assimilator prodicted 247 and I scored 283TSNP??? Maybe that last bit of programing that got the trades to pop-up fixed that other glich....thanks for working on that as well
57Species
      Leader
      ID: 569221717
      Wed, Dec 17, 2003, 16:46
This is a sweet feature Guru. Thank you very much. What a timesaver.
58qwert
      ID: 591135711
      Wed, Dec 17, 2003, 16:58
how do i get my team id?
59Guru
      ID: 330592710
      Wed, Dec 17, 2003, 17:42
There are instructions in this thread. There are instructions at the Assimilator. Try reading them.
60qwert
      ID: 591135711
      Wed, Dec 17, 2003, 17:50
good tip
61Guru
      ID: 330592710
      Thu, Nov 04, 2004, 11:34
This feature has now beem incorporated in the 2004-05 Assimilator (for both TSN games - Ultimate and Basic). Let me know if you discover any glitches.
62hooked on fantasy
      Donor
      ID: 07131421
      Thu, Nov 04, 2004, 11:56
Thanks a million Guru!!
63Norm
      ID: 31019114
      Thu, Nov 04, 2004, 14:25
Guru, any plans to make the Assimilator work with Firefox? I'm sure I'm not the only one who has abandoned IE around here.
64Dave R
      Dude
      ID: 3010361110
      Thu, Nov 04, 2004, 14:33
Works with firefox for me
65Guru
      ID: 330592710
      Thu, Nov 04, 2004, 15:00
I tried it with Firefox this morning, and it worked fine. I have version 1.0PR.
66jedman
      Leader
      ID: 315192219
      Thu, Nov 04, 2004, 18:36
Quick question. When I load a stored roster, it will not let me assimilate my team unless I change a player first. In other words, I have to pretend like I'm changing a player, even though I just pick the same player. Is it my computer or has anybody else had this situation?
67kentucky indians
      ID: 371014320
      Thu, Nov 04, 2004, 18:57
jedman,
I'm Assimilating fine... Check your computer..
68jedman
      Leader
      ID: 315192219
      Thu, Nov 04, 2004, 19:02
What should I check?
69Tosh
      Sustainer
      ID: 057721710
      Thu, Nov 04, 2004, 19:13
Using Firefox 1.0PR, both at home and at work, when I assimilate ... the new window says "File Not Found
The requested URL was not found on this server."
70Tosh
      Sustainer
      ID: 057721710
      Thu, Nov 04, 2004, 19:29
When looking at the javascript console, the assimilator shows an error in line 291 of the source code.

"d.writeln('[center][font size=4 face="Times New Roman" color="red"][B]RotoGuru Roster
[font size=5][i]Assimilator[/i][/font>] Summary Table[/font][/center]');"

is the line highlighted.
71Guru
      ID: 330592710
      Thu, Nov 04, 2004, 20:41
Tosh - I have no idea. There certainly isn't a problem with that line, and I can't reproduce the problem.

jedman - never heard of that issue before. Again, I can't reproduce it.
72Guru
      ID: 330592710
      Thu, Nov 04, 2004, 20:55
Tosh - just a thought. That particular statement is the first thing that happens after the new browser window should open (in order to display the Assimilator player data). I wonder if some element of the pop-up blocker is interfering? I'm not sure why (I have the pop-up blocker turned on in my FireFox without problem), but you might try turning off the popup blocker to see if that helps.
73Norm
      ID: 31019114
      Fri, Nov 05, 2004, 11:25
I tried disabling Firefox's popup blocker, and I disabled the Single Window extension. I still get the same error Tosh gets.

Oh well, this is one of those times where the ieview extension comes in handy. To launch the Assimilator, I can just right-click it and select "Open Link Target in IE." Sometimes, you do what you gotta do....
74Tosh
      Sustainer
      ID: 057721710
      Fri, Nov 05, 2004, 12:31
I figured it out. When I disabled the "Single Window 1.4" extension, the assimilator worked like a charm.

Allowing rotoguru1.com to use pop-up windows did not do the trick. Thanks for your help guru!
75Norm
      ID: 31019114
      Wed, Nov 24, 2004, 09:54
Working fine now that I have moved up from the PR to Firefox 1.0 (without the Single Window extension, which is now obsolete). Cross one more off the short list of sites that I use IE for.
76KnicksFan
      Donor
      ID: 30815418
      Thu, Jan 27, 2005, 21:10
Hey Guru, can you add a spot in the Assimilator that tells the WWR of the team that I'm looking at when using the import-a-roster feature?
77KnicksFan
      Donor
      ID: 30815418
      Thu, Jan 27, 2005, 21:17
Just to clarify, when I wrote "import-a-roster", I meant the "copy from TSN site" feature.
78Guru
      ID: 330592710
      Thu, Jan 27, 2005, 23:01
Done.

I just tagged it onto the end of the popup item.
79KnicksFan
      Donor
      ID: 30815418
      Fri, Jan 28, 2005, 01:02
Cool, thanks!
Rate this thread:
5 (top notch)
4 (even better)
3 (good stuff)
2 (lightweight)
1 (no value)
If you wish, you may rate this thread on scale of 1-5. Ratings should indicate how valuable or interesting you believe this thread would be to other users of this forum. A '5' means that this thread is a 'must read'. A '1' means that this is a complete waste of time.

If you have previously rated this thread, rating it again will delete your previous rating.

If you do not want to rate this thread, but want to see how others have rated it, then click the button without entering a rating, or else click here.

RotoGuru Basketball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread




Post a reply to this message: (But first, how about checking out this sponsor?)

Name:
Email:
Message:
Click here to create and insert a link
Ignore line feeds? no (typical)   yes (for HTML table input)