Home | Webstore
Latest News: OOTP 26 Available - FHM 11 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 - Names and Nations

Reply
 
Thread Tools
Old 05-19-2024, 02:14 AM   #21
siobhan
Minors (Single A)
 
Join Date: Sep 2007
Posts: 86
Quote:
Originally Posted by siobhan View Post
First off, I'm glad there's a utility for world_default files. I seem to spend more time tinkering with XML files than I do with any other aspect of the game, for whatever reason, so this will make my editing easier.

However, I'm getting an error I don't understand the context of when I try opening the world_default file I want to use. It says:
"TypeError: Cannot read properties of undefined (reading 'id')"

For context, I'm doing the following:
1. Using a modified XML file (Dogzilla's World Name Database 2.0)
2. Using a folder other than the default database folder.

Every time I load it from my folder, I get that error. I have no difficulty opening the default XML from the default folder, though.

I would think this would be caused by the XML database being made in a prior OOTP, but yet a second modified XML I've tried that's based off OOTP 25 does the same thing.

What am I doing wrong?
Maybe I did something wrong posting here? Nah...maybe not enough eyes have seen it.

Even though I might know what a type error is a little more than I did 10 days ago (thank you Google), I still can't figure out why I'm getting one. It does say that you can use a copy of the world_default.xml in the splash screen, so it confuses me as to why the copy of the XML file I'm using isn't working.

Let me know what's worth providing to see if this can get worked out.
siobhan is offline   Reply With Quote
Old 12-10-2024, 11:10 AM   #22
hurricanekevin
All Star Reserve
 
hurricanekevin's Avatar
 
Join Date: Nov 2020
Location: Florida
Posts: 871
(Deleted)

I sorted this out
__________________
Fictional Team Logos

Last edited by hurricanekevin; 12-11-2024 at 09:36 AM.
hurricanekevin is offline   Reply With Quote
Old 01-25-2025, 01:40 PM   #23
stevebydac
All Star Reserve
 
stevebydac's Avatar
 
Join Date: Dec 2005
Location: In a fictional baseball world
Posts: 840
I've been using this wonderful editor to create a fictional mid-Atlantic nation called Concordia and its cities, but I seem to have some little snippet somewhere that's wrong. The editor won't load this file, I just get the "spinning wheel."

Here's the header for my nation and an example of 1 city (of my 150+ cities). See anything wrong here?

I'm using the US Historical and UK ethnicities. Did I need to create a Concordian ethnicity instead?

I've only got one state (Test State). Does that population (which is the entire nation's population) need to exactly match the sum of all my city populations?
Code:
<NATION id="253" name="Concordia" etid="39" capid="95613" gender="0" bbqual="5" abbr="CON" abbr_korean="와" dem="Concordian" dem_korean="콩코르디안" time_zone="-2.00">
                    <ETHN_PCTS/>
			<ETHN_PCT etid="39" pct="67"/>
			<ETHN_PCT etid="20" pct="33"/>
		    </ETHN_PCTS>	
	              <STATES>
                        <STATE id="3403" name="TEST STATE" pop="51671553" abbr="TES" abbr_korean="오 셨" time_zone="-2.00" observes_dst="0" lat="00.00000" long="00.00000">
                            <CITIES>
                                <CITY id="95610" name="Addington" pop="70032" time_zone="-2.00" observes_dst="0" lat="37.33" long="-30.42" abbr="ADD" abbr_korean="더하다"/>
Thanks for any advice.
__________________

stevebydac is offline   Reply With Quote
Old 01-26-2025, 12:53 PM   #24
Ktulu
Hall Of Famer
 
Join Date: Feb 2003
Location: BC
Posts: 4,506
Quote:
<ETHN_PCTS/>
<ETHN_PCT etid="39" pct="67"/>
<ETHN_PCT etid="20" pct="33"/>
</ETHN_PCTS>
The / in the first line is likely the problem.
__________________
"The ice is getting even more thinner, my friend!"
Ktulu is offline   Reply With Quote
Old 01-26-2025, 02:24 PM   #25
stevebydac
All Star Reserve
 
stevebydac's Avatar
 
Join Date: Dec 2005
Location: In a fictional baseball world
Posts: 840
Quote:
Originally Posted by Ktulu View Post
The / in the first line is likely the problem.
Well, you're half right! You definitely pointed out an error , but after correcting it the file still won't load. Something else is wrong, maybe a similar tiny error in my cities list. Argh! Off to hunt for it...

Thanks so much! It's amazing how you can stare at code for so long and miss such errors.
__________________


Last edited by stevebydac; 01-26-2025 at 04:15 PM.
stevebydac 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 06:47 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