Home | Webstore
Latest News: OOTP Update 20.6 - OOTP 20 Available - FHM 6 Available

FHM 6 Available Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 02-23-2006, 09:52 PM   #1
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Export Tracker Help

Okay guys,

I'm going to need some little-baby-steps help with this. I had it working on our old league site, and now that we've switched servers I've gone dumb(er) about it.

I'm clueless on what to use and how to re-set it up. I was using CommishJoe's previously, but can't seem to get it to work this time around.

I've searched but haven't found much that's helpful to me.

I need to start from scratch as it'll be less confusing, and I'll use whatever's the easiest.

TIA for any help. I really appreciate it.

-E
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 10:22 AM   #2
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
You could post the code and tell us where you're getting stuck.

After I used DaveHorn's to make the KBL's, I posted something that might help:

http://www.ootpdevelopments.com/boar...567#post543567

That's his post. You might want to start from there. The post of mine that I'm talking about is the long one.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 11:08 AM   #3
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Thank you Kieran. That's a great start for me. I'm still not following some of it, but here's where I'm at with Dave's code:

http://whbl.org/lastexport/teamexports.php

My directory structure looks like this:

whbl.org/lastexport/exports

This was setup like this and with an 'oldexports' folder when I was using Joe's code previously.

I used ../exports/ as a replacement for ../hftcftp

Not sure where to go from there...

Thanks again,

-E
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 11:20 AM   #4
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Quote:
Originally Posted by enuttage
... but here's where I'm at with Dave's code:

http://whbl.org/lastexport/teamexports.php

...
Zip and attach the file, please. When it's just on the web like that it loses all the php.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 11:35 AM   #5
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
...
Attached Files
File Type: zip teamexports.zip (1.9 KB, 167 views)
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 11:51 AM   #6
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Quote:
Originally Posted by enuttage
I used ../exports/ as a replacement for ../hftcftp
Try replacing that with just exports. It sounds like you used a directory structure like mine where your php file is in your root folder and your exports are in an exports folder inside the root folder.

If the above doesn't fix it, it might be easier to solve this through AIM.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 11:58 AM   #7
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
No workie still.

Unfortunately, I am AIMless (haha) at work (and maybe home, too).

PMs? Pretty please?
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 11:59 AM   #8
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Quote:
Originally Posted by kq76
Try replacing that with just exports.
You mean like this

Code:
../exports
right?
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 12:04 PM   #9
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Quote:
Originally Posted by enuttage
You mean like this

Code:
../exports
right?
No, just:

Quote:
exports
See, I think the problem is that with his code Dave is telling it to go out of the current child folder, into the parent folder (that's the ../ part), and into a different child folder (exports). I think you just want to tell it to go into a child folder (exports), that you're already in the parent folder, not a different child folder. (You can read a child folder as a subfolder.)
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 12:08 PM   #10
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Thank you so much, Kieran. That solved the errors. Now I've gotta figure out how to make the files show up.

That and how to get team #s 15 and 16 back over into their proper League.
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."

Last edited by enuttage; 02-24-2006 at 12:13 PM.
enuttage is offline  
Old 02-24-2006, 12:15 PM   #11
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Quote:
Originally Posted by enuttage
Thank you so much, Kieran. That solved the errors.
Good stuff!

Quote:
Originally Posted by enuttage
Now I've gotta figure out how to make the files show up.
Did you replace all occurrences of ../exports and ../hftcftp with exports or just the first one? In some places it might actually have to be:

Quote:
exports/
. If that's not the problem, I'll take another look.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 12:17 PM   #12
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Yeah, I replaced it in all instances. I figured out the team placement issue as well.

I'll go play around with diff placements of forwardslashes now.
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-24-2006, 12:23 PM   #13
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
The first one shouldn't have a slash at the end, but the last 3 should.

BTW, if you prefer CommishJoe's, the "exports" problem might have been the same problem.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-24-2006, 12:50 PM   #14
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,405
Thanks: 79
Thanked 28x in 25 posts
Hot damn! It's working. Thank you!
__________________
The former GM of the WHBL Managua Four Roses

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."
enuttage is offline  
Old 02-18-2007, 05:52 PM   #15
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,120
Thanks: 159
Thanked 196x in 131 posts
Hopefully someone can help me, I tried using this team export tracker and I don't see all national league teams in the right column:

http://www.gbwebs.ca/so49/teamexports.php
RBLwebguy is offline  
Old 02-18-2007, 06:01 PM   #16
Recte44
Global Moderator
 
Recte44's Avatar
 
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 2,627
Thanks: 256
Thanked 176x in 104 posts
Has someone made this for 2006?
__________________
Matt Rectenwald
Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)
Recte44 is offline  
Old 02-18-2007, 06:02 PM   #17
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,120
Thanks: 159
Thanked 196x in 131 posts
6.5 league
RBLwebguy is offline  
Old 02-18-2007, 06:04 PM   #18
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Quote:
Originally Posted by RBLwebguy View Post
Hopefully someone can help me, I tried using this team export tracker and I don't see all national league teams in the right column:

http://www.gbwebs.ca/so49/teamexports.php
You'll probably need to provide that page in a format other than php online (e.g. zip it) because when you view the source code of a php file online all you see is the html.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
Old 02-18-2007, 09:22 PM   #19
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,120
Thanks: 159
Thanked 196x in 131 posts
Here it is

Last edited by RBLwebguy; 02-24-2007 at 02:06 PM.
RBLwebguy is offline  
Old 02-19-2007, 06:23 PM   #20
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 8,884
Thanks: 1,204
Thanked 941x in 529 posts
Well, it appears you just have less teams than the league the original export tracker had and that two of your NL teams are listed at the bottom of the AL list.

Try the following:

Replace:

for ($i = 1; $i < 15; $i++) {

With:

for ($i = 1; $i < 13; $i++) {

AND

Replace:

$j = $i + 14;

With:

$j = $i + 12;

And then I'm not entirely too sure about this (DaveHorn probably can help you better), but you're probably going to still end up with 2 extra lines on the right side so perhaps a large chunk needs to be changed somehow and maybe just deleted:

Starting with:

for ($i = 29; $i < 31; $i++) {
$NL = $base.$i.$ext;
$NLST = $stbase.$i.$ext;

and Ending with:

print("</tr>");


//print("<tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>".getTeamName($NL)."</td><td>".getFileDate($NL)."</td><td>".getFileDate($NLST)."</td></tr>");
}

Or you might want to forget about that part and instead flip flop the sides of the two leagues so that the one with the more teams is on the right like the original tracker had, but then you'd have to play with the numbers from the first 2 changes.

Anyway, try the first 2 changes and see what they give you then try the last one.
__________________
Support the one-and-done DH or the SP-only DH
(I think they're both better than both the AL and NL games)
and more flexible substitution rules.
kq76 is offline  
 

Bookmarks

Thread Tools

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 06:32 AM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

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 © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

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