Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy 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, 10:52 PM   #1
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 11:22 AM   #2
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-24-2006, 12:08 PM   #3
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 12:20 PM   #4
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-24-2006, 12:35 PM   #5
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
...
Attached Files
File Type: zip teamexports.zip (1.9 KB, 248 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, 12:51 PM   #6
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-24-2006, 12:58 PM   #7
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 12:59 PM   #8
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 01:04 PM   #9
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.)
kq76 is offline  
Old 02-24-2006, 01:08 PM   #10
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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 01:13 PM.
enuttage is offline  
Old 02-24-2006, 01:15 PM   #11
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-24-2006, 01:17 PM   #12
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 01:23 PM   #13
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-24-2006, 01:50 PM   #14
enuttage
Hall Of Famer
 
enuttage's Avatar
 
Join Date: Mar 2002
Location: Hill Country
Posts: 2,409
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, 06:52 PM   #15
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
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, 07:01 PM   #16
Recte44
Global Moderator
 
Recte44's Avatar
 
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 2,753
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, 07:02 PM   #17
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
6.5 league
RBLwebguy is offline  
Old 02-18-2007, 07:04 PM   #18
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
kq76 is offline  
Old 02-18-2007, 10:22 PM   #19
RBLwebguy
Hall Of Famer
 
RBLwebguy's Avatar
 
Join Date: Jun 2002
Location: Canuckistan
Posts: 5,157
Here it is

Last edited by RBLwebguy; 02-24-2007 at 03:06 PM.
RBLwebguy is offline  
Old 02-19-2007, 07:23 PM   #20
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,663
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.
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:33 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 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments