Raised This Month: $143 Target: $400
 35% 

RESOLVED: HLSTATS vs Superlogs - Steam format


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
doublejz
Junior Member
Join Date: Mar 2022
Old 02-17-2025 , 15:18   RESOLVED: HLSTATS vs Superlogs - Steam format
Reply With Quote #1

I've been having issues with getting shots and accuracy to show up and started to dig in.

Code:
root@hlstats:~# docker exec -it hlxce-docker_daemon_1 /bin/bash
bash-4.3# cd logs/
bash-4.3# cat hlstats_27500_2025-02-14_04-05-39 | grep weaponstats | grep -v IGNORED | more
2025-02-15 04:55:00:  135.148.83.213:27015 - E501: "Acre" <P:371,U:462,W:0:39946032,T:TERRORIST> STATSME weaponstats (weapon "ump45") (shots "13") (hits "3") (headshots "0") (damage "79") (kills "0") (deaths "0")
2025-02-15 04:55:00:  135.148.83.213:27015 - E502: "Acre" <P:371,U:462,W:0:39946032,T:TERRORIST> STATSME weaponstats2 (weapon "ump45") (head "1") (chest "0") (stomach "1") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "1")
2025-02-15 04:55:00:  135.148.83.213:27015 - E501: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats (weapon "m4a1") (shots "4") (hits "1") (headshots "1") (damage "86") (kills "1") (deaths "0")
2025-02-15 04:55:00:  135.148.83.213:27015 - E502: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats2 (weapon "m4a1") (head "1") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
2025-02-15 04:55:00:  135.148.83.213:27015 - E501: "sifu pineapple >:)" <P:367,U:440,W:0:4958332,T:CT> STATSME weaponstats (weapon "xm1014") (shots "5") (hits "5") (headshots "1") (damage "112") (kills "1") (deaths "0")
2025-02-15 04:55:00:  135.148.83.213:27015 - E502: "sifu pineapple >:)" <P:367,U:440,W:0:4958332,T:CT> STATSME weaponstats2 (weapon "xm1014") (head "3") (chest "2") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
2025-02-15 04:55:56:  135.148.83.213:27015 - E501: "[OG] Bad4mojo - Got Knives!" <P:267,U:454,W:1:16541851,T:TERRORIST> STATSME weaponstats (weapon "ak47") (shots "2") (hits "0") (headshots "0") (damage "0") (kills "0") (deaths "0")
2025-02-15 04:55:56:  135.148.83.213:27015 - E502: "[OG] Bad4mojo - Got Knives!" <P:267,U:454,W:1:16541851,T:TERRORIST> STATSME weaponstats2 (weapon "ak47") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
2025-02-15 04:55:56:  135.148.83.213:27015 - E501: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats (weapon "m4a1") (shots "14") (hits "5") (headshots "0") (damage "114") (kills "1") (deaths "0")
2025-02-15 04:55:56:  135.148.83.213:27015 - E502: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats2 (weapon "m4a1") (head "0") (chest "0") (stomach "0") (leftarm "1") (rightarm "0") (leftleg "1") (rightleg "3")
2025-02-15 04:55:56:  135.148.83.213:27015 - E501: "sifu pineapple >:)" <P:367,U:440,W:0:4958332,T:CT> STATSME weaponstats (weapon "deagle") (shots "3") (hits "1") (headshots "1") (damage "169") (kills "1") (deaths "0")
2025-02-15 04:55:56:  135.148.83.213:27015 - E502: "sifu pineapple >:)" <P:367,U:440,W:0:4958332,T:CT> STATSME weaponstats2 (weapon "deagle") (head "1") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
While looking into this in the DB I notcied that each player is in there twice. One of the playerIDs shows shots/hits while the other playerid shows everything else. Therefore, the info isn't merging to the player but instead creating another player id.



Attaching two screenshots one for playerid 230 and one for playerid 231



In short:

HLSTATSX logs as steamID3 ([U:1:18893661])
Code:
2025-02-15 04:54:59:  135.148.83.213:27015 - E008: "[OGâ] Double Jz" <P:230,U:374,W:[U:1:18893661],T:CT> killed "Acre" <P:370,U:462,W:[U:1:79892064],T:TERRORIST> with "m4a1"
2025-02-15 04:55:15:  135.148.83.213:27015 - E008: "[OGâ] Double Jz" <P:230,U:374,W:[U:1:18893661],T:CT> killed "Acre" <P:370,U:462,W:[U:1:79892064],T:TERRORIST> with "hegrenade"
SUPERLOGS logs as steamID (1:9446830)
Code:
2025-02-15 04:54:20:  135.148.83.213:27015 - E501: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats (weapon "m4a1") (shots "24") (hits "6") (headshots "2") (damage "294") (kills "3") (deaths "0")
2025-02-15 04:54:20:  135.148.83.213:27015 - E502: "[OGâ] Double Jz" <P:231,U:374,W:1:9446830,T:CT> STATSME weaponstats2 (weapon "m4a1") (head "2") (chest "1") (stomach "1") (leftarm "2") (rightarm "0") (leftleg "0") (rightleg "0")

How do I get both to log the same steam format so everything works correctly?

sm plugins shows the following versions installed.
"HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
"SuperLogs: CSS" (1.2.4) by psychonic

Last edited by doublejz; 02-17-2025 at 22:45.
doublejz is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 02-17-2025 , 16:46   Re: HLSTATS vs Superlogs - Steam format
Reply With Quote #2

What game is this? You should be able to edit the steamID format saved by the plugins.
__________________
Spirit_12 is offline
doublejz
Junior Member
Join Date: Mar 2022
Old 02-17-2025 , 16:48   Re: HLSTATS vs Superlogs - Steam format
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
What game is this? You should be able to edit the steamID format saved by the plugins.
Counter-Strike: Source (CSS)
doublejz is offline
doublejz
Junior Member
Join Date: Mar 2022
Old 02-17-2025 , 22:44   Re: HLSTATS vs Superlogs - Steam format
Reply With Quote #4

Resolved. For those ever having the same issue. I grabbed the loghelper.inc file from the thread here - https://forums.alliedmods.net/showthread.php?t=100084

Then compiled superlogs-css.sp, purged everything from the hlstatsx stats.

Afterwards superlogs is now matching the same SteamID format as hlstatsx.

Code:
2025-02-18 03:31:37:  135.148.83.213:27015 - E501: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> STATSME weaponstats (weapon "knife") (shots "4") (hits "3") (headshots "0") (damage "122") (kills "2") (deaths "1")
2025-02-18 03:31:37:  135.148.83.213:27015 - E502: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> STATSME weaponstats2 (weapon "knife") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
2025-02-18 03:31:59:  135.148.83.213:27015 - E008: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> killed "[OG] 2Old4this" <P:608,U:116,W:[U:1:7170227],T:CT> with "knife"
2025-02-18 03:32:05:  135.148.83.213:27015 - E008: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> killed "[OG] TEXASLAWDOG" <P:580,U:53,W:[U:1:312170873],T:CT> with "knife"
2025-02-18 03:32:11:  135.148.83.213:27015 - E501: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> STATSME weaponstats (weapon "knife") (shots "6") (hits "3") (headshots "0") (damage "122") (kills "2") (deaths "0")
2025-02-18 03:32:11:  135.148.83.213:27015 - E502: "[OGâ] Double Jz" <P:562,U:125,W:[U:1:18893661],T:TERRORIST> STATSME weaponstats2 (weapon "knife") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
doublejz 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:46.


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