|
||||
| ||||
|
|
#181 |
|
Minors (Triple A)
Join Date: Jun 2003
Posts: 226
|
Is there no answer for this?
![]() ![]() Trying for almost two weeks to get this figured out and now I got it and am just a login issue away.... SO CLOSE... HELP!!!!!
__________________
Commissioner: Paramount Baseball League (running7-years real time) American Baseball Legion (a new OOTP18 Startup) |
|
|
|
|
|
#182 |
|
Minors (Single A)
Join Date: Jun 2011
Location: Concord, CA
Posts: 77
|
I was able to load everything else except for:
players_career_batting_stats_12.mysql.sql players_career_pitching_stats_7.mysql.sql players_career_pitching_stats_8.mysql.sql I've gone to the OOTP game 3 times and created new mysql dumps to overrite these files with on the server but get the same result. When I try to load them it fills the entire page up with numbers. Could this be why when I import my inagural draft pool from my league, nobody shows up? |
|
|
|
|
|
#183 |
|
Minors (Double A)
Join Date: Jul 2012
Location: Las Vegas, NV
Posts: 137
|
Login issue
Have the same problem as you the validation page all looks good, but no mangers show up so I can't login. I no longer had time for it so ended up using the Online Utilities. I would like to give it another shot if someone has an answer for this.
|
|
|
|
|
|
#184 |
|
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
Does statsLab support a League Association amateur draft? I've imported the draft order/draft list, but the managers in the other league are unable to see the draft when they login.
|
|
|
|
|
|
#185 | |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
Quote:
I don't think this will work since StastLab's draft util was designed to be league specific. That said, you might be able to trick it into working by enabling the draft with the exact same draft settings in both leagues. The player pool can be the same. I think you might still run into problems, though, when players are taken, since I think it'll only remove players from the draft pool of the league in which those players were drafted.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
|
#186 | |
|
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
Quote:
Yep, I think I'd have to move all the second league teams into the Premier league to get the draft to work right, then move them back. |
|
|
|
|
|
|
#187 |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
I'm shopping for a new server provider and one of the issues I am looking to address is the OUT of Resources errors I get trying to run programs such as Statslab. Can anyone give me an idea of the memory I need to be able to run this program on a server without this issue? Also does anyone have advice on a great server provider for such mysql database and also fast d/l times. I'm with IPAGE now (shared server) and it is slow super slow...
|
|
|
|
|
|
#188 |
|
Hall Of Famer
Join Date: Jan 2003
Location: Indianapolis
Posts: 2,436
|
I user belira.Info and I have never had any issues running the sql loads. It costs $2 per month on their cheap server and $4 per month on their better one. I've used both but you might as well start on the cheapest end. They are month to month and take PayPal.
|
|
|
|
|
|
#189 |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/usflea5/public_html/statslab14/session_functions.php on line 75
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/usflea5/public_html/statslab14/session_functions.php on line 118 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/usflea5/public_html/statslab14/nav_functions.php on line 838 StatsLab Validator I am getting the above errors when I try to install Statslab 14. does anyone know how to fix this? Thanks!! Jason |
|
|
|
|
|
#190 | |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
Quote:
THANKS FOR THE INPUT!! Jason |
|
|
|
|
|
|
#191 | |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
Quote:
Jason |
|
|
|
|
|
|
#192 |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
I got past Step 19 in the instructions where I loaded the mysql pages but, when I hit the Login Link to select my name (commissioner) and enter the password - it doesn't work.
I get this red error at the top of the screen: ERROR: OOTP SQL Utilities not configured properly (no ootp_sql_admin table) I am currently running statslab for this league on an existing server but, I am also trying to run it on a new server to compare the performance. Is there an issue doing this that I don't know about? Jason Here were the other areas at the top of the sign in screen: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/usflea5/public_html/statslab14/nav_functions.php on line 846 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/usflea5/public_html/statslab14/session_functions.php on line 229 Warning: Cannot modify header information - headers already sent by (output started at /home/usflea5/public_html/statslab14/nav_functions.php:846) in /home/usflea5/public_html/statslab14/session_functions.php on line 341 Last edited by USF; 03-06-2014 at 02:15 PM. |
|
|
|
|
|
#193 |
|
All Star Starter
Join Date: Oct 2011
Location: Maple, ON - Canada
Posts: 1,085
|
Ok I fixed this by loading all the databases and not just the ones listed in the setup instructions. After the validator was run again, I hit the statslab admin link instead. It took me another screen that asked me to load the databases. I hit that link, it ran and took me to the sign in screen and I was able to sign in with the password listed in the setup instructions. Kinda a backwards way of doing it vs the instructions but, it looks to work now.
Jason |
|
|
|
|
|
#194 |
|
All Star Reserve
Join Date: Apr 2003
Posts: 578
|
In draft_auto_list_generate.php is there an error here?
Code:
while ($row=mysql_fetch_array($result))
{
$pid=$row['player_id'];
$mod=0;
$bcnt=0;
if ($row['fielding_rating_pos2']>1)
{
$mod+=.02;$bcnt+=1;
if ($row['fielding_ratings_catcher_arm']>100) {$mod+=.005;$bcnt+=1;}
}
if ($row['fielding_rating_pos4']>100) {$mod+=.01;$bcnt+=1;}
if ($row['fielding_rating_pos5']>120) {$mod+=.008;$bcnt+=1;}
elseif (($row['fielding_rating_pos5']>60)&&($row['fielding_ratings_infield_arm']>100)) {$mod+=.005;$bcnt+=1;}
if ($row['fielding_rating_pos6']>100) {$mod+=.017;$bcnt+=1;}
if ($row['fielding_rating_pos8']>100) {$mod+=.0075;$bcnt+=1;}
if (($row['fielding_rating_pos9']>60)&&($row['fielding_ratings_outfield_arm']>100)) {$mod+=.005;$bcnt+=1;}
switch ($bcnt)
{
case 0:
case 1: $mod=$mod*1.00; break;
case 2: $mod=$mod*.800; break;
case 3: $mod=$mod*.650; break;
case 4: $mod=$mod*.600; break;
case 5: $mod=$mod*.575; break;
case 6:
case 7:
case 8: $mod=$mod*.550; break;
default: break;
}
$bvalues[$pid]=$bvalues[$pid]*(1+$mod);
}
If I'm correct then obviously the auto list will overvalue players that have $bcnt equal to 6 or 7. Then again I haven't noticed those players being drafted way too high so I lean toward the answer that I'm not interpreting this correctly. Last edited by Huckleberry; 03-31-2014 at 05:11 PM. |
|
|
|
|
|
#195 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
PHP switch/case statements evaluate until they hit a "break", so the case 6 and 7 cases evaluate the statement listed for case 8.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#196 |
|
All Star Reserve
Join Date: Apr 2003
Posts: 578
|
|
|
|
|
|
|
#197 |
|
Minors (Triple A)
Join Date: Jan 2002
Posts: 236
|
Think an update will be needed for v15, or should things roll along with no hiccups?
|
|
|
|
|
|
#198 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
There was very little needed for OOTP14, and I expect the same will be true for OOTP15.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#199 |
|
Hall Of Famer
Join Date: Nov 2002
Posts: 3,648
|
First post updated with OOTP15 version of StatsLab.
Perhaps a mod can change the title of this thread from "StatsLab13" to just "StatsLab"? That would be great!
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
|
|
|
|
#200 |
|
Hall Of Famer
Join Date: Jan 2003
Location: Indianapolis
Posts: 2,436
|
Tremendous news! Thanks for all of your effort with this.
|
|
|
|
![]() |
| Bookmarks |
|
|