Jump to content

How to create statistics for your server


Recommended Posts

hey,

 

I took these events out a while back -

 

1:S_EVENT_SHOT

{

["id"] = 1,

["weapon"] = table: 000000004DFEC200 {

["weapon"]["id_"] = 33591553,

},

["time"] = 43207.608,

["initiator"] = table: 000000004DFEC1B0 {

["initiator"]["id_"] = 16780801,

},

}

 

 

2:S_EVENT_HIT

{

["time"] = 43208.044,

["initiator"] = table: 000000004E0A3830 {

["initiator"]["id_"] = 16781569,

},

["target"] = table: 000000004E0A38D0 {

["target"]["id_"] = 16783617,

},

["id"] = 2,

["weapon"] = table: 000000004E0A3970 {

["weapon"]["id_"] = 33571073,

},

}

 

 

3: S_EVENT_TAKEOFF

{

["subPlace"] = 0,

["time"] = 43285.759,

["initiator"] = table: 000000002A87B270 {

["initiator"]["id_"] = 16786945,

},

["place"] = table: 000000004E091B00 {

["place"]["id_"] = 5000024,

},

["id"] = 3,

}

 

 

 

4:S_EVENT_LAND

{

["subPlace"] = 0,

["time"] = 43298.319,

["initiator"] = table: 000000004E0A3FE0 {

["initiator"]["id_"] = 16786945,

},

["place"] = table: 000000004E0A4030 {

["place"]["id_"] = 5000024,

},

["id"] = 4,

}

 

 

5:S_EVENT_CRASH

{

["id"] = 5,

["time"] = 43327.14,

["initiator"] = table: 0000000010198AA0 {

["initiator"]["id_"] = 16778497,

},

}

 

 

 

6:S_EVENT_EJECTION

{

["id"] = 6,

["time"] = 43445.22,

["initiator"] = table: 000000001135CE00 {

["initiator"]["id_"] = 16783105,

},

}

 

 

8:S_EVENT_DEAD

{

["id"] = 8,

["time"] = 43443.853,

["initiator"] = table: 000000004D77F7E0 {

["initiator"]["id_"] = 16786177,

},

}

 

 

9:S_EVENT_PILOT_DEAD

{

["id"] = 9,

["time"] = 43328.39,

["initiator"] = table: 000000004F207400 {

["initiator"]["id_"] = 16787201,

},

}

 

 

12:S_EVENT_MISSION_END

{

["id"] = 12,

["time"] = 43548.781,

}

 

 

15:S_EVENT_BIRTH

{

["subPlace"] = 13,

["time"] = 0,

["initiator"] = table: 0000000023F6E158 {

["initiator"]["id_"] = 16787201,

},

["place"] = table: 00000000240B6678 {

["place"]["id_"] = 5000024,

},

["id"] = 15,

}

 

 

17:S_EVENT_ENGINE_STARTUP

{

["subPlace"] = 0,

["time"] = 43310.108,

["initiator"] = table: 0000000023569E60 {

["initiator"]["id_"] = 16787201,

},

["place"] = table: 000000002356A320 {

["place"]["id_"] = 5000024,

},

["id"] = 17,

}

 

 

18:S_EVENT_ENGINE_SHUTDOWN

{

["id"] = 18,

["time"] = 43302.7,

["initiator"] = table: 000000002A823720 {

["initiator"]["id_"] = 16778753,

},

}

 

 

19:S_EVENT_PLAYER_ENTER_UNIT

{

["id"] = 19,

["time"] = 43278.899,

}

 

 

22:S_EVENT_SHOOTING_END

{

["id"] = 22,

["target"] = table: 000000004FBD9CD0 {

["target"]["id_"] = 16783873,

},

["time"] = 43278.5,

["initiator"] = table: 000000004FBD9B20 {

["initiator"]["id_"] = 16781569,

},

}

 

 

 

23:S_EVENT_MAX

{

["id"] = 23,

["time"] = 43277.456,

["initiator"] = table: 000000004FB60B30 {

["initiator"]["id_"] = 16780801,

},

}

 

 

 

 

 

It seems Crash has only time but Birth should have initiator and place tables as well.

Link to comment
Share on other sites

  • 5 months later...
  • 4 months later...
Link to comment
Share on other sites

  • 1 month later...

hey all!

 

This thread has been a great help as DoW explores some options to bring stats into our server... I am using a combination of both xcom and Crash_Horror's phython script, but am noticing that the weapons are being recognized in our reporting... it comes back as "No Weapon" for both category and type. In particular - we are seeing this with the guns for client p51/fw190 and fw190 bombs.

 

is this a known bug? Is there something that I am missing to help your great work bring this information in?

 

our test mission stats output is attached below:

https://2cfff209c30e6e2ba1a56a02aaf3269d08f3b4a6-www.googledrive.com/host/0B_oMGTyXDRnUUU4zbWgwWnFKc2M

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

