docchaos wrote:I found a weird bug on Age of Merchants (I'm not sure it's a BOB-bug or something wrong with the xml): When I hover over a port, BOB tells me, that it is normally connected to all docks (but docks can't attack ports, so it should be shown as one-way attack). For port-port it's the other way around, these connections are shown as one-way connections, even though they are two-way connections.
btw: When I hover over a dock, the one-way connection to ports is correctly shown.
cheers,
Marc
I found similar behaviour on Egypt: Valley Of The Kings, which prompted me to look through some other maps with one-way attacks and on some of them it worked correctly while it didn't on others. Here are my observations:
- Of the maps I tested (Age of Merchants, Valley of Kings, Pearl Harbor, Europe, Asia, San Francisco, British Isles and Circus Maximus), it worked correctly on those that have exactly one country that can be attacked one-way (Europe, Asia, San Francisco - the latter has 3 routes on which you can attack one-way but all lead to just one country, namely Alcatraz) and failed to work on all other maps.
- It fails only for countries, that attack one-way and not for those that are attacked one-way. That means if there are countries A and B with a connection A ---> B, when I hover over B everything is displayed correctly, but when I hover over A something is wrong.
- The bug only occurs with one-way attacks and not with bombardements.
- Map inspect below the map shows the correct information, it's just the symbols overlayed on the map that are affected.
That's as precise as I can descibe the bug right now, I hope it helps in finding it. My guess is that there is some index off by one when there's more than one country that can be the target of a one-way attack.