Raised This Month: $12 Target: $400
 3% 

[SOLVED] Retrieving final result statistics in cs:go


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zemtriz
Junior Member
Join Date: Feb 2015
Old 04-03-2016 , 06:19   [SOLVED] Retrieving final result statistics in cs:go
Reply With Quote #1

Hello there,
how can I retrieve final server statistics?
I mean, death, kills, assists, overall score statistics which are in the scoreboard at the end of match?
Is there any way to log it or send it or whatever?
Thank you.

Last edited by Zemtriz; 04-06-2016 at 15:25. Reason: Solved
Zemtriz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-03-2016 , 09:27   Re: Retrieving final result statistics in cs:go
Reply With Quote #2

hi... maybe you could clarify, what WILL you do those statistics ?
Show on somekind web site or what ?
__________________
Do not Private Message @me

Last edited by Bacardi; 04-03-2016 at 09:28.
Bacardi is offline
Zemtriz
Junior Member
Join Date: Feb 2015
Old 04-03-2016 , 15:23   Re: Retrieving final result statistics in cs:go
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
hi... maybe you could clarify, what WILL you do those statistics ?
Show on somekind web site or what ?
Save results in mysql database and display it on the website

Last edited by Zemtriz; 04-03-2016 at 15:24.
Zemtriz is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-03-2016 , 19:53   Re: Retrieving final result statistics in cs:go
Reply With Quote #4

You need to catch / update on the fly...

You could read the scoreboard but ull miss a lot of stats like suicides remove kills.
__________________
Neuro Toxin is offline
Zemtriz
Junior Member
Join Date: Feb 2015
Old 04-04-2016 , 13:42   Re: Retrieving final result statistics in cs:go
Reply With Quote #5

And any simple way to just take final score (points) of players at the end?

And how to terminate server at the end of map?

What APIs to use to get overall score, kill, death etc.? omnom

Last edited by Zemtriz; 04-05-2016 at 10:16.
Zemtriz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-05-2016 , 23:25   Re: Retrieving final result statistics in cs:go
Reply With Quote #6

...yesterday I have made plugin which store those information, require MySQL system.
But I try make little PHP layout to show those values, I post in here someday soon.
__________________
Do not Private Message @me
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-06-2016 , 15:10   Re: Retrieving final result statistics in cs:go
Reply With Quote #7

Spoiler


dam... couldn't post plugin source code, forum cloudware is blocking

so I attach plugin source code and PHP page.

These are made quick, so they are not 100% perfect.

...addons/sourcemod/configs/databases.cfg
Spoiler
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	872
Size:	45.4 KB
ID:	153474  
Attached Files
File Type: sp Get Plugin or Get Source (test.sp - 594 views - 4.9 KB)
File Type: zip php.zip (1.1 KB, 178 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-06-2016 at 15:12.
Bacardi is offline
Zemtriz
Junior Member
Join Date: Feb 2015
Old 04-06-2016 , 15:24   Re: Retrieving final result statistics in cs:go
Reply With Quote #8

Thank you very much for your help, I appreciate it.
I will try to look closer on it and understand it better.
Zemtriz is offline
Vergil333
Member
Join Date: Apr 2016
Old 04-19-2016 , 14:15   Re: [SOLVED] Retrieving final result statistics in cs:go
Reply With Quote #9

This plugin looks amazing! But I get error
HTML Code:
L 04/19/2016 - 19:40:46: SourceMod error session started
L 04/19/2016 - 19:40:46: Info (map "de_dust2") (file "errors_20160419.log")
L 04/19/2016 - 19:40:46: [SM] Plugin encountered error 25: Call was aborted
L 04/19/2016 - 19:40:46: [SM] Native "SetFailState" reported: Configuration "cs_win_panel_match" not found
L 04/19/2016 - 19:40:46: [SM] Displaying call stack trace for plugin "test.smx":
L 04/19/2016 - 19:40:46: [SM]   [0]  Line 12, /home/forums/content/files/6/7/1/6/2/153475.attach::OnPluginStart()
L 04/19/2016 - 20:08:16: Error log file session closed.
Can it be database issue?
Code:
        "default"
        {
                "driver"                        "default"
                "host"                          "serverXX.inetadmin.eu"
                "database"                   "fakedatabase"
                "user"                          "fakeuser"
                "pass"                          "fakepass"
                //"timeout"                     "0"
                //"port"                        "0"
        }
Vergil333 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-19-2016 , 15:16   Re: [SOLVED] Retrieving final result statistics in cs:go
Reply With Quote #10

You are really close, answer lay in same post where you download plugin.
__________________
Do not Private Message @me
Bacardi is offline
Reply


Thread Tools
Display Modes

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 04:03.


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