db schema
Mirv opened this issue · comments
Mirv commented
- create kill log
- create an identity table to hold username / steam uid
- create stats table to hold kill player_stats from scoreboard & join on steam uid?
- create log parser count all kills of each type per steam uid
- create script to insert or update on results to the player_stats table
- create auxiliary engineer log
- create a cross connect table of kills/incidents using engineer log
- create auxiliary assist log
- create a cross connect table of kills/incidents using engineer log
Mirv commented
Create a kill log
Simple version
- killedUID // killed might not be a player so no UID required
- killedName // AI won't have UID - not sure should record, but might net interesting llama on llama tk info
- killedTeam // teams appears to be useless as most mods add their own factions into the team slots
- killerUID
- killerName
- killerTeam // teams appears to be useless as most custom missions add their own factions into the team slots
- killed_xPos // heat map idea
- killed_yPos
- killed_zPos
- killer_xPos
- killed_yPos
- killed_zPos
- killDistance
- weaponClass // fn_weaponNames might need to be where we credit players in vehicle too
- weaponName
- isVehicle
- vehicleClass
- vehicleName
- gameTime // ingame time elapsed in seconds
- mysql added timestamp
Version 4 add:
- who was in squad
- who was online
- distance of squad
- distance of online people
Version 5 add:
- designated
- who spotted
- who saw first
Version 6 add:
- other players who damaged
Version 7 add:
- Auxiliary / assist credits for others?
Mirv commented
Combat engineer log
Via map marker system in any mission - we can detect anything created by engineers etc
- log player who made it
- log gps coordinates
- log when made
- event logs time if destroyed
Mirv commented
Auxiliary / assist credit log
- log anyone who dragged / carried someone
- Link to anyone's vehicle they rode in via another event list
- Link to any medic who healed them since they spawned via another event list
- Link to any engineering equipment they are near via map markers recorded into the Combat engineer log
- log anyone vehicle transporting someone injured