Results 1 to 20 of 20

Thread: map - river causing mysterious CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Only-Custom-Made-Avatar-User Member SirRethcir's Avatar
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    132

    Default Re: map - river causing mysterious CTD

    I did some tests.
    Ok, it is not a problem of to many river tiles on the map, but to many river tiles on a particular area of the map.
    If an area is too clustered with rivers it cause a CTD. However, its very hard to give exact values. (see below)

    During my tests I scrolled with the keyboard only.
    Plain map:
    - all 'Black' (RGB: 10,10,10)
    - 751x1000 (375x500 tiles)

    Test 1
    arrangement of rivers:
    Code:
    o    o    o
    |    |    |
                     ....
    o    o    o
    |    |    |
       :
       :
    - 4 tiles between rivers
    - 74 rivers * 2 * 99 rows = 14652 river tiles on the map
    -> no CTD

    Test 2a
    arrangement of rivers:
    Code:
    o    o    o
    |    |    |
    |    |    |     ....
    |    |    |
       :
       :
    - 74 rivers * 492 length = 36408 river tiles on the map
    -> CTD

    Test 2b
    - 74 rivers * 198 length = 14652 river tiles on the map
    -> CTD

    Test 3a
    - arrangement of rivers as in 2
    - rivers with fords
    - 74 rivers * 62 length = 4588 river tiles on the map
    -> no CTD

    Test 3b
    - as 3a
    - 74 rivers * 63 length = 4662 river tiles on the map
    -> CTD

    Test 3c
    - as 3a
    - rivers without fords
    - 74 rivers * 62 length = 4588 river tiles on the map
    -> CTD

    Test 4a
    arrangement of rivers:
    Code:
    o    o    o
    |    |    |
    |    |    |     ....
            :
            :
    |____|____|
         |
    - based on 3a
    - length 62 -> 4588 river tiles on the map
    -> no CTD

    Test 4b
    - as 4a
    - length 63 -> 4662 river tiles on the map
    -> CTD

    Test 4c
    - as 4a
    - confluence +3 tiles -> 4662 river tiles on the map
    -> CTD

    Test 5
    - two rows of 3a
    -> 9176 river tiles on the map
    -> CTD

    Test 6a
    - 3a + 2x an own river (a way longer than 62 tiles, with serveral tributary rivers)
    -> CTD occurs only in that part of the map where 3a-rivers and my own river are adjacent to each other

    Test 6b
    - cross check to 6a -> 6a without 3a
    -> no CTD


    Test 7a
    arrangement of river:
    Code:
    o     ____
    |    |    |
    |    |    |     ....
            :
            :
    |____|    |____|
    - 3a transformed to one big river
    -> 74x4 tiles added -> 4884 river tiles on the map
    -> CTD

    Test 7b
    - as 7a
    - but transformed in such a way that no additional tiles are added
    -> 4662 river tiles on the map
    -> no CTD

    Test 8
    - as 2a
    - only every 4th river kept
    - 19 rivers + 492 length = 9348 river tiles on the map
    -> no CTD
    Last edited by SirRethcir; 01-17-2008 at 19:48.


    Kaiser of Blitz
    from Aemilius Paulus for EB Unit List Reloaded
    from soup_alex for EB Unit List Reloaded



  2. #2
    Member Member irishron2004's Avatar
    Join Date
    Sep 2004
    Location
    California
    Posts
    183

    Default Re: map - river causing mysterious CTD

    Very interesting. I'll have to keep that in mind. Do fjords break up a river so the game does not read it in one piece?

  3. #3
    Only-Custom-Made-Avatar-User Member SirRethcir's Avatar
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    132

    Default Re: map - river causing mysterious CTD

    Quote Originally Posted by irishron2004
    Very interesting. I'll have to keep that in mind. Do fjords break up a river so the game does not read it in one piece?
    It seems they have a certain effect on clustered rivers (Test 3), but look at Test 8.
    One can have very very long rivers without a single ford.


    Kaiser of Blitz
    from Aemilius Paulus for EB Unit List Reloaded
    from soup_alex for EB Unit List Reloaded



  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: map - river causing mysterious CTD

    I wonder if this could be a pathfinding problem? Maybe the game has problems when trying to calculate a path from one side of a river to the other.

  5. #5
    Only-Custom-Made-Avatar-User Member SirRethcir's Avatar
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    132

    Default Re: map - river causing mysterious CTD

    Quote Originally Posted by alpaca
    I wonder if this could be a pathfinding problem? Maybe the game has problems when trying to calculate a path from one side of a river to the other.
    I thought about that too, but Test 8 is somewhat contradictory.


    Kaiser of Blitz
    from Aemilius Paulus for EB Unit List Reloaded
    from soup_alex for EB Unit List Reloaded



  6. #6
    Member Member irishron2004's Avatar
    Join Date
    Sep 2004
    Location
    California
    Posts
    183

    Default Re: map - river causing mysterious CTD

    Quote Originally Posted by SirRethcir
    I thought about that too, but Test 8 is somewhat contradictory.
    Maybe not contradictory. What if the pathfinding problem is too many rivers too close together and the ai trying to find paths between them, not cross them?

  7. #7
    Only-Custom-Made-Avatar-User Member SirRethcir's Avatar
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    132

    Default Re: map - river causing mysterious CTD

    Quote Originally Posted by irishron2004
    Maybe not contradictory. What if the pathfinding problem is too many rivers too close together and the ai trying to find paths between them, not cross them?
    I really don't know. I have no idea, not a clue.
    But it doesn't look like a pathfinding problem.

    Picture of my original problem:


    The pink rivers causing the problem.
    As you can see there are many dense areas with some 'complicated' rivers.
    But no problem here.
    Two of the pink rivers a rather straight forward and in empty areas.


    Kaiser of Blitz
    from Aemilius Paulus for EB Unit List Reloaded
    from soup_alex for EB Unit List Reloaded



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO