rpuig2001 / CDM

CDM
GNU General Public License v3.0
21 stars 9 forks source link

TSAT no longer displays automatically #50

Closed lukasbagerskov closed 2 years ago

lukasbagerskov commented 2 years ago

I have encountered a problem since I updated to V2 of the CDM plugin. The TSAT no longer comes automatically, and only limited features are available. I can set the TOBT and declare ready at TOBT, but I no TSAT is displayed anymore.

Main difference since last version is that we have the newest version of Vstrips, TOPSKY and beta version of Euroscop. Could one of those interfere, and has anyone else maybe had these issues.

It could be me who forgot something basic as well, just cant see what it would be

Brgds

Lukas VATSCA

rpuig2001 commented 2 years ago

Hello Lukas, Can I have a picture of your Euroscope list configuration?

Thank you.

lukasbagerskov commented 2 years ago

image

You mean this?

rpuig2001 commented 2 years ago

All looks good, Do you have your airports in rate.txt? If the airport is not defined there, it is not considered a cdm airport.

For more info of this file: https://github.com/rpuig2001/CDM#ratetxt

lukasbagerskov commented 2 years ago

Yes, its all set up correctly, and did work in the previous version. It looks mainly like the TOBT does not get calculated from the EOBT. I can press the "ready TOBT" and then it produces TTOT and TSATs but, its unable to automatically assign TOBTs from EOBTs

lukasbagerskov commented 2 years ago

image

rpuig2001 commented 2 years ago

Yes, it works from TOBT, EOBT doesn't matter anymore. I must say that it works much better because a lot of people filed wrong EOBTs and then it didn't work as expected. Now, TOBT is the real one, once ready for startup. This may help you: https://youtu.be/fHYT0_SH7qs

lukasbagerskov commented 2 years ago

Okay so maybe I missed something, but then there is not automatic setting of the TOBT based on the EOBT? Doesn't this mean the pilot won't know his TSAT until he is reporting ready for start? While I do understand the issue of wrongly filed EOBTs, it would be fantastic if there was a way to set the TOBT to the pilots EOBT, so there would be some sort of prediction based on when people want to go?

rpuig2001 commented 2 years ago

Unfortunately, not anymore on V2. On vatsim and with the amount of trafic on events, this works much better.

lukasbagerskov commented 2 years ago

Allright :) Would it be possible to add an option in the menu manually to set the TOBT to the same time as EOBT in case of people filing the right flightplantime?

rpuig2001 commented 2 years ago

Will do ;)

lukasbagerskov commented 2 years ago

Perfect thanks! It is a great plugin. We will look forward to fully implement it in Denmark. Hope more exciting new features will come!

rpuig2001 commented 2 years ago

Hi! After some time I have an update for this issue. I've managed to do the following:

A new option called "realMode" which you can set via the config xml or with the command .cdm realMode which enables or disables the option.

THE COLUMNS ARE IN ORDER: CALLSIGN, EOBT, E, TOBT, TSAT, TTOT

It automatically calcululates TSAT, TTOT, etc. from the sent EOBT: image

If the pilot changes it flightplan time, so the EOBT is different than the TOBT it will show as follows: image

Finally you can use the already created function to transfer the EOBT to TOBT: image

And you may ask, why it doesn't update automatically? It could, but then we lose the already created functions based on TOBT, such as Ready TOBT or modifying TOBT.

Let me know if this could work for you ;)