View Single Post
Author Message
Braini
New Member
Join Date: Nov 2023
Old 11-01-2023 , 19:53   HLStatsX for CS2?
Reply With Quote #1

Since the update of CS2 on 9/29/2023 (https://store.steampowered.com/news/...9052?l=english) the function for sending logs was added

Code:
To enable HTTP logaddress forwarding, ensure logging is enabled as above and use:

    logaddress_add_http "<server address>:<port>"

Dispatched logs can be handled the same way as CS:GO
as the logs can be handled the same way as CSGO, I'm guessing that it also should be possible to parse the logs to HLStatsX?

I've set up a CS2 server and a HLStats installation and tried to add a logadress

Code:
Server logging enabled.
Server logging data to file logs/2023_11_02_004722.log
L 11/02/2023 - 00:47:22: Log file started (file "logs/2023_11_02_004722.log") (game "csgo") (version "9842")
As expected the Perl does not recognize the input and so does the dedicated CS2 server say repeatedly:

Code:
Internal HTTP error posting to url http://localhost:27500
Internal HTTP error posting to url http://localhost:27500
Internal HTTP error posting to url http://localhost:27500
Would it be possible to get that working with http without heavy coding?

cheers....
Braini is offline