yourmnbbn / tiny-csgo-server

Tiny csgo server for logging on to steam game servers, basically it's a fake server, not for real server purpose.
GNU General Public License v3.0
33 stars 4 forks source link

Servers online #11

Closed ArtemSushkov closed 1 year ago

ArtemSushkov commented 1 year ago

Can u add the feature like in fakequeries (add fake players) to control online in the any tiny-server?

yourmnbbn commented 1 year ago

Online players count can't be easily controlled by server query in the Internet tab of the browser, which is what most of the people want to achieve. So make a variable players count is meaningless.

ArtemSushkov commented 1 year ago

In your plugin 'fakequeries' its works good! This plugin too writed on C++. Maybe you have actual fixes except +1 player with tiny-csgo-client? :(

And I would like to take this opportunity to thank you for your work.

yourmnbbn commented 1 year ago

Fakequeries extension can't have an effect on the online players in Internet tab neither. If you only care about faking players in other parts like favorite or history tab, you can simply change the following part: CONFIG_HANDLE_QUERY_BY_STEAM = 0 https://github.com/yourmnbbn/tiny-csgo-server/blob/08243f2a2457827ff8b0c795e3eeb699aa98ce0c/src/common/info_const.hpp#L11 SERVER_NUM_CLIENTS to whatever you want https://github.com/yourmnbbn/tiny-csgo-server/blob/08243f2a2457827ff8b0c795e3eeb699aa98ce0c/src/common/info_const.hpp#L19

yourmnbbn commented 1 year ago

Fake online can be manipulated right now. Please refer to https://github.com/yourmnbbn/csgo-fake-server for more information.