AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [SOLVED] Retrieving final result statistics in cs:go (https://forums.alliedmods.net/showthread.php?t=281131)

Zemtriz 04-03-2016 06:19

[SOLVED] Retrieving final result statistics in cs:go
 
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? :fox:
Thank you.

Bacardi 04-03-2016 09:27

Re: Retrieving final result statistics in cs:go
 
hi... maybe you could clarify, what WILL you do those statistics ?
Show on somekind web site or what ?

Zemtriz 04-03-2016 15:23

Re: Retrieving final result statistics in cs:go
 
Quote:

Originally Posted by Bacardi (Post 2407825)
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

Neuro Toxin 04-03-2016 19:53

Re: Retrieving final result statistics in cs:go
 
You need to catch / update on the fly...

You could read the scoreboard but ull miss a lot of stats like suicides remove kills.

Zemtriz 04-04-2016 13:42

Re: Retrieving final result statistics in cs:go
 
And any simple way to just take final score (points) of players at the end? :D

And how to terminate server at the end of map?

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

Bacardi 04-05-2016 23:25

Re: Retrieving final result statistics in cs:go
 
...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.

Bacardi 04-06-2016 15:10

Re: Retrieving final result statistics in cs:go
 
3 Attachment(s)


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

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

Zemtriz 04-06-2016 15:24

Re: Retrieving final result statistics in cs:go
 
Thank you very much for your help, I appreciate it.
I will try to look closer on it and understand it better.

Vergil333 04-19-2016 14:15

Re: [SOLVED] Retrieving final result statistics in cs:go
 
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"
        }


Bacardi 04-19-2016 15:16

Re: [SOLVED] Retrieving final result statistics in cs:go
 
You are really close, answer lay in same post where you download plugin.


All times are GMT -4. The time now is 01:58.

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