Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A2S_INFO with Source Protocol #711

Open
stefanofabi opened this issue Jul 7, 2023 · 1 comment
Open

A2S_INFO with Source Protocol #711

stefanofabi opened this issue Jul 7, 2023 · 1 comment

Comments

@stefanofabi
Copy link

stefanofabi commented Jul 7, 2023

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?

@ZekyTheWolf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants