AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   PsychoStats 3.1+ Spatial Plugin (https://forums.alliedmods.net/showthread.php?t=70392)

Arkshine 04-23-2008 20:15

PsychoStats 3.1+ Spatial Plugin
 
4 Attachment(s)
PsychoStats 3.1+ Spatial Plugin

( Current version v1.2.0 ; Last update : 5 Nov 2008 )

Introduction :
- - - - - - - - - - -
  • Original idea and SourceMod plugin : Stormtrooper
  • Conversion/adaptation for HL1 mods requested by mats : [ Here ]
  • Description stolen from css ( SourceMod plugin ) : [ Here ]


Description :
- - - - - - - - - -
Spatial statistics logging plugin.

This plugin will add extra logging information to player death events.
With the extra information it is possible to generate heatmaps of where players die, where players get kills, what weapons were used and lots of more finer details.

Requires Psychostats 3.1+.

Heatmap in Counter-Strike: Source de_dust2

[IMG]http://img185.**************/img185/6213/dedust2heatmd6bb3.jpg[/IMG]


Heatmap in Counter-Strike: Source cs_italy

[IMG]http://img179.**************/img179/696/csitalyheatqu8lx2.jpg[/IMG]

This plugin does merely the logging. Psychostats is REQUIRED to generate the heatmaps from the log events.
It is possible to install this plugin before having Psychostats installation. You'll then have proper log events stored in your log files so Psychostats can process them any time later.


Requirement :
- - - - - - - - - - -
Modules :
- - - - - - -
  • fakemeta

How to add support for custom messages ? :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you want to add spatial stats for your plugin which uses either log_message() or engfunc( FM_AlertMessage, _ ) ( because not hookable ),
you must follow that
:
  1. In this plugin :

    • Uncomment this define ( // #define SUPPORT_CUSTOM_MESSAGES ) by removing '//' to enable the support.

  2. In your plugin :

    • Above plugin_init() function, add : native elog_message( const logmessage[], ... );
    • Replace all log_message() or engfunc( FM_AlertMessage, _ ), by elog_message().

Additional notes :
- - - - - - - - - - - - -
Changelog :
- - - - - - - - -

Quote:

v1.2.0 : [ 5 Nov 2008 ]
  • Changed method to detect event name. Less code / more efficient.
  • Changed plugin name to 'PsychoStats 3.1+ Spatial Plugin'.
  • Regex module was removed.
v1.1.2 : [ 3 Sep 2008 ]
  • Fixed invalid player error.
v1.1.1 : [ 25 Aug 2008 ]
  • Added native 'elog_message()' to support custom messages.
    For more informations, see the provided explanation.
v1.1.0 : [ 24 Aug 2008 ]
  • Plugin rewritten.
  • Using regular expression so it should be more efficient.
  • Fixed a bug with suicide.
  • Minor changements / optimizations.
v1.0.0 : [ 24 Apr 2008 ]
  • Initial release.

If you experience problems to get the compiled plugin, try this WebCompiler.

FuZ!on 04-23-2008 21:08

Re: Heatmaps (for Psychostats)
 
Wow. I really love this idea.

Too bad I don't have PS.

Good job
+karma

Fry! 04-24-2008 14:11

Re: Heatmaps (for Psychostats)
 
Quote:

Originally Posted by FuZ!on (Post 615864)
Wow. I really love this idea.

Too bad I don't have PS.

Good job
+karma


the same ! :) :P

mats 04-24-2008 14:36

Re: Heatmaps (for Psychostats)
 
Quote:

Originally Posted by The_Thing (Post 616187)
the same ! :) :P

If you want it, take it :P its free;)

I have 4 psychostats sites.

and thx for the plugin :)

raffe2 04-25-2008 14:25

Re: Heatmaps (for Psychostats)
 
Everything important about this in one post, good work arkshine! :)

noonoo 05-05-2008 21:18

Re: Heatmaps (for Psychostats)
 
Perfect thanks :)

lifo 05-30-2008 13:32

Re: Heatmaps (for Psychostats)
 
For more information regarding Heatmaps please see the PsychoStats documentation:

http://www.psychostats.com/doc/Heatmaps

And for information on how to create your own image overlays (which are used to create heatmaps for custom maps) please see the following documentation:

http://www.psychostats.com/doc/Heatmap_Setup

Thanks!

Arkshine 05-30-2008 14:39

Re: Heatmaps (for Psychostats)
 
I've updated a bit the 'additionnals notes'. Thanks. :)

freamer 08-19-2008 08:45

Re: Heatmaps (for Psychostats)
 
Does this one differ from the one shipped with psychostats?

Arkshine 08-19-2008 09:10

Re: Heatmaps (for Psychostats)
 
It's the same. ;)

By the way, I remember that I have to update this plugin.


All times are GMT -4. The time now is 11:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.