Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Drakken Keisterbane/CREST: Difference between revisions

From EVE University Wiki
m formatting
Adding in the killmail hash formula so I don't forget.
Line 161: Line 161:


===Other===
===Other===
====Killmail====
To obtain the required killmail hash for the killmail endpoint, you can use the formula below:
'''killmailHash''' = '''sha1(''victimCharacterID'' + ''attackerCharacterID'' + ''shipTypeID'' + ''killTime'')'''
'''Note''': All variables in this formula are ''strings'', and adding them in this way represents ''concatenation'', not addition of the ids as integers.
Where the following is true:
* '''victimCharacterID''': The character id of the victim, as a string.
* '''attackerCharacterID''': The character id of the attacker that got the final blow. If the attacker with the final blow is an NPC (characterID == 0), this is the string "None" instead.
* '''shipTypeID''': The type id of the victim's ship.
* '''killTime''': The time the kill occurred, as a 64-bit timestamp (read unix timestamp * 10,000,000).


=External Resources=
=External Resources=