Thread: (Released) [SM Plugin] Flag Assist Points
View Single Post
Old 02-25-2009, 02:42 PM   #15
Rawh
FF Whiner
Server Owner
Beta Tester
 
Rawh's Avatar
 
Join Date: Sep 2007
Location: Chair.. sometimes a couch
Class/Position: D Engy, D Soldier
Gametype: Capture the Flag
Posts Rated Helpful 1 Times
Quote:
Originally Posted by hlstriker View Post
Plugin updated, see change log.

Note: Server might need a full restart after adding the plugin. On Rawh's server we tested and it didn't work until the server restarted.
You're saying it wrong :P
The server crashed last time, got restarted automatically and the plugin seemed to work after that.
The crash was in no way related to the plugin by the way

Quote:
Originally Posted by Dinosaur Gas View Post
Does it use a trigger event for the logs so hlstatsx can track it?
Yes it does.

The logs show it as:
Quote:
L 02/24/2009 - 00:54:34: "hlstriker<3><STEAMID><#FF_TEAM_BLUE>" triggered "flag_assist" (points "-1073741824")
L 02/24/2009 - 00:55:14: "Rawh<5><STEAMID><#FF_TEAM_BLUE>" triggered "flag_assist" (points "933")
L 02/24/2009 - 00:56:08: "Rawh<5><STEAMID><#FF_TEAM_BLUE>" triggered "flag_assist" (points "933")
L 02/24/2009 - 00:57:17: "hlstriker<3><STEAMID><#FF_TEAM_BLUE>" triggered "flag_assist" (points "941")
  • On hlstatx, login as admin and go to gamesettings --> fortressforever --> actions.
  • Use "flag_assist" as action code, put a [v] in player action and give it some points (optional: give it a description).
  • Next go to "Plyr Action Awards", use the dropdown menu of "Actions" and select flag_assist.
  • Optional: fill in an award name and some verb plural.
  • Save your settings.
  • Restart the daemon.

The above shows up on the dailyaward site. You'll have to wait for 1 day till hlstats-awards.pl gets executed and you see the action awards on the dailyaward part.

Optional:
If you wish to see if it already works, use hlstats-awards.pl.
Since it creates stats for the day before the current date, be sure to set the current day + 1.
Code:
./hlstats-awards.pl --date=YYYY-MM-DD
I used 2009-02-25 to get dailystats for 2009-02-24 which shows "Santa's little helper" (flag_assist) and "Flag defender" (flag_defend)

Important: The points you get for flagassist / flagdefend during the playtime on a map, ingame, are not the same as the points you get in hlstatsx.
Rawh is offline   Reply With Quote