Feature #998

download heatmaps script

Added by Orange over 2 years ago. Updated over 2 years ago.

Status:New Start date:01/04/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:General
Target version:1.7.0
Blocking Target Version:

Description

I made php script. He can download source of all maps in Maps_Counts table.
Duplicate Game settings is supported
Also he can do sql-query after download heatmap.
download http://hlstatsxcommunity.googlecode.com/svn/trunk/heatmaps/src/game/map.jpg
do query http://hlstatsxcommunity.googlecode.com/svn/trunk/heatmaps/src/game/map.sql

Heatmaps_Download.zip - php script (1.5 kB) Orange, 01/04/2010 07:17 am

autoupdate.patch Magnifier (4.5 kB) Orange, 01/08/2010 05:00 am

heatmap.class.php.patch Magnifier (694 Bytes) allstats.de, 01/12/2010 03:14 am


Related issues

related to HLstatsX: CE - Task #984: Discussion on dynamic game support New 12/28/2009

History

#1 Updated by allstats.de over 2 years ago

I suggest to do that dynamicaly while generating the maps. The script now looks only in the local filesystem for the mapfile. Whats against to look in the code repository of hlxce?

So the first generation loads all needed and only needed maps once.

#2 Updated by Packhead over 2 years ago

  • Category set to General
  • Target version set to 1.7.0

This is very similar to what we're planning on doing for 1.7 involving Game Support (#984). Part of that included also downloading the necessary heatmaps (potentially) and having it done through the Administration Center.

Both of these will probably be at least looked at for 1.7.

#3 Updated by allstats.de over 2 years ago

Sounds good. But please consider that my suggestion includes to load only realy needed heatmaps sources. Nobody playes all the maps of a game.

#4 Updated by Orange over 2 years ago

i think include heatmaps into gamepacks is not necessary.
script generate.php will download all missed heatmaps (all maps with kills ) before creating new heatmaps
see attached path.

#5 Updated by allstats.de over 2 years ago

yeah!

Works great for me.

#6 Updated by Packhead over 2 years ago

allstats.de wrote:

Sounds good. But please consider that my suggestion includes to load only realy needed heatmaps sources. Nobody playes all the maps of a game.

I think the original plan, before we started discussing dynamic game information, was to release heatmap packs. However I think with the advent of dynamical game data, we probably will only grab maps that are needed. However we will definitely need some form of versioning system incase a map ever changes due to bad data or what not.

#7 Updated by allstats.de over 2 years ago

Patch this to work more efficient and download heatmap sources only if it will be generated.

#8 Updated by Orange over 2 years ago

generate.php generate heatmap only for map with config data in sql.

#9 Updated by allstats.de over 2 years ago

Is it possible to have config data in sql but no kills on a map?

Also available in: Atom PDF