| View previous topic :: View next topic |
| Author |
Message |
blamand
Joined: 16 Jul 2008 Posts: 19
|
|
| Back to top |
|
 |
blamand
Joined: 16 Jul 2008 Posts: 19
|
Posted: Thu Oct 09, 2008 4:12 am Post subject: |
|
|
Tried to flush the cache and have eaten all cookies.
It did not help
Any suggestions would be greatly appreciated  |
|
| Back to top |
|
 |
pabst Developer
Joined: 23 Jun 2008 Posts: 235
|
Posted: Thu Oct 09, 2008 6:08 am Post subject: |
|
|
| blamand wrote: | Tried to flush the cache and have eaten all cookies.
It did not help
Any suggestions would be greatly appreciated  |
Go to line 541 of the script and replace your result line with this one (copy it, don't write it by hand): | Code: | | result = result && (p.play.replace(" "," ").indexOf(str.value.replace(" "," ")) != -1); |
The problem is your player's name on the home page is not the same as his name on the play-by-play. His play-by-play name has 2 spaces between the first and last names while his usual name only has 1 space. I don't know what you did or why it's like that, but I take pleasure in the fact that it's definitely not my fault  |
|
| Back to top |
|
 |
blamand
Joined: 16 Jul 2008 Posts: 19
|
Posted: Thu Oct 09, 2008 1:22 pm Post subject: |
|
|
As i wrote before my wordpad does not have linecount, so its kind of hard to find line 541.
Do you have any recommendations for a better texteditor?
I tried to do a search for the "result = result", but got 2 hits. Since i dont want to mess anything up, i did not copy any of them.
I have to say that i dont know why my players name has that issue. I guess that means that he is unique  |
|
| Back to top |
|
 |
blamand
Joined: 16 Jul 2008 Posts: 19
|
Posted: Thu Oct 09, 2008 2:01 pm Post subject: |
|
|
Found one myself: notepad++.
Seems like a nice little toy.
And found the line. Changed it, and presto: now it works
Pabst, once again i thank you for your scripts and for the help you provide! |
|
| Back to top |
|
 |
Kirghiz
Joined: 21 Sep 2008 Posts: 24
|
Posted: Mon Oct 13, 2008 1:38 pm Post subject: |
|
|
| Is there any way to make it filter all plays when a certain player is on the field? The reason this is useful is it would help show how effective the "General" special abilities are when that player is on the field. This seems like the best way to measure that. |
|
| Back to top |
|
 |
pabst Developer
Joined: 23 Jun 2008 Posts: 235
|
Posted: Mon Oct 13, 2008 3:11 pm Post subject: |
|
|
| Kirghiz wrote: | | Is there any way to make it filter all plays when a certain player is on the field? The reason this is useful is it would help show how effective the "General" special abilities are when that player is on the field. This seems like the best way to measure that. |
Nope. I can only tell a player is on the field by the result of the play. If he doesn't throw a pass, make a tackle, or something, then whether a particular player is on the field is anyone's guess. |
|
| Back to top |
|
 |
tsr222
Joined: 13 Oct 2008 Posts: 8
|
Posted: Thu Oct 16, 2008 3:41 am Post subject: |
|
|
Thx for this script first off! Second, wanted to ask a request or maybe the code to add it myself.
Can you add a section to the filter that allows you to sort by minimum and maximum gain? For instance: (pic for easy explanation)

Is this possible? |
|
| Back to top |
|
 |
pabst Developer
Joined: 23 Jun 2008 Posts: 235
|
Posted: Tue Oct 21, 2008 11:21 am Post subject: |
|
|
| Better late than never: this should be possible. I'll give it a go in a bit. |
|
| Back to top |
|
 |
tsr222
Joined: 13 Oct 2008 Posts: 8
|
Posted: Thu Oct 23, 2008 2:21 pm Post subject: |
|
|
cool pabst, hope it works
|
|
| Back to top |
|
 |
|