Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Timothee

Pages: [1] 2 3 ... 6

If I remember correctly from the last time I noticed that SIM ACARS is always using TLS 1.0 when a HTTPS URL is used. Don't know why, maybe it is hardcoded.
However, you can override the settings from SIM ACARS, not sure if this will work in your case:

And just as a personal hint. You should use at least TLS 1.2. SSL is considered insecure and should not be used anymore.


Support for SIM ACARS / Re: Airport with 3 letters code - ERROR
« on: May 15, 2020, 08:15:39 PM »
5KE is not the IATA identifier but the FAA code. The IATA code is WFB.
But it looks like this airport has no ICAO code assigned.

Funny enough, this airport does exist in the SIM ACARS database but it looks like it is hard coded into the UI to only accept 4 letter codes.
There is nothing we can do about that.

Support for VAM 2.4 - 2.6 / Re: Ranks Not updating
« on: January 29, 2020, 12:23:12 PM »
Hi, do you know what was problem ? how can I repair autopdate rank ?

Hi Arionix

a long time ago I posted a bug about ranks not updating. Maybe this affects you as, well actually every VAM installation is affected if more than 5 pilots are flying.
Have a look here on how to fix it:


Thats nothing I can answer. I don't know what you or your hoster has in place.

So obviously there is some enhanced security running on your webserver (probably a web application firewall like Apache mod_security or something similiar).
Thats nothing bad but may cause problems because SIMACARS doesnt care that much about standards. For example, SIMACARS uses the Content-Type text/json. This Content-Type does not exists and should be application/json.

As soon as you press the login button in SIMACARS tries to call (POST) the following three files:

Doing this with SIMACARS the webserver returns an HTTP 403 Forbidden error, instead of HTTP 200 OK. Additionally to that, it looks like my IP is blocked from any further try.

In short, it is a security setting on your webserver or from your hoster.  What you can change or have to change in order to get SIMACARS running is to disable some security features or to make an exception.


There are so many things which could go wrong in this scenario (wrong TLS version if using HTTPS, Apache mod_security misconfiguration, etc.). However, mostly Wireshark is pretty helpful to find the cause of the errors. If you don't know how to use it, it would be helpful to know the URL of your VA. I will check if I see any obvious errors.



Did something similiar, although I'm using a different destination.
I'm assuming you want to change the link on the pilot roster.

Edit the file pilots_public.php and look for the following lines:

Code: [Select]
  if ($vatsim == 1) {
    echo '<td><a href="' . $row["vatsimid"] . '">' . $row["vatsimid"] . '</a></td>';

Change the target to whatever you want.

Hi Peter

I havent decided about that yet. For the moment its just for internal use.
There are two reasons for that. Firstly although my program is compatible with VAM I havent implemented charter flights simply because we dont support it in our airline. Secondly we have only a limited set of aircrafts available and some addons like the Majestic Dash or the PMDG 777 need some special handling for detecting lights and there might be more out there.

That said, if its ever getting released to the public it will be either Freeware or Open Source.

I am using C# but once released I will be happy to come back to you.


Hi Peter

I do agree with you. We realized this fact a while ago already. A project maintained by only one person is sooner or later going to die.

We made a lot of modifications to VAM itself so it wouldnt be compatible anymore anyway. Also, two years ago I started writing our own ACARS client which is compatible with VAM and resolves issues which SIM ACARS had. The client is still in testing internally but the results are looking fine.

With this we are now fully independent since I don't expect anything new from here.


Support for SIM ACARS / Re: Sim Acars not connecting to VA
« on: September 08, 2019, 02:21:36 PM »

Every request from SIM ACARS to your VA is answered with an error from your server (406 Not Acceptable instead of 200 OK).
You have to review your server configuration, for example mod_security if used.


Support for VAM 2.4 - 2.6 / Re: Using HTTPS
« on: March 06, 2019, 01:31:10 PM »
About one or two files need some small changes because they link to non HTTPS sites.
Check here:

« on: February 15, 2019, 10:06:44 AM »
Does the livery name for the aircraft in use contain any special characters, for example apostrophes?
If so VAM has a problem accepting those since the values are not correctly escaped.

A while ago I added an escape function to the receivevampirep.php:
Code: [Select]
function instert_flight( $flight , $data ,$db){
$aircraft= $db->real_escape_string($data[0]["aircraft"]);

Bug reports / Re: Bad QNH = CRASH?
« on: February 12, 2019, 03:19:23 PM »

SIMAcars can work only with the values received from FSUIPC. FSUIPC reads the default offset from FSX/P3D. Since neither the Majestic Dash (QNH, Beacon, Taxi & Nav(?) Lights) nor PMDG (Taxi Lights) use the default offsets for their functions, FSUIPC will never be aware of what is actually set. This is something you have to address to the publishers and not to SIMAcars.

However, there is a workaround for the QNH in the Majestic Dash. The 'B' key doesn't set the QNH in the Dash 8 but it sets the offset in the simulator. This means, just press the 'B' key before takeoff and before landing and you are fine.

There is currently no way around this.

Bug reports / Re: [VAM2.6.2] Acars Data MAX_JOIN_SIZE
« on: January 10, 2019, 11:25:33 AM »
Over time another query leads to the same problem.

In flight_details.php the first SQL statement (about line 34) again contains more joins than necessary.

Original statement:
Code: [Select]
$sql = "select * , date_format(flight_date,'$va_date_format') as flight_date from vam_track vt , vampireps vp ,gvausers u where vt.flight_id = vp.flightid and u.gvauser_id = vp.gvauser_id and vp.flightid='" . $vamflightid . "'";

Modified statement:
Code: [Select]
$sql = "select * , date_format(flight_date,'$va_date_format') as flight_date from vampireps vp, gvausers u where u.gvauser_id = vp.gvauser_id and vp.flightid='" . $vamflightid . "'";

Pages: [1] 2 3 ... 6