Hello There, Guest! Login or Register


Storing Death Information
#1



With the 0.3z release I was thinking it would be a good idea to store death information in the database:


killerProfileId (if any)
victimProfileId
deathReasonId - see http://wiki.sa-mp.com/wiki/Weapons - this can include the weapon used or the way the player died, eg drowned, splat, etc
timestamp
isLameKill - lame kills are defined as driveby shooting, carbomb killing or heli kills - this can just be a boolean.


I think this would be really interesting data to store. This would make it possible in the future to monitor things like favourite weapons, favourite/worst victim, etc.  It could unlock a lot of cool new features that could be added in the future like extra bonuses for killing worst enemies.


MrBondt was concerned that this is a lot of data to store so perhaps we could use this thread to discuss it.


EDIT: Maybe we could store the position of the death too
EDIT2: And bodypart
Reply


Messages In This Thread
Storing Death Information - by Jay - 02-18-2014, 12:45 AM
Re: Storing Death Information - by cake - 02-18-2014, 10:06 AM
Re: Storing Death Information - by Kase - 02-18-2014, 02:04 PM
Re: Storing Death Information - by cake - 02-18-2014, 02:26 PM
Re: Storing Death Information - by Jay - 02-18-2014, 03:49 PM
Re: Storing Death Information - by MrBondt - 03-01-2014, 07:42 PM
Re: Storing Death Information - by cake - 03-03-2014, 02:55 PM
Re: Storing Death Information - by Jay - 03-03-2014, 02:59 PM
Re: Storing Death Information - by Jay - 03-03-2014, 03:10 PM
Re: Storing Death Information - by striker - 10-18-2015, 11:57 PM