yourmnbbn / smext-fakequeries

Return custom A2S_INFO and A2S_PLAYER response
GNU General Public License v3.0
23 stars 5 forks source link

Server search quantity does not change #14

Closed edgar009955 closed 2 years ago

edgar009955 commented 2 years ago

In the game, in the search for servers, the number of fake players does not change, it changes only in the search for servers through the Steam browser and in the favorites.

//// В игре, в поиске серверов, не меняется количество фейк игроков, меняется только в поиске серверов через Steam браузер и в избранном.

edgar009955 commented 2 years ago

Maybe I'm doing something wrong?

yourmnbbn commented 2 years ago

This issue is duplicated. #4 is talking about the same thing. Basically in the ‘Internet’ tab of the server browser, all the information is from the query except real player count. Real player count is counted by steam master server through player authentication. For more info you can see the comments there.

edgar009955 commented 2 years ago

i replaced int maxClients = g_pServer->GetNumClients(); на, int maxClients = g_pServer->GetNumClients()+g_pServer->GetNumFakeClients();

And with compiled and there is no change

edgar009955 commented 2 years ago

[Fake Queries] Look up ValidateChallengeFunc signature failed in error.log only this error

yourmnbbn commented 2 years ago

i replaced int maxClients = g_pServer->GetNumClients(); на, int maxClients = g_pServer->GetNumClients()+g_pServer->GetNumFakeClients();

And with compiled and there is no change

Yeah, it’s not about the query, player number displayed in the search result or ‘Internet’ browser is got directly from the steam master server. Any efforts on the query level would be in vain.

[Fake Queries] Look up ValidateChallengeFunc signature failed in error.log only this error

Can you provide OS version information? I didn’t see changes on steamclient library after the latest update.

edgar009955 commented 2 years ago

Linux version 5.15.11-xanmod1 (root@mascote) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #0~git20211222.96a4b9e SMP Wed Dec 22 18:01:17 UTC 2021