• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 buffer overflow error

Messages
1,036
Country
us-florida
This has come up many times before but I thought I would attempt to add to the knowledge base about it. I am working on recreating Pittsburgh Airport (KPIT) as of 1959. A couple of weeks ago I was adding some aprons and bglcomp threw this error. At the time I converted 10 aprons into part of my ground polygon model created with Sketchup 8 and brought the apron count down to 147. No error message now. Since I knew that I had only added two apron areas I decided to test if it was the number of aprons or the total number of apron vertex points that was causing the error. Before the buffer overflow error was thrown I was getting a good compile with 157 aprons. So I started adding triangle shaped aprons until I had added 15 onto my previous 147 for a total of 162 aprons. The compile was clean. So I took this to mean that apron vertex points were the culprit. To count them easily I used ADE's list function and exported my apron list as a csv file. I imported this into my spreadsheet program and used it to tell me how many total vertexes there were. I began adding vertexes until I got the buffer overflow message and then reduced them one by one to see if I could pinpoint a specific number of apron vertexes that were ok but one more would give you the error message. I never got to a point like that but I did discover that if you had 4,656 vertex points or less you should get a clean compile. I discovered that there is a sort of no man's land where the compile will not create an airport bgl that FS9 will read but also does not return the buffer overflow error message. This is in the area of 4.657 to about 4,660 vertex points. Above 4,660 vertex points you will probably get the error message. At one point in my experimenting I went from 4.657 points to 4.656 points and still got an unusable airport bgl. Recompiling that same file again with no changes got me a usable airport file. So in the future I plan on keeping an eye on my total vertex points to avoid this becoming a problem.

Ed
 
Hi Ed,

Yes, correct. And beyond a certain point it is not just apron vertices, but also taxiway (etc.) vertices that will take you over the limit.
 
So are your saying that all vertices together is what is being evaluated or are vertices for each individual component being evaluated seperately? I guess that I could do some testing to determine what is what.
 
It's both. The number of aprons and the number of vertices. I believe there is also a limit to the number of parking spots and the number of airline assignments, if I'm not mistaken.
 
Tom, thanks for your information. I will probably do some testing down the road to see if I can determine what some of the limits are.

Ed
 
Back
Top