Austinb/GameQ

A2S_INFO with Source Protocol

stefanofabi opened this issue · 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?

Vanilla HLDS, without problem.
HLDS + DProto same, no problem.