Raised This Month: $ Target: $400
 0% 

SNStat - A Personal Stats System


  
 
 
Thread Tools Display Modes
Author Message
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 08-30-2005 , 18:46   SNStat - A Personal Stats System
#1

Short Description
SNStat is a stats system that consists of two parts.
1. Server plugin - Manage connecting clients and sends gameplay information to them.
2. Client software - Connects to a server, gathers information and displays that in a GUI.
The purpose of this stats system is to give players a view of their gameplay without any insight from others and hopefully help players to get better.

Install Server
1. Download Server
2. Unzip to cstrike/addons
3. Restart CSS Server

Install Client
1. Download Client
2. Unzip & Install
3. Start SNS Client
4. Right-click on tray icon and choose Settings
5. Choose New in Profile Menu
6. Add profile name, your steamID and a logfile directory (where the logs should be stored)
7. Write a CSS server ip (do NOT include port) and press Add button
8. Close Settings
9. Right-click on tray icon, choose Connect, your profilename and the server ip.
10. If the server is running the SNS server plugin your red trayicon will now turn green.
11. Start CSS, join the server. Your stats will now be logged.

Technical - good to know
Server and Client are starting the communication on port 12345 (Might change in the future)
The system is not tested on "strange" customs maps (non de_ cs_)
The Client is disconnected after 10 minutes if the player has not connected to the game server.
.Net is required to run the Client (in my effort to get to know C# a bit better)

Convars
None at this time. This might be added in a later release to help server admins tweak the plugin. (Connection timeout, number of connections etc)

Homepage, Forum and Download
SNStat Homepage

Screenshot
SNS Client v0.4

What the future might hold
1. Linux version of the server plugin
2. More features in the client and a in game menu to start/stop logging
3. A stats-server solution that will enable a global storage of statistics accessible by webpages (like Psycostats)
4. Support for other HL2 mods (Deathmatch, Day of Defeat etc)
5. Client is started from within Steam if server supports SNS

Enjoy and happy hunting!
__________________
---- -string- ----
-string- is offline
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 08-31-2005 , 01:52  
#2

Looks real great, but i think the most players dont want to install a clientsoftware.

And will there be a linux support ?`

greetz
__________________
Rebell is offline
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 08-31-2005 , 03:33  
#3

Thats true, but this is only for the players that are really interested in how they play and how they can improve. Downloading a client takes little effort but im sure that it is worth it. You can browse your stats offline and analyze hitzones and weapons. You get one statsfile for each map played.

We all know the players that constantly watch their ingame stats or rank and are not late to curse the others for "not helping" or tell the others that they performance today is lousy due to lag or whatever.
Personally I hate those players and want to find other means of getting stats without boost that behaviour.

A linux version is planed but to tell the truth, it hasnt gone very far beyond that. I personally have very limited knowledge about the Linux enviroment so I have to look for help. All code in the server is portable without that much work, of that Im sure. Compiling, thats another matter
__________________
---- -string- ----
-string- is offline
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 08-31-2005 , 04:59  
#4

If you want to test the client we have a server running @ ducknet.se:27016
__________________
---- -string- ----
-string- is offline
imported_Munra
Junior Member
Join Date: Dec 2004
Old 08-31-2005 , 09:09  
#5

Looks Great Getting ready to Try it now


oh could you please Give the files different names on your downloads please.
Like SNstat_server and SNstat_cl somthing like that


Aslo give them an extention not just SNstat. If it was .zip it would help some people
imported_Munra is offline
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 08-31-2005 , 17:31  
#6

Ah, that has been bugging me too, didnt know it was the spaces
I have changed the filenames.
Thanks for the info Munra !
__________________
---- -string- ----
-string- is offline
Monkh
New Member
Join Date: Jan 2005
Old 09-02-2005 , 15:16  
#7

what does the server actualy communicate with the client?
Monkh is offline
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 09-02-2005 , 15:37  
#8

The server sends gamedata to the client and the events are as follows:

weapon_fire
weapon_fire_on_empty
player_hurt
player_death
round_start
round_end
player_team
player_spawn
player_blind
bomb_pickup
bomb_dropped
bomb_beginplant
bomb_abortplant
bomb_planted
bomb_begindefuse
bomb_abortdefuse
bomb_defused
bomb_exploded
hostage_follows
hostage_rescued
hostage_stops_following
hostage_hurt
hostage_killed
player_activate
player_disconnect

These events are sent via a buffer system that is in place to decrease the risk of lag. So this data will not reach the client when the events occur, in a worst case scenario it could take up to 5-10 seconds during heavy load.
On top of that the client is not writting the data to a logfile until the map ends.
So any notion you got that this could be used as a cheat can be discarded

Edit: Oh, and its a one way communication. The client isnt sending anything back to the server.
__________________
---- -string- ----
-string- is offline
-string-
Junior Member
Join Date: May 2005
Location: Västerås, Sweden
Old 09-10-2005 , 16:08  
#9

A new version is out.

Server changelog:

**** Version 0.4 ********************************************* **
- Optimized the code for game event handling
- Added sns_version client command
- Added sns_status console command. Shows if the SNS server is running and on what port.
- Removed all debug logging
- Rewritten error log system. Log ends up in cstrike/addons/
- Changed to TCP protocol.
- Added cvar sns_advert: 1/0 (default = "1")
--+ 1 = Adverts that the server is running SNS when player joins
--+ 0 = Hides the advert that the server is running SNS
- Added cvar sns_port: 0-5 (default = "0")
--+ 0 = Auto, chooses first free in span
--+ 1 = SNS Server uses TCP port 37015
--+ 2 = SNS Server uses TCP port 37016
--+ 3 = SNS Server uses TCP port 37017
--+ 4 = SNS Server uses TCP port 37018
--+ 5 = SNS Server uses TCP port 37019
- Added cvar sns_name: "server name" (default = "")
--+ Server name that shows up in client. It is recommended that you name the SNS Server as your gameserver so that the client recognizes it.
- SNS ports changed. For SNS to work as it is intended open TCP ports 37015-37019 and UDP ports 37015-37019.


Client changelog:

**** Version 0.5 ********************************************* **
- Added support for multiple SNS servers in communication
protocol and changed to TCP.
- Settings - Support multiple SNS servers on one physical
machine.
- Viewer - Minor graphic errors fixed
- BugFix: Settings - The SteamID was not displayed correct when changing between profiles
__________________
---- -string- ----
-string- is offline
zaqaz
New Member
Join Date: Oct 2005
Old 10-21-2005 , 20:13  
#10

server 's down?
zaqaz is offline
 



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 -4. The time now is 17:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode