• 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.

Debugging XML "Gauges"

Shame about the loss of line numbers but I agree that a snippet of code around the error would certainly help with tracking down any errors.

I've also noted with the error log that it converts any > into > when it displays the error (to avoid confusing myself I always use either > or < as using > and < would surely confuse me )
 
I really think they should leave the > and & gh ; alone, keep it as it is and not change it (as they did with V2.1).

I asked that they replace the missing or deleted FS9 GPS code tidbits that were missing in the V2.1 release. I wonder how only certain keys were taken out of the FS9 GPS? Why did that happen? Perhaps just an accident? If anything, it would be nice to see new additions to code be added in. Having some on/off commands (where we presently only have Toggles) would be very nice. Having the ability to have multiple fuel selectors 'per engine' would be nice. Being able to set battery life would be nice. Having a S:var that would play sounds would be very nice for clicks and things.


Bill <--- yes, yet another... clone 234233-8
 
Being able to set battery life would be nice.
Having a S:var that would play sounds would be very nice for clicks and things.

Bill <--- yes, yet another... clone 234233-8

Jeez Bill, you're going to put me out of business...
 
Jeez Bill, you're going to put me out of business...

Don't be afraid, Doug!

There is also your very important "variable safe gauge"!!
And also your dumpgauge for any complex fuel systems!

Edi
 
Sorry Doug. Bad me.

It really doesn't make sense though that the sim cant handle sounds, that we have to go through all the C++ routes to just make click sounds.

This couldn't be done in V2.x anyways, so don't worry. I doubt they would do that. Plus we are still mostly developing for FSX users, so the C++ gauges are still needed.
 
Okay, now for some "weird" news!

I'll have to look closer and verify this, but I discovered this afternoon that the "error fixed" version of my XML 'gauges' won't load at all in FSX!!! :yikes:
 
no...........................................


no no no......

I picked a bad time to stop sniffing glue.....
 
A little expansion of the Cabin No Smoking and Seatbelts alerts would be a great way of expanding the sound system. I mean, these switches do nothing apart from toggle on and off but they have sound.cfg entries so they can be used as a couple of generic switch sounds as long as you aren't making an airliner.

If LM could just make a dozen copies of these and call them something like Aux Switch 1 .. Aux Switch 12 that would be awesome (and allow them to be saved as part of a save flight too or am I just getting greedy now?)

@bill, Bad luck with the XML gauges not running in FSX. I can inform you that my XML gauges, which I've cleaned up using the P3D errorlogging, seem to be working just fine in FSX. I've just copied and pasted the XMLs from P3D into FSX gauges folders. So hopefully you've just made some simple mistake somewhere and that it isn't something fatal.
 
As I wrote, I'll have to look closer and verify the results, but all I did was re-cab the folder, use a new name and tried it in FSX. No gauges loaded at all. Switched back to my original .cab file and gauges loaded fine...

I was actually in the middle of setting up a new installer for the C310R WX Radar version, and had grabbed the wrong .cab and panel.cfg file from my P3Dv2 folder instead of my FSX folder... :rolleyes:
 
I am getting a bug using accents. It's showing "pÃÛ" in me custom GPS XML file. But when i search for it i can't find these letters. Tried a few other ways to search with no luck.
Does anyone have any clue why this is in my coding and why i am getting the error?
 
It sounds like you are not saving it as a pure text file? Some editors will add formatting characters that will appear as you describe.
 
I am using notepad. So not sure why. Maybe i should make a new XML file and add the text as see what happens.
 
I found it shows many different accents for missing spaces or extra spaces when the warning appears. It seems it uses these accents because it has nothing to report. I wish i could locate these warnings because without a clue to where it is the code is too long to find missing spaces or extra spaces.

Another issue i do not like is if i reload the debug it shows different issues each time i load it. And i do know that 1 warning fixed can fix others. So i am stuck trying to remove the last 6 warnings. All listed as missing space or extra space.
And 2 warnings for no more than 4 characters but this only shows sometimes and not every time i load the debug as posted above. And this does show the text for the location but the code has no errors.

Is there a better debug program that can help?
 
Back
Top