Author Topic: Stats  (Read 2795 times)

0 Members and 1 Guest are viewing this topic.

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Stats
« on: December 22, 2009, 02:50:05 am »
Script Name: Stats
Script Description Keeps server statistics, both of players and of maps.
Author: Hacktank
Compile Test: Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Stats keeps stats of any player that joins the server aswell as
keeping global map stats. Player stats are loaded upon joining the
server and saved upon leaving the server and every map change.
The map's stats are loaded (duh) every map change.

Works With Survival
Works With Infiltration

You can view your stats with !stats.
You can view other's stats with !stats <otherplayername>
* For example if you were playing with a player named 'Major' you
could see his stats by typing !stats jor, !stats Major, !stats Maj,
!stats major. It doesnt matter.

To view the global map stats use !mapstats.

Here is a sample of the output of each:


EDIT 8/6/2011
SoldatCentral is down, reuploaded script as an attachment.
« Last Edit: August 06, 2011, 05:44:19 pm by Hacktank »


Offline Mujuice

  • Major(1)
  • Posts: 20
Re: Stats
« Reply #1 on: December 22, 2009, 09:51:28 am »
Thaaaaanks <3
rumple comes from homo land, no surprise here :)

Offline Crimson Goth

  • Camper
  • ***
  • Posts: 387
  • A*|INF|Veteran
Re: Stats
« Reply #2 on: December 22, 2009, 01:36:18 pm »
Nice. If the server happens to crash, will the stats reset??

Offline JFK

  • Camper
  • ***
  • Posts: 255
    • My TraxInSpace Account
Re: Stats
« Reply #3 on: December 22, 2009, 03:28:20 pm »
Sooo... SQL? :p

oh and Crimson: No they won't.
Come join: EliteCTF
Listen to: My Music

Offline CurryWurst

  • Camper
  • ***
  • Posts: 265
    • Soldat Global Account System
Re: Stats
« Reply #4 on: December 22, 2009, 04:47:22 pm »
Yea someone please make an SQL based script, it's much better than using the read and write functions of the script core and it is even more reliable and establishes dozen new possibilities. I'm sure EnEsCe also implemented the SQL interface in order to make stats saving more easier than ever before. I haven't tested the SQL functions yet, but if we can trust EnEsCe's twitter posts they seem to be fast and stable.
Soldat Global Account System: #soldat.sgas @ quakenet

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Stats
« Reply #5 on: December 22, 2009, 04:50:50 pm »
I wont use SQL until the new version of soldat is finalized. Because i would not be able to use this script on any of my servers nor could the person that asked me to make it.


Offline Cyrix

  • Soldier
  • **
  • Posts: 235
  • I'm trigger happy, trigger happy!
Re: Stats
« Reply #6 on: December 22, 2009, 07:49:08 pm »
What has to be done to make something like this work offline? Is there a working program that will compile them for offline? I have had two that both did not work.
""A man should look for "what is" instead of what he thinks should be"" -Albert Einstein-

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Stats
« Reply #7 on: December 22, 2009, 11:26:55 pm »
All scripts work offline, you cant run them using the server that you start from soldat. You need to download the actual dedicated server to run them.


Offline Cyrix

  • Soldier
  • **
  • Posts: 235
  • I'm trigger happy, trigger happy!
Re: Stats
« Reply #8 on: December 23, 2009, 01:22:48 am »
Thank you Hacktank. Thanks for the info. I appreciate it.
""A man should look for "what is" instead of what he thinks should be"" -Albert Einstein-

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Stats
« Reply #9 on: January 01, 2010, 09:36:44 am »
Could be separated MapStats advice and stats