These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Ingame HTML/URLs

Author
Maxx Ibanez
Neurotoxin Control
IIIIIIIIIIIIIIIIIIIIIIIII
#1 - 2015-03-10 17:42:42 UTC
the other day i saw a kill link from a chat log, it looked like this

Quote:
killReport:45145730:48702bf7937f95cdd4fffca61a9dcb9350afe905 Kill: Taro Khteo (Nidhoggur)


didn't take more than a few moments to realize this is kill ID + crest hash. a little more research and a bit of scripting, and i have a tool to spit out in game url's for any kill.

./main.js https://zkillboard.com/kill/45141572/
victimCharacterID: 1550070382
attackerCharacterID: 91380138
shipTypeID: 22852
killTime: 130704090600000000

CREST hash: 690c5856f0491b7e899ab45edd8ad6c32efd8cba

killreport:45141572:690c5856f0491b7e899ab45edd8ad6c32efd8cba Kill: Annubis RA (Hel)


cool! (i had to take all the <>s out of this page for the forum, these are all actually valid.)

for the sake of compatibility, i wrote my own function to generate the crest hash, rather than simply pulling it off the page.

but now i'm met with an issue, pasting the url ingame seems to strip the hyperlink tag from chat. in bio, this opens up the browser for some reason? even though the generated link is the exact format. is there a way to actually do what i'm trying to do?
Ydnari
Estrale Frontiers
#2 - 2015-03-10 21:25:58 UTC
Paste it into the in-game Notepad, it'll become clickable, and you can then drag the killmail around as normal.

--

Maxx Ibanez
Neurotoxin Control
IIIIIIIIIIIIIIIIIIIIIIIII
#3 - 2015-03-10 23:46:52 UTC  |  Edited by: Maxx Ibanez
Ydnari wrote:
Paste it into the in-game Notepad, it'll become clickable, and you can then drag the killmail around as normal.


unfortunately i get the same results - browser opens and it assumes it's a URL for http://killreport:45124693:4a296ec28c860f9c84b920deda872238bb5884f2/, which it is not.

hovering over the url shows this tooltip vs just "Kill Report" as normal.. http://puu.sh/gv98W/74e99f9ddf.jpg
Ydnari
Estrale Frontiers
#4 - 2015-03-11 00:12:46 UTC
Since this is one of the world's most broken forums I can't paste it here, so here's a pastbin of the format it needs to be in:

http://pastebin.com/raw.php?i=w927k7ba

--

Maxx Ibanez
Neurotoxin Control
IIIIIIIIIIIIIIIIIIIIIIIII
#5 - 2015-03-11 00:37:04 UTC
i had that exact format, i found the issue. case sensitivity.

killreport as opposed to killReport, the former being the required case. thanks