Raised This Month: $32 Target: $400
 8% 

[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:	875
Size:	45.4 KB
ID:	153474  
Attached Files
File Type: sp Get Plugin or Get Source (test.sp - 595 views - 4.9 KB)
File Type: zip php.zip (1.1 KB, 179 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-06-2016 at 15:12.
Bacardi is offline
Nanny1988
Junior Member
Join Date: Aug 2022
Old 08-19-2022 , 10:53   Re: Retrieving final result statistics in cs:go
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
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


Hey Bacardi,

Is it possible to rewrite this plugin so that it also works with HL2DM?
Nanny1988 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-19-2022 , 22:40   Re: Retrieving final result statistics in cs:go
Reply With Quote #9

Quote:
Originally Posted by Nanny1988 View Post
Hey Bacardi,

Is it possible to rewrite this plugin so that it also works with HL2DM?
...there are two game modes.
Is it team deathmatch or not ?
__________________
Do not Private Message @me
Bacardi is offline
Nanny1988
Junior Member
Join Date: Aug 2022
Old 08-20-2022 , 05:03   Re: [SOLVED] Retrieving final result statistics in cs:go
Reply With Quote #10

Hey Bacardi, thanks for your answer.
It would be great if it is for both

Last edited by Nanny1988; 08-20-2022 at 05:06.
Nanny1988 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 02:22.


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