Hey Doom,

 

I haven't been supporting this script for a long time now and I'm sure stuff have changed since.

Hmm, I'm not sure when it shows no weapon, it could be in cases when at one point you first eject and then you crash.

I'm doing some work on the statistics in order to add statistics to the Blue Flag campaign, so I'll take a look and update here.

Link to comment
Share on other sites

very cool xcom - thanks for the reply...

 

Congratulations on BlueFlag - that is a pretty epic step forward for the community. Your group deserves some applause for that. Well done!

 

I'll keep an eye out here for updates. Thanks again! Hopefully our group will soon be able to share some interesting stats for the prop heads of the community thanks to your work.

 

Cheers,

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

but am noticing that the weapons are being recognized in our reporting... it comes back as "No Weapon" for both category and type. In particular - we are seeing this with the guns for client p51/fw190 and fw190 bombs.

 

is this a known bug? Is there something that I am missing to help your great work bring this information in?

 

That falls in line with some reports I had with the slmod stats. Still haven't had the time to really look into it yet though. Given 1.5/2.0 is (hopefully) on the horizon I'll put it on my list of stuff I need to test in MP.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

very cool xcom - thanks for the reply...

 

Congratulations on BlueFlag - that is a pretty epic step forward for the community. Your group deserves some applause for that. Well done!

 

I'll keep an eye out here for updates. Thanks again! Hopefully our group will soon be able to share some interesting stats for the prop heads of the community thanks to your work.

 

Cheers,

 

Thanks :)

 

I want to eventually create a campaign such as 'Blue Flag' for the WWII era.

But it will have to wait until 1.5 is out so the fps and visibility are better.

 

Also, as Grimes wrote above, it could be worthwhile to just wait for 1.5 before attempting any fixes.

Link to comment
Share on other sites

Thanks :)

 

I want to eventually create a campaign such as 'Blue Flag' for the WWII era.

But it will have to wait until 1.5 is out so the fps and visibility are better.

 

Also, as Grimes wrote above, it could be worthwhile to just wait for 1.5 before attempting any fixes.

 

 

It could be very interesting :thumbup:

People fly planes, pilots fly helicopters

Link to comment
Share on other sites

Thanks :)

 

I want to eventually create a campaign such as 'Blue Flag' for the WWII era.

But it will have to wait until 1.5 is out so the fps and visibility are better.

 

Also, as Grimes wrote above, it could be worthwhile to just wait for 1.5 before attempting any fixes.

 

That would be great xcom - if DoW can be of any help, I'd be happy to assist -

 

S!

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

Thanks again xcom... i got it pushing out the csv again so i ran it for two hours on our server this am to have a look - a couple new "Weirdness" items popped up.

 

  • it seems that it is no longer recognizing the ground kills - you can see from the event list that I did catch a few kills but it doesn't seem to track them as evidenced by the kill table.
  • the AI total kill tally does not seem to match the red and blue AI kill scores
  • still see the "No Weapon" ... also no longer recognized the HVAR kills which it did previously.

 

Thanks again for your work - this is just an FYI - I'll keep an eye on the thread to see if it pushes any resolutions after 1.5 is released.

 

Cheers,

 

https://7261794b37e300c335e6399ac4aec676c89a665b-www.googledrive.com/host/0B_oMGTyXDRnUYWhpNzItMl9HUG8

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

Thanks again xcom... i got it pushing out the csv again so i ran it for two hours on our server this am to have a look - a couple new "Weirdness" items popped up.

 

  • it seems that it is no longer recognizing the ground kills - you can see from the event list that I did catch a few kills but it doesn't seem to track them as evidenced by the kill table.
  • the AI total kill tally does not seem to match the red and blue AI kill scores
  • still see the "No Weapon" ... also no longer recognized the HVAR kills which it did previously.

 

Thanks again for your work - this is just an FYI - I'll keep an eye on the thread to see if it pushes any resolutions after 1.5 is released.

 

Cheers,

 

https://7261794b37e300c335e6399ac4aec676c89a665b-www.googledrive.com/host/0B_oMGTyXDRnUYWhpNzItMl9HUG8

 

 

 

Ground kills, it is because DCS changed the category from GROUND to GROUND_UNIT.

So, anywhere in the PHP you see -

InitiatorGroupCat = 'GROUND'

 

change it to -

 

InitiatorGroupCat = 'GROUND_UNIT'

 

AI total kill, I'll have to take a look, maybe something else changed which needs testing.

 

No Weapon, again, probably changes in DCS, needs new testing to understand what went where :)

 

I'll try to have a look soon.

Link to comment
Share on other sites

no worries xcom - it was FYI only... please dont feel any pressure to look into it - i'll happily monitor the thread and try out any changes when you're ready.

 

Cheers,

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...
  • 2 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...