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
1
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: http://virtualairlinesmanager.net/foro//index.php?topic=1087

Regards


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

3
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:
http://uflygroup.ga/virtualairline/vam/vam_acars_remove_book_aircraft.php
http://uflygroup.ga/virtualairline/vam/vam_acars_get_aircraft.php
http://uflygroup.ga/virtualairline/vam/vam_acars_pilot_connection.php

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.

4
Hi

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.

Regards

5
Hi

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="https://stats.vatsim.net/search_id.php?id=' . $row["vatsimid"] . '">' . $row["vatsimid"] . '</a></td>';
  }

Change the target to whatever you want.

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

Regards
Timothee

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

Regards
Timothee

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

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.

Regards

10
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: http://virtualairlinesmanager.net/foro//index.php?topic=1881.msg7259#msg7259

11
Bug reports / Re: THIS FLIGHT IS ALREADY REPORTED TO THE WEB SYSTEM
« 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"]);
        [...]
        }

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

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.

13
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 . "'";

14
Support for VAM 2.4 - 2.6 / Re: Flight Validation
« on: September 19, 2018, 10:20:14 PM »
Yes thats a well known problem. Create an index for the column report_id of the table va_finances.

Code: [Select]
ALTER TABLE va_finances ADD INDEX (report_id);

15
Support for VAM 2.4 - 2.6 / Re: Fleet page shows no aircraft
« on: August 03, 2018, 01:57:37 PM »
Set a location (ICAO code) for your planes. I'm sure that solves your problem.

Pages: [1] 2 3 ... 6