July 31, 2006 at 04:57PM View BBCode
I put in a couple tweaks today to Abe's stealing logic. Currently, these are turned on for all teams. I may add manager prefs to turn them off if people think its necessary.July 31, 2006 at 05:07PM View BBCode
Originally posted by tysonlowery
I put in a couple tweaks today to Abe's stealing logic. Currently, these are turned on for all teams. I may add manager prefs to turn them off if people think its necessary.
1) If its your last at bat and you are losing, a runner will never try to steal unless HE is the tying run.
2) If the pitcher is batting with 2 outs, runners will never try to steal.
Let me know if you think these are good to have, whether they actually work as they should, and whether you think we need manager prefs to turn them off.
July 31, 2006 at 09:46PM View BBCode
Tyson, this is great-eliminates one of my pet peeves, another situation that drives me nuts though should be tweaked to:July 31, 2006 at 10:14PM View BBCode
Hmm, I don't know if I agree with you there. What do others think?July 31, 2006 at 10:16PM View BBCode
Nothing worse than losing the pinch hitter because your damn runner got thrown out trying to steal second.July 31, 2006 at 10:20PM View BBCode
Logically, if its the right time to steal, I would still send the guy even if there is a PH at the plate. Personally, I would leave this option off.July 31, 2006 at 11:47PM View BBCode
Maybe this belongs in a different place, but I would like to see a slow runner replaced by a speed demon in later innings if the situation warrants.August 01, 2006 at 01:08AM View BBCode
Those are two very sensible and probably welcomed tweaks.August 01, 2006 at 01:11AM View BBCode
I have to agree with Bart, especially when the PHer is for the pitcher. This is double iritating if the PHer has replaced an effective pitcher and now doesn't even swing the bat...lost the bat....lost the pitcher...and then the pitcher leads off. Not good.August 01, 2006 at 05:49AM View BBCode
Originally posted by tysonlowery
1) If its your last at bat and you are losing, a runner will never try to steal unless HE is the tying run.
August 01, 2006 at 01:57PM View BBCode
Should this be "tying or go-ahead run"?That kinda defeats the purpose in my opinion - I would never try to steal 2nd with the tying run at 3rd. But maybe there should be a setting for that so you can choose?
August 01, 2006 at 01:58PM View BBCode
Casey - pinch runners would be a different enhancement.August 01, 2006 at 06:04PM View BBCode
Originally posted by tysonloweryWell, I sure would. Just to give one example (which is all we need, right?): Picture, if you will, men on the corners, down by a run, 2 outs. Fast runner on first; crappy (or even out-of-position) catcher behind the plate. You steal that base, there's a chance the throw's gonna sail into center field and tie the game for you. Otherwise, you needed a hit -- not an SF or an RBI groundout, but a hit.
I would never try to steal 2nd with the tying run at 3rd.
August 02, 2006 at 02:31PM View BBCode
Ahhhhhhh but most times the catcher don't throw especially if the sucker is fast.August 02, 2006 at 05:22PM View BBCode
Originally posted by ShoelessWonder
Ahhhhhhh but most times the catcher don't throw especially if the sucker is fast.
August 03, 2006 at 08:22PM View BBCode
Ok, I added manager prefs for these.August 03, 2006 at 10:26PM View BBCode
My only problem with all of this unless I skimmed over it all and missed it. The pitcher isn't going to be batting in the bottom of the 9th of a game that you are down by a run or two. This switch that pertains to a pitcher means nothing to me.August 03, 2006 at 11:13PM View BBCode
Got an Apache Tomcat error when accesing the Manager Prefs/Substitutions pageHTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
Type mismatch: cannot convert from int to String
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
The operator < is undefined for the argument type(s) String, int
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
Type mismatch: cannot convert from int to String
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
Type mismatch: cannot convert from int to String
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
The operator < is undefined for the argument type(s) String, int
An error occurred at line: 16 in the jsp file: /managerbat.jsp
Generated servlet error:
Type mismatch: cannot convert from int to String
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:413)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.16 logs.
Apache Tomcat/5.5.16
August 05, 2006 at 04:25AM View BBCode
I toddled over to beta to check these out. Me, I like how you phrased the one about the pitcher batting. On the other, right now it reads "If its my team's last at bat ...." Shouldn't it read "If it's my team's last at bat, and we're losing ..."? (Psst ... also note the apostrophe in "it's.")August 05, 2006 at 05:39PM View BBCode
I think the "if we're losing" is covered already, because you can't have a tying runner on base unless you are losing.August 05, 2006 at 07:53PM View BBCode
Originally posted by tysonloweryOh, absolutely. It's just that as phrased, it appears that ABE's test on whether to apply the rule is "it's my team's last at bat." Now, you know it won't apply the rule unless the batting team is losing, because you wrote the code; and I know it, because I was here when you wrote it; and it isn't hard to puzzle out, because that's the only way it makes sense ... but that guy in Bangor who's signing up next month? He doesn't know it, and he might not trust you enough to assume you did it right.
you can't have a tying runner on base unless you are losing.
August 07, 2006 at 02:47AM View BBCode
If the tieing run is on 1st, won't this change prevent the runner from stealing second in order to get into scoring position. Getting the tieing run home from first might take two hits. Getting him home from second might take only one.August 07, 2006 at 07:58AM View BBCode
Originally posted by Leonard
If the tieing run is on 1st, won't this change prevent the runner from stealing second in order to get into scoring position. Getting the tieing run home from first might take two hits. Getting him home from second might take only one.
Pages: 1