SA-MP Forums Archive
[FilterScript] [FS]ServerStats Saver [V 2.0] New Feature: Vehicle Stats - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]ServerStats Saver [V 2.0] New Feature: Vehicle Stats (/showthread.php?tid=28124)



[FS]ServerStats Saver [V 2.0] New Feature: Vehicle Stats - Sandra18[NL] - 28.02.2008

[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?
Any Commands Available?

Ingame: Console:
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:


Console:
Global Statistics:


Vehicle Statistics:



Download:
[V 2.0]
==>> ServerStats.pwn
==>> ServerStats.amx
==>> .pwn mirror R@f
==>> .amx mirror R@f

[V 1.0]
==>> ServerStatSaver.rar (MediaFire)
==>> Mirror by R@f

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<=






Re: [FS]ServerStats Saver [V 1.0] - Homerman - 28.02.2008

Very nice job!!


Re: [FS]ServerStats Saver [V 1.0] - [LSF]bence93 - 28.02.2008

Very very nice jobb !!
THX!!!!! Filterscript!


Re: [FS]ServerStats Saver [V 1.0] - Curynga - 28.02.2008

very very very nice Sandra !


Awesome !

I try to use it, for my server :P


Tranks


Re: [FS]ServerStats Saver [V 1.0] - Spilot - 28.02.2008

Very awesome script and organization. I'll put your name to /credits.


Re: [FS]ServerStats Saver [V 1.0] - Sandra18[NL] - 28.02.2008

Thanks


Re: [FS]ServerStats Saver [V 1.0] - LethaL - 28.02.2008

omg this is amazing, i will use this for sure


Re: [FS]ServerStats Saver [V 1.0] - Rafelder_GRF - 28.02.2008

Very nice script, maybe i'll use it


Re: [FS]ServerStats Saver [V 1.0] - nthell - 28.02.2008

very nice thanks for this ill have this on my servers


Re: [FS]ServerStats Saver [V 1.0] - Rks25 - 28.02.2008

Thank you very much Sandra!!

Rksss