Open ghost opened 4 years ago
Hello again, I hope I'm not disturbing you, I just detected that the weaponry released by "jettison" counts as fired... I'll keep investigating in case I see the trigger and prevent you from adding it in the SQL
Alright, in order to distinguish between AA and AG hits and kills, we need to do the following:
dcs_events.TargetGroupCat
is HELICOPTER or AIRCRAFT, its and AA hit. If its GROUND or SHIP, its AGUnfortunately, I switched to Ubuntu a long time ago and haven't tried running DCS, yet.
Hello again, I hope I'm not disturbing you, I just detected that the weaponry released by "jettison" counts as fired... I'll keep investigating in case I see the trigger and prevent you from adding it in the SQL
This can not be fixed afaik. DCS just publishes the event S_EVENT_SHOT regardless of whether the Pilot shot or jettisoned the weapon.
Hello cbacon93 First of all I would like to thank you for your work, it's really great work. I'd also like to have the stats on the ground but I don't see or change the data to see it. In which files they need to be changed Please can you give us more details ? Thank you very much.
Hi, all ingame events will be captured from the lua scripts, then will be sent to the php scripts. Inside the php scripts, there are functions to process the raw event data and to turn them into statistics. Of course you are limited by the type and amount of events you receive. If you like to add more statistics, you need to check the dcs_events table, think about how you would calculate those statistics from the events. Then, you can add your custom functionality into the cron_functions.inc.php
Thank you for answering so quickly. I'm going to try to do what you just said :) I admit to being slightly lost with all the codes
Hello, thank you very much for your reply. I understand what to do to generate both AA and AG impacts, but when it comes to put them in the PHP, I am left big.... if someone can help me, I would appreciate it (I am very limited).
Are there any chances to finish it?
Hi, I don't control much PHP, but would it be possible to add a new column with the kill AGs to the pilot view? Thank you very much.