this entry change leads to the next error so only 9 pax are loaded so this does not work either
This usually happens when the scenery's data is not loaded correctly by GSX or when jetway data and scenery data mismatch. What airport was it and what scenery? Was it a marketplace airport? And if 3rd party, did you exclude the GSX jetways for that airport?
I spent 5 hours last night trying to get GSX to NOT load 9 passenger, and instead load according to my simbrief plan. First I had to correct PMDG's error in the aircraft.cfg and then I had to regenerate my simbrief plan because it was out of date by the time I got the PMDG error sorted out - ALL COMPLETELY UNNECESSARY WHEN EXTRACTING PASSENGER LOAD FROM SIMBRIEF PLAN.
Quite honestly, Umberto, I believe you have created support issues for yourself: there is no reason to require verification of aircraft model, type, size, or whatever when setting passenger number from simbrief - if the pilot doesn't care to make sure the aircraft being used matches the simbrief flightplan, what do you or GSX/Coatl care - it just adds complexity that serves no purpose.
Another status check that is useless and will cause exactly the same problem of not loading the number of passengers in the simbrief plan is if the scheduled departure time of the plan is wrong for the current time - once again you are only creating support cases and more work for you and your staff - what do you or GSX/Coatl care if the times are wrong - if the pilot doesn't care why should you.
A better way would be a warning message for both cases, with the options to ignore the error, or ignore the simbrief plan. A best way would be to ignore both errors and just continue loading the simbrief passenger count.
Please don't make it more complex than is necessary, and remove these superfluous verification/checks, and let us just use GSX the way WE want.