Jump to content
Col. Ben Sherman

Questions, looking for a few functions

Recommended Posts

Hello,

 

I'm back again with some questions that I can't seem to find any answers about, so I'm currently building a great mission which stores data in a database. However I'm currently looking for some functions or a way to track a players deaths, kills, shots fired and so on, the problem with that is that I got no clue where to even begin looking for a function that can retrieve that data.

 

Also keep in mind that since the mission is using the ALiVE plugin, the score board isn't tracking kills for some reason, I remember I read about it ages ago why it doesn't, and all I can remember from it was that it was caused by the ALiVE plugin.

 

Any ideas?

Share this post


Link to post
Share on other sites

Hello,

 

I'm back again with some questions that I can't seem to find any answers about, so I'm currently building a great mission which stores data in a database. 

 

How do you store data in that database?  

 

If you can post some code then it would be much easier for readers to work out how you can retrieve all the other stuff you're talking about.

Share this post


Link to post
Share on other sites

I don't know the basis of your database or how it functions, nor do I know Alive that well either, but look at Mission Event Handler for EntityKilled for deaths/kills, a Fired EH for shots fired, etc.

https://community.bistudio.com/wiki/Arma_3:_Event_Handlers

 

Thanks, I'll check it out :)

 

How do you store data in that database?  

 

If you can post some code then it would be much easier for readers to work out how you can retrieve all the other stuff you're talking about.

 

Currently I don't have anything setup as I don't know how to fetch the data that I need AKA kills, deaths etc. What I use is a server side addon which data is sent to from that server side addon it sends data to the database through @extDB works some what the same as Altis Life missions

 

EDIT:

I also read more about the issue and I was kinda wrong it's not related to the ALiVE module rather than ACE3, so apparently the kills tracking or scoreboard is always 0 due to ACE3, not sure how to fix that. All though I don't really care about the in-game scoreboard as I need to be able to send the data to the server to store it in the database so that way it can be viewed from my website panel.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×