aveao / VACUpdate

Make a list of Steam users and check their VAC Status.
MIT License
0 stars 0 forks source link

CSGO "status" output to SteamID64 list #3

Closed aveao closed 8 years ago

aveao commented 8 years ago

sample output:

hostname: Valve CS:GO EU East Server (srcds135.192.36)
version : 1.35.4.6 secure
udp/ip  : 185.25.182.154:27050
os      :  Linux
type    :  official dedicated
map     : de_dust2
players : 10 humans, 0 bots (10/10 max) (not hibernating)

# userid name uniqueid connected ping loss state rate
#  4 2 "Comma |" STEAM_1:0:79567706 30:25 68 0 active 80000
#  5 3 "boost > vk.com/xxxjaponxxx" STEAM_1:0:124206426 30:25 140 0 active 80000
#  7 5 "HS Master" STEAM_1:0:153474369 30:25 89 0 active 80000
#  8 6 "L1m0n41k" STEAM_1:0:160588531 30:25 72 18 active 80000
#  9 7 "✅★AdamıkKomayaSokarım★" STEAM_1:0:147815076 30:25 144 0 active 80000
# 10 8 "Peaches" STEAM_1:0:155553670 30:25 78 0 active 80000
# 11 9 "NebunuHaHa" STEAM_1:1:91719409 30:24 67 0 active 80000
# 26 10 "VikasusTBM" STEAM_1:1:125490040 01:38 75 0 active 80000
# 13 11 "al_s-t" STEAM_1:0:44693210 30:24 82 0 active 80000
# 24 12 "ardaozkal" STEAM_1:0:37016670 25:56 106 0 active 80000
#end
aveao commented 8 years ago

regex ready: regex

(STEAM_[0,1]:[0,1]:[0-9]{1,9}) with global and multiline modifiers

edit: swapped {8,9} with {1,9} as steamids can have a length from 1 to 9. (1 being mostly valve employees)

aveao commented 8 years ago

screenshot

IT'S HAPPENING

aveao commented 8 years ago

It happened.

Screenshot

aveao commented 8 years ago

for it to be recognized, you need to have "userid name uniqueid connected ping loss state rate" in the text