Hello all 🙂
Wonder if anyone can help me 🙁 With Counterstrike Source's query change, is it possible for anyone to help me point in the correct direction on how to get this old script we used to scan our old cs source servers working again. All they have done is change a few bits/bytes in the raw data but i am unsure on how to change this.
Information on the new query can be found here http://www.valve-erc.com/srcsdk/Code/Networking/serverqueries.html But I am completely stuck so any help is apprecated.
I just cant get the hang of the raw data. The old string i used was:
\xFF\xFF\xFF\xFF\x54/\xFF\xFF\xFF\xFF\x55/\xFF\xFF\xFF\xFF\x56
I am assuming that pulled these varibiles from it:
$output['net_protocol'] = ord($d{$i++});
$output['hostname'] = $this->aux->HLString($d, $i);
$output['map'] = $this->aux->HLString($d, $i);
$output['game_dir'] = $this->aux->HLString($d, $i);
$output['game_type'] = $this->aux->HLString($d, $i);
$output['appid'] = ord($d{$i++}.$d{$i++});
$output['num_players'] = ord($d{$i++});
$output['max_players'] = ord($d{$i++});
$output['bot_players'] = ord($d{$i++});
$output['dedicated'] = $d{$i++};
$output['server_os'] = $d{$i++};
$output['needpass'] = ord($d{$i++});
$output['secure'] = ord($d{$i++});
Does anyone know what the new string would be? If anyone can help its very much apprecated. This is a long shot 🙁
Thanks for your help
Chris