Moderator: Cartographers
Optimus Prime wrote:I'll ask this here first before taking it to yeti_c. Has anyone else experienced BOB freezing the game on them only when they are taking turns on this map? I've had it happening to me for the last few days now.
The game works great for all other maps, I can deploy, make attacks, etc. However, when this map comes up on my list all of the sudden everything freezes up and the only way I can take my turn is to disable BOB temporarily.
Then when I move to the next game on a different map, BOB works just fine and no freezing occurs. Anyone have any clues? I'm not sure if it is a map problem, or a BOB problem, but I highly doubt it is a problem on my end since it doesn't happen anytime except under the described circumstances.
<continent>
<name>Russian Sector</name>
<bonus>5</bonus>
<components>
<component>Rahnsdorf</component>
<component>Müggelheim</component>
<component>Grünau</component>
<component>Treptow</component>
<component>Köpenick</component>
<component>Hellersdorf</component>
<component>Marzahn</component>
<component>Lichtenberg</component>
<component>Friedrichshain</component>
<component>Hohenschönhausen</component>
<component>Weißensee</component>
<component>Buch</component>
<component>Prenzlauer Berg</component>
<component>Pankow</component>
<component>Mitte</component>
</components>
<required>8</required>
</continent>
oaktown wrote:Here's a thought: BoB has always had particular trouble with maps that don't use proper unicode character references for special character. There is a an ampersand (&) in the XML for this map in a territory title...
<territory>Wallis&Futuna</territory>
Ampersands are especially problematic in that they are used to indicate to BoB that an entity reference is coming.
If you replace the "&" with "&" the problem may go away. (Unless I just gave you the wrong code.)
of course, if this is the problem it doesn't make sense that it would work in some games and not in others, but it would be worth fixing to see if the problem goes away.
<territory>
<name>Wallis&Futuna</name>
<borders>
<border>Fiji</border>
<border>Tuvalu</border>
<border>Western Samoa</border>
</borders>
<coordinates>
<smallx>391</smallx>
<smally>215</smally>
<largex>521</largex>
<largey>280</largey>
</coordinates>
</territory>
sherkaner wrote:I started maintaining BOB, so I looked into this. Looks like BOB can't find the "Sulawesi"-territory as destination for an attack, since it only knows a "Suwalesi"-territory. So it's just a stupid spelling mistake. Just change it into "Sulawesi" (like on the map), and BOB should work again.
I'll change the script so it doesn't hang on this small thing with the next update, but I think it's better if you just update the map.
thenobodies80 wrote:Ok, the sulawesi-suwalesi problem was fixed:
Here the updated files:
Large Version: http://www.fileden.com/files/2009/3/21/2373685/oceania.L.jpg.jpg
Small Version: http://www.fileden.com/files/2009/3/21/2373685/oceania.S.jpg.jpg
Xml: http://www.fileden.com/files/2009/3/21/2373685/oceania.xml
xml is valid. see test results.
Test results:
Summary: 0 errors and 0 warnings detected in oceania.xml (7 continents, 44 territories)
Continents Summary
Australia [6] East Indies [3] Kiribati [2] Melanesia [4] Micronesia [4] New Zealand [2] Polynesia [6]
Text Map
Australia (6) | 10 |
Lord Howe Island ==> New South Wales
New South Wales ==> Canterbury Lord Howe Island Northland Queensland South Australia Victoria
Norfolk Island ==> Fiji Northland Queensland
Northern Territory ==> Queensland South Australia Timor Leste Western Australia
Queensland ==> New South Wales Norfolk Island Northern Territory Papua New Guinea South Australia Whitsunday Islands
South Australia ==> New South Wales Northern Territory Queensland Tasmania Victoria Western Australia
Tasmania ==> South Australia Victoria
Victoria ==> New South Wales South Australia Tasmania
Western Australia ==> Northern Territory South Australia
Whitsunday Islands ==> Queensland
East Indies (3) | 5 |
Flores ==> Timor Leste
Maluku ==> Palau Sulawesi Timor Leste West Papua
Sulawesi ==> Maluku Timor Leste
Timor Leste ==> Flores Maluku Northern Territory Sulawesi
West Papua ==> Maluku Papua New Guinea
Kiribati (2) | 4 |
Canton Island ==> Kiritimati Line Islands Tarawa
Kiritimati ==> Canton Island
Line Islands ==> Canton Island Cook Islands Tahiti
Tarawa ==> Canton Island Marshall Islands Tuvalu
Melanesia (4) | 5 |
Fiji ==> Norfolk Island Tonga Vanuatu Wallis&Futuna
New Caledonia ==> Vanuatu
Papua New Guinea ==> Caroline Islands Queensland Solomon Islands West Papua
Solomon Islands ==> Nauru Papua New Guinea Vanuatu
Vanuatu ==> Fiji New Caledonia Solomon Islands
Micronesia (4) | 6 |
Caroline Islands ==> Guam Marshall Islands Nauru Palau Papua New Guinea
Guam ==> Caroline Islands Marshall Islands Palau Saipan
Marshall Islands ==> Caroline Islands Guam Nauru Tarawa
Nauru ==> Caroline Islands Marshall Islands Solomon Islands
Palau ==> Caroline Islands Guam Maluku
Saipan ==> Guam
New Zealand (2) | 5 |
Canterbury ==> Chatham Islands New South Wales Northland Southland Wellington
Chatham Islands ==> Canterbury Wellington
Northland ==> Canterbury New South Wales Norfolk Island Tonga Wellington
Southland ==> Canterbury
Wellington ==> Canterbury Chatham Islands Northland
Polynesia (6) | 9 |
American Samoa ==> Cook Islands Tonga Western Samoa
Cook Islands ==> American Samoa Line Islands Tahiti
Marquesas Islands ==> Tahiti
Tahiti ==> Cook Islands Line Islands Marquesas Islands
Tokelau ==> Western Samoa
Tonga ==> American Samoa Fiji Northland Western Samoa
Tuvalu ==> Tarawa Wallis&Futuna
Wallis&Futuna ==> Fiji Tuvalu Western Samoa
Western Samoa ==> American Samoa Tokelau Tonga Wallis&Futuna
sherkaner wrote:Ok, to be more precise: BOB gets its country data from the XML from a certain link (in this case http://maps.conquerclub.com/Oceania.xml If you click the link, you should see it). That XML is correct, but still says Suwalesi in stead of Sulawesi, probably the old version.
In the dropdowns, it says Sulawesi. So something was updated, but the xml BOB uses wasn't. This is what breaks BOB, it can't find the country Sulawesi (it only has Suwalesi from the xml).
So I guess Lack had to do 2 things to update the XML correctly, and forgot about one of them (updating the public XML).
I'll try to PM him.
sherkaner wrote:Ok, to be more precise: BOB gets its country data from the XML from a certain link (in this case http://maps.conquerclub.com/Oceania.xml If you click the link, you should see it).
lackattack wrote:other xmls like Rail_Europe use & without any problem:
- Code: Select all
<territory>LAU Lausanne C&D</territory>
Users browsing this forum: No registered users