Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(DNM) An attempt at death heatmaps #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

(DNM) An attempt at death heatmaps #10

wants to merge 8 commits into from

Conversation

BobdaBiscuit
Copy link

@BobdaBiscuit BobdaBiscuit commented Jan 8, 2017

Currently just creates a dodgy 2h histogram of the deaths on box in the last 30 days, and then overlays it on a downscaled nanoui map.

Surf to [website]/genheatmaps to activate it.

I've never used python before send help.

Current output
TODO: (by Sood)

  • Make game server generate heatmap backgrounds somehow (outside of this project, bug @PJB3005)
  • Make a view that shows heatmaps for each map over the last 30 days (also remove the test gen heatmaps URL)

@codecov-io
Copy link

codecov-io commented Jan 8, 2017

Current coverage is 72.23% (diff: 22.58%)

Merging #10 into master will decrease coverage by 4.85%

@@             master        #10   diff @@
==========================================
  Files             7          8     +1   
  Lines           646        706    +60   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            498        510    +12   
- Misses          148        196    +48   
  Partials          0          0          

Powered by Codecov. Last update 668668a...fa1d504

@gbasood
Copy link
Owner

gbasood commented Jan 11, 2017

You might need to add PIL to the requirements
For the minimaps we could use the stuff from
https://github.com/d3athrow/vgstation13/blob/Bleeding-Edge/code/modules/html_interface/map/interactive_map.dm

That gets generated to the server's data/minimaps folder

@gbasood
Copy link
Owner

gbasood commented Jan 11, 2017

Actually how we can handle minimaps:

  • Add two config options, COPY_HEATMAPS and COPY_HEATMAPS_FROM_DIR

  • First is a boolean second points to data/minimaps

  • Copy the files from COPY_HEATMAPS_FROM_DIR to somewhere in the app's working directory and we get files we can work with

  • All of the above

  • Also, fallback maps dir which contains old, pre-supplied renders

@gbasood gbasood mentioned this pull request Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants