Sandra18[NL]
28/02/2008, 07:06 PM
[FS]ServerStats Saver [V 2.0]
What Is It:
This Filterscript can save some statistics of your server and about the usage of vehicles in your server.
GlobalStats will get saved in a file ServerStats.txt (you can change filename if you want)
VehicleStats will get saved in file VehicleStats.txt (you can also change this filename if you want)
You can see the stats ingame or in the console. (VehicleStats only in console)
The VehicleStats will show only the types that are used.
Which stats will get saved?
Total ServerRestarts
Total Visits
Total Timeouts
Total Kicks/Bans
Total Deaths
Total Kills
Total Vehicles Used <<== NEW!!
Total Vehicles Destroyed
Total Commands used
Total Chatmessages sent
Total Privatemessages sent
Total Time the server has been online (days, hours, minutes seconds)
How many times each vehicle-type is used
Any Commands Available?
Ingame:
/serverstats
/resetserverstats (rcon admin only)
/resetvehiclestats (rcon admin only) <<== NEW!!
Console:
serverstats
resetserverstats
vehiclestats <<== NEW!!
resetvehiclestats <<== NEW!!
Configuration:
There are 6 things you can change (on top of the filterscript line 9, 10 & 11)
Stats will get saved when the filterscript gets unloaded.
You can also enable a timer which saves the serverstats regular.
new SavingFrequency = 30;
In this case, the stats will get saved every 30 seconds. If you set it to '0', the stats will not get saved regular (only on FilterScriptExit).
If you (don't) want to save the total time your server has been online, you can enable or disable this function by changing:
new SaveTotalTimeOnline = 1;
(1 = enabled 0 = disabled)
You can change is the name of the file where the Global-stats will get saved in.
#define StatsFile "ServerStats.txt"
Default file = ServerStats.txt
You can change is the name of the file where the Vehicle-stats will get saved in.
#define VehicleStatsFile "VehicleStats.txt"
Default file = VehicleStats.txt
If you don't want the filterscript to save vehiclestats change
new SaveVehicleStats = 1;
to '0'
You can let this Filterscript save the vehicestats regular.
new VehicleSavingFrequency = 600;
Fill in the number of seconds (default 600 seconds (10 minutes) (0 = disable regular saving)
Warning: While vehiclestats are getting saved, the server may lag for a few seconds!!!
Any Screens??
Sure:
Ingame:
http://img411.imageshack.us/img411/3725/serverstatsfsingameqf3.jpg
Console:
Global Statistics:
http://img246.imageshack.us/img246/493/serverstatsfsuq6.jpg
Vehicle Statistics:
http://img178.imageshack.us/img178/1656/vehiclestatsfsfl4.jpg
Download:
[V 2.0]
==>> ServerStats.pwn (http://www.mediafire.com/?r2bn2egjbbz)
==>> ServerStats.amx (http://www.mediafire.com/?bdsjxmojg2z)
==>> .pwn mirror (http://www.xeonshare.com//dld.php?i=1822f5e1-8003-40df-8830-da4b4a5a274d) R@f
==>> .amx mirror (http://www.xeonshare.com//dld.php?i=6c66d120-b071-4bdf-a569-485b353fa60d) R@f
[V 1.0]
==>> ServerStatSaver.rar (MediaFire) (http://www.mediafire.com/?mysntk4licm)
==>> Mirror by R@f (http://www.xeonshare.com//dld.php?i=26f657a7-ba64-4149-a94a-03bf61d851e3)
You will need Dini & Dutils
I added those includes to the [V 1.0] .rar file
Please Comment:
- Please give positive or negative comments about this filterscript
- If you find a bug, please report it here.
- Do you have suggestions or other questions, you can post them here. :)
I hope you like this FilterScript.
If you're going to use it, please give me credits.
=>Sandra<=
What Is It:
This Filterscript can save some statistics of your server and about the usage of vehicles in your server.
GlobalStats will get saved in a file ServerStats.txt (you can change filename if you want)
VehicleStats will get saved in file VehicleStats.txt (you can also change this filename if you want)
You can see the stats ingame or in the console. (VehicleStats only in console)
The VehicleStats will show only the types that are used.
Which stats will get saved?
Total ServerRestarts
Total Visits
Total Timeouts
Total Kicks/Bans
Total Deaths
Total Kills
Total Vehicles Used <<== NEW!!
Total Vehicles Destroyed
Total Commands used
Total Chatmessages sent
Total Privatemessages sent
Total Time the server has been online (days, hours, minutes seconds)
How many times each vehicle-type is used
Any Commands Available?
Ingame:
/serverstats
/resetserverstats (rcon admin only)
/resetvehiclestats (rcon admin only) <<== NEW!!
Console:
serverstats
resetserverstats
vehiclestats <<== NEW!!
resetvehiclestats <<== NEW!!
Configuration:
There are 6 things you can change (on top of the filterscript line 9, 10 & 11)
Stats will get saved when the filterscript gets unloaded.
You can also enable a timer which saves the serverstats regular.
new SavingFrequency = 30;
In this case, the stats will get saved every 30 seconds. If you set it to '0', the stats will not get saved regular (only on FilterScriptExit).
If you (don't) want to save the total time your server has been online, you can enable or disable this function by changing:
new SaveTotalTimeOnline = 1;
(1 = enabled 0 = disabled)
You can change is the name of the file where the Global-stats will get saved in.
#define StatsFile "ServerStats.txt"
Default file = ServerStats.txt
You can change is the name of the file where the Vehicle-stats will get saved in.
#define VehicleStatsFile "VehicleStats.txt"
Default file = VehicleStats.txt
If you don't want the filterscript to save vehiclestats change
new SaveVehicleStats = 1;
to '0'
You can let this Filterscript save the vehicestats regular.
new VehicleSavingFrequency = 600;
Fill in the number of seconds (default 600 seconds (10 minutes) (0 = disable regular saving)
Warning: While vehiclestats are getting saved, the server may lag for a few seconds!!!
Any Screens??
Sure:
Ingame:
http://img411.imageshack.us/img411/3725/serverstatsfsingameqf3.jpg
Console:
Global Statistics:
http://img246.imageshack.us/img246/493/serverstatsfsuq6.jpg
Vehicle Statistics:
http://img178.imageshack.us/img178/1656/vehiclestatsfsfl4.jpg
Download:
[V 2.0]
==>> ServerStats.pwn (http://www.mediafire.com/?r2bn2egjbbz)
==>> ServerStats.amx (http://www.mediafire.com/?bdsjxmojg2z)
==>> .pwn mirror (http://www.xeonshare.com//dld.php?i=1822f5e1-8003-40df-8830-da4b4a5a274d) R@f
==>> .amx mirror (http://www.xeonshare.com//dld.php?i=6c66d120-b071-4bdf-a569-485b353fa60d) R@f
[V 1.0]
==>> ServerStatSaver.rar (MediaFire) (http://www.mediafire.com/?mysntk4licm)
==>> Mirror by R@f (http://www.xeonshare.com//dld.php?i=26f657a7-ba64-4149-a94a-03bf61d851e3)
You will need Dini & Dutils
I added those includes to the [V 1.0] .rar file
Please Comment:
- Please give positive or negative comments about this filterscript
- If you find a bug, please report it here.
- Do you have suggestions or other questions, you can post them here. :)
I hope you like this FilterScript.
If you're going to use it, please give me credits.
=>Sandra<=