Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 26 > OOTP Mods

OOTP Mods Logos, roster packs, historical databases, OOTP tools, FaceGen files... it's all here!

Reply
 
Thread Tools
Old 09-24-2007, 02:09 PM   #21
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
Quote:
Originally Posted by Getch View Post
Try changing csv to one of:

csv:../csv
csv:../../csv
csv:../../theguba/csv
None of those worked. Same error message.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM

Last edited by mikev; 09-24-2007 at 02:11 PM.
mikev is offline   Reply With Quote
Old 09-24-2007, 02:17 PM   #22
Getch
All Star Reserve
 
Getch's Avatar
 
Join Date: Jan 2006
Posts: 868
Two things:

1. I stupidly forgot to capitalize csv, so hopefully you did CSV:../csv, etc. Case matters.

2. Try moving the csv directory to cgi-bin/csv. Then make the setup.txt parameter "CSV:csv". If THAT doesnt work, then shoot me. It's better to be here probably, since you shouldn't let you .csv files be viewable to the public.
__________________
Get the OOTP Online Utilities for online leagues!
Includes Gamecast, Development, Live Sims, Voting and more.
Check here for more details
Getch is offline   Reply With Quote
Old 09-24-2007, 02:19 PM   #23
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
Okay. I'll report back in 2 minutes.

Wow. You know you're in *nix mode when you hit "ESC, ESC, W, Q, ENTER" instead of clicking the "post quick reply" button.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM
mikev is offline   Reply With Quote
Old 09-24-2007, 02:21 PM   #24
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
Tried it. same result.

I cry.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM
mikev is offline   Reply With Quote
Old 09-24-2007, 02:38 PM   #25
Getch
All Star Reserve
 
Getch's Avatar
 
Join Date: Jan 2006
Posts: 868
Clearly something else is going on then... if you trust me, I could log on myself to your system and try to get to the bottom of this. PM the info to me if you're ok with that.

I'm at work and can't get outside the firewall, so I'll have to do this tonight.
__________________
Get the OOTP Online Utilities for online leagues!
Includes Gamecast, Development, Live Sims, Voting and more.
Check here for more details
Getch is offline   Reply With Quote
Old 09-24-2007, 02:48 PM   #26
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
I think I know what's wrong.

The cgi-bin directory isn't the actual cgi-bin directory. It's a symbolic link I created.

Let me try and move everything and try again.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM
mikev is offline   Reply With Quote
Old 09-24-2007, 02:51 PM   #27
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
sigh.

tried it in the default cgi-bin and it still did teh same thing.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM
mikev is offline   Reply With Quote
Old 09-24-2007, 04:12 PM   #28
Getch
All Star Reserve
 
Getch's Avatar
 
Join Date: Jan 2006
Posts: 868
The symbolic links explain the oddness of your directory setup. My offer still stands if you want me to log in and look into it.
__________________
Get the OOTP Online Utilities for online leagues!
Includes Gamecast, Development, Live Sims, Voting and more.
Check here for more details
Getch is offline   Reply With Quote
Old 09-24-2007, 04:48 PM   #29
mikev
Hall Of Famer
 
mikev's Avatar
 
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
lemme know when you have time and I'll get you the info.
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM
mikev is offline   Reply With Quote
Old 09-25-2007, 11:24 AM   #30
Getch
All Star Reserve
 
Getch's Avatar
 
Join Date: Jan 2006
Posts: 868
For those of you who were on the edge of their seats about this discussion wiht mikev, the issue looked to be something with how Perl was reading the files from the server. Maybe someone out there has a clue what was going on?

For some reason, an odd whitespace character was being picked up by Perl at the end of the line, but Perl wouldn't remove it with the "chomp" command. When I outputted the line, it would print bizarre results... if the string was "csv", it would print " v". It's as if the character was removing the first 2 characters of the string, even though the character was at the end of the string.

I fixed by modifying some RegEx's, but I have no clue what was going on.
__________________
Get the OOTP Online Utilities for online leagues!
Includes Gamecast, Development, Live Sims, Voting and more.
Check here for more details
Getch is offline   Reply With Quote
Old 09-25-2007, 11:31 PM   #31
sox9418
Major Leagues
 
Join Date: Dec 2001
Location: Boston, MA
Posts: 323
Guess I'm confused - why are you looking at CSV files for exports?

If you want to know if the team file is newer than the league file on the FTP, you can check for the file existence, compare it to the date on the league file, and determine if it's more recent than the league file. This is pretty easy in PHP. Are you looking to get something more out of the CSV files?
sox9418 is offline   Reply With Quote
Old 09-26-2007, 09:01 AM   #32
f.montoya
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 6,069
Quote:
Originally Posted by sox9418 View Post
Guess I'm confused - why are you looking at CSV files for exports?

If you want to know if the team file is newer than the league file on the FTP, you can check for the file existence, compare it to the date on the league file, and determine if it's more recent than the league file. This is pretty easy in PHP. Are you looking to get something more out of the CSV files?
Getch's export tracker uses the csv's to detect the team names and team ID's. I know that a php export tracker is much simpler having made one myself but Getch's is unique in that it uses the same styles.css as the game generated league reports so it fits seamlessly into 2007 league websites.
__________________
Fidel Montoya

Asahi2 Baseball ex-Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
f.montoya is offline   Reply With Quote
Old 09-26-2007, 10:52 AM   #33
Getch
All Star Reserve
 
Getch's Avatar
 
Join Date: Jan 2006
Posts: 868
Yep... team names, ID's, logos, as well as league and sub-league structures, so you don't have to type it all in yourself. Here it is for the league I am in:

http://www.overthemound.com/cgi-bin/exportTracker.html
__________________
Get the OOTP Online Utilities for online leagues!
Includes Gamecast, Development, Live Sims, Voting and more.
Check here for more details
Getch is offline   Reply With Quote
Old 09-27-2007, 10:04 PM   #34
sox9418
Major Leagues
 
Join Date: Dec 2001
Location: Boston, MA
Posts: 323
Ah, OK - nice looking.
sox9418 is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:21 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments