SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
HitStats - Dedicated server character damage statistics Details »»
HitStats - Dedicated server character damage statistics
Version: 1.0, by CobaltBW (Community Noise Maker) CobaltBW is offline
Developer Last Online: Oct 2020

Version: SRB2 Rating: (1 votes - 3.20 average)
Released: 09-02-2020 Last Update: Never Favourites: 0
Scripts Re-Useable Content

This is a dedicated server script which records damage dealt between characters and saves the output in the form of a text file: luafiles/hitstats.txt
  • Supports any gametype (including custom modes) in which the hazardlog is enabled
  • Hits are recorded as 1 point, and kills as 2 points.
  • All statistics are stored in a text file and saved at the end of each round. Previously saved statistics will be automatically loaded when the script is rehosted on the server.
  • Tracks and saves statistics for custom characters as well!

Commands
hitstats - Version info and console command help
printhitstats <skin1> <skin2> - Prints stats for the specified skins. Leave skin1/2 blank to print all stats.
resethitstats - Wipes all server statistics to 0. Note that the server must trigger the end of the level afterward to write over the text file.



Please note that this script will only run for dedicated server hosts; attempting to run this script outside of a dedicated server setting will do nothing. Additionally, the hazardlog must be enabled for the game to add hits to the stats.

Download Now

File Type: zip L_HitStats-V1.0.zip (2.6 KB, 25 views)

Screenshots

Click image for larger version

Name:	hitstats.png
Views:	119
Size:	28.1 KB
ID:	38293  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 09-03-2020   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

Welcome to releases!
D00D64 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.