Sascha Fruehwirth 1051824 Posted January 15, 2010 at 02:58 PM Posted January 15, 2010 at 02:58 PM Hi! Is there any possibility to access (write) the status information (the text right from the command line input) out of a plugin? Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Gergely Csernak Posted January 16, 2010 at 03:54 PM Posted January 16, 2010 at 03:54 PM No, there is no direct way for that at the moment. Gergely. EuroScope developer Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted January 16, 2010 at 07:01 PM Author Posted January 16, 2010 at 07:01 PM Thx for your answer... Maybe there will be a way in the future Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted January 28, 2010 at 12:52 AM Author Posted January 28, 2010 at 12:52 AM Hi! I've have an new question I didn't find methods to update the clearance flag or the STS (ground) state of an aircraft. Will there be a chance to update this data? regards, Sascha PS: In the development docomeentation is noticed, that the actual version of ES is build using MFC and CRT 8.0.50727.762, I think that must be corrected to 8.0.50727.4053. Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted January 28, 2010 at 07:15 AM Posted January 28, 2010 at 07:15 AM You can do it like this : //---SetScratchPadString------------------------------------------- bool SetScratchPadString ( const char * sString ) ; //----------------------------------------------------------------- // Parameters : // => sString - the new scratch string value // // Return : // true - if success // false - else //----------------------------------------------------------------- and then use # CLEA - Special scratch pad content to indicate clearance received flag. # NOTC - Special scratch pad content to indicate clearance not received flag. # PUSH - Special scratch pad content to indicate push back approved ground status. # TAXI - Special scratch pad content to indicate taxiing ground status. # DEPA - Special scratch pad content to indicate departure (take off) clearance. EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted January 28, 2010 at 09:07 AM Author Posted January 28, 2010 at 09:07 AM Hi Todor! Thanks for your replay. I thought about this posibillity already, but I need the scratchpad to store (and distribute) other information to neighborhood controllers. So I need a direct way to set the clearance flag/STS mode Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Gergely Csernak Posted January 28, 2010 at 09:13 AM Posted January 28, 2010 at 09:13 AM There is no other way to do that. EuroScope publishes the clearance flag via the scratch pad. But nothing stops you setting the scratch pad twice. First to CLEA, then to the value you would like to distribute. ES clients will compile the DEPA and set their internal clearance flag. The second scratch pad setting is simply stored as scratch pad sting in all clients. Actually just setting DEPA does not clear the original scratch pad content in ES clients. But that is not true for others. Gergely. EuroScope developer Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted January 28, 2010 at 09:38 AM Author Posted January 28, 2010 at 09:38 AM Hi Gergely! Thanks for your information, but I'm not sure if I have everything understood correctly, let's imagine two examples: *) Scratchpadstring is empty *) Setting the clearance/STS flag (via CLEA/PUSH/...) *) Setting the scratchpadstring to "Test" I would imagine that, after setting the clearance/STS flags the display in the ES clients keep empty, right? Do I have to wait a while before setting the scratchpad to "Test"? *) Scratchpadstring is "Test" *) Setting the clearance/STS flag (via CLEA/PUSH/...) If I understood you correctly, after setting the clearance/STS flags, the scratchpad still contains "Test" (only for ES users), right? So I might restore the scratchpad to "Test" in order to get the information to VRC users as well? Same question as above: Do I have to wait a while before resetting the string to "Test"? Last question: If the scratchpad contains my value "Test", a neighborhood comes online, he will "only" not be able to see, that there has been a clearance/STS flag set, right? regards, Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Gergely Csernak Posted January 28, 2010 at 08:37 PM Posted January 28, 2010 at 08:37 PM You understood all correctly. ES clients will display the unmodified scratch pad content after sending the clearance string. But you should repeat the original to be sure that VRC and ASRC clients display the right content. You should not wait. Call the Set function twice without delay. When a new controller comes online then his client asks about it. The owner (or the [Mod - Happy Thoughts]igner) client will respond to this query and send back all data including the scratch pad. In this case EuroScope may send out several scratch pad content one for each possible data (clearance, [Mod - Happy Thoughts]igned speed, heading, rate, direct to point) and finally the real scratch pad content. In this way if the requested client is an ES it will receive all [Mod - Happy Thoughts]igned data, while VRC and ASRC users will see only the last one that is the real scratch pad content. Gergely. EuroScope developer Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted January 28, 2010 at 09:15 PM Author Posted January 28, 2010 at 09:15 PM Thank you very much! Now I only have to get that working Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 1, 2010 at 04:10 PM Author Posted March 1, 2010 at 04:10 PM Hi! I've a new problem/question I didn't find a possibility to add new shortcuts for text inputs (similar to $squawk) to modify the command line... To make my problem more clear, I calculate an ETD (estimated time of departure) and would like to prepare a message on the primary frequency using something similar like "Your ETD is 20:05Z". The controller should type "Your ETD is $ETD" and the PlugIn should change "$ETD" to "20:05Z". I was also thinking to make the text static like ".etd" and the plugin writes "Your ETD is 20:05Z". I only can p[Mod - Happy Thoughts] a complete command line (using OnCompileCommand) but I do not find an interface to modify the command line Any help would be appreciated! regards, Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted March 1, 2010 at 04:33 PM Posted March 1, 2010 at 04:33 PM For the moment you can't send anything to the command line. EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 1, 2010 at 04:48 PM Author Posted March 1, 2010 at 04:48 PM Thanks for the quick answer, although bad news Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Gergely Csernak Posted March 2, 2010 at 07:51 PM Posted March 2, 2010 at 07:51 PM I am sorry to say that it is by design. I would like to be sure that no plug-in can use the private chats for programmed peer to peer communication. That could increase the server load without the involvement of EuroScope. We are already considering a general purpose peer to peer communication between ES clients and also plug-ins. Gergely. EuroScope developer Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 3, 2010 at 08:46 AM Author Posted March 3, 2010 at 08:46 AM Hi! Maybe I pointed out something wrong... I don't want to send text via private chat! I just want to create a string and set them into the command line input window, so the user can edit that string an send it on the primary frequency. Let's [Mod - Happy Thoughts]ume its not my plugin, but the OCC prlugin. If you [Mod - Happy Thoughts]ign an aircraft to a gate, it would be nice to have for text aircrafts a message in the command line like "Your [Mod - Happy Thoughts]igned gate is 6A" (similar to selecting values in a TAG of a text-only aircraft). Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted March 3, 2010 at 09:01 AM Posted March 3, 2010 at 09:01 AM Same thing Sascha, you can make a loop writing in the command line and send it to the server, thus overloaded it. That is what G is afraid and wants to avoid. EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 3, 2010 at 10:26 AM Author Posted March 3, 2010 at 10:26 AM Hi Todor! Sorry, but I didn't get the point... I don't want to send something automatically. I don't see the difference between setting a string into the command line from my plugin than from the ES-TAG for example. Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted March 3, 2010 at 10:31 AM Posted March 3, 2010 at 10:31 AM You may not but someone would. The difference in the tag is that you have to execute a mouse command which you can't put in a loop (well ok it is a much harder) so that limits the inputs in time. EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
Stephan Boerner 945550 Posted March 3, 2010 at 10:47 AM Posted March 3, 2010 at 10:47 AM Keep in mind, that currently we are not testing/validating plugins, so everyone is free to develop whatever he wants. Therefore some basic security precautions have to be taken by not allowing everything via plugin. Otherwise we would have to limit the complete plugin environment and make it necessary that every plugin would have to be checked before it could be used with ES. Stephan Boerner VATEUD - ATC Training Director EuroScope Board of Designers | GVCCS Beta Tester EuroScope Quick Start Guide Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 3, 2010 at 10:55 AM Author Posted March 3, 2010 at 10:55 AM Okay, I think I get it now Maybe there is an other possibillity to solve the "problem". Is there a chance to get an interface for registering a new build in function (e.g. $etd like $squawk) using a callback method? So I can write an alias using this functions and have the text ready to send. Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Carl Stallone 925048 Posted March 3, 2010 at 05:32 PM Posted March 3, 2010 at 05:32 PM Is there anywhere I can find a list of all the available plug-ins? If not, a sticky at this forum with a link to each plug in would be a great idea. Thanks in advance. Link to comment Share on other sites More sharing options...
Sascha Fruehwirth 1051824 Posted March 3, 2010 at 11:49 PM Author Posted March 3, 2010 at 11:49 PM Hi Carl! No, there is no list, there can't be a complete list Every developer has to decide, weather he wants to share the plugin with the hole community. For example some plugins are completly useless for users outside a special VACC... And always keep in mind, if you find & download a plugin you should trust the providing server/developer/... Plugins are just a peace of software doing SOMETHING on your computer. There is no guarantee, that they are not evil! Sascha Sascha Fruehwirth VACC-Austria Link to comment Share on other sites More sharing options...
Carl Stallone 925048 Posted March 4, 2010 at 12:04 AM Posted March 4, 2010 at 12:04 AM Thanks Sascha. I'm learning the program, and developing the files for use with our center (Anchorage). Still trying to get off the items I'm so used to with VRC, but the benefits seem to outweigh the learning hurdle. A page on the wiki, with a disclaimer of course, to all plugins that anyone is willing to share would be a great resource to any user. thanks again and best regards, Carl Link to comment Share on other sites More sharing options...
Jonas Eberle Posted March 4, 2010 at 01:03 PM Posted March 4, 2010 at 01:03 PM Just setting text in the input field, not sending, seems fair to the servers Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted March 4, 2010 at 01:22 PM Posted March 4, 2010 at 01:22 PM Just setting text in the input field, not sending, seems fair to the servers I don't get that EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
Recommended Posts