GameQ icon indicating copy to clipboard operation
GameQ copied to clipboard

A2S_INFO with Source Protocol

Open stefanofabi opened this issue 1 year ago • 1 comments

Inside GameQ/Protocols/Source.php

In the $packets array I find this

self::PACKET_DETAILS => "\xFF\xFF\xFF\xFFTSource Engine Query\x00%s",

Which fails when I try to get information from a CS 1.6 server using ReHLDS + Reunion Dev 0.1.0.137

If I change the value to \xFF\xFF\xFF\xFF\x54Source Engine Query\x00 as set by Valve Server Queries , it works fine.

My solution would be: $packets = [ ... self::PACKET_DETAILS => " \xFF\xFF\xFF\xFF\x54Source Engine Query\x00", ... rest of the code...

Can anyone else verify this information?

stefanofabi avatar Jul 07 '23 00:07 stefanofabi