Originally posted by Capaneus
Pabst, I'm having an issue with game scout where on the passing screen, the opponent's receivers and the scouted teams receivers are all appearing in the same column. Same goes for rushers.
It's a byproduct of the old team identification code which would fail when teams were renamed during a season. It's not tested very well but this should fix it. I'll update the code on the site some time tomorrow.
Find the script directory and open the 31573user.js file.
About Line 114 you'll find this: function addition(left,right) {
Look below for this stuff:
try {
//if (left.team_id[0].indexOf(parseFloat(right.team_id[0])) != -1) { <--delete or comment this
if (parseFloat(left.team_id[0]) == parseFloat(right.team_id[0])) { <--insert this
aligned = true;
}
else if ((left.team_name[0] == right.team_name[0]) || (left.team_name[1] == right.team_name[1])) {
aligned = true;
}
//else if (left.team_id[1].indexOf(parseFloat(right.team_id[1])) != -1) { <--delete or comment this
else if (parseFloat(left.team_id[1]) == parseFloat(right.team_id[1])) { <--insert this
aligned = true;
}
Last edited Nov 12, 2008 02:18:39