db - populating the db using extdb3
Mirv opened this issue · comments
// Focus is just to get data out of arma3 engine and into database
- create a kill log table (steam uid, kill array - to allow for a player to be killed, in a vehicle and credit both)
- create an sql insert template to insert into the kill log table in the sqf file
- an eventhandler that feeds the variables into the sql insert template then calls via the extdb3 addon
// We can then use a framework to craft other tables & stat collections based on the entries in the kill log
This method is especially good as it should be noted the mysql db used for the game server is not the same one used by the webhosting.