I built a thing. It takes the(manually split) station map .dmm file and renders it to a <canvas> element. You can check it out right here. The red highlighted points are mostly error checking myself (coordinate systems are screwy), but also a proof of concept. Those tile definitions are logged to the browser console. The end goal is to be able to render the map as it appears in-game, using just the game code and some javascript.
Right now, the link I posted is TERRIBLY INEFFICIENT(please be gentle) because it's loading the contents of the map .dm file and running a bunch of expensive operations. Once I've got a better idea of functionality, I can work on optimizing it a bit.
OTHER COOL THING: I can make a death heatmap. If someone who has database access can run this query and send me the data (JSON preferred, but I'll take whatever ya give me), I can get a working proof of concept up.
Bare essentials:
Code: Select all
SELECT coord, tod
FROM death
WHERE tod BETWEEN NOW() - INTERVAL 30 DAY AND NOW()
Code: Select all
SELECT pod, coord, tod, job, bruteloss, brainloss, fireloss, oxyloss
FROM death
WHERE tod BETWEEN NOW() - INTERVAL 30 DAY AND NOW()