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