|
||||
| ||||
|
|||||||
| Earlier versions of OOTP: General Discussions General chat about the game... |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Bat Boy
Join Date: Apr 2002
Posts: 18
|
PBP - hard-coded events in OOTP9?
I haven't purchased OOTP9 yet, so I haven't been able to look into this myself...
Does OOTP9 still have hard-coded PBP or news, i.e. end of inning commentary? Or is everything contained in the XML file now? |
|
|
|
|
|
#2 |
|
Hall Of Famer
Join Date: Aug 2002
Posts: 36,028
|
Yes, there is hard-coded PBP and News material in OOTP9.
|
|
|
|
|
|
#3 |
|
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Can I ask what the reason for this is?
|
|
|
|
|
|
#4 |
|
Hall Of Famer
Join Date: Mar 2003
Posts: 9,005
|
You can ask it, but don't expect an answer.
|
|
|
|
|
|
#5 |
|
Bat Boy
Join Date: Apr 2002
Posts: 18
|
That's unfortunate. I wonder why the hard-coded events can't be pulled into the XML file? I've seen this with other games as well. It makes me think there's certain things that have to stay in the program file for the game to work.
Eugene, do you know if the hard-coded events are published anywhere? It would be nice to at least be able to reference them when editing the XML file, so I don't end up with a screwy PBP, which is what happened when I edited the OOTP2007/8 XML file. |
|
|
|
|
|
#6 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 4,925
|
Quote:
Your best bet would be to study what's in a category already to decide what you can put there. Not easy to be sure... but creating the pbp was not an easy job. I've gone through hundreds of SEASON's of pbp logs in order to figure out what can and can't be mentioned, so it can work around the hard code lines that could come up around it. For example, if no object there mentions something you're thinking of putting in... it very well could be that it would conflict with something that could come after it.
__________________
I don't know about you, but as for me, the question has already been answered: Should we be here? Yes! Jack Buck, September 17, 2001 It's what you learn after you know it all that counts. I firmly believe that any man's finest hour... is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. (Vince Lombardi) I don't measure a man's success by how high he climbs but how high he bounces when he hits bottom. (George S. Patton) |
|
|
|
|
|
|
#7 | |
|
Bat Boy
Join Date: Apr 2002
Posts: 18
|
Quote:
Anyway, for some reason this whole subject seems like it's super top secret. No matter how many times it is mentioned (back in OOTP2007/8 and now OOTP9), I haven't seen a straight answer anywhere. Most of the time, this subject just goes silent with no input from Markus or any of the powers that be. How hard can it be to post an extract of the hard-coded lines? Markus gives us an almost fully customizable PBP file, but keeps the hard-coded stuff under wraps. I don't get it. |
|
|
|
|
|
|
#8 | |
|
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 4,925
|
Quote:
It's spread out all over in the pbp section of OOTPs code. What was pulled out is a big list of "sentences", and not all of them are ACTUALLY hard code pbp (they just looked like they might be). So even if what we were given was made available for you to look at, it wouldn't make any sense without a lot of studying pbp logs. Since you have to study the pbp logs to make what we saw make sense, might as well study pbp logs and see the hard code text that way instead - it'd make more sense and be easier all the way around. There's nothing about the pbp that isn't a major pain, hard code or not.
__________________
I don't know about you, but as for me, the question has already been answered: Should we be here? Yes! Jack Buck, September 17, 2001 It's what you learn after you know it all that counts. I firmly believe that any man's finest hour... is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. (Vince Lombardi) I don't measure a man's success by how high he climbs but how high he bounces when he hits bottom. (George S. Patton) |
|
|
|
|
|
|
#10 |
|
All Star Starter
Join Date: Aug 2004
Location: Morro Bay, CA
Posts: 1,257
|
I suspect that the basic elements needed to process a game are hard-coded. This would insure that, no matter how bad an end-user messed things up, that the game could still be played.
Many of the basic mechanics of a game don't need to be adjusted, and would just clog up the file that did allow for adjustments (i.e., If a player flys out you can't adjust it to be a ground out). I have two pages of adjustments that I have made to the PBP from the previous versions (I'm not shy about making "improvements ) but I've never had a desire to mess with the mechanics needed to make the program run correctly.
__________________
I cast this question into your soul, that I might know how deep it is - Friedrich Nietzsche It often shows a fine command of language - to say nothing! - Bertrand Russell |
|
|
|
|
|
#11 |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 4,925
|
he hasn't been retired yet, going 2 for 2 with one RBI...
That's a hard code line. Most likely hard coded so it can be controlled better. So we wouldn't ever end up possibly with it saying he hasn't been retired yet, going 2 for 3. Or mentioning he has no RBI for the game. Anaya is going home... ----------- he scores... ----------- Hunt has a double... ----------- It's a two-run double by Charles Hunt. Those are all hard code lines. There's not a whole lot of variation to add to that. [228-11917] rips a liner... over the third base bag... McGilchrist is there... The last 2 lines are hard code. Not much variation in the direction, the "is there" is a stupid line since he misses it 90+% of the time, but not much variation available for that type of play unless he's lunging or diving. Most of the hard code is stuff that wouldn't have much variation, so it'd be calling from an xml category for no other reason than it isn't hard coded anymore, not for sake of variation. The downside is that the stupid lines can't get fixed unless Markus does it.
__________________
I don't know about you, but as for me, the question has already been answered: Should we be here? Yes! Jack Buck, September 17, 2001 It's what you learn after you know it all that counts. I firmly believe that any man's finest hour... is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. (Vince Lombardi) I don't measure a man's success by how high he climbs but how high he bounces when he hits bottom. (George S. Patton) |
|
|
|
|
|
#12 | |
|
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Quote:
|
|
|
|
|
|
|
#13 | |
|
Hall Of Famer
Join Date: Aug 2003
Posts: 4,925
|
Quote:
You just might see the pbp laughing at you... HA! HA! HA! HA! HA! !
__________________
I don't know about you, but as for me, the question has already been answered: Should we be here? Yes! Jack Buck, September 17, 2001 It's what you learn after you know it all that counts. I firmly believe that any man's finest hour... is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. (Vince Lombardi) I don't measure a man's success by how high he climbs but how high he bounces when he hits bottom. (George S. Patton) |
|
|
|
|
|
|
#14 | |
|
Bat Boy
Join Date: Apr 2002
Posts: 18
|
Quote:
Maybe I'm just too involved in this part of the game. I spent hours building a custom XML file for the last version that didn't work because of the hard-coded events. To me, hard-coded events are no different than a roster set builder finding out that no matter how they built a roster set, it would always include Barry Bonds, Roger Clemens, and Frank Thomas by default, with no way to modify or delete them. |
|
|
|
|
|
|
#15 |
|
Hall Of Famer
Join Date: Aug 2002
Posts: 36,028
|
Only Markus knows why the hard-code material is in PBP and News.
Other than Markus, tysok is the resident expert on PBP and News. I sure if it were possible, tysok would work on the Hard-Coded material and make the game much better. So far, it has not happened. And I am sure Markus has some very good reasons for not stating why the Hard-Code is necessary. |
|
|
|
|
|
#16 |
|
Bat Boy
Join Date: Apr 2002
Posts: 18
|
How do we get Markus to comment on this thread/topic?
Bump it to the top? (I guess I just did that) Send him a PM? Beg? Wait indefinitely? |
|
|
|
|
|
#17 | |
|
Hall Of Famer
Join Date: Aug 2002
Posts: 36,028
|
Quote:
He is very, very busy taking care of bugs and there is just no way he can read all of the threads on all of the Forums and Subforums. I think much of his day is spent fixing bugs reported in Bugzilla. |
|
|
|
|
|
|
#18 | |
|
All Star Starter
Join Date: Apr 2006
Location: Oregon, WI
Posts: 1,567
|
Quote:
That being said, if one looks at what is/was possible to change, then it is safe to say that Tysok and the PbP team have just about made the OOTP PbP the best it can be given it's current limitations. -Cork55 |
|
|
|
|
![]() |
| Bookmarks |
|
